|
|
|
@ -2,17 +2,19 @@ |
|
|
|
|
Row |
|
|
|
|
----------------------------*/ |
|
|
|
|
.fesl-row { |
|
|
|
|
padding-right: 40px; |
|
|
|
|
padding-top: 5px; |
|
|
|
|
padding-bottom: 5px; |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
@media (min-width: (@screen-sm-min - 100px)) { |
|
|
|
|
padding: 5px 20px 5px 40px; |
|
|
|
|
display: flex; |
|
|
|
|
flex-flow: row nowrap; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media(max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
padding: 5px 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.clearfix(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -20,7 +22,7 @@ header.fesl-row { |
|
|
|
|
@media (min-width:(@screen-sm-min - 100px)) { |
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
border-bottom: 1px solid lighten(@text-muted-color, 20%); |
|
|
|
|
padding-left: 40px; |
|
|
|
|
padding-left: 30px; |
|
|
|
|
|
|
|
|
|
.fesl-item, |
|
|
|
|
.fesli-sort { |
|
|
|
@ -42,7 +44,7 @@ header.fesl-row { |
|
|
|
|
font-size: 14px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:hover:not(.fi-actions) { |
|
|
|
|
&:hover:not(.fesl-item-actions) { |
|
|
|
|
background: lighten(@text-muted-color, 22%); |
|
|
|
|
color: @dark-gray; |
|
|
|
|
|
|
|
|
@ -58,54 +60,42 @@ header.fesl-row { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.list-type(@background, @icon) { |
|
|
|
|
.fis-icon { |
|
|
|
|
background-color: @background; |
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
|
content: @icon; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
div.fesl-row { |
|
|
|
|
padding-left: 85px; |
|
|
|
|
border-bottom: 1px solid transparent; |
|
|
|
|
cursor: default; |
|
|
|
|
.transition(background-color); |
|
|
|
|
.transition-duration(500ms); |
|
|
|
|
|
|
|
|
|
@media (max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
padding-left: 70px; |
|
|
|
|
padding-right: 45px; |
|
|
|
|
padding: 5px 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:not(.fesl-row-selected) { |
|
|
|
|
&:nth-child(even) { |
|
|
|
|
background-color: #fafafa; |
|
|
|
|
background-color: @list-row-even-bg; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
background-color: #fbf7dc; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&[data-type]:before { |
|
|
|
|
font-family: @font-family-icon; |
|
|
|
|
width: 35px; |
|
|
|
|
height: 35px; |
|
|
|
|
text-align: center; |
|
|
|
|
line-height: 35px; |
|
|
|
|
position: absolute; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
font-size: 16px; |
|
|
|
|
left: 50px; |
|
|
|
|
top: 9px; |
|
|
|
|
color: @white; |
|
|
|
|
|
|
|
|
|
@media (max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
left: 20px; |
|
|
|
|
} |
|
|
|
|
&:hover { |
|
|
|
|
.fis-icon { |
|
|
|
|
&:before { |
|
|
|
|
.opacity(0) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&[data-type="folder"] { |
|
|
|
|
@media (max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
.fesl-item { |
|
|
|
|
&.fi-name { |
|
|
|
|
padding-top: 10px; |
|
|
|
|
padding-bottom: 7px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-size, |
|
|
|
|
&.fi-modified { |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
.fis-helper { |
|
|
|
|
&:before { |
|
|
|
|
.opacity(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -113,70 +103,141 @@ div.fesl-row { |
|
|
|
|
/*-------------------------- |
|
|
|
|
Icons |
|
|
|
|
----------------------------*/ |
|
|
|
|
&[data-type=folder]:before { |
|
|
|
|
content: '\f114'; |
|
|
|
|
background-color: #a1d6dd; |
|
|
|
|
&[data-type=folder] { .list-type(#a1d6dd, '\f114'); } |
|
|
|
|
&[data-type=pdf] {.list-type(#fa7775, '\f1c1'); } |
|
|
|
|
&[data-type=zip] { .list-type(#427089, '\f1c6'); } |
|
|
|
|
&[data-type=audio] { .list-type(#009688, '\f1c7'); } |
|
|
|
|
&[data-type=code] { .list-type(#997867, "\f1c9"); } |
|
|
|
|
&[data-type=excel] { .list-type(#f1c3, '\f1c3'); } |
|
|
|
|
&[data-type=image] { .list-type(#f06292, '\f1c5'); } |
|
|
|
|
&[data-type=video] { .list-type(#f8c363, '\f1c8'); } |
|
|
|
|
&[data-type=other] { .list-type(#afafaf, '\f016'); } |
|
|
|
|
&[data-type=text] { .list-type(#8a8a8a, '\f0f6'); } |
|
|
|
|
&[data-type=doc] { .list-type(#2196f5, '\f1c2'); } |
|
|
|
|
&[data-type=presentation] { .list-type(#896ea6, '\f1c4'); } |
|
|
|
|
|
|
|
|
|
&.fesl-loading{ |
|
|
|
|
&:before { |
|
|
|
|
content: ''; |
|
|
|
|
} |
|
|
|
|
&[data-type=pdf]:before { |
|
|
|
|
content: "\f1c1"; |
|
|
|
|
background-color: #fa7775; |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
.list-loader(20px, 20px, rgba(255, 255, 255, 0.5), @white); |
|
|
|
|
left: 57px; |
|
|
|
|
top: 17px; |
|
|
|
|
|
|
|
|
|
@media (max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
left: 27px; |
|
|
|
|
} |
|
|
|
|
&[data-type=zip]:before { |
|
|
|
|
content: "\f1c6"; |
|
|
|
|
background-color: #427089; |
|
|
|
|
} |
|
|
|
|
&[data-type=audio]:before { |
|
|
|
|
content: "\f1c7"; |
|
|
|
|
background-color: #009688 |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
&[data-type=code]:before { |
|
|
|
|
content: "\f1c9"; |
|
|
|
|
background-color: #997867; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fesl-row-selected { |
|
|
|
|
background-color: @list-row-selected-bg; |
|
|
|
|
|
|
|
|
|
&, .fesl-item a { |
|
|
|
|
color: darken(@text-color, 10%); |
|
|
|
|
} |
|
|
|
|
&[data-type=excel]:before { |
|
|
|
|
content: "\f1c3"; |
|
|
|
|
background-color: #64c866; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fi-select { |
|
|
|
|
float: left; |
|
|
|
|
position: relative; |
|
|
|
|
width: 35px; |
|
|
|
|
height: 35px; |
|
|
|
|
margin: 3px 0; |
|
|
|
|
|
|
|
|
|
@media(max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
margin-right: 15px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
input { |
|
|
|
|
position: absolute; |
|
|
|
|
left: 0; |
|
|
|
|
top: 0; |
|
|
|
|
width: 35px; |
|
|
|
|
height: 35px; |
|
|
|
|
z-index: 20; |
|
|
|
|
opacity: 0; |
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
&:checked { |
|
|
|
|
& ~ .fis-icon { |
|
|
|
|
background-color: #32393F; |
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
|
opacity: 0; |
|
|
|
|
} |
|
|
|
|
&[data-type=image]:before { |
|
|
|
|
content: "\f1c5"; |
|
|
|
|
background-color: #f06292; |
|
|
|
|
} |
|
|
|
|
&[data-type=video]:before { |
|
|
|
|
content: "\f1c8"; |
|
|
|
|
background-color: #f8c363; |
|
|
|
|
|
|
|
|
|
& ~ .fis-helper { |
|
|
|
|
&:before { |
|
|
|
|
.scale(0); |
|
|
|
|
} |
|
|
|
|
&[data-type=other]:before { |
|
|
|
|
content: "\f016"; |
|
|
|
|
background-color: #afafaf; |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
.scale(1); |
|
|
|
|
} |
|
|
|
|
&[data-type=text]:before { |
|
|
|
|
content: "\f0f6"; |
|
|
|
|
background-color: #8a8a8a; |
|
|
|
|
} |
|
|
|
|
&[data-type=doc]:before { |
|
|
|
|
content: "\f1c2"; |
|
|
|
|
background-color: #2196f5; |
|
|
|
|
} |
|
|
|
|
&[data-type=presentation]:before { |
|
|
|
|
content: "\f1c4"; |
|
|
|
|
background-color: #896ea6; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fis-icon { |
|
|
|
|
display: inline-block; |
|
|
|
|
vertical-align: top; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
width: 35px; |
|
|
|
|
height: 35px; |
|
|
|
|
.transition(background-color); |
|
|
|
|
.transition-duration(250ms); |
|
|
|
|
|
|
|
|
|
&.fesl-loading{ |
|
|
|
|
&:before { |
|
|
|
|
content: ''; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
text-align: center; |
|
|
|
|
position: absolute; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
font-family: @font-family-icon; |
|
|
|
|
line-height: 35px; |
|
|
|
|
font-size: 16px; |
|
|
|
|
color: @white; |
|
|
|
|
.transition(all); |
|
|
|
|
.transition-duration(300ms); |
|
|
|
|
font-style: normal; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fis-helper { |
|
|
|
|
&:before, |
|
|
|
|
&:after { |
|
|
|
|
.list-loader(20px, 20px, rgba(255, 255, 255, 0.5), @white); |
|
|
|
|
left: 57px; |
|
|
|
|
top: 17px; |
|
|
|
|
|
|
|
|
|
@media (max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
left: 27px; |
|
|
|
|
position: absolute; |
|
|
|
|
.transition(all); |
|
|
|
|
.transition-duration(250ms); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
|
content: ''; |
|
|
|
|
width: 15px; |
|
|
|
|
height: 15px; |
|
|
|
|
border: 2px solid @white; |
|
|
|
|
z-index: 10; |
|
|
|
|
border-radius: 2px; |
|
|
|
|
top: 10px; |
|
|
|
|
left: 10px; |
|
|
|
|
opacity: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
font-family: @font-family-icon; |
|
|
|
|
content: '\f00c'; |
|
|
|
|
top: 8px; |
|
|
|
|
left: 9px; |
|
|
|
|
color: @white; |
|
|
|
|
font-size: 14px; |
|
|
|
|
.scale(0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -192,26 +253,26 @@ div.fesl-row { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media(min-width: (@screen-sm-min - 100px)) { |
|
|
|
|
&:not(.fi-actions) { |
|
|
|
|
&:not(.fesl-item-actions):not(.fesl-item-icon) { |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
padding: 10px 15px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-name { |
|
|
|
|
&.fesl-item-name { |
|
|
|
|
flex: 3; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-size { |
|
|
|
|
&.fesl-item-size { |
|
|
|
|
width: 140px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-modified { |
|
|
|
|
&.fesl-item-modified { |
|
|
|
|
width: 190px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-actions { |
|
|
|
|
&.fesl-item-actions { |
|
|
|
|
width: 40px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -219,29 +280,29 @@ div.fesl-row { |
|
|
|
|
@media(max-width: (@screen-xs-max - 100px)) { |
|
|
|
|
padding: 0; |
|
|
|
|
|
|
|
|
|
&.fi-name { |
|
|
|
|
&.fesl-item-name { |
|
|
|
|
width: 100%; |
|
|
|
|
margin-bottom: 3px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-size, |
|
|
|
|
&.fi-modified { |
|
|
|
|
&.fesl-item-size, |
|
|
|
|
&.fesl-item-modified { |
|
|
|
|
font-size: 12px; |
|
|
|
|
color: #B5B5B5; |
|
|
|
|
float: left; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-modified { |
|
|
|
|
&.fesl-item-modified { |
|
|
|
|
max-width: 72px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-size { |
|
|
|
|
&.fesl-item-size { |
|
|
|
|
margin-right: 10px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.fi-actions { |
|
|
|
|
&.fesl-item-actions { |
|
|
|
|
position: absolute; |
|
|
|
|
top: 5px; |
|
|
|
|
right: 10px; |
|
|
|
@ -266,7 +327,7 @@ div.fesl-row { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fi-actions { |
|
|
|
|
.fesl-item-actions { |
|
|
|
|
.dropdown-menu { |
|
|
|
|
background-color: transparent; |
|
|
|
|
box-shadow: none; |
|
|
|
@ -324,6 +385,78 @@ div.fesl-row { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.list-actions { |
|
|
|
|
position: fixed; |
|
|
|
|
.translate3d(0, -100%, 0); |
|
|
|
|
.opacity(0); |
|
|
|
|
.transition(all); |
|
|
|
|
.transition-duration(200ms); |
|
|
|
|
padding: 20px 25px; |
|
|
|
|
top: 0; |
|
|
|
|
left: 0; |
|
|
|
|
width: 100%; |
|
|
|
|
background-color: @brand-primary; |
|
|
|
|
z-index: 20; |
|
|
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.3); |
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
|
|
&.list-actions-toggled { |
|
|
|
|
.translate3d(0, 0, 0); |
|
|
|
|
.opacity(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.la-close { |
|
|
|
|
position: absolute; |
|
|
|
|
right: 20px; |
|
|
|
|
top: 0; |
|
|
|
|
color: #fff; |
|
|
|
|
width: 30px; |
|
|
|
|
height: 30px; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
text-align: center; |
|
|
|
|
line-height: 30px !important; |
|
|
|
|
background: rgba(255, 255, 255, 0.1); |
|
|
|
|
font-weight: normal; |
|
|
|
|
bottom: 0; |
|
|
|
|
margin: auto; |
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
background-color: rgba(255, 255, 255, 0.2); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.la-label { |
|
|
|
|
color: @white; |
|
|
|
|
float: left; |
|
|
|
|
padding: 4px 0; |
|
|
|
|
|
|
|
|
|
.fa { |
|
|
|
|
font-size: 22px; |
|
|
|
|
vertical-align: top; |
|
|
|
|
margin-right: 10px; |
|
|
|
|
margin-top: -1px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.la-actions { |
|
|
|
|
button { |
|
|
|
|
background-color: transparent; |
|
|
|
|
border: 2px solid rgba(255,255,255,0.9); |
|
|
|
|
color: @white; |
|
|
|
|
border-radius: 2px; |
|
|
|
|
padding: 5px 10px; |
|
|
|
|
font-size: 13px; |
|
|
|
|
.transition(all); |
|
|
|
|
.transition-duration(300ms); |
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
background-color: @white; |
|
|
|
|
color: @brand-primary; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@-webkit-keyframes fiad-action-anim { |
|
|
|
|
from { |
|
|
|
|