You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
821 lines
21 KiB
Plaintext
821 lines
21 KiB
Plaintext
7 years ago
|
@import (once) "../../customize/src/less2/include/browser.less";
|
||
|
@import (once) "../../customize/src/less2/include/toolbar.less";
|
||
|
@import (once) "../../customize/src/less2/include/markdown.less";
|
||
|
@import (once) '../../customize/src/less2/include/fileupload.less';
|
||
|
@import (once) '../../customize/src/less2/include/alertify.less';
|
||
7 years ago
|
@import (once) '../../customize/src/less2/include/leftside-menu.less';
|
||
|
@import (once) "../../customize/src/less2/include/tools.less";
|
||
|
@import (once) "../../customize/src/less2/include/limit-bar.less";
|
||
7 years ago
|
|
||
|
.toolbar_main();
|
||
|
.fileupload_main();
|
||
|
.alertify_main();
|
||
7 years ago
|
.limit-bar_main();
|
||
|
|
||
|
@drive_hover: #eee;
|
||
|
@drive_hover-light: lighten(@drive_hover, 20%);
|
||
|
@drive_info-box-bg: #d2e1f2;
|
||
|
@drive_info-box-border: #bbb;
|
||
|
@drive_table-header-fg: #555;
|
||
|
@drive_table-header-bg: #e8e8e8;
|
||
|
@drive_mobile-tree-border-col: #ccc;
|
||
|
|
||
|
@drive_content-fg: @colortheme_sidebar-right-fg;
|
||
|
@drive_content-bg: @colortheme_sidebar-right-bg;
|
||
|
@drive_content-bg-ro: darken(@drive_content-bg, 10%);
|
||
|
|
||
7 years ago
|
|
||
|
/* PAGE */
|
||
|
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
max-height: 100%;
|
||
|
min-height: auto;
|
||
|
|
||
7 years ago
|
.cp-unselectable {
|
||
|
.tools_unselectable();
|
||
7 years ago
|
}
|
||
|
|
||
7 years ago
|
/* local mixins */
|
||
7 years ago
|
.drive_fileIcon {
|
||
7 years ago
|
li {
|
||
|
display: inline-block;
|
||
|
margin: 10px 10px;
|
||
|
width: 140px;
|
||
|
height: 140px;
|
||
|
text-align: center;
|
||
|
vertical-align: top;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
padding-top: 5px;
|
||
|
padding-bottom: 5px;
|
||
|
|
||
|
&:not(.cp-app-drive-element-selected):not(.cp-app-drive-element-selected-tmp) {
|
||
|
border: 1px solid #CCC;
|
||
|
}
|
||
|
.cp-app-drive-element-name {
|
||
|
width: 100%;
|
||
|
height: 48px;
|
||
|
margin: 8px 0;
|
||
|
display: inline-block;
|
||
|
//align-items: center;
|
||
|
//justify-content: center;
|
||
|
overflow: hidden;
|
||
|
//text-overflow: ellipsis;
|
||
|
word-wrap: break-word;
|
||
|
}
|
||
|
.cp-app-drive-element-truncated {
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
bottom: 0px;
|
||
|
left: 0; right: 0;
|
||
|
text-align: center;
|
||
|
}
|
||
|
img.cp-app-drive-content-icon {
|
||
|
height: 48px;
|
||
|
max-height: none;
|
||
|
max-width: none;
|
||
|
margin: 8px 0;
|
||
|
}
|
||
|
.fa {
|
||
|
display: block;
|
||
|
margin: auto;
|
||
|
font-size: 48px;
|
||
|
margin: 8px 0;
|
||
|
text-align: center;
|
||
|
&.listonly {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
img.cp-app-drive-icon {
|
||
7 years ago
|
max-width: 20px;
|
||
|
max-height: 16px;
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-container {
|
||
7 years ago
|
flex: 1;
|
||
|
overflow: auto;
|
||
|
width: 100%;
|
||
|
display: flex;
|
||
|
flex-flow: row;
|
||
7 years ago
|
@media screen and (max-width: @browser_media-medium-screen) {
|
||
7 years ago
|
display: block;
|
||
7 years ago
|
#cp-app-drive-toolbar {
|
||
7 years ago
|
.path .element {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
#cp-app-drive-tree {
|
||
7 years ago
|
resize: none;
|
||
|
width: 100%;
|
||
|
max-width: unset;
|
||
|
max-height: unset;
|
||
7 years ago
|
border-bottom: 1px solid @drive_mobile-tree-border-col;
|
||
7 years ago
|
.cp-app-drive-tree-category {
|
||
7 years ago
|
margin-top: 0.5em;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
div:focus {
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
.fa {
|
||
|
font-family: FontAwesome;
|
||
|
}
|
||
|
|
||
|
ul {
|
||
|
list-style: none;
|
||
|
padding-left: 0px; // Remove the default padding
|
||
|
}
|
||
|
|
||
|
li {
|
||
|
padding: 0px 5px;
|
||
|
-webkit-user-select: none;
|
||
|
-moz-user-select: none;
|
||
|
-ms-user-select: none;
|
||
|
user-select: none;
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-context {
|
||
7 years ago
|
display: none;
|
||
|
position: absolute;
|
||
|
z-index: 500;
|
||
|
li {
|
||
|
padding: 0;
|
||
7 years ago
|
font-size: @colortheme_app-font-size;
|
||
7 years ago
|
a {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-element-droppable {
|
||
7 years ago
|
background-color: #FE9A2E;
|
||
|
color: #222;
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-element-selected {
|
||
7 years ago
|
background: #666 !important;
|
||
|
color: #eee;
|
||
|
margin: -1px;
|
||
|
.fa-minus-square-o, .fa-plus-square-o {
|
||
7 years ago
|
color: @colortheme_sidebar-left-fg;
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-element-selected-tmp {
|
||
7 years ago
|
border: 1px dotted #bbb;
|
||
|
background: #AAA;
|
||
|
color: #ddd;
|
||
|
margin: -1px;
|
||
|
.fa-minus-square-o, .fa-plus-square-o {
|
||
7 years ago
|
color: @colortheme_sidebar-left-fg;
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
|
span {
|
||
|
&.fa-folder, &.fa-folder-open {
|
||
|
//color: #FEDE8B;
|
||
|
//text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* TREE */
|
||
|
|
||
|
|
||
7 years ago
|
#cp-app-drive-tree {
|
||
7 years ago
|
font-size: @colortheme_app-font-size;
|
||
7 years ago
|
//border-right: 1px solid #ccc;
|
||
|
box-sizing: border-box;
|
||
7 years ago
|
background: @colortheme_sidebar-left-bg;
|
||
7 years ago
|
overflow: auto;
|
||
|
resize: horizontal;
|
||
|
width: auto;
|
||
|
white-space: nowrap;
|
||
|
max-width: 500px;
|
||
|
min-width: 200px;
|
||
|
padding: 0px;
|
||
7 years ago
|
color: @colortheme_sidebar-left-fg;
|
||
7 years ago
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
max-height: 100%;
|
||
7 years ago
|
.cp-app-drive-tree-categories-container {
|
||
7 years ago
|
flex: 1;
|
||
|
max-width: 500px;
|
||
|
overflow: auto;
|
||
|
}
|
||
7 years ago
|
img.cp-app-drive-icon {
|
||
7 years ago
|
margin-bottom: 3px;
|
||
|
margin-left: -2px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-docs {
|
||
7 years ago
|
margin-top: 20px;
|
||
|
//padding: 0 0 0 20px;
|
||
|
padding: 0;
|
||
|
cursor: auto;
|
||
|
&li, li {
|
||
|
padding: 0;
|
||
7 years ago
|
&.cp-app-drive-element-collapsed ul {
|
||
7 years ago
|
display: none;
|
||
|
}
|
||
|
input {
|
||
|
width: ~"calc(100% - 30px)";
|
||
|
padding: 0 10px;
|
||
|
border: 0;
|
||
7 years ago
|
color: lighten(@colortheme_sidebar-left-fg, 40%);
|
||
7 years ago
|
}
|
||
7 years ago
|
& > span.cp-app-drive-element-row {
|
||
7 years ago
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
//min-width: ~"calc(100% + 5px)";
|
||
7 years ago
|
.leftside-menu-category_main();
|
||
7 years ago
|
width: ~"calc(100% + 5px)";
|
||
|
margin: 0;
|
||
|
margin-bottom: -6px;
|
||
|
display: inline-block;
|
||
|
cursor: pointer;
|
||
|
margin-left: -5px;
|
||
|
padding-left: 5px;
|
||
|
}
|
||
7 years ago
|
& > span.cp-app-drive-element-row:not(.cp-app-drive-element-selected):not(.cp-app-drive-element-active):hover {
|
||
7 years ago
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
span.cp-app-drive-element {
|
||
7 years ago
|
cursor: pointer;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-category {
|
||
7 years ago
|
margin: 0;
|
||
|
margin-top: 15px;
|
||
7 years ago
|
.cp-app-drive-tree-root {
|
||
7 years ago
|
&> .fa {
|
||
|
min-width: 30px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
}
|
||
|
li {
|
||
|
padding: 0;
|
||
7 years ago
|
.cp-app-drive-element-row {
|
||
7 years ago
|
display: block;
|
||
|
padding-left: 20px;
|
||
7 years ago
|
.leftside-menu-category_main();
|
||
7 years ago
|
margin: 0;
|
||
|
.fa {
|
||
|
width: 25px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-category:last-child {
|
||
7 years ago
|
margin-bottom: 20px;
|
||
|
}
|
||
|
.limit-container {
|
||
|
margin-top: 0;
|
||
|
}
|
||
7 years ago
|
#cp-app-drive-tree-search {
|
||
7 years ago
|
text-align: center;
|
||
|
padding: 0;
|
||
|
position: relative;
|
||
|
input {
|
||
7 years ago
|
background: lighten(@colortheme_drive-bg, 8%);
|
||
|
color: @colortheme_drive-color;
|
||
|
.tools_placeholder-color(@colortheme_drive-color);
|
||
7 years ago
|
outline-width: 0px;
|
||
|
border-radius: 0;
|
||
|
width: 100%;
|
||
|
//border: 1px solid #ccc;
|
||
|
border: 0;
|
||
7 years ago
|
border-right: 1px solid lighten(@colortheme_drive-bg, 16%);
|
||
7 years ago
|
//border-right: 0;
|
||
7 years ago
|
height: @variables_bar-height;
|
||
7 years ago
|
padding: 0 5px;
|
||
|
padding-left: 45px;
|
||
|
&:focus {
|
||
|
outline-width: 0px;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-search-con {
|
||
7 years ago
|
color: @colortheme_drive-color;
|
||
7 years ago
|
position: absolute;
|
||
|
left: 20px; // TODO align with drive categories
|
||
|
top: 8px;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.fa.cp-app-drive-icon-expcol {
|
||
7 years ago
|
margin-left: -10px;
|
||
|
font-size: 14px;
|
||
|
position: absolute;
|
||
|
left: -20px;
|
||
|
top: 10px;
|
||
|
width: 11px !important;
|
||
|
height: 11px !important;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
background: white;
|
||
|
z-index: 10;
|
||
|
cursor: default;
|
||
|
&:before {
|
||
|
position:relative;
|
||
|
top: -1px;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-docs {
|
||
|
.cp-app-drive-tree-root > .cp-app-drive-element-row > .cp-app-drive-icon-expcol {
|
||
7 years ago
|
position: relative;
|
||
|
top:0;
|
||
|
left: -10px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-root > .cp-app-drive-element-row > .cp-app-drive-icon-folder {
|
||
7 years ago
|
margin-left: -5px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-tree-root {
|
||
|
&> .cp-app-drive-element-row {
|
||
7 years ago
|
padding-left: 20px;
|
||
|
}
|
||
|
&> ul {
|
||
|
padding-left: 30px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Expand/collapse lines
|
||
7 years ago
|
.cp-app-drive-tree-docs ul {
|
||
7 years ago
|
margin: 0px 0px 0px 10px;
|
||
|
list-style: none;
|
||
|
padding-left: 10px;
|
||
|
li {
|
||
|
position: relative;
|
||
|
&:before {
|
||
|
position: absolute;
|
||
|
left: -15px;
|
||
|
top: -11px;
|
||
|
content: '';
|
||
|
display: block;
|
||
7 years ago
|
border-left: 1px solid @colortheme_sidebar-left-branch;
|
||
7 years ago
|
height: ~"calc(1em + 11px)";
|
||
7 years ago
|
border-bottom: 1px solid @colortheme_sidebar-left-branch;
|
||
7 years ago
|
width: 15px;
|
||
|
}
|
||
|
&:after {
|
||
|
position: absolute;
|
||
|
left: -15px;
|
||
|
bottom: -7px;
|
||
|
content: '';
|
||
|
display: block;
|
||
7 years ago
|
border-left: 1px solid @colortheme_sidebar-left-branch;
|
||
7 years ago
|
height: 100%;
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-tree-root {
|
||
7 years ago
|
margin: 0px 0px 0px -10px;
|
||
|
&:before {
|
||
|
display: none;
|
||
|
}
|
||
|
&:after {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
&:last-child:after {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* CONTENT */
|
||
7 years ago
|
#cp-app-drive-content-container {
|
||
7 years ago
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
flex: 1;
|
||
|
// Needed to avoid the folder's path to overflows
|
||
|
// https://stackoverflow.com/questions/38223879/white-space-nowrap-breaks-flexbox-layout
|
||
|
min-width: 0;
|
||
|
}
|
||
7 years ago
|
#cp-app-drive-content {
|
||
7 years ago
|
box-sizing: border-box;
|
||
7 years ago
|
background: @drive_content-bg;
|
||
|
color: @drive_content-fg;
|
||
7 years ago
|
overflow: auto;
|
||
|
flex: 1;
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
position: relative;
|
||
7 years ago
|
.cp-app-drive-content-select-box {
|
||
7 years ago
|
display: none;
|
||
|
background-color: rgba(100, 100, 100, 0.7);
|
||
|
position: absolute;
|
||
|
z-index: 50;
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-readonly {
|
||
7 years ago
|
background: @drive_content-bg-ro;
|
||
7 years ago
|
}
|
||
|
h1 {
|
||
|
padding-left: 10px;
|
||
|
margin-top: 10px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-content-info-box {
|
||
7 years ago
|
line-height: 2em;
|
||
|
padding: 0.25em 0.75em;
|
||
|
margin: 1em;
|
||
7 years ago
|
background: @drive_info-box-bg;
|
||
7 years ago
|
span {
|
||
|
cursor: pointer;
|
||
|
float: right;
|
||
|
margin-top: 0.5em;
|
||
|
}
|
||
|
}
|
||
|
li {
|
||
|
cursor: default;
|
||
7 years ago
|
&:not(.cp-app-drive-element-header) {
|
||
7 years ago
|
&:hover {
|
||
7 years ago
|
&:not(.-cp-app-drive-element-selected, .cp-app-drive-element-selected-tmp) {
|
||
7 years ago
|
background-color: @drive_hover;
|
||
7 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
#cp-app-drive-content-folder {
|
||
7 years ago
|
li {
|
||
7 years ago
|
&.cp-app-drive-search-result {
|
||
7 years ago
|
border-bottom: 1px solid @drive_info-box-border;
|
||
7 years ago
|
display: block;
|
||
|
&:hover {
|
||
|
background-color: initial;
|
||
|
}
|
||
|
table {
|
||
|
width: 100%;
|
||
7 years ago
|
.cp-app-drive-search-label2 {
|
||
7 years ago
|
width: 150px;
|
||
|
font-size: 15px;
|
||
|
text-align: right;
|
||
|
padding-right: 15px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-search-opendir {
|
||
7 years ago
|
a {
|
||
|
cursor: pointer;
|
||
|
color: #41b7d8;
|
||
|
&:hover {
|
||
|
color: #014c8c;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-search-path {
|
||
7 years ago
|
font-style: italic;
|
||
|
direction: rtl;
|
||
7 years ago
|
.cp-app-drive-path-element {
|
||
7 years ago
|
display: inline-block;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-search-title {
|
||
7 years ago
|
font-weight: bold;
|
||
|
cursor: pointer;
|
||
|
&:hover {
|
||
7 years ago
|
background-color: @drive_hover;
|
||
7 years ago
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-search-col2 {
|
||
7 years ago
|
width: 250px;
|
||
|
}
|
||
7 years ago
|
td.cp-app-drive-search-icon {
|
||
7 years ago
|
width: 50px;
|
||
|
font-size: 40px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-element {
|
||
|
.cp-app-drive-element-truncated { display: none; }
|
||
7 years ago
|
}
|
||
7 years ago
|
div.cp-app-drive-content-grid {
|
||
7 years ago
|
padding: 20px;
|
||
7 years ago
|
.drive_fileIcon;
|
||
7 years ago
|
li {
|
||
7 years ago
|
&.cp-app-drive-element {
|
||
7 years ago
|
position: relative;
|
||
|
}
|
||
|
input {
|
||
|
width: 100%;
|
||
|
margin-top: 5px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-element-state {
|
||
7 years ago
|
position: absolute;
|
||
|
top: 3px;
|
||
|
right: 3px;
|
||
|
.fa {
|
||
|
margin:0;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-element-list {
|
||
7 years ago
|
display: none;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-new-ghost {
|
||
7 years ago
|
cursor: pointer;
|
||
|
opacity: 0.5;
|
||
|
padding: 0;
|
||
|
&:hover {
|
||
|
opacity: 0.7;
|
||
|
}
|
||
|
.fa {
|
||
|
cursor: pointer;
|
||
|
font-size: 90px;
|
||
|
margin-top: 5px;
|
||
|
margin-bottom: 0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-content-list {
|
||
|
.cp-app-drive-element-grid {
|
||
7 years ago
|
display: none;
|
||
|
}
|
||
|
// Make it act as a table!
|
||
|
padding-left: 20px;
|
||
|
ul {
|
||
|
display: table;
|
||
|
width: 100%;
|
||
|
padding: 0px 10px;
|
||
|
}
|
||
|
li {
|
||
|
display: table-row;
|
||
|
&> span {
|
||
|
padding: 0 5px;
|
||
|
display: table-cell;
|
||
|
}
|
||
7 years ago
|
&:not(.cp-app-drive-element-header) {
|
||
7 years ago
|
height: @variables_bar-height;
|
||
|
line-height: @variables_bar-height;
|
||
7 years ago
|
}
|
||
7 years ago
|
&.cp-app-drive-element-header {
|
||
7 years ago
|
cursor: default;
|
||
7 years ago
|
color: @drive_table-header-fg;
|
||
7 years ago
|
span {
|
||
|
&:not(.fa) {
|
||
|
text-align: left;
|
||
|
}
|
||
|
&.sortasc, &.sortdesc {
|
||
|
float: right;
|
||
|
}
|
||
|
}
|
||
|
&> span {
|
||
|
padding: 15px 5px;
|
||
7 years ago
|
&.cp-app-drive-sort-active {
|
||
7 years ago
|
font-weight: bold;
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-sort-clickable {
|
||
7 years ago
|
cursor: pointer;
|
||
|
&:hover {
|
||
7 years ago
|
background: @drive_table-header-bg;
|
||
7 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-element {
|
||
7 years ago
|
span {
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
box-sizing: border-box;
|
||
7 years ago
|
&.cp-app-drive-element-state {
|
||
7 years ago
|
.fa:not(:last-child) {
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-content-icon, &.cp-app-drive-element-state {
|
||
7 years ago
|
width: 30px;
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-element-type, &.cp-app-drive-element-atime, &.cp-app-drive-element-ctime {
|
||
7 years ago
|
width: 175px;
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-element-title {
|
||
7 years ago
|
width: 250px;
|
||
|
@media screen and (max-width: 1200px) {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-element-folders, &.cp-app-drive-element-files {
|
||
7 years ago
|
width: 150px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
#cp-app-drive-content-folder {
|
||
7 years ago
|
padding-right: 10px;
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
7 years ago
|
#cp-app-drive-new-ghost-dialog.cp-modal-container {
|
||
7 years ago
|
.drive_fileIcon;
|
||
7 years ago
|
|
||
7 years ago
|
li:not(.cp-app-drive-element-selected):hover {
|
||
7 years ago
|
border: 1px solid white;
|
||
|
}
|
||
|
.cp-modal {
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
li, li .fa {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
&> p {
|
||
|
margin: 50px;
|
||
|
}
|
||
|
&> div {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: center;
|
||
|
align-content: center;
|
||
|
overflow-y: auto;
|
||
7 years ago
|
.cp-app-drive-new-upload {
|
||
7 years ago
|
break-after: always;
|
||
|
page-break-after: always;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and (max-height: @browser_media-not-big) {
|
||
|
.cp-modal {
|
||
|
& > p {
|
||
|
display: none;
|
||
|
}
|
||
|
& > div {
|
||
|
align-content: unset;
|
||
|
li {
|
||
|
height: 40px;
|
||
|
width: 90%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
.fa {
|
||
|
font-size: 32px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-new-name {
|
||
7 years ago
|
height: auto;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Toolbar */
|
||
|
|
||
7 years ago
|
#cp-app-drive-toolbar {
|
||
7 years ago
|
background: lighten(@colortheme_drive-bg, 8%);
|
||
|
color: @colortheme_drive-color;
|
||
7 years ago
|
//height: 30px;
|
||
|
//display: flex;
|
||
|
//flex-flow: row;
|
||
|
z-index: 100;
|
||
|
box-sizing: border-box;
|
||
7 years ago
|
height: @variables_bar-height;
|
||
7 years ago
|
padding: 0;
|
||
|
display: flex;
|
||
|
flex-flow: row;
|
||
|
|
||
|
* {
|
||
|
outline-width: 0;
|
||
|
&:focus {
|
||
|
outline-width: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.history {
|
||
|
float: right;
|
||
|
.cp-toolbar-drawer-element {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-toolbar-rightside, .cp-app-drive-toolbar-leftside {
|
||
7 years ago
|
display: inline-block;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
.fa {
|
||
|
margin: 0;
|
||
|
}
|
||
|
button {
|
||
7 years ago
|
height: @variables_bar-height;
|
||
7 years ago
|
padding: 0 10px;
|
||
|
border: none;
|
||
|
border-radius: 0;
|
||
|
box-sizing: border-box;
|
||
|
background: transparent;
|
||
7 years ago
|
font-size: @colortheme_app-font-size;
|
||
|
color: @colortheme_drive-color;
|
||
7 years ago
|
transition: all 0.15s;
|
||
|
.drawer {
|
||
|
display: none;
|
||
|
}
|
||
|
.fa, span {
|
||
7 years ago
|
font-size: @colortheme_app-font-size;
|
||
7 years ago
|
}
|
||
|
&:hover {
|
||
7 years ago
|
background: @colortheme_drive-bg;
|
||
7 years ago
|
}
|
||
7 years ago
|
&.cp-app-drive-toolbar-active {
|
||
7 years ago
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-toolbar-rightside {
|
||
7 years ago
|
float: right;
|
||
|
& > * {
|
||
|
float: right;
|
||
|
}
|
||
7 years ago
|
#cp-app-drive-toolbar-contextbuttons {
|
||
7 years ago
|
display: inline-block;
|
||
|
height: 100%;
|
||
|
}
|
||
|
padding-left: 10px;
|
||
|
}
|
||
7 years ago
|
.cp-app-drive-toolbar-leftside {
|
||
7 years ago
|
& > span {
|
||
|
height: 100%;
|
||
|
margin: 0;
|
||
|
}
|
||
|
button {
|
||
|
padding: 0 10px;
|
||
|
.fa {
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
.cp-dropdown-button-title {
|
||
|
display: inline-flex;
|
||
7 years ago
|
height: @variables_bar-height;
|
||
7 years ago
|
align-items: center;
|
||
|
span:not(.fa) {
|
||
|
line-height: 23px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
button {
|
||
7 years ago
|
font: @colortheme_app-font;
|
||
7 years ago
|
span {
|
||
7 years ago
|
font: @colortheme_app-font;
|
||
7 years ago
|
}
|
||
|
.fa, &.fa {
|
||
|
font-family: FontAwesome;
|
||
|
}
|
||
|
}
|
||
|
/* The container <div> - needed to position the dropdown content */
|
||
|
.cp-dropdown-container {
|
||
|
margin: 2px 2px;
|
||
|
line-height: 1em;
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
.cp-dropdown-content {
|
||
|
margin-right: 2px;
|
||
|
}
|
||
|
|
||
7 years ago
|
.cp-app-drive-path {
|
||
7 years ago
|
flex: 1;
|
||
|
width: 100%;
|
||
7 years ago
|
height: @variables_bar-height;
|
||
|
line-height: @variables_bar-height;
|
||
7 years ago
|
cursor: default;
|
||
|
width: auto;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
direction: rtl;
|
||
|
max-width: 100%;
|
||
|
text-align: left;
|
||
7 years ago
|
.cp-app-drive-path-element {
|
||
7 years ago
|
display: inline-block;
|
||
7 years ago
|
height: @variables_bar-height;
|
||
|
line-height: @variables_bar-height;
|
||
|
font-size: @colortheme_app-font-size;
|
||
7 years ago
|
padding: 0 5px;
|
||
|
border: 0;
|
||
7 years ago
|
background: darken(@colortheme_drive-bg, 10%);
|
||
|
color: @colortheme_drive-color;
|
||
7 years ago
|
box-sizing: border-box;
|
||
|
transition: all 0.15s;
|
||
7 years ago
|
&.cp-app-drive-path-separator {
|
||
7 years ago
|
color: #ccc;
|
||
|
}
|
||
7 years ago
|
&.cp-app-drive-path-lickable {
|
||
7 years ago
|
cursor: pointer;
|
||
|
&:hover {
|
||
7 years ago
|
background: darken(@colortheme_drive-bg, 15%);
|
||
7 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|