Browser: Update UI with new components and elements (#5671)

This commit is contained in:
Rushan
2018-03-21 23:39:23 +05:30
committed by Harshavardhana
parent 384b4fdf28
commit 1459c4be1e
199 changed files with 10549 additions and 4702 deletions

View File

@@ -0,0 +1,42 @@
.about {
}
.about__logo {
background-color: @muted-bg;
width: 8rem;
display: flex;
justify-content: center;
border-radius: @border-radius-large 0 0 @border-radius-large;
& > img {
width: 5rem;
}
}
.about__content {
display: flex;
}
.about__info {
padding: 3rem 2rem;
}
.about__item {
& > strong {
font-weight: normal;
display: block;
color: @headings-color;
margin-bottom: 0.25rem;
text-transform: uppercase;
font-size: @font-size-small;
}
& > small {
color: @text-muted-color;
}
& + .about__item {
margin-top: 1rem;
}
}

View File

@@ -1,20 +1,18 @@
.alert {
border: 0;
position: fixed;
max-width: 500px;
margin: 0;
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
color: @white;
width: 100%;
right: 20px;
border-radius: 3px;
padding: 17px 50px 17px 17px;
z-index: 10010;
padding: 1.5rem 3rem 1.5rem 2rem;
z-index: 1000000;
.animation-duration(800ms);
.animation-fill-mode(both);
font-size: @font-size-small;
&:not(.progress) {
top: 20px;
&:not(.alert--upload) {
top: 1.5rem;
max-width: 500px;
border-radius: @border-radius-base;
@media(min-width: (@screen-sm-min)) {
left: 50%;
@@ -22,35 +20,17 @@
}
}
&.progress {
bottom: 20px;
right: 20px;
}
&.alert-danger {
background: @red;
}
&.alert-success {
background: @green;
}
&.alert-info {
background: @blue;
}
@media(max-width: (@screen-xs-max)) {
left: 20px;
width: ~"calc(100% - 40px)";
left: 1.5rem;
width: ~"calc(100% - 3rem)";
max-width: 100%;
}
.progress {
margin: 10px 10px 8px 0;
height: 5px;
margin: 0.75rem 0;
height: 0.25rem;
box-shadow: none;
border-radius: 1px;
background-color: @blue;
background-color: rgba(255,255,255,0.2);
border-radius: 2px;
overflow: hidden;
}
@@ -62,7 +42,27 @@
}
.close {
position: absolute;
top: 15px;
top: 1.3rem;
right: 1.5rem;
}
}
.alert-danger {
background: @red;
}
.alert-success {
background: @green;
}
.alert-info {
background: @blue;
}
.alert--upload {
bottom: 0;
left: 0;
width: 100%;
max-width: 100%;
box-shadow: 0 -2px 5px rgba(0,0,0,0.15);
}

View File

@@ -1,13 +0,0 @@
.animated{
&.infinite {
.animation-iteration-count(infinite);
}
}
@import 'fadeIn';
@import 'fadeInDown';
@import 'fadeInUp';
@import 'fadeOut';
@import 'fadeOutDown';
@import 'fadeOutUp';
@import 'zoomIn';

View File

@@ -1,26 +0,0 @@
@-webkit-keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@-moz-keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@-o-keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
.fadeIn {
-webkit-animation-name: fadeIn;
-moz-animation-name: fadeIn;
-o-animation-name: fadeIn;
animation-name: fadeIn;
}

View File

@@ -1,54 +0,0 @@
@-webkit-keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translateY(-20px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
}
}
@-moz-keyframes fadeInDown {
0% {
opacity: 0;
-moz-transform: translateY(-20px);
}
100% {
opacity: 1;
-moz-transform: translateY(0);
}
}
@-o-keyframes fadeInDown {
0% {
opacity: 0;
-ms-transform: translateY(-20px);
}
100% {
opacity: 1;
-ms-transform: translateY(0);
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.fadeInDown {
-webkit-animation-name: fadeInDown;
-moz-animation-name: fadeInDown;
-o-animation-name: fadeInDown;
animation-name: fadeInDown;
}

View File

@@ -1,54 +0,0 @@
@-webkit-keyframes fadeInUp {
0% {
opacity: 0;
-webkit-transform: translateY(20px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
}
}
@-moz-keyframes fadeInUp {
0% {
opacity: 0;
-moz-transform: translateY(20px);
}
100% {
opacity: 1;
-moz-transform: translateY(0);
}
}
@-o-keyframes fadeInUp {
0% {
opacity: 0;
-o-transform: translateY(20px);
}
100% {
opacity: 1;
-o-transform: translateY(0);
}
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.fadeInUp {
-webkit-animation-name: fadeInUp;
-moz-animation-name: fadeInUp;
-o-animation-name: fadeInUp;
animation-name: fadeInUp;
}

View File

@@ -1,26 +0,0 @@
@-webkit-keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
@-moz-keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
@-o-keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
@keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
.fadeOut {
-webkit-animation-name: fadeOut;
-moz-animation-name: fadeOut;
-o-animation-name: fadeOut;
animation-name: fadeOut;
}

View File

@@ -1,54 +0,0 @@
@-webkit-keyframes fadeOutDown {
0% {
opacity: 1;
-webkit-transform: translateY(0);
}
100% {
opacity: 0;
-webkit-transform: translateY(20px);
}
}
@-moz-keyframes fadeOutDown {
0% {
opacity: 1;
-moz-transform: translateY(0);
}
100% {
opacity: 0;
-moz-transform: translateY(20px);
}
}
@-o-keyframes fadeOutDown {
0% {
opacity: 1;
-o-transform: translateY(0);
}
100% {
opacity: 0;
-o-transform: translateY(20px);
}
}
@keyframes fadeOutDown {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(20px);
}
}
.fadeOutDown {
-webkit-animation-name: fadeOutDown;
-moz-animation-name: fadeOutDown;
-o-animation-name: fadeOutDown;
animation-name: fadeOutDown;
}

View File

@@ -1,51 +0,0 @@
@-webkit-keyframes fadeOutUp {
0% {
opacity: 1;
-webkit-transform: translateY(0);
}
100% {
opacity: 0;
-webkit-transform: translateY(-20px);
}
}
@-moz-keyframes fadeOutUp {
0% {
opacity: 1;
-moz-transform: translateY(0);
}
100% {
opacity: 0;
-moz-transform: translateY(-20px);
}
}
@-o-keyframes fadeOutUp {
0% {
opacity: 1;
-o-transform: translateY(0);
}
100% {
opacity: 0;
-o-transform: translateY(-20px);
}
}
@keyframes fadeOutUp {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-20px);
}
}
.fadeOutUp {
-webkit-animation-name: fadeOutUp;
-moz-animation-name: fadeOutUp;
-o-animation-name: fadeOutUp;
animation-name: fadeOutUp;
}

View File

@@ -1,23 +0,0 @@
@-webkit-keyframes zoomIn {
from {
opacity: 0;
-webkit-transform: scale3d(.3, .3, .3);
transform: scale3d(.3, .3, .3);
}
50% {
opacity: 1;
}
}
@keyframes zoomIn {
from {
opacity: 0;
-webkit-transform: scale3d(.3, .3, .3);
transform: scale3d(.3, .3, .3);
}
50% {
opacity: 1;
}
}

View File

@@ -0,0 +1,92 @@
// Zoom In
@-webkit-keyframes zoomIn {
from {
opacity: 0;
-webkit-transform: scale3d(.3, .3, .3);
transform: scale3d(.3, .3, .3);
}
50% {
opacity: 1;
}
}
@keyframes zoomIn {
from {
opacity: 0;
-webkit-transform: scale3d(.3, .3, .3);
transform: scale3d(.3, .3, .3);
}
50% {
opacity: 1;
}
}
// Fade In Down
@-webkit-keyframes fadeInDown {
0% {
opacity: 0;
-webkit-transform: translateY(-20px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0);
}
}
@keyframes fadeInDown {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-webkit-keyframes fadeOutUp {
0% {
opacity: 1;
-webkit-transform: translateY(0);
}
100% {
opacity: 0;
-webkit-transform: translateY(-20px);
}
}
// Fade Out Up
@keyframes fadeOutUp {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-20px);
}
}
// Classes
.fadeOutUp {
-webkit-animation-name: fadeOutUp;
-moz-animation-name: fadeOutUp;
-o-animation-name: fadeOutUp;
animation-name: fadeOutUp;
}
.fadeInDown {
-webkit-animation-name: fadeInDown;
-moz-animation-name: fadeInDown;
-o-animation-name: fadeInDown;
animation-name: fadeInDown;
}

View File

