mirror of
https://github.com/Febbweiss/filebrowser-durandal-widget.git
synced 2026-03-04 22:25:43 +00:00
init
This commit is contained in:
59
style/filebrowser.less
Normal file
59
style/filebrowser.less
Normal file
@@ -0,0 +1,59 @@
|
||||
@import "../lib/lesshat/build/lesshat.less";
|
||||
|
||||
.filebrowser {
|
||||
width: 300px;
|
||||
height: 500px;
|
||||
|
||||
|
||||
position: relative;
|
||||
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
//http://codepen.io/joshnh/pen/Hkqxu
|
||||
//http://codepen.io/tevko/pen/DdsnK
|
||||
.folder {
|
||||
|
||||
& > label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
& input[type=checkbox] {
|
||||
opacity: 0;
|
||||
|
||||
& + ul > li {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:checked + ul > li {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ul {
|
||||
&.tree-file {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
}
|
||||
};
|
||||
|
||||
.folder > span,
|
||||
.file > span {
|
||||
|
||||
.user-select(none);
|
||||
|
||||
&.select {
|
||||
font-weight: bold;
|
||||
}
|
||||
};
|
||||
|
||||
#fileBrowserContextMenu {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.validationMessage {
|
||||
color: red;
|
||||
}
|
||||
52
style/starterkit.css
Normal file
52
style/starterkit.css
Normal file
@@ -0,0 +1,52 @@
|
||||
/*!
|
||||
* Durandal 2.1.0 Copyright (c) 2012 Blue Spire Consulting, Inc. All Rights Reserved.
|
||||
* Available via the MIT license.
|
||||
* see: http://durandaljs.com or https://github.com/BlueSpire/Durandal for details
|
||||
*/
|
||||
|
||||
.splash {
|
||||
text-align: center;
|
||||
margin: 10% 0 0 0;
|
||||
}
|
||||
|
||||
.splash .message {
|
||||
font-size: 3em;
|
||||
line-height: 1.5em;
|
||||
-webkit-text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
|
||||
text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.splash .fa-spinner {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
font-size: 3em;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.page-host {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 50px;
|
||||
bottom: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
.navbar-nav li.loader {
|
||||
margin: 12px 6px 0 6px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.navbar-nav li.loader.active {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.pictureDetail {
|
||||
max-width: 425px;
|
||||
}
|
||||
Reference in New Issue
Block a user