@@ -1,6 +1,9 @@
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
&:focus,
&:active {
@@ -9,23 +12,35 @@
}
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
html,
body {
font-size: @font-size-base;
min-height: 100%;
}
a {
.transition(color);
.transition-duration(300ms);
body {
background-color: @body-bg;
font-weight: @font-weight-normal;
font-family: @font-family-sans-serif;
line-height: @line-height-base;
color: @text-color;
}
h1, h2, h3, h4, h5, h6 {
font-family: @headings-font-family;
color: @headings-color;
font-weight: @font-weight-bold;
}
a {
color: @link-color;
text-decoration: @link-hover-decoration;
&:hover {
color: darken(@link-color, 10%);
}
}
button {
border: 0;
}
background-color: transparent;
padding: 0;
}

View File

@@ -1,22 +1,39 @@
// Base
.btn {
border: 0;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 2px;
border-radius: @border-radius-small;
text-align: center;
.transition(all);
.transition-duration(300ms);
font-size: @font-size-small;
&:hover,
&:focus {
.opacity(0.9);
&:not(.btn--sm) {
padding: 0.5rem 0.75rem;
}
}
/*-----------------------------------
Button Variants
------------------------------------*/
// Size
.btn--sm {
padding: 0.35rem 0.5rem;
font-size: @font-size-extra-small;
}
// Link buttons
.btn--link {
background-color: transparent;
text-transform: uppercase;
font-weight: @font-weight-bold;
color: @headings-color;;
&:hover {
background-color: @muted-bg;
}
}
// Variants
.btn-variant(@bg-color, @color) {
color: @color;
background-color: @bg-color;
@@ -24,34 +41,18 @@
&:hover,
&:focus {
color: @color;
background-color: darken(@bg-color, 6%);
background-color: darken(@bg-color, 5%);
}
}
.btn-block {
display: block;
width: 100%;
}
.btn-white {
.btn-variant(#fff, darken(@text-color, 20%));
}
.btn-link {
.btn-variant(#eee, #545454);
}
.btn-danger {
.btn--danger {
.btn-variant(@red, @white);
}
.btn-primary {
.btn--primary {
.btn-variant(@blue, @white);
}
.btn-success {
.btn--success {
.btn-variant(@green, @white);
}
//-----------------------------------
}

View File

@@ -0,0 +1,23 @@
.close {
width: 25px;
height: 25px;
cursor: pointer;
position: absolute;
z-index: 1;
&:not(.close--alt) {
background: url(../../img/icons/close-inverse.svg) no-repeat center;
opacity: 0.75;
.transition(opacity);
.transition-duration(300ms);
&:hover {
opacity: 1;
}
}
}
.close--alt {
background: url(../../img/icons/close.svg) no-repeat center;
}

View File

@@ -0,0 +1,139 @@
.create {
position: fixed !important;
bottom: 2rem;
right: 2rem;
z-index: 10;
.dropdown-menu {
z-index: 1;
box-shadow: none;
border: 0;
width: 40px;
min-width: 40px;
height: 150px;
text-align: center;
background-color: transparent;
bottom: 55px;
top: auto;
right: 8px;
display: block;
}
&:not(.open) {
.dropdown-menu {
pointer-events: none;
}
}
&.open {
.create__toggle {
& > i {
&:first-child {
opacity: 0;
.scale(0);
}
&:last-child {
opacity: 1;
.scale(1);
}
}
}
.create__btn {
opacity: 1;
}
.create__btn--bucket {
.translate3d(0,-120px,0)
}
.create__btn--upload {
.translate3d(0,-65px,0);
}
}
}
.create__toggle {
cursor: pointer;
width: 55px;
height: 55px;
border-radius: 50%;
border: 0;
position: relative;
background-color: @red;
box-shadow: 0 0 0 5px fade(@black, 5%);
display: block;
z-index: 10;
& > i {
position: absolute;
font-size: 1.35rem;
left: 0;
top: 0;
width: 100%;
height: 100%;
text-align: center;
line-height: 55px;
color: @white;
.transition(transform);
.transition-duration(300ms);
&:last-child {
opacity: 0;
.scale(0);
}
}
}
.create__btn {
width: 40px;
height: 40px;
border-radius: 50%;
text-align: center;
position: absolute;
left: 0;
color: @white;
line-height: 40px;
box-shadow: 0 0 0 4px fade(@black, 3%);
font-size: 1.3rem;
background-color: @amber;
bottom: -48px;
opacity: 0;
.transition(all);
.transition-duration(300ms);
&:hover,
&:focus {
background-color: darken(@amber, 10%);
color: @white;
}
& > label {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 1;
cursor: pointer;
}
}
.create__btn--bucket {
background: @amber url(../../img/icons/bucket-new.svg) no-repeat center;
background-size: 12px;
.transition-delay(100ms);
}
.create__btn--upload {
}
.create-bucket {
.modal-dialog {
position: fixed;
right: 2rem;
bottom: 4.75rem;
}
}

View File

@@ -1,23 +1,78 @@
.dropdown,
.dropup {
position: relative;
}
.dropdown-toggle--icon {
width: 2rem;
height: 2rem;
border-radius: 50%;
line-height: 100%;
background-color: transparent;
& > .zmdi {
font-size: 1.25rem;
line-height: 1.1rem;
}
&:hover {
background-color: @white;
}
}
.dropdown-menu {
padding: 15px 0;
position: absolute;
top: 0;
margin-top: -1px;
left: 0;
z-index: @zindex-dropdown;
border: 1px solid @dropdown-border-color;
display: none;
padding: 0.75rem 0;
margin: 0;
list-style: none;
font-size: @font-size-base;
background-color: @dropdown-bg;
border-radius: @border-radius-large;
box-shadow: @dropdown-shadow;
min-width: 5rem;
& > li {
& > a {
padding: 8px 20px;
font-size: 15px;
> li > a {
display: block;
color: @dropdown-link-color;
padding: 0.5rem 1.25rem;
font-size: @font-size-base - 1;
white-space: nowrap;
.transition(all);
.transition-duration(300ms);
& > i {
width: 20px;
position: relative;
top: 1px;
}
&:hover {
color: @dropdown-link-hover-color;
background-color: @dropdown-link-hover-bg;
}
& > i {
text-align: center;
width: 1.1rem;
margin-left: 0.75rem;
font-size: 1.15rem;
vertical-align: top;
position: relative;
top: 0.05rem;
line-height: 100%;
}
}
}
.open {
& > .dropdown-menu {
display: block;
}
}
.dropdown-menu-right {
right: -0.1rem;
left: auto;
& > li {
& > a {
text-align: right;

View File

@@ -1,160 +0,0 @@
/*------------------------------
Layout
--------------------------------*/
.file-explorer {
background-color: @white;
position: relative;
height: 100%;
&.toggled {
height: 100vh;
overflow: hidden;
}
}
.fe-body {
@media(min-width: @screen-md-min) {
padding: 0 0 80px @fe-sidebar-width;
}
@media(max-width: @screen-sm-max) {
padding: 75px 0 80px;
}
min-height:100vh;
overflow: auto;
}
/*------------------------------
Create and Upload Button
--------------------------------*/
.feb-actions {
position: fixed;
bottom: 30px;
right: 30px;
.dropdown-menu {
min-width: 55px;
width: 55px;
text-align: center;
background: transparent;
box-shadow: none;
margin: 0;
}
&.open {
.feba-btn {
.scale(1);
&:first-child {
.animation-name(feba-btn-anim);
.animation-duration(300ms);
}
&:last-child {
.animation-name(feba-btn-anim);
.animation-duration(100ms);
}
}
.feba-toggle {
background: darken(@red, 10%);
& > span {
transform: translateZ(1px) rotate(135deg);
}
}
}
}
.feba-toggle {
width: 55px;
height: 55px;
line-height: 55px;
border-radius: 50%;
background: @red;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
display: inline-block;
text-align: center;
border: 0;
padding: 0;
span {
display: inline-block;
height: 100%;
width: 100%;
}
i {
color: @white;
font-size: 17px;
line-height: 55px;
}
}
.feba-toggle,
.feba-toggle > span {
.transition(all);
.transition-duration(250ms);
.backface-visibility(hidden);
}
.feba-btn {
width: 40px;
margin-top: 10px;
height: 40px;
border-radius: 50%;
text-align: center;
display: inline-block;
color: @white;
line-height: 40px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
-webkit-transform: scale(0);
transform: scale(0);
position: relative;
&:hover,
&:focus {
color: @white;
}
label {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
cursor: pointer;
}
}
.feba-bucket {
background: @orange;
}
.feba-upload {
background: @yellow;
}
@-webkit-keyframes feba-btn-anim {
from {
.scale(0);
.opacity(0);
}
to {
.scale(1);
.opacity(1);
}
}
@keyframes feba-btn-anim {
from {
.scale(0);
.opacity(0);
}
to {
.scale(1);
.opacity(1);
}
}

View File

@@ -1,7 +1,24 @@
@font-face {
font-family: Lato;
src: url('../../fonts/lato/lato-normal.woff2') format('woff2'),
url('../../fonts/lato/lato-normal.woff') format('woff');
font-weight: normal;
// Roboto Regular
@font-face{
font-family: Roboto;
src:url('../../fonts/roboto/Roboto-Regular-webfont.eot');
src:url('../../fonts/roboto/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../../fonts/roboto/Roboto-Regular-webfont.woff') format('woff'),
url('../../fonts/roboto/Roboto-Regular-webfont.ttf') format('truetype'),
url('../../fonts/roboto/Roboto-Regular-webfont.svg#icon') format('svg');
font-weight: 400;
font-style: normal;
}
// Roboto Medium
@font-face{
font-family: Roboto;
src:url('../../fonts/roboto/Roboto-Medium-webfont.eot');
src:url('../../fonts/roboto/Roboto-Medium-webfont.eot?#iefix') format('embedded-opentype'),
url('../../fonts/roboto/Roboto-Medium-webfont.woff') format('woff'),
url('../../fonts/roboto/Roboto-Medium-webfont.ttf') format('truetype'),
url('../../fonts/roboto/Roboto-Medium-webfont.svg#icon') format('svg');
font-weight: 500;
font-style: normal;
}

View File

@@ -1,262 +1,102 @@
.form-control {
border: 0;
border-bottom: 1px solid @input-border;
color: #32393F;
padding: 5px;
width: 100%;
font-size: 13px;
background-color: transparent;
}
select.form-control {
-webkit-appearance: none;
-moz-appearance: none;
border-radius: 0;
background: url(../../img/select-caret.svg) no-repeat bottom 7px right;
}
/*--------------------------
Input Group
----------------------------*/
.input-group {
position: relative;
&:not(:last-child) {
margin-bottom: 25px;
}
label:not(.ig-label) {
font-size: 13px;
display: block;
margin-bottom: 10px;
}
}
.ig-label {
position: absolute;
text-align: center;
bottom: 7px;
left: 0;
width: 100%;
.transition(all);
.transition-duration(250ms);
padding: 2px 0 3px;
border-radius: 2px;
font-weight: 400;
}
.ig-helpers {
z-index: 1;
width: 100%;
left: 0;
&,
&:before,
&:after {
position: absolute;
height: 2px;
bottom: 0;
}
&:before,
&:after {
content: '';
width: 0;
.transition(all);
.transition-duration(250ms);
background-color: #03A9F4;
}
&:before {
left: 50%;
}
&:after {
right: 50%;
}
}
.ig-text {
width: 100%;
height: 40px;
border: 0;
background: transparent !important;
text-align: center;
position: relative;
z-index: 1;
border-bottom: 1px solid #eee;
color: #32393F;
font-size: 13px;
&:focus + .ig-helpers {
&:before,
&:after {
width: 50%;
}
}
&:valid,
&:disabled,
&:focus {
& ~ .ig-label {
bottom: 35px;
font-size: 13px;
z-index: 1;
}
}
&:disabled {
.opacity(0.5);
}
}
.ig-dark {
.ig-text {
color: @white !important;
border-color: rgba(255,255,255,0.1) !important;
}
.ig-helpers {
&:before,
&:after {
background-color: #dfdfdf;
height: 1px;
}
}
}
.ig-left {
.ig-label,
.ig-text {
text-align: left;
}
}
.ig-error {
.ig-label {
color: #E23F3F;
}
.ig-helpers i {
&:first-child,
&:first-child:before,
&:first-child:after {
background: rgba(226, 63, 63, 0.43);
}
&:last-child,
&:last-child:before,
&:last-child:after {
background: #E23F3F !important;
}
}
&:after {
content: "\f05a";
font-family: FontAwesome;
position: absolute;
top: 17px;
right: 9px;
font-size: 20px;
color: #D33D3E;
}
}
.ig-search {
&:before {
font-family: @font-family-icon;
content: '\f002';
font-size: 15px;
position: absolute;
left: 2px;
top: 8px;
}
.ig-text {
padding-left: 25px;
}
}
/*--------------------------
Share Spinners
----------------------------*/
.set-expire {
border: 1px solid @input-border;
margin: 35px 0 30px;
// Form Group
.form-group {
position: relative;
&:before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
&:not(:only-child):not(:last-child) {
margin-bottom: 1.25rem;
}
& > label {
font-size: @font-size-extra-small;
font-weight: @font-weight-bold;
text-transform: uppercase;
}
}
.set-expire-item {
padding: 9px 5px 3px;
position: relative;
display: table-cell;
width: 1%;
text-align: center;
.user-select(none);
&:not(:last-child) {
border-right: 1px solid @input-border;
}
}
.set-expire-title {
font-size: 10px;
text-transform: uppercase;
}
.set-expire-value {
display: inline-block;
overflow: hidden;
position: relative;
left: -8px;
input {
.user-select(none);
font-size: 20px;
.form-group--centered {
.form-group__field {
text-align: center;
position: relative;
right: -15px;
border: 0;
color: @text-strong-color;
padding: 0;
height: 25px;
width: 100%;
font-weight: normal;
}
}
.set-expire-decrease,
.set-expire-increase {
// Field
.form-group__field {
border: 0;
border-bottom: 1px solid @input-border-color;
color: @input-color;
width: 100%;
font-size: @font-size-small;
background-color: @input-bg;
padding: 0 1px;
height: @input-height;
outline: 0;
box-shadow: none;
.placeholder(@text-muted-color);
&:focus {
& ~ .form-group__helper {
width: 100%;
}
}
}
.form-group__field--static {
border: 0;
}
// Helper (blue bar)
.form-group__helper {
position: absolute;
width: 20px;
height: 20px;
background: url(../../img/arrow.svg) no-repeat center;
background-size: 85%;
left: 50%;
margin-left: -10px;
.opacity(0.2);
cursor: pointer;
bottom: 0;
left: 0;
height: 2px;
width: 0;
background-color: @blue;
z-index: 1;
.transition(width);
.transition-duration(300ms);
}
&:hover {
.opacity(0.5);
// Form group with icons and addons
.form-group--icon {
.form-group__field {
padding-left: 2.4rem;
}
}
.set-expire-increase {
top: -25px;
.form-group__icon {
font-size: 1.15rem;
color: @headings-color;
position: absolute;
bottom: 0.6rem;
left: 0.2rem;
}
.set-expire-decrease {
bottom: -27px;
.rotate(-180deg);
.form-group__addon {
position: absolute;
bottom: 0;
right: 0;
height: @input-height;
border: 1px solid @input-border-color;
width: 2.5rem;
text-align: center;
line-height: 2.5rem;
background-color: @white;
font-size: 1.25rem;
&.active {
color: @green;
}
}
// Select
select {
background-color: transparent;
.appearance(none);
border-radius: 0;
background: url(../../img/icons/select-caret.svg) no-repeat bottom 5px right 1px;
}

View File

@@ -1,83 +0,0 @@
/*----------------------------
Text Alignment
-----------------------------*/
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
/*----------------------------
Float
-----------------------------*/
.clearfix { .clearfix(); }
.pull-right { float: right !important; }
.pull-left { float: left !important; }
/*----------------------------
Position
-----------------------------*/
.p-relative { position: relative; }
/*---------------------------------------------------------------------------
Generate Margin Class
margin, margin-top, margin-bottom, margin-left, margin-right
----------------------------------------------------------------------------*/
.margin (@label, @size: 1, @key:1) when (@size =< 30){
.m-@{key} {
margin: @size !important;
}
.m-t-@{key} {
margin-top: @size !important;
}
.m-b-@{key} {
margin-bottom: @size !important;
}
.m-l-@{key} {
margin-left: @size !important;
}
.m-r-@{key} {
margin-right: @size !important;
}
.margin(@label - 5; @size + 5; @key + 5);
}
.margin(25, 0px, 0);
/*---------------------------------------------------------------------------
Generate Padding Class
padding, padding-top, padding-bottom, padding-left, padding-right
----------------------------------------------------------------------------*/
.padding (@label, @size: 1, @key:1) when (@size =< 30){
.p-@{key} {
padding: @size !important;
}
.p-t-@{key} {
padding-top: @size !important;
}
.p-b-@{key} {
padding-bottom: @size !important;
}
.p-l-@{key} {
padding-left: @size !important;
}
.p-r-@{key} {
padding-right: @size !important;
}
.padding(@label - 5; @size + 5; @key + 5);
}
.padding(25, 0px, 0);

View File

@@ -1,247 +1,64 @@
/*--------------------------
Header
----------------------------*/
.fe-header {
@media(min-width: (@screen-sm-min - 100)) {
position: relative;
padding: 40px 40px 20px 45px;
// Base
.header {
z-index: @header-z-index;
}
// Toolbar
.toolbar {
background-color: @toolbar-bg;
height: @toolbar-height;
display: flex;
align-items: center;
@media(min-width: @screen-sm-min) {
padding: 0 1.25rem 0;
}
@media(max-width: (@screen-xs-max - 100)) {
padding: 20px;
}
h2 {
font-size: 16px;
font-weight: normal;
margin: 0;
& > span {
margin-bottom: 7px;
display: inline-block;
&:not(:first-child) {
&:before {
content: '/';
margin: 0 4px;
color: @text-color;
}
}
&:last-child {
&:after {
content: '/';
margin: 0 4px;
color: @text-color;
}
}
}
}
p {
margin-top: 7px;
@media(max-width: @screen-xs-max) {
padding: 0 0.7rem;
}
}
/*--------------------------
Disk usage
----------------------------*/
.feh-usage {
margin-top: 12px;
max-width: 285px;
@media(max-width: (@screen-xs-max - 100px)) {
max-width: 100%;
font-size: 12px;
}
& > ul {
margin-top: 7px;
list-style: none;
padding: 0;
& > li {
padding-right: 0;
display: inline-block;
}
}
}
.fehu-chart {
height: 5px;
background: #eee;
position: relative;
border-radius: 2px;
overflow: hidden;
& > div {
position: absolute;
left: 0;
height: 100%;
background: @link-color;
}
}
/*--------------------------
Header Actions
----------------------------*/
.feh-actions {
list-style: none;
padding: 0;
margin: 0;
position: absolute;
right: 35px;
top: 30px;
z-index: 11;
@media(max-width: (@screen-sm-max)) {
top: 7px;
right: 10px;
position: fixed;
}
& > li {
.toolbar__item {
&:not(.toolbar__item--alt) {
color: @text-color;
font-size: 1.25rem;
width: 2.6rem;
height: 2.6rem;
border-radius: 50%;
text-align: center;
vertical-align: middle;
display: inline-block;
text-align: right;
vertical-align: top;
line-height: 100%;
margin: -0.1rem 0 0 0.5rem;
& > a,
& > .btn-group > button {
display: block;
height: 45px;
min-width: 45px;
text-align: center;
border-radius: 50%;
padding: 0;
border: 0;
background: none;
@media(min-width: @screen-md-min) {
color: #7B7B7B;
font-size: 21px;
line-height: 45px;
.transition(all);
.transition-duration(300ms);
&:hover {
background: rgba(0,0,0,0.09);
}
}
@media(max-width: (@screen-sm-max)) {
background: url(../../img/more-h-light.svg) no-repeat center;
.fa-reorder {
display: none;
}
}
}
}
}
/*--------------------------
Mobile Header
----------------------------*/
@media(max-width: @screen-sm-max) {
.fe-header-mobile {
background-color: @dark-gray;
padding: 10px 50px 9px 12px;
text-align: center;
position: fixed;
z-index: 10;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
left: 0;
top: 0;
width: 100%;
.mh-logo {
height: 35px;
position: relative;
top: 4px;
}
}
.feh-trigger {
width: 41px;
height: 41px;
cursor: pointer;
float: left;
position: relative;
text-align: center;
&:before,
&:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
}
&:after {
z-index: 1;
}
&:before {
background: rgba(255, 255, 255, 0.1);
&:not(:disabled) {
cursor: pointer;
.transition(all);
.transition-duration(300ms);
.scale(0);
}
}
.feht-toggled {
&:before {
.scale(1);
}
.feht-lines {
.rotate(180deg);
& > div {
&.top {
width: 12px;
transform: translateX(8px) translateY(1px) rotate(45deg);
-webkit-transform: translateX(8px) translateY(1px) rotate(45deg);
}
&.bottom {
width: 12px;
transform: translateX(8px) translateY(-1px) rotate(-45deg);
-webkit-transform: translateX(8px) translateY(-1px) rotate(-45deg);
}
&:hover {
background-color: fade(@white, 50%);
color: darken(@text-color, 10%);
}
}
}
.feht-lines,
.feht-lines > div {
.transition(all);
.transition-duration(300ms);
}
&:disabled {
opacity: 0.3;
}
.feht-lines {
width: 18px;
height: 12px;
display: inline-block;
margin-top: 14px;
& > div {
background-color: #EAEAEA;
width: 18px;
height: 2px;
&.center {
margin: 3px 0;
}
&:first-child {
margin-left: 0;
}
}
}
.toolbar__item--alt {
align-self: center;
margin-left: 0.75rem;
}
.toolbar__end {
margin: 0 -0.5rem 0 auto;
display: flex;
align-content: center;
}

View File

@@ -1,81 +0,0 @@
.ie-warning {
background-color: #ff5252;
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
text-align: center;
&:before {
width: 1px;
content: '';
height: 100%;
}
&:before,
.iw-inner {
display: inline-block;
vertical-align: middle;
}
}
.iw-inner {
width: 470px;
height: 300px;
background-color: @white;
border-radius: 5px;
padding: 40px;
position: relative;
ul {
list-style: none;
padding: 0;
margin: 0;
width: 230px;
margin-left: 80px;
margin-top: 16px;
& > li {
float: left;
& > a {
display: block;
padding: 10px 15px 7px;
font-size: 14px;
margin: 0 1px;
border-radius: 3px;
&:hover {
background: #eee;
}
img {
height: 40px;
margin-bottom: 5px;
}
}
}
}
}
.iwi-icon {
color: #ff5252;
font-size: 40px;
display: block;
line-height: 100%;
margin-bottom: 15px;
}
.iwi-skip {
position: absolute;
left: 0;
bottom: -35px;
width: 100%;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
&:hover {
color: @white;
}
}

View File

@@ -0,0 +1,21 @@
.content {
display: flex;
flex-direction: column;
height: 100vh;
@media(min-width: @screen-md-min) {
padding: 0 0 0 @sidebar-width;
.transition(padding);
.transition-duration(200ms);
}
@media(max-width: @screen-sm-max) {
padding: 0;
}
}
.sidebar--toggled {
& + .content {
padding-left: 0;
}
}

View File

@@ -1,486 +0,0 @@
/*--------------------------
Row
----------------------------*/
.fesl-row {
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();
}
header.fesl-row {
@media (min-width:(@screen-sm-min - 100px)) {
margin-bottom: 20px;
border-bottom: 1px solid lighten(@text-muted-color, 20%);
padding-left: 30px;
.fesl-item,
.fesli-sort {
.transition(all);
.transition-duration(300ms);
}
.fesl-item {
cursor: pointer;
color: @text-color;
font-weight: 500;
margin-bottom: -5px;
& > .fesli-sort {
float: right;
margin: 4px 0 0;
.opacity(0);
color: @dark-gray;
font-size: 14px;
}
&:hover:not(.fesl-item-actions) {
background: lighten(@text-muted-color, 22%);
color: @dark-gray;
& > .fesli-sort {
.opacity(0.5);
}
}
}
}
@media (max-width:(@screen-xs-max - 100px)) {
display: none;
}
}
.list-type(@background, @icon) {
.fis-icon {
background-color: @background;
&:before {
content: @icon;
}
}
}
div.fesl-row {
border-bottom: 1px solid transparent;
cursor: default;
.transition(background-color);
.transition-duration(500ms);
@media (max-width: (@screen-xs-max - 100px)) {
padding: 5px 20px;
}
&:not(.fesl-row-selected) {
&:nth-child(even) {
background-color: @list-row-even-bg;
}
}
&:hover {
.fis-icon {
&:before {
.opacity(0)
}
}
.fis-helper {
&:before {
.opacity(1);
}
}
}
/*--------------------------
Icons
----------------------------*/
&[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(#64c866, '\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: '';
}
&: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;
}
}
}
}
.fesl-row-selected {
background-color: @list-row-selected-bg;
&, .fesl-item a {
color: darken(@text-color, 10%);
}
}
.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: 8;
opacity: 0;
cursor: pointer;
&:checked {
& ~ .fis-icon {
background-color: #32393F;
&:before {
opacity: 0;
}
}
& ~ .fis-helper {
&:before {
.scale(0);
}
&:after {
.scale(1);
}
}
}
}
}
.fis-icon {
display: inline-block;
vertical-align: top;
border-radius: 50%;
width: 35px;
height: 35px;
.transition(background-color);
.transition-duration(250ms);
&:before {
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 {
position: absolute;
.transition(all);
.transition-duration(250ms);
}
&:before {
content: '';
width: 15px;
height: 15px;
border: 2px solid @white;
z-index: 7;
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);
}
}
/*--------------------------
Files and Folders
----------------------------*/
.fesl-item {
display: block;
a {
color: darken(@text-color, 5%);
}
@media(min-width: (@screen-sm-min - 100px)) {
&:not(.fesl-item-actions):not(.fesl-item-icon) {
text-overflow: ellipsis;
padding: 10px 15px;
white-space: nowrap;
overflow: hidden;
}
&.fesl-item-name {
flex: 3;
}
&.fesl-item-size {
width: 140px;
}
&.fesl-item-modified {
width: 190px;
}
&.fesl-item-actions {
width: 40px;
}
}
@media(max-width: (@screen-xs-max - 100px)) {
padding: 0;
&.fesl-item-name {
width: 100%;
margin-bottom: 3px;
}
&.fesl-item-size,
&.fesl-item-modified {
font-size: 12px;
color: #B5B5B5;
float: left;
}
&.fesl-item-modified {
max-width: 72px;
white-space: nowrap;
overflow: hidden;
}
&.fesl-item-size {
margin-right: 10px;
}
&.fesl-item-actions {
position: absolute;
top: 5px;
right: 10px;
}
}
}
/*--------------------------
Action buttons
----------------------------*/
.fia-toggle {
height: 36px;
width: 36px;
background: transparent url(../../img/more-h.svg) no-repeat center;
position: relative;
top: 3px;
.opacity(0.4);
&:hover {
.opacity(0.7);
}
}
.fesl-item-actions {
.dropdown-menu {
background-color: transparent;
box-shadow: none;
padding: 0;
right: 38px;
left: auto;
margin: 0;
height: 100%;
text-align: right;
}
.dropdown {
&.open {
.dropdown-menu {
.fiad-action {
right: 0;
}
}
}
}
}
.fiad-action {
height: 35px;
width: 35px;
background: @amber;
display: inline-block;
border-radius: 50%;
text-align: center;
line-height: 35px;
font-weight: normal;
position: relative;
top: 4px;
margin-left: 5px;
.animation-name(fiad-action-anim);
.transform-origin(center center);
.backface-visibility(none);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
&:nth-child(2) {
.animation-duration(100ms);
}
&:nth-child(1) {
.animation-duration(250ms);
}
& > i {
font-size: 14px;
color: @white;
}
&:hover {
background-color: darken(@amber, 3%);
}
}
.list-actions {
position: fixed;
.translate3d(0, -100%, 0);
.opacity(0);
.transition(all);
.transition-duration(200ms);
padding: 20px 70px 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);
margin-left: 10px;
&:hover {
background-color: @white;
color: @brand-primary;
}
}
}
@-webkit-keyframes fiad-action-anim {
from {
.scale(0);
.opacity(0);
right: -20px;
}
to {
.scale(1);
.opacity(1);
right: 0;
}
}
@keyframes fiad-action-anim {
from {
.scale(0);
.opacity(0);
right: -20px;
}
to {
.scale(1);
.opacity(1);
right: 0;
}
}

View File

@@ -1,104 +1,86 @@
.login {
height: 100vh;
min-height: 500px;
background: @dark-gray;
padding: 1.5rem;
text-align: center;
&:before {
height: ~"calc(100% - 110px)";
width: 1px;
content: "";
}
display: flex;
align-items: center;
justify-content: center;
}
.l-wrap,
.login:before {
display: inline-block;
vertical-align: middle;
.login__inner {
max-width: 400px;
width: 90%;
flex-shrink: 0;
}
.l-wrap {
width: 80%;
max-width: 500px;
margin-top: -50px;
&.toggled {
display: inline-block;
}
.input-group:not(:last-child) {
margin-bottom: 40px;
}
.login__header {
margin-bottom: 1rem;
}
.l-footer {
height: 110px;
padding: 0 50px;
}
.login__form {
background-color: @white;
padding: 2rem;
.lf-logo {
float: right;
img {
width: 40px;
}
}
.lf-server {
float: left;
color: rgba(255, 255, 255, 0.4);
font-size: 20px;
font-weight: 400;
padding-top: 40px;
}
@media (max-width: @screen-sm-min) {
.lf-logo,
.lf-server {
float: none;
display: block;
.form-group__field {
text-align: center;
width: 100%;
}
.lf-logo {
margin-bottom: 5px;
}
.lf-server {
font-size: 15px;
}
}
.lw-btn {
width: 50px;
height: 50px;
border: 1px solid @white;
display: inline-block;
.login__logo {
width: 2rem;
}
.login__host {
color: @text-muted-color;
margin-top: -0.5rem;
font-size: @font-size-small;
}
.login__btn {
margin-top: 0.5rem;
width: 2.6rem;
height: 2.6rem;
line-height: 100%;
border-radius: 50%;
font-size: 22px;
color: @white;
.transition(all);
.transition-duration(300ms);
opacity: 0.3;
background-color: transparent;
line-height: 45px;
padding: 0;
border: 1px solid darken(@input-border-color, 5%);
.transition(all);
.transition-duration(500ms);
position: relative;
overflow: hidden;
&:hover {
color: @white;
opacity: 0.8;
border-color: @white;
border-color: darken(@input-border-color, 15%);
&:before {
left: 2.6rem;
.opacity(0);
}
&:after {
.opacity(1);
left: 0;
}
}
i {
display: block;
&:before,
&:after {
display: flex;
align-items: center;
justify-content: center;
content: '\f301';
font-family: @font-family-icon;
position: absolute;
left: 0;
top: 0;
width: 100%;
padding-left: 3px;
height: 100%;
.transition(all);
.transition-duration(300ms);
}
}
/*------------------------------
Chrome autofill fix
-------------------------------*/
input:-webkit-autofill {
-webkit-box-shadow:0 0 0 50px @dark-gray inset !important;
-webkit-text-fill-color: @white !important;
&:after {
left: -2.6rem;
.opacity(0);
}
}

View File

@@ -1,116 +1,3 @@
/*--------------------------
Close
----------------------------*/
.close-variant(@color, @bg-color, @color-hover, @bg-color-hover) {
span {
background-color: @bg-color;
color: @color;
}
&:hover,
&:focus {
span {
background-color: @bg-color-hover;
color: @color-hover;
}
}
}
.close {
right: 15px;
font-weight: normal;
opacity: 1;
font-size: 18px;
position: absolute;
text-align: center;
top: 16px;
z-index: 1;
padding: 0;
border: 0;
background-color: transparent;
span {
width: 25px;
height: 25px;
display: block;
border-radius: 50%;
line-height: 24px;
text-shadow: none;
}
&:not(.close-alt) {
.close-variant(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1), @white, rgba(255, 255, 255, 0.2));
}
}
.close-alt {
.close-variant(#989898, #efefef, #7b7b7b, #e8e8e8);
}
/*--------------------------
Hidden
----------------------------*/
.hidden {
.sr-only {
display: none !important;
}
/*--------------------------
Copy text
----------------------------*/
.copy-text {
input {
width: 100%;
border-radius: 1px;
border: 1px solid @input-border;
padding: 7px 12px;
font-size: 13px;
line-height: 100%;
cursor: text;
.transition(border-color);
.transition-duration(300ms);
&:hover {
border-color: darken(@input-border, 5%);
}
}
}
/*--------------------------
Sharing
----------------------------*/
.share-availability {
margin-bottom: 40px;
&:before,
&:after {
position: absolute;
bottom: -30px;
font-size: 10px;
}
&:before {
content: '01 Sec';
left: 0;
}
&:after {
content: '7 days';
right: 0;
}
}
.modal-aheader {
height: 100px;
&:before {
height: 0 !important;
}
.modal-dialog {
margin: 0;
vertical-align: top;
}
}

View File

@@ -1,6 +1,4 @@
/*--------------------------
User Select
----------------------------*/
// User select
.user-select(@value) {
-webkit-user-select: @value;
-moz-user-select: @value;
@@ -9,9 +7,30 @@
}
/*----------------------------------------
CSS Animations based on animate.css
-----------------------------------------*/
// Font icons
.font-icon(@icon) {
font-family: @font-family-icon;
content: @icon;
}
// Appearance
.appearance(@value) {
-webkit-appearance: @value;
-moz-appearance: @value;
appearance: @value;
}
// Scale and rotate
.scale-rotate(@scale, @rotate) {
-webkit-transform: scale(@scale) rotate(@rotate);
-ms-transform: scale(@scale) rotate(@rotate);
transform: scale(@scale) rotate(@rotate);
}
// CSS Animations
.animated(@name, @duration) {
-webkit-animation-name: @name;
animation-name: @name;
@@ -21,32 +40,10 @@
animation-fill-mode: both;
}
/*-------------------------------------------------
For loop mixin for generate custom classes
--------------------------------------------------*/
.for(@i, @n) {.-each(@i)}
.for(@n) when (isnumber(@n)) {.for(1, @n)}
.for(@i, @n) when not (@i = @n) {
.for((@i + (@n - @i) / abs(@n - @i)), @n);
}
.for(@array) when (default()) {.for-impl_(length(@array))}
.for-impl_(@i) when (@i > 1) {.for-impl_((@i - 1))}
.for-impl_(@i) when (@i > 0) {.-each(extract(@array, @i))}
/*----------------------------------------
List Loader
-----------------------------------------*/
.list-loader(@width, @height, @borderColor, @borderColorBottom) {
content: '';
width: @width;
height: @height;
border-radius: 50%;
.animated(zoomIn, 500ms);
border: 2px solid @borderColor;
border-bottom-color: @borderColorBottom;
position: absolute;
z-index: 1;
-webkit-animation: zoomIn 250ms, spin 700ms 250ms infinite linear;
animation: zoomIn 250ms, spin 700ms 250ms infinite linear;
}
// Scale3D
.scale3d(@x, @y, @z) {
-webkit-transform: scale3d(@x, @y, @z);
-ms-transform: scale3d(@x, @y, @z);
transform: scale3d(@x, @y, @z);
}

View File

@@ -1,294 +1,64 @@
/*--------------------------
Modal
----------------------------*/
// Base
.modal {
@media(min-width: @screen-sm-min) {
text-align: center;
&:before {
content: '';
height: 100%;
width: 1px;
display: inline-block;
vertical-align: middle;
}
.modal-dialog {
text-align: left;
margin: 10px auto;
display: inline-block;
vertical-align: middle;
}
.close {
top: 1.5rem;
right: 1.5rem;
}
}
.modal-dark {
.modal-header {
color: rgba(255, 255, 255, 0.4);
small {
color: rgba(255, 255, 255, 0.2);
}
}
.modal-content {
background-color: @dark-gray;
}
}
.modal-backdrop {
.animated(fadeIn, 200ms);
}
.modal-dialog {
.animated(zoomIn, 200ms);
}
.modal-header {
color: @text-strong-color;
position: relative;
color: @headings-color;
small {
& > small {
display: block;
text-transform: none;
font-size: 12px;
margin-top: 5px;
color: #a8a8a8;
margin-top: 0.25rem;
color: @text-muted-color;
font-size: @font-size-small;
}
}
.modal-content {
border-radius: 3px;
box-shadow: none;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.04);
}
.modal-footer {
padding: 0 30px 30px;
text-align: left;
padding-top: 1rem;
.btn--link {
&:first-child {
margin-left: -0.5rem;
}
}
}
// Dialog
.dialog {
text-align: center;
}
/*--------------------------
Dialog
----------------------------*/
.modal-confirm {
.modal-dialog {
text-align: center;
}
.dialog__icon {
color: @red;
font-size: 3rem;
line-height: 100%;
margin-bottom: 0.5rem;
}
.mc-icon {
margin: 0 0 10px;
& > i {
font-size: 60px;
}
.dialog__text{
color: @headings-color;
}
.mci-red {
color: #ff8f8f;
}
.mci-amber {
color: @amber;
}
.mci-green {
color: #64e096;
}
.mc-text {
color: @text-strong-color;
}
.mc-sub {
.dialog__sub {
margin-top: 0.25rem;
font-size: @font-size-small;
color: @text-muted-color;
margin-top: 5px;
font-size: 13px;
}
//--------------------------
/*--------------------------
About
----------------------------*/
.modal-about {
@media (max-width: @screen-xs-max) {
text-align: center;
.modal-dialog {
max-width: 400px;
width: 90%;
margin: 20px auto 0;
}
}
}
.ma-inner {
display: flex;
flex-direction: row;
align-items: center;
min-height: 350px;
position: relative;
@media (min-width: @screen-sm-min) {
&:before {
content: '';
width: 150px;
height: 100%;
top: 0;
left: 0;
position: absolute;
border-radius: 3px 0 0px 3px;
background-color: #23282C;
}
}
}
.mai-item {
&:first-child {
width: 150px;
text-align: center;
}
&:last-child {
flex: 4;
padding: 30px;
}
}
.maii-logo {
width: 70px;
position: relative;
}
.maii-list {
list-style: none;
padding: 0;
& > li {
margin-bottom: 15px;
div {
color: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
font-size: 14px;
}
small {
font-size: 13px;
color: rgba(255, 255, 255, 0.4);
}
}
}
//--------------------------
/*--------------------------
Preferences
----------------------------*/
.toggle-password {
position: absolute;
bottom: 30px;
right: 35px;
width: 30px;
height: 30px;
border: 1px solid #eee;
border-radius: 0;
text-align: center;
cursor: pointer;
z-index: 10;
background-color: @white;
padding-top: 5px;
&.toggled {
background: #eee;
}
}
//--------------------------
/*--------------------------
Policy
----------------------------*/
.pm-body {
padding-bottom: 30px;
}
.pmb-header {
margin-bottom: 35px;
}
.pmb-list {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
padding: 10px 35px;
&:nth-child(even) {
background-color: #F7F7F7;
}
.form-control {
padding-left: 0;
padding-right: 0;
}
}
header.pmb-list {
margin: 20px 0 10px;
}
.pmbl-item {
display: block;
font-size: 13px;
&:nth-child(1) {
flex: 2;
}
&:nth-child(2) {
margin: 0 25px;
width: 150px;
}
&:nth-child(3) {
width: 70px;
}
}
div.pmb-list {
select {
border: 0;
}
.pml-item {
&:not(:last-child) {
padding: 0 5px;
}
}
}
//--------------------------
/*--------------------------
Create Bucket
----------------------------*/
.modal-create-bucket {
.modal-dialog {
position: fixed;
right: 25px;
bottom: 95px;
margin: 0;
height: 110px;
}
.modal-content {
width: 100%;
height: 100%;
}
}
//--------------------------
.dialog__actions {
margin-top: 2rem;
}

View File

@@ -0,0 +1,286 @@
.objects {
height: 100%;
flex: 1 1 auto;
display: flex;
flex-direction: column;
overflow: hidden;
}
.objects__lists {
flex: 1 1 auto;
overflow: auto;
position: relative;
}
.objects--active {
.objects__lists {
&:before,
&:after {
position: absolute;
.animated(zoomIn, 300ms);
}
&:before {
content: '';
left: 1.5rem;
top: 0.5rem;
width: ~"calc(100% - 3rem)";
height: ~"calc(100% - 2rem)";
border: 2px dashed darken(@muted-bg, 50%);
background-color: @body-bg;
z-index: 11;
opacity: 0.75;
}
&:after {
content: 'Drop Your Files Here';
font-size: 1.25rem;
text-transform: uppercase;
z-index: 12;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
margin: auto;
width: 14.33rem;
text-align: center;
height: 1.8rem;
}
}
}
.objects__header {
@media(min-width: @screen-sm-min) {
color: @headings-color;
text-transform: uppercase;
font-weight: @font-weight-bold;
font-size: @font-size-small;
border-bottom: 1px solid darken(@muted-border, 3%);
border-top: 1px solid darken(@muted-border, 3%);
margin-bottom: 1rem;
& > .objects__column {
overflow: hidden;
cursor: pointer;
.transition(color);
.transition-duration(300ms);
&:hover {
color: @text-color;
.objects__sort {
opacity: 1;
}
}
}
}
}
.objects__row {
position: relative;
@media (min-width: (@screen-sm-min)) {
padding: 0 1.5rem;
display: flex;
flex-flow: row nowrap;
align-items: center;
flex-shrink: 0;
}
@media(max-width: @screen-xs-max) {
padding: 1rem 1rem 1rem 4.25rem;
&:nth-child(even) {
background-color: @white;
}
&.objects__row--directory {
.objects__column--size,
.objects__column--date {
display: none;
}
}
}
&:hover {
&:not(.objects__header) {
@media (min-width: @screen-sm-min) {
background-color: @object-row-hover-bg;
}
}
.objects__select {
& > i {
&:before {
.scale(0);
opacity: 0;
}
&:after {
.scale(1);
}
}
}
}
}
.objects__column {
position: relative;
@media(min-width: @screen-sm-min) {
padding: 0.8rem 0.5rem;
&:not(.objects__column--name):not(.objects__column--select) {
margin: 0 0 0 1.5rem;
}
}
}
.objects__column--select {
@media(max-width: @screen-xs-max) {
position: absolute;
left: 1.25rem;
top: 0;
bottom: 0;
height: 30px;
margin: auto;
}
}
.objects__select {
position: relative;
height: 30px;
width: 30px;
& > input[type="checkbox"],
& > i,
& > i:before,
& > i:after {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
& > input[type="checkbox"] {
z-index: 2;
opacity: 0;
&:checked ~ i {
&:before {
.scale(0);
}
&:after {
.scale(1);
.font-icon('\f269');
color: @headings-color;
}
}
}
& > i {
font-style: normal;
&:before,
&:after {
content: '';
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
color: @text-color;
.transition(all);
.transition-duration(200ms);
}
&:before {
background-color: red;
z-index: 1;
border-radius: 50%;
}
&:after {
.scale(0);
.font-icon('\f26c');
}
}
}
.objects__column--name {
overflow: hidden;
.text-overflow();
@media(min-width: @screen-sm-min) {
flex: 1 1 auto;
}
& > a {
color: @headings-color;
display: block;
}
}
@media(min-width: @screen-sm-min) {
.objects__column--size {
width: 6.5rem;
}
.objects__column--date {
width: 11.5rem;
}
}
@media(max-width: @screen-xs-max) {
.objects__column--size,
.objects__column--date {
display: inline-block;
font-size: @font-size-small;
margin: 0.25rem 1rem 0 0;
color: @text-muted-color;
}
}
.objects__sort {
position: absolute;
bottom: 0.8rem;
right: 0;
opacity: 0;
color: @text-color;
font-size: 1rem;
.transition(opacity);
.transition-duration(300ms);
}
// File types
.object-type(@color, @icon, @icon2x, @width, @height) {
.objects__select {
& > i {
&:before {
content: '';
.img-retina('/../../img/icons/files/@{icon}.png', '/../../img/icons/files/@{icon2x}.png', @width, @height);
background-color: @color;
background-position: center;
background-repeat: no-repeat;
}
}
}
}
[data-object-type=folder] { .object-type(#65baff, 'folder', 'folder@2x', 14px, 12px); }
[data-object-type=pdf] { .object-type(#fa7775, 'pdf', 'pdf@2x',16px, 15px); }
[data-object-type=zip] { .object-type(#427089, 'zip', 'zip@2x', 16px, 26px); }
[data-object-type=audio] { .object-type(#0fc5b4, 'audio', 'audio@2x', 16px, 14px); }
[data-object-type=code] { .object-type(#c1a08f, 'code', 'code@2x', 17px, 14px); }
[data-object-type=excel] { .object-type(#32c787, 'excel', 'excel@2x', 16px, 16px); }
[data-object-type=image] { .object-type(#ff85af, 'image', 'image@2x', 16px, 8px); }
[data-object-type=video] { .object-type(#f8c363, 'video', 'video@2x', 14px, 11px); }
[data-object-type=other] { .object-type(#c1c1c1, 'other', 'other@2x', 12px, 9px); }
[data-object-type=doc] { .object-type(#03A9F4, 'doc', 'doc@2x', 16px, 16px); }
[data-object-type=presentation] { .object-type(#ac91ca, 'presentation', 'presentation@2x', 16px, 16px); }
[data-object-type=text] { .object-type(#00BCD4, 'text', 'text@2x', 12px, 12px); }

View File

@@ -0,0 +1,39 @@
.path {
line-height: 100%;
padding: 1.25rem 2rem 1.35rem;
@media(max-width: @screen-xs-max) {
padding: 1rem 2rem 0.75rem;
}
& > a {
display: inline-block;
vertical-align: middle;
color: @path-link-color;
.user-select(none);
position: relative;
&:not(:last-child) {
&:hover {
color: darken(@path-link-color, 10%);
}
}
&:last-child {
cursor: default;
}
& + a {
margin-left: 35px;
&:before {
content: '\f2fb';
font-family: @font-family-icon;
color: @text-muted-color;
position: absolute;
left: -20px;
top: 1px;
}
}
}
}

View File

@@ -0,0 +1,37 @@
.policy__row {
display: flex;
padding: 0.4rem 2.25rem;
&:not(.policy__row--add) {
align-items: center;
}
&:first-child {
margin-bottom: 1rem;
}
&:last-child {
margin-bottom: 1.5rem;
}
& > .form-group {
flex: 1 1 auto;
margin: 0 1.5rem 0 0 !important;
}
& > .btn {
width: 4.5rem;
}
&:nth-child(even) {
background-color: @muted-bg;
}
}
.policy__row--add {
align-items: flex-end;
}
.policy__access {
width: 5rem;
}

View File

@@ -0,0 +1,81 @@
.set-expire {
border: 2px solid @input-border-color;
margin: 2rem 0 0;
position: relative;
display: flex;
&:before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1;
}
}
.set-expire__item {
padding: 0.85rem 0.2rem 0.25rem;
position: relative;
flex: 1 1 auto;
text-align: center;
.user-select(none);
&:not(:last-child) {
border-right: 2px solid @input-border-color;
}
}
.set-expire__title {
font-size: @font-size-extra-small;
text-transform: uppercase;
font-weight: @font-weight-bold;
color: @text-muted-color;
}
.set-expire__value {
display: inline-block;
overflow: hidden;
position: relative;
left: -9px;
input {
.user-select(none);
font-size: 1.35rem;
text-align: center;
position: relative;
right: -15px;
border: 0;
padding: 0;
height: 1.75rem;
width: 100%;
}
}
.set-expire__handle {
position: absolute;
width: 1.5rem;
height: 1.5rem;
left: 0;
right: 0;
margin: auto;
opacity: 0.5;
cursor: pointer;
font-size: 1.65rem;
.transition(opacity);
.transition-duration(300ms);
&:hover {
opacity: 1;
cursor: pointer;
}
&.zmdi-chevron-up {
top: -1.8rem;
}
&.zmdi-chevron-down {
bottom: -1.8rem;
}
}

View File

@@ -1,210 +1,160 @@
/*--------------------------
Sidebar
----------------------------*/
.fe-sidebar {
width: @fe-sidebar-width;
background-color: @dark-gray;
// Base
.sidebar {
max-width: @sidebar-width;
background-color: @sidebar-bg;
position: fixed;
height: 100%;
overflow: hidden;
padding: 25px;
z-index: @sidebar-z-index;
left: 0;
top: 0;
.transition(transform);
.transition-duration(200ms);
@media(min-width: @screen-md-min) {
.translate3d(0, 0, 0);
@media (min-width: @screen-md-min) {
width: 100%;
&.sidebar--toggled {
.translate3d((-@sidebar-width - 15px), 0, 0);
}
}
@media(max-width: @screen-sm-max) {
padding-top: 85px;
z-index: 9;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
.transition(all);
.transition-duration(300ms);
.translate3d((-@fe-sidebar-width - 15px), 0, 0);
@media (max-width: @screen-sm-max) {
width: 85%;
box-shadow: 0 0 1.3rem rgba(0, 0, 0, 0.1);
.translate3d((-@sidebar-width - 1rem), 0, 0);
&.toggled {
&.sidebar--toggled {
.translate3d(0, 0, 0);
}
}
a {
color: rgba(255, 255, 255, 0.58);
&:hover {
color: @white;
}
}
}
/*--------------------------
Header
----------------------------*/
.fes-header {
margin-bottom: 40px;
img,
h2 {
float: left;
}
h2 {
margin: 13px 0 0 10px;
font-weight: normal;
}
img {
width: 32px;
}
.sidebar__inner {
display: flex;
flex-direction: column;
height: 100%;
z-index: 1;
}
/*--------------------------
List
----------------------------*/
.fesl-inner {
height: ~"calc(100vh - 260px)";
overflow: auto;
padding: 0;
margin: 0 -25px;
// Logo
.logo {
padding: @sidebar-padding;
display: flex;
flex-shrink: 0;
align-items: flex-start;
margin-bottom: 1.15rem;
}
& li {
position: relative;
.logo__img {
height: 4rem;
margin: -0.6rem 0.55rem 0 -0.75rem;
}
& > a {
display: block;
padding: 10px 45px 12px 55px;
word-wrap: break-word;
&:before {
font-family: FontAwesome;
content: '\f0a0';
font-size: 17px;
position: absolute;
top: 10px;
left: 25px;
.opacity(0.8);
}
&.fesli-loading {
&:before {
.list-loader(20px, 20px, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
left: 32px;
top: 0;
bottom: 0;
margin: auto;
}
}
}
&.active {
background-color: #282e32;
& > a {
color: @white;
}
}
&:not(.active):hover {
background-color: rgba(0, 0, 0, 0.1);
& > a {
color: @white;
}
}
&:hover {
.bucket-dropdown .dropdown-toggle {
.opacity(0.6);
&:hover {
.opacity(1);
}
}
}
}
ul {
list-style: none;
padding: 0;
.logo__title {
& > h2 {
font-weight: @font-weight-normal;
line-height: 100%;
font-size: 1.33rem;
margin: 0;
}
&:hover .scrollbar-vertical {
opacity: 1;
}
}
/* Dropdown */
.bucket-dropdown {
position: absolute;
top: 0px;
right: 0px;
width: 35px;
height: 100%;
cursor: pointer;
color: @white;
.dropdown-toggle {
.opacity(0);
.transition(all);
.transition-duration(200ms);
font-size: 20px;
background-color: transparent;
}
.dropdown-menu-right {
padding: 15px 0;
margin-top: -1px;
& li {
a:before {
content: none;
-webkit-box-shadow: @dropdown-shadow;
box-shadow: @dropdown-shadow;
}
&:not(.active):hover {
& > a {
color: @dropdown-link-hover-color;
}
}
}
}
}
/* Scrollbar */
.scrollbar-vertical {
position: absolute;
right: 5px;
width: 4px;
height: 100%;
opacity: 0;
.transition(opacity);
.transition-duration(300ms);
div {
border-radius: 1px !important;
background-color: #6a6a6a !important;
}
}
/*--------------------------
Host
----------------------------*/
.fes-host {
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
background: @dark-gray;
color: rgba(255, 255, 255, 0.4);
font-size: 15px;
font-weight: 400;
width: @fe-sidebar-width;
padding: 20px;
.text-overflow();
& > i {
margin-right: 10px;
}
& > small {
display: block;
margin-top: 0.33rem;
padding-left: 1px;
color: @text-muted-color;
font-size: @font-size-small;
max-width: @sidebar-width - 80;
.text-overflow();
}
}
// Buckets
.buckets {
flex: 1 1 auto;
overflow: auto;
flex-shrink: 0;
}
.buckets__search {
padding: 0 @sidebar-padding;
margin-bottom: 1rem;
}
.buckets__item {
padding: 0.8rem @sidebar-padding 0.8rem @sidebar-padding*2.2;
background: url(../../img/icons/bucket.svg) no-repeat left 2.2rem center;
position: relative;
cursor: pointer;
& > a {
&, &:focus, &:hover {
color: @headings-color;
}
}
&:hover {
.buckets__item__actions {
display: block;
}
}
}
.buckets__item--active {
&:after {
content: '';
height: 100%;
width: 100%;
#gradient > .horizontal(#f3f3f3; @white);
position: absolute;
left: 0;
top: 0;
z-index: -1;
}
}
.buckets__item__actions {
position: absolute !important;
top: 0.5rem;
right: 0.5rem;
.transition(opacity);
.transition-duration(300ms);
&:not(.open) {
display: none;
}
&:hover {
opacity: 1;
}
}
// Backdrop for mobile
@media(min-width: @screen-md-min) {
.sidebar-backdrop {
display: none;
}
}
@media(max-width: @screen-sm-max) {
.sidebar-backdrop {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: @sidebar-z-index - 1;
cursor: pointer;
}
.sidebar--toggled {
& + .content {
.sidebar-backdrop {
display: block;
}
}
}
}

View File

@@ -0,0 +1,21 @@
@media(min-width: @screen-md-min) {
.storage {
color: @text-muted-color;
padding: 1.25rem @sidebar-padding 1.6rem;
margin: auto 0 0;
border-top: 1px solid @muted-border;
}
.storage__progress {
background-color: darken(@muted-bg, 3%);
overflow: hidden;
height: 0.3rem;
margin-top: 0.3rem;
& > span {
height: 0.3rem;
background-color: @blue;
display: block;
}
}
}

View File

@@ -0,0 +1,3 @@
.tooltip-inner {
padding: 0.55rem 1rem;
}

View File

@@ -1,101 +1,98 @@
/*--------------------------
Base
----------------------------*/
@font-family-sans-serif : 'Lato', sans-serif;
@font-family-icon : 'fontAwesome';
@body-bg : #edecec;
@text-color : #8e8e8e;
@font-size-base : 15px;
// Colors
@amber : #ffc721;
@red : #ff6b68;
@grey : #f5f5f5;
@blue : #00a6f7;
@white : #ffffff;
@black : #000000;
@blue : #2196F3;
@green : #33d46f;
@yellow : #FFC107;
@orange : #ffc155;
// Theme Coloes
@muted-bg: #fafafa;
@muted-border: #f3f3f3;
// Fonts
@font-family-sans-serif: 'Roboto', sans-serif;
@font-family-icon: 'Material-Design-Iconic-Font';
@font-size-base: 15px;
@font-size-small: @font-size-base - 2;
@font-size-extra-small: @font-size-base - 4;
@font-weight-bold: 500;
@font-weight-normal: 400;
@line-height-base: 1.42857;
// Body
@body-bg : #f7f7f7;
// Links
@link-color : #46a5e0;
@link-hover-decoration : none;
/*--------------------------
File Explorer
----------------------------*/
@fe-sidebar-width : 320px;
@text-muted-color : #BDBDBD;
@text-strong-color : #333;
// Text Colors
@text-color: #6f6f6f;
@headings-color: #384143;
@text-muted-color: #8a8a8a;
/*--------------------------
Colors
----------------------------*/
@cyan : #2ED2FF;
@amber : #ffc107;
@red : #ff726f;
@grey : #f5f5f5;
@dark-blue : #0084d3;
@blue : #00a6f7;
@white : #ffffff;
@black : #1b1e25;
@blue : #50b2ff;
@light-blue : #c1d1e8;
@green : #33d46f;
@yellow : #FFC107;
@orange : #ffc155;
@purple : #9C27B0;
@teal : #009688;
@brown : #795548;
@blue-gray : #374952;
@dark-gray : #32393F;
// Header
@header-height: 120px;
@header-link-color: #f8f8f8;
@header-z-index: 10;
@toolbar-height: 4.33rem;
@toolbar-bg: #f0f0f0;
/*--------------------------
Dropdown
----------------------------*/
@dropdown-fallback-border : transparent;
@dropdown-border : transparent;
@dropdown-divider-bg : '';
@dropdown-link-hover-bg : rgba(0,0,0,0.05);
@dropdown-link-color : @text-color;
@dropdown-link-hover-color : #333;
@dropdown-link-disabled-color : #e4e4e4;
@dropdown-divider-bg : rgba(0,0,0,0.08);
@dropdown-link-active-color : #333;
@dropdown-link-active-bg : rgba(0, 0, 0, 0.075);
@dropdown-shadow : 0 2px 10px rgba(0, 0, 0, 0.2);
// Sidebar
@sidebar-width: 21.33rem;
@sidebar-bg: @white;
@sidebar-padding: 2rem;
@sidebar-z-index: @header-z-index + 2;
/*--------------------------
Modal
----------------------------*/
@modal-content-fallback-border-color: transparent;
@modal-content-border-color: transparent;
@modal-backdrop-bg: rgba(0,0,0,0.1);
@modal-header-border-color: transparent;
@modal-title-line-height: transparent;
@modal-footer-border-color: transparent;
@modal-inner-padding: 30px 35px;
@modal-title-padding: 30px 35px 0px;
@modal-sm: 400px;
// Path
@path-link-color: @text-color;
/*-------------------------
Buttons
--------------------------*/
@btn-border-radius-large: 2px;
@btn-border-radius-small: 2px;
@btn-border-radius-base: 2px;
// Objects
@object-row-hover-bg: #f0f0f0;
/*-------------------------
Colors
--------------------------*/
@brand-primary: #2298f7;
@brand-success: #4CAF50;
@brand-info: #00BCD4;
@brand-warning: #FF9800;
@brand-danger: #FF5722;
// Buttons
@border-radius-large: 4px;
@border-radius-small: 2px;
@border-radius-base: 2px;
/*-------------------------
Form
--------------------------*/
@input-border: #eee;
// Forms
@input-border-color: @muted-border;
@input-color: @headings-color;
@input-bg: transparent;
@input-height: 2.5rem;
/*-------------------------
List
--------------------------*/
@list-row-selected-bg: #fbf2bf;
@list-row-even-bg: #fafafa;
// Dropdown
@dropdown-link-hover-bg: @muted-bg;
@dropdown-border-color: #e6e6e6;
@dropdown-link-color: @text-color;
@dropdown-link-hover-color: @headings-color;
@dropdown-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
@zindex-dropdown: 1000;
// Modal
@modal-content-fallback-border-color: transparent;
@modal-content-border-color: transparent;
@modal-backdrop-bg: fade(@black, 10%);
@modal-header-border-color: transparent;
@modal-title-line-height: transparent;
@modal-footer-border-color: transparent;
@modal-inner-padding: 2rem 2.25rem;
@modal-title-padding: 2rem 2.25rem 1rem;
@modal-sm: 400px;

View File

@@ -1,12 +1,9 @@
/*----------------------------
Bootstrap
-----------------------------*/
@import "../../node_modules/bootstrap/less/scaffolding.less";
@import "../../node_modules/bootstrap/less/variables.less";
@import "../../node_modules/bootstrap/less/grid.less";
@import "../../node_modules/bootstrap/less/mixins.less";
@import "../../node_modules/bootstrap/less/normalize.less";
@import "../../node_modules/bootstrap/less/dropdowns.less";
@import "../../node_modules/bootstrap/less/variables.less";
@import "../../node_modules/bootstrap/less/mixins.less";
@import "../../node_modules/bootstrap/less/modals.less";
@import "../../node_modules/bootstrap/less/tooltip.less";
@import "../../node_modules/bootstrap/less/responsive-utilities.less";
@@ -17,19 +14,25 @@
-----------------------------*/
@import 'inc/mixin';
@import 'inc/variables';
@import 'inc/base';
@import 'inc/animate/animate';
@import 'inc/generics';
@import 'inc/font';
@import 'inc/form';
@import 'inc/base';
@import 'inc/buttons';
@import 'inc/layout';
@import 'inc/animations';
@import 'inc/form';
@import 'inc/misc';
@import 'inc/login';
@import 'inc/header';
@import 'inc/sidebar';
@import 'inc/list';
@import 'inc/file-explorer';
@import 'inc/ie-warning';
@import 'inc/storage';
@import 'inc/path';
@import 'inc/objects';
@import 'inc/about';
@import 'inc/policy';
@import 'inc/create';
@import 'inc/close';
@import 'inc/tooltips';
@import 'inc/share';
/*----------------------------
Boostrap