2012-04-23 12:19:03 +00:00
|
|
|
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
|
2011-08-10 18:48:56 +00:00
|
|
|
This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
See the COPYING-README file. */
|
|
|
|
|
2016-04-12 15:10:09 +00:00
|
|
|
/* SETTINGS */
|
|
|
|
#files-setting-showhidden {
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2011-03-02 22:06:23 +00:00
|
|
|
/* FILE MENU */
|
2018-10-31 10:20:02 +00:00
|
|
|
.actions {
|
|
|
|
padding: 5px;
|
|
|
|
height: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
}
|
2012-12-06 15:37:23 +00:00
|
|
|
.actions input, .actions button, .actions .button { margin:0; float:left; }
|
2013-05-13 17:42:05 +00:00
|
|
|
.actions .button a { color: #555; }
|
2014-11-06 15:22:57 +00:00
|
|
|
.actions .button a:hover,
|
|
|
|
.actions .button a:focus,
|
|
|
|
.actions .button a:active {
|
|
|
|
color: #333;
|
|
|
|
}
|
2013-10-04 14:08:34 +00:00
|
|
|
|
2015-01-28 17:24:12 +00:00
|
|
|
.actions.creatable {
|
|
|
|
position: relative;
|
2017-12-13 10:51:54 +00:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1;
|
|
|
|
.button:not(:last-child) {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2015-01-28 17:24:12 +00:00
|
|
|
}
|
|
|
|
|
2018-02-16 11:00:07 +00:00
|
|
|
.actions.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-10-04 05:41:16 +00:00
|
|
|
#trash {
|
2013-11-28 20:36:43 +00:00
|
|
|
margin-right: 8px;
|
2013-10-04 05:41:16 +00:00
|
|
|
float: right;
|
2013-10-07 16:15:23 +00:00
|
|
|
z-index: 1010;
|
|
|
|
padding: 10px;
|
2013-11-18 14:06:38 +00:00
|
|
|
font-weight: normal;
|
2013-10-04 05:41:16 +00:00
|
|
|
}
|
2011-07-27 23:26:26 +00:00
|
|
|
|
2018-03-05 16:37:05 +00:00
|
|
|
.newFileMenu .error,
|
|
|
|
.newFileMenu .error + .icon-confirm,
|
|
|
|
#fileList .error {
|
2018-06-03 19:06:36 +00:00
|
|
|
color: var(--color-error);
|
|
|
|
border-color: var(--color-error);
|
2013-10-22 16:11:03 +00:00
|
|
|
}
|
2011-08-11 18:59:17 +00:00
|
|
|
|
2011-03-02 22:06:23 +00:00
|
|
|
/* FILE TABLE */
|
2014-05-12 17:54:20 +00:00
|
|
|
#filestable {
|
2013-10-04 05:41:16 +00:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2018-10-01 10:33:13 +00:00
|
|
|
min-width: 250px;
|
2018-11-06 08:06:24 +00:00
|
|
|
// hide table if emptycontent is not hidden
|
|
|
|
#emptycontent:not(.hidden) ~ & {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-10-04 05:41:16 +00:00
|
|
|
}
|
2014-05-12 17:54:20 +00:00
|
|
|
|
2014-05-22 09:16:42 +00:00
|
|
|
/* fit app list view heights */
|
|
|
|
.app-files #app-content>.viewcontainer {
|
2016-01-29 09:07:15 +00:00
|
|
|
min-height: 0%;
|
2014-05-22 09:16:42 +00:00
|
|
|
}
|
|
|
|
|
2015-07-16 10:21:24 +00:00
|
|
|
.app-files #app-content {
|
2016-06-13 21:00:56 +00:00
|
|
|
transition: background-color 0.3s ease;
|
2018-10-02 05:55:17 +00:00
|
|
|
// force the width to be the full width to not go bigger than the screen
|
|
|
|
// flex will grow for the mobile view if necessary
|
|
|
|
width: calc(100% - 300px);
|
2015-07-16 10:21:24 +00:00
|
|
|
}
|
|
|
|
|
2016-06-13 21:00:56 +00:00
|
|
|
.file-drag, .file-drag #filestable tbody tr, .file-drag #filestable tbody tr:hover {
|
2016-06-15 11:11:25 +00:00
|
|
|
transition: background-color 0.3s ease!important;
|
2018-07-24 10:08:31 +00:00
|
|
|
background-color: rgb(179, 230, 255) !important;
|
2016-06-13 21:00:56 +00:00
|
|
|
}
|
|
|
|
|
2017-11-08 18:03:32 +00:00
|
|
|
.app-files #app-content.dir-drop {
|
2018-06-03 19:06:36 +00:00
|
|
|
background-color: var(--color-main-background) !important;
|
2017-11-08 18:03:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-drag #filestable tbody tr, .file-drag #filestable tbody tr:hover{
|
|
|
|
background-color: transparent !important;
|
2016-06-15 09:28:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-files #app-content.dir-drop #filestable tbody tr.dropping-to-dir{
|
2017-11-08 18:03:32 +00:00
|
|
|
background-color: rgb(179, 230, 255) !important;
|
2016-06-14 23:03:59 +00:00
|
|
|
}
|
|
|
|
|
2015-04-08 17:25:28 +00:00
|
|
|
/* icons for sidebar */
|
|
|
|
.nav-icon-files {
|
2018-07-04 09:19:45 +00:00
|
|
|
@include icon-color('folder', 'files', $color-black);
|
2015-04-08 17:25:28 +00:00
|
|
|
}
|
2016-07-11 08:54:04 +00:00
|
|
|
.nav-icon-recent {
|
2018-07-04 09:19:45 +00:00
|
|
|
@include icon-color('recent', 'files', $color-black);
|
2016-07-11 08:54:04 +00:00
|
|
|
}
|
2015-04-08 17:25:28 +00:00
|
|
|
.nav-icon-favorites {
|
2018-07-24 10:08:31 +00:00
|
|
|
@include icon-color('star-dark', 'actions', $color-black, 2, true);
|
2015-04-08 17:25:28 +00:00
|
|
|
}
|
|
|
|
.nav-icon-sharingin,
|
2018-07-20 09:22:24 +00:00
|
|
|
.nav-icon-sharingout,
|
|
|
|
.nav-icon-shareoverview {
|
2018-07-04 09:19:45 +00:00
|
|
|
@include icon-color('share', 'files', $color-black);
|
2015-04-08 17:25:28 +00:00
|
|
|
}
|
|
|
|
.nav-icon-sharinglinks {
|
2018-07-04 09:19:45 +00:00
|
|
|
@include icon-color('public', 'files', $color-black);
|
2015-04-08 17:25:28 +00:00
|
|
|
}
|
|
|
|
.nav-icon-extstoragemounts {
|
2018-07-04 09:19:45 +00:00
|
|
|
@include icon-color('external', 'files', $color-black);
|
2015-04-08 17:25:28 +00:00
|
|
|
}
|
|
|
|
.nav-icon-trashbin {
|
2018-07-04 09:19:45 +00:00
|
|
|
@include icon-color('delete', 'files', $color-black);
|
2015-04-08 17:25:28 +00:00
|
|
|
}
|
2018-08-29 09:53:43 +00:00
|
|
|
.nav-icon-trashbin-starred {
|
|
|
|
@include icon-color('delete', 'files', #ff0000);
|
|
|
|
}
|
2018-06-20 17:14:50 +00:00
|
|
|
.nav-icon-deletedshares {
|
2018-07-09 09:43:06 +00:00
|
|
|
@include icon-color('unshare', 'files', $color-black);
|
2018-06-20 17:14:50 +00:00
|
|
|
}
|
2018-12-07 17:33:05 +00:00
|
|
|
.nav-icon-favorites-starred {
|
|
|
|
@include icon-color('star-dark', 'actions', $color-yellow, 2, true);
|
|
|
|
}
|
2015-04-08 17:25:28 +00:00
|
|
|
|
2015-08-27 11:22:58 +00:00
|
|
|
#app-navigation .nav-files a.nav-icon-files {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
/* button needs overrides due to navigation styles */
|
|
|
|
#app-navigation .nav-files a.new {
|
|
|
|
width: 40px;
|
|
|
|
height: 32px;
|
|
|
|
padding: 0 10px;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-navigation .nav-files a.new.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-navigation .nav-files a.new.disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
2015-08-26 15:28:40 +00:00
|
|
|
#filestable tbody tr {
|
2016-06-13 21:00:56 +00:00
|
|
|
transition: background-color 0.3s ease;
|
2018-10-01 19:23:10 +00:00
|
|
|
height: 51px;
|
2015-08-26 15:28:40 +00:00
|
|
|
}
|
2014-11-06 15:22:57 +00:00
|
|
|
#filestable tbody tr:hover,
|
|
|
|
#filestable tbody tr:focus,
|
2014-12-17 14:43:29 +00:00
|
|
|
#filestable tbody .name:focus,
|
2015-08-26 15:28:40 +00:00
|
|
|
#filestable tbody tr:active,
|
2015-07-15 15:35:35 +00:00
|
|
|
#filestable tbody tr.highlighted,
|
2015-08-25 10:05:04 +00:00
|
|
|
#filestable tbody tr.highlighted .name:focus,
|
2015-08-26 15:28:40 +00:00
|
|
|
#filestable tbody tr.selected,
|
|
|
|
#filestable tbody tr.searchresult,
|
2018-11-15 11:14:15 +00:00
|
|
|
#filestable tbody tr:hover .filename form,
|
2015-08-26 15:28:40 +00:00
|
|
|
table tr.mouseOver td {
|
2016-06-13 21:00:56 +00:00
|
|
|
transition: background-color 0.3s ease;
|
2018-06-03 19:06:36 +00:00
|
|
|
background-color: var(--color-background-dark);
|
2013-07-31 20:24:52 +00:00
|
|
|
}
|
2018-06-03 19:06:36 +00:00
|
|
|
tbody a { color: var(--color-main-text); }
|
2014-02-13 09:39:38 +00:00
|
|
|
|
2016-10-19 09:33:25 +00:00
|
|
|
span.conflict-path, span.extension, span.uploading, td.date {
|
2018-06-03 19:06:36 +00:00
|
|
|
color: var(--color-text-maxcontrast);
|
2014-02-13 09:39:38 +00:00
|
|
|
}
|
2016-10-19 09:33:25 +00:00
|
|
|
span.conflict-path, span.extension {
|
2014-02-13 09:39:38 +00:00
|
|
|
-webkit-transition: opacity 300ms;
|
|
|
|
-moz-transition: opacity 300ms;
|
|
|
|
-o-transition: opacity 300ms;
|
|
|
|
transition: opacity 300ms;
|
2014-06-08 09:36:01 +00:00
|
|
|
vertical-align: top;
|
2014-02-13 09:39:38 +00:00
|
|
|
}
|
2016-10-19 09:33:25 +00:00
|
|
|
tr:hover span.conflict-path,
|
|
|
|
tr:focus span.conflict-path,
|
2014-11-06 15:22:57 +00:00
|
|
|
tr:hover span.extension,
|
|
|
|
tr:focus span.extension {
|
2014-02-13 09:39:38 +00:00
|
|
|
opacity: 1;
|
2018-06-03 19:06:36 +00:00
|
|
|
color: var(--color-text-maxcontrast);
|
2014-02-13 09:39:38 +00:00
|
|
|
}
|
|
|
|
|
2014-05-26 09:52:42 +00:00
|
|
|
table th, table th a {
|
2018-06-03 19:06:36 +00:00
|
|
|
color: var(--color-text-maxcontrast);
|
2014-05-26 09:52:42 +00:00
|
|
|
}
|
|
|
|
table.multiselect th a {
|
2018-10-04 08:53:45 +00:00
|
|
|
color: var(--color-main-text);
|
2014-05-26 09:52:42 +00:00
|
|
|
}
|
2014-04-03 18:57:06 +00:00
|
|
|
table th .columntitle {
|
2018-06-02 15:15:19 +00:00
|
|
|
display: block;
|
2014-04-03 18:57:06 +00:00
|
|
|
padding: 15px;
|
|
|
|
height: 50px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-06-02 15:15:19 +00:00
|
|
|
table.multiselect th .columntitle {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-04-03 18:57:06 +00:00
|
|
|
table th .columntitle.name {
|
2019-02-21 12:55:46 +00:00
|
|
|
padding-left: 0;
|
2014-04-03 18:57:06 +00:00
|
|
|
margin-left: 50px;
|
|
|
|
}
|
2014-07-16 19:52:08 +00:00
|
|
|
|
2014-04-03 18:57:06 +00:00
|
|
|
table th .sort-indicator {
|
|
|
|
width: 10px;
|
|
|
|
height: 8px;
|
2014-10-01 13:21:28 +00:00
|
|
|
margin-left: 5px;
|
2014-04-03 18:57:06 +00:00
|
|
|
display: inline-block;
|
2014-10-01 13:21:28 +00:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
opacity: .3;
|
|
|
|
}
|
2015-09-23 13:09:49 +00:00
|
|
|
.sort-indicator.hidden,
|
2015-09-29 12:38:29 +00:00
|
|
|
.multiselect .sort-indicator,
|
|
|
|
table.multiselect th:hover .sort-indicator.hidden,
|
|
|
|
table.multiselect th:focus .sort-indicator.hidden {
|
2014-10-01 13:21:28 +00:00
|
|
|
visibility: hidden;
|
2013-06-25 13:08:51 +00:00
|
|
|
}
|
2015-09-29 11:24:33 +00:00
|
|
|
.multiselect .sort, .multiselect .sort span {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2014-11-06 15:22:57 +00:00
|
|
|
table th:hover .sort-indicator.hidden,
|
|
|
|
table th:focus .sort-indicator.hidden {
|
2014-07-16 19:52:08 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
2014-10-01 13:21:28 +00:00
|
|
|
|
2015-08-25 12:14:53 +00:00
|
|
|
table th,
|
2013-06-25 13:08:51 +00:00
|
|
|
table td {
|
2018-06-03 19:06:36 +00:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
2015-08-25 12:14:53 +00:00
|
|
|
text-align: left;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
table td {
|
|
|
|
padding: 0 15px;
|
2013-06-25 13:08:51 +00:00
|
|
|
font-style: normal;
|
|
|
|
background-position: 8px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
table th#headerName {
|
|
|
|
position: relative;
|
2014-01-24 17:20:52 +00:00
|
|
|
width: 9999px; /* not really sure why this works better than 100% … table styling */
|
2013-08-14 18:41:20 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
2014-12-15 14:11:51 +00:00
|
|
|
|
2013-08-14 18:41:20 +00:00
|
|
|
#headerName-container {
|
|
|
|
position: relative;
|
|
|
|
height: 50px;
|
|
|
|
}
|
2014-12-15 14:11:51 +00:00
|
|
|
|
2013-08-14 18:41:20 +00:00
|
|
|
table th#headerSize, table td.filesize {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2014-06-06 13:33:33 +00:00
|
|
|
table th#headerDate, table td.date,
|
|
|
|
table th.column-last, table td.column-last {
|
2013-08-14 18:41:20 +00:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2013-06-25 13:08:51 +00:00
|
|
|
position: relative;
|
2014-02-03 16:23:30 +00:00
|
|
|
/* this can not be just width, both need to be set … table styling */
|
2015-12-01 12:45:30 +00:00
|
|
|
min-width: 130px;
|
|
|
|
max-width: 130px;
|
2013-06-25 13:08:51 +00:00
|
|
|
}
|
2012-12-13 18:44:55 +00:00
|
|
|
|
|
|
|
/* Multiselect bar */
|
2013-08-14 18:41:20 +00:00
|
|
|
#filestable.multiselect {
|
2017-12-26 16:22:18 +00:00
|
|
|
top: 51px;
|
2013-10-04 05:41:16 +00:00
|
|
|
}
|
|
|
|
table.multiselect thead {
|
|
|
|
position: fixed;
|
2018-06-14 04:06:03 +00:00
|
|
|
top: 94px;
|
2018-01-02 13:05:15 +00:00
|
|
|
z-index: 55;
|
2013-10-04 05:41:16 +00:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2018-07-23 16:59:00 +00:00
|
|
|
left: $navigation-width;
|
2013-08-14 18:41:20 +00:00
|
|
|
}
|
2013-08-29 08:50:55 +00:00
|
|
|
|
2013-06-11 12:48:53 +00:00
|
|
|
table.multiselect thead th {
|
2018-10-04 08:53:45 +00:00
|
|
|
background-color: var(--color-main-background);
|
2013-06-11 12:48:53 +00:00
|
|
|
font-weight: bold;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2015-08-18 09:30:00 +00:00
|
|
|
|
|
|
|
#app-content.with-app-sidebar table.multiselect thead{
|
|
|
|
margin-right: 27%;
|
|
|
|
}
|
|
|
|
|
2013-08-14 18:41:20 +00:00
|
|
|
table.multiselect #headerName {
|
|
|
|
position: relative;
|
2014-01-24 17:20:52 +00:00
|
|
|
width: 9999px; /* when we use 100%, the styling breaks on mobile … table styling */
|
2013-08-14 18:41:20 +00:00
|
|
|
}
|
2015-04-21 13:38:34 +00:00
|
|
|
table.multiselect #modified {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table td.selection,
|
|
|
|
table th.selection,
|
|
|
|
table td.fileaction {
|
|
|
|
width: 32px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2013-06-25 13:08:51 +00:00
|
|
|
table td.filename a.name {
|
2018-04-19 14:58:43 +00:00
|
|
|
display: flex;
|
2013-08-14 18:41:20 +00:00
|
|
|
position:relative; /* Firefox needs to explicitly have this default set … */
|
|
|
|
-moz-box-sizing: border-box;
|
2013-06-25 13:08:51 +00:00
|
|
|
box-sizing: border-box;
|
2013-08-14 18:41:20 +00:00
|
|
|
height: 50px;
|
2014-05-15 09:48:41 +00:00
|
|
|
line-height: 50px;
|
2013-08-14 18:41:20 +00:00
|
|
|
padding: 0;
|
2013-06-25 13:08:51 +00:00
|
|
|
}
|
2017-09-28 12:42:37 +00:00
|
|
|
table td.filename .thumbnail-wrapper {
|
2018-04-19 14:58:43 +00:00
|
|
|
/* we need this to make sure flex is working inside a table cell */
|
|
|
|
width: 0;
|
|
|
|
min-width: 50px;
|
|
|
|
max-width: 50px;
|
2017-09-28 12:42:37 +00:00
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
table td.filename .thumbnail-wrapper.icon-loading-small {
|
2017-09-21 17:46:29 +00:00
|
|
|
&:after {
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
.thumbnail {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
}
|
2014-12-11 16:36:14 +00:00
|
|
|
table td.filename .thumbnail {
|
|
|
|
display: inline-block;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2017-09-28 12:39:21 +00:00
|
|
|
background-size: 32px;
|
2017-09-21 17:46:29 +00:00
|
|
|
margin-left: 9px;
|
2014-12-11 16:36:14 +00:00
|
|
|
margin-top: 9px;
|
2018-10-30 23:01:58 +00:00
|
|
|
border-radius: var(--border-radius);
|
2014-12-11 16:36:14 +00:00
|
|
|
cursor: pointer;
|
2015-01-15 16:53:23 +00:00
|
|
|
position: absolute;
|
|
|
|
z-index: 4;
|
2014-12-11 16:36:14 +00:00
|
|
|
}
|
2019-03-14 15:36:55 +00:00
|
|
|
|
|
|
|
// Show slight border around previews for images, txt, etc.
|
|
|
|
table tr[data-has-preview='true'] .thumbnail {
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2013-08-17 08:46:03 +00:00
|
|
|
table td.filename input.filename {
|
2014-07-03 00:08:53 +00:00
|
|
|
width: 70%;
|
2015-01-16 16:02:08 +00:00
|
|
|
margin-left: 48px;
|
2013-08-17 08:46:03 +00:00
|
|
|
cursor: text;
|
|
|
|
}
|
2018-11-15 11:14:15 +00:00
|
|
|
table td.filename form {
|
|
|
|
margin-top: -40px;
|
|
|
|
position: relative;
|
|
|
|
top: -6px;
|
|
|
|
}
|
2015-01-09 12:01:30 +00:00
|
|
|
|
2014-01-16 08:53:39 +00:00
|
|
|
table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:3px 8px 8px 3px; }
|
2017-09-28 12:42:37 +00:00
|
|
|
table td.filename .nametext, .modified, .column-last>span:first-child { float:left; padding:15px 0; }
|
2013-08-14 18:41:20 +00:00
|
|
|
|
2014-06-06 13:33:33 +00:00
|
|
|
.modified, .column-last>span:first-child {
|
2013-08-14 18:41:20 +00:00
|
|
|
position: relative;
|
2014-02-03 16:23:30 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-08-07 16:19:47 +00:00
|
|
|
width: 110px;
|
2013-06-25 13:08:51 +00:00
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
|
2012-12-05 10:17:41 +00:00
|
|
|
/* TODO fix usability bug (accidental file/folder selection) */
|
2018-04-19 14:58:43 +00:00
|
|
|
table {
|
2018-04-22 21:09:15 +00:00
|
|
|
td.filename {
|
|
|
|
max-width: 0;
|
|
|
|
.nametext {
|
|
|
|
width: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 10;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
2018-04-19 14:58:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploadtext {
|
|
|
|
position: absolute;
|
|
|
|
left: 55px;
|
|
|
|
}
|
2017-09-14 14:40:24 +00:00
|
|
|
}
|
2014-06-06 12:00:18 +00:00
|
|
|
|
2016-08-17 15:34:15 +00:00
|
|
|
.hide-hidden-files #fileList tr.hidden-file,
|
|
|
|
.hide-hidden-files #fileList tr.hidden-file.dragging {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#fileList tr.animate-opacity {
|
|
|
|
-webkit-transition:opacity 250ms;
|
|
|
|
-moz-transition:opacity 250ms;
|
|
|
|
-o-transition:opacity 250ms;
|
|
|
|
transition:opacity 250ms;
|
|
|
|
}
|
|
|
|
#fileList tr.dragging {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
2014-06-07 18:24:21 +00:00
|
|
|
table td.filename .nametext .innernametext {
|
2014-06-06 12:00:18 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2015-01-16 20:36:35 +00:00
|
|
|
vertical-align: top;
|
2014-06-06 12:00:18 +00:00
|
|
|
}
|
2014-06-07 08:53:49 +00:00
|
|
|
|
2014-06-08 15:48:53 +00:00
|
|
|
/* for smaller resolutions - see mobile.css */
|
|
|
|
|
2014-06-30 12:00:43 +00:00
|
|
|
table td.filename .uploadtext {
|
|
|
|
font-weight: normal;
|
2014-07-30 04:38:46 +00:00
|
|
|
margin-left: 55px;
|
|
|
|
margin-top: 5px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 10px 0;
|
2014-09-23 11:36:47 +00:00
|
|
|
font-size: 11px;
|
|
|
|
opacity: .5;
|
2014-06-30 12:00:43 +00:00
|
|
|
}
|
2013-02-14 09:40:23 +00:00
|
|
|
|
2017-09-28 23:36:10 +00:00
|
|
|
table td.selection {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2013-02-14 09:40:23 +00:00
|
|
|
/* File checkboxes */
|
2017-09-28 23:36:10 +00:00
|
|
|
#fileList tr td.selection>.selectCheckBox + label:before {
|
2017-09-27 11:58:35 +00:00
|
|
|
opacity: 0.3;
|
2013-08-14 18:41:20 +00:00
|
|
|
}
|
2015-09-15 18:26:53 +00:00
|
|
|
|
2017-09-27 11:58:35 +00:00
|
|
|
/* Show checkbox with full opacity when hovering, checked, or selected */
|
2017-09-28 23:36:10 +00:00
|
|
|
#fileList tr:hover td.selection>.selectCheckBox + label:before,
|
|
|
|
#fileList tr:focus td.selection>.selectCheckBox + label:before,
|
|
|
|
#fileList tr td.selection>.selectCheckBox:checked + label:before,
|
|
|
|
#fileList tr.selected td.selection>.selectCheckBox + label:before {
|
2013-09-04 19:32:45 +00:00
|
|
|
opacity: 1;
|
2015-09-30 15:38:35 +00:00
|
|
|
}
|
2013-09-04 19:32:45 +00:00
|
|
|
|
2019-01-13 16:15:43 +00:00
|
|
|
/* Show checkbox with half opacity when selecting range */
|
|
|
|
#fileList tr.halfselected td.selection>.selectCheckBox + label:before {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2013-08-14 18:41:20 +00:00
|
|
|
/* Use label to have bigger clickable size for checkbox */
|
2017-09-28 23:36:10 +00:00
|
|
|
#fileList tr td.selection>.selectCheckBox + label,
|
2014-05-12 17:54:20 +00:00
|
|
|
.select-all + label {
|
2017-09-28 23:36:10 +00:00
|
|
|
padding: 16px;
|
2014-12-15 14:11:51 +00:00
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
|
2012-12-20 09:53:50 +00:00
|
|
|
#fileList tr td.filename {
|
2014-05-16 15:00:39 +00:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 0;
|
2016-03-23 11:31:58 +00:00
|
|
|
padding-right:0;
|
2012-12-20 09:53:50 +00:00
|
|
|
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
|
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
|
2013-10-02 16:10:34 +00:00
|
|
|
#fileList tr td.filename a.name label {
|
2013-10-02 15:43:07 +00:00
|
|
|
position: absolute;
|
2014-01-15 13:45:10 +00:00
|
|
|
width: 80%;
|
2013-10-02 15:43:07 +00:00
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
2014-11-18 17:53:45 +00:00
|
|
|
#fileList tr td.filename .favorite {
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
}
|
2017-09-27 10:39:59 +00:00
|
|
|
#fileList tr td.filename .favorite-mark {
|
2017-09-28 12:42:37 +00:00
|
|
|
position: absolute;
|
2014-11-18 17:53:45 +00:00
|
|
|
display: block;
|
2017-09-28 12:42:37 +00:00
|
|
|
top: -6px;
|
|
|
|
right: -6px;
|
2014-11-18 17:53:45 +00:00
|
|
|
line-height: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2011-07-28 22:26:23 +00:00
|
|
|
#uploadsize-message,#delete-confirm { display:none; }
|
2012-12-20 10:14:27 +00:00
|
|
|
|
|
|
|
/* File actions */
|
|
|
|
.fileactions {
|
2017-11-03 09:41:32 +00:00
|
|
|
z-index: 50;
|
2012-12-20 10:14:27 +00:00
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
|
2015-07-16 13:28:45 +00:00
|
|
|
.busy .fileactions, .busy .action {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2014-09-22 16:24:52 +00:00
|
|
|
|
2015-08-07 15:58:37 +00:00
|
|
|
/* fix position of bubble pointer for Files app */
|
|
|
|
.bubble,
|
|
|
|
#app-navigation .app-navigation-entry-menu {
|
|
|
|
border-top-right-radius: 3px;
|
2016-11-25 14:38:49 +00:00
|
|
|
min-width: 100px;
|
2015-08-07 15:58:37 +00:00
|
|
|
}
|
|
|
|
|
2014-09-22 16:24:52 +00:00
|
|
|
/* force show the loading icon, not only on hover */
|
|
|
|
#fileList .icon-loading-small {
|
|
|
|
opacity: 1 !important;
|
|
|
|
display: inline !important;
|
|
|
|
}
|
|
|
|
|
2014-11-18 17:53:45 +00:00
|
|
|
#fileList .action.action-share-notification span, #fileList a.name {
|
2014-05-13 13:22:18 +00:00
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
2015-08-07 16:26:07 +00:00
|
|
|
a.action > img {
|
2015-11-19 16:50:20 +00:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2015-08-07 16:26:07 +00:00
|
|
|
vertical-align: text-bottom;
|
2014-05-16 15:00:39 +00:00
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
|
|
|
|
/* Actions for selected files */
|
|
|
|
.selectedActions {
|
2018-05-28 01:49:01 +00:00
|
|
|
position: relative;
|
2018-06-14 04:06:03 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2013-08-14 18:41:20 +00:00
|
|
|
}
|
2018-06-15 21:05:29 +00:00
|
|
|
.selectedActions.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
.selectedActions a {
|
|
|
|
display: inline;
|
2014-05-16 15:00:39 +00:00
|
|
|
line-height: 50px;
|
2018-06-14 04:06:03 +00:00
|
|
|
padding: 16px 5px;
|
2014-05-16 15:00:39 +00:00
|
|
|
}
|
2018-06-02 15:15:19 +00:00
|
|
|
|
2014-05-12 17:54:20 +00:00
|
|
|
.selectedActions a.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-08-14 18:41:20 +00:00
|
|
|
.selectedActions a img {
|
|
|
|
position:relative;
|
2014-05-16 15:00:39 +00:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
margin-bottom: -1px;
|
2013-08-14 18:41:20 +00:00
|
|
|
}
|
|
|
|
|
2018-06-15 15:13:40 +00:00
|
|
|
.selectedActions .actions-selected .icon-more {
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
|
2017-11-07 15:32:20 +00:00
|
|
|
#fileList td a {
|
|
|
|
a.action {
|
|
|
|
display: inline;
|
|
|
|
padding: 17px 8px;
|
|
|
|
line-height: 50px;
|
|
|
|
opacity: .3;
|
|
|
|
&.action-share {
|
|
|
|
padding: 17px 14px;
|
|
|
|
.avatar {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.action-menu {
|
|
|
|
padding-top: 17px;
|
|
|
|
padding-bottom: 17px;
|
|
|
|
padding-left: 14px;
|
|
|
|
padding-right: 14px;
|
|
|
|
}
|
|
|
|
&.no-permission {
|
|
|
|
&:hover, &:focus {
|
|
|
|
opacity: .3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.disabled {
|
|
|
|
&:hover, &:focus,
|
|
|
|
img {
|
|
|
|
opacity: .3;
|
|
|
|
}
|
|
|
|
&.action-download {
|
|
|
|
opacity: .7;
|
|
|
|
&:hover, &:focus {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fileActionsMenu a.action, a.action.action-share.shared-style {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
2013-02-21 15:52:18 +00:00
|
|
|
}
|
2017-03-26 20:09:22 +00:00
|
|
|
|
2017-09-14 14:38:31 +00:00
|
|
|
// Ellipsize long sharer names
|
|
|
|
#fileList .action.action-share.permanent.shared-style span:not(.icon) {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 70px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-09-21 12:04:23 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
margin-left: 6px;
|
2017-09-14 14:38:31 +00:00
|
|
|
}
|
|
|
|
|
2017-11-01 10:41:22 +00:00
|
|
|
#fileList .remoteAddress .userDomain {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
}
|
|
|
|
|
2017-09-27 10:39:59 +00:00
|
|
|
#fileList .favorite-mark.permanent {
|
2017-08-25 12:25:21 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2017-04-19 02:30:56 +00:00
|
|
|
#fileList .fileActionsMenu a.action:hover,
|
|
|
|
#fileList .fileActionsMenu a.action:focus,
|
|
|
|
/* show share action of shared items darker to distinguish from non-shared */
|
|
|
|
#fileList a.action.action-share.shared-style:hover,
|
|
|
|
#fileList a.action.action-share.shared-style:focus {
|
|
|
|
opacity: 1;
|
2017-03-26 20:09:22 +00:00
|
|
|
}
|
|
|
|
|
2015-06-26 08:26:01 +00:00
|
|
|
#fileList tr a.action.disabled {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2015-06-29 09:24:18 +00:00
|
|
|
#selectedActionsList a.download.disabled,
|
|
|
|
#fileList tr a.action.action-download.disabled {
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
|
2015-06-26 08:26:01 +00:00
|
|
|
#fileList tr:hover a.action.disabled:hover * {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2011-11-10 15:40:09 +00:00
|
|
|
|
2013-07-02 02:28:52 +00:00
|
|
|
.summary {
|
2013-07-03 17:50:03 +00:00
|
|
|
opacity: .3;
|
2015-04-22 11:58:22 +00:00
|
|
|
/* add whitespace to bottom of files list to correctly show dropdowns */
|
2018-10-12 21:07:52 +00:00
|
|
|
height: 250px;
|
|
|
|
}
|
|
|
|
/* Less whitespace needed on link share page
|
|
|
|
* as there is a footer and action menus have fewer entries.
|
|
|
|
*/
|
|
|
|
#body-public .summary {
|
|
|
|
height: 180px;
|
2013-07-02 02:28:52 +00:00
|
|
|
}
|
2014-11-06 15:22:57 +00:00
|
|
|
.summary:hover,
|
|
|
|
.summary:focus,
|
|
|
|
.summary,
|
|
|
|
table tr.summary td {
|
2013-07-03 17:50:03 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.summary td {
|
|
|
|
border-bottom: none;
|
2015-04-22 11:58:22 +00:00
|
|
|
vertical-align: top;
|
|
|
|
padding-top: 20px;
|
2013-07-02 02:28:52 +00:00
|
|
|
}
|
|
|
|
.summary .info {
|
2018-06-18 11:12:03 +00:00
|
|
|
margin-left: 35px; /* td has padding of 15, col width is 50 */
|
2013-07-02 02:28:52 +00:00
|
|
|
}
|
|
|
|
|
2013-01-18 20:49:38 +00:00
|
|
|
table.dragshadow {
|
|
|
|
width:auto;
|
2018-08-27 16:08:45 +00:00
|
|
|
z-index: 2000;
|
2013-01-18 20:49:38 +00:00
|
|
|
}
|
|
|
|
table.dragshadow td.filename {
|
2013-10-28 14:41:52 +00:00
|
|
|
padding-left:60px;
|
2013-01-18 20:49:38 +00:00
|
|
|
padding-right:16px;
|
2013-10-28 14:41:52 +00:00
|
|
|
height: 36px;
|
2018-08-27 16:12:50 +00:00
|
|
|
|
|
|
|
/* Override "max-width: 0" to prevent file name and size from overlapping */
|
|
|
|
max-width: unset;
|
2013-01-18 20:49:38 +00:00
|
|
|
}
|
|
|
|
table.dragshadow td.size {
|
|
|
|
padding-right:8px;
|
2013-01-30 18:24:24 +00:00
|
|
|
}
|
2013-08-17 11:07:18 +00:00
|
|
|
.mask {
|
|
|
|
z-index: 50;
|
2014-05-12 17:54:20 +00:00
|
|
|
position: absolute;
|
2013-08-17 11:07:18 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2018-06-03 19:06:36 +00:00
|
|
|
background-color: var(--color-main-background);
|
2013-08-17 11:07:18 +00:00
|
|
|
background-repeat: no-repeat no-repeat;
|
|
|
|
background-position: 50%;
|
|
|
|
opacity: 0.7;
|
|
|
|
transition: opacity 100ms;
|
|
|
|
-moz-transition: opacity 100ms;
|
|
|
|
-o-transition: opacity 100ms;
|
|
|
|
-ms-transition: opacity 100ms;
|
|
|
|
-webkit-transition: opacity 100ms;
|
|
|
|
}
|
|
|
|
.mask.transparent{
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2015-07-16 13:28:45 +00:00
|
|
|
|
2015-08-27 11:22:58 +00:00
|
|
|
.newFileMenu {
|
2017-01-17 10:17:40 +00:00
|
|
|
font-weight: 300;
|
|
|
|
top: 100%;
|
|
|
|
margin-top: 4px;
|
2017-01-21 19:09:09 +00:00
|
|
|
min-width: 100px;
|
2018-10-31 10:20:02 +00:00
|
|
|
margin-left: 22px; /* Align left edge below center of + button … */
|
|
|
|
transform: translateX(-50%); /* … then center it below button */
|
2017-01-21 19:05:58 +00:00
|
|
|
z-index: 1001;
|
2018-10-31 10:20:02 +00:00
|
|
|
|
|
|
|
/* Center triangle */
|
|
|
|
&::after {
|
|
|
|
left: calc(50% - 8px) !important;
|
|
|
|
}
|
2015-07-16 13:28:45 +00:00
|
|
|
}
|
|
|
|
|
2016-02-25 16:23:32 +00:00
|
|
|
#filestable .filename .action .icon,
|
|
|
|
#filestable .selectedActions a .icon,
|
2017-09-27 10:39:59 +00:00
|
|
|
#filestable .filename .favorite-mark .icon,
|
2016-02-25 16:23:32 +00:00
|
|
|
#controls .actions .button .icon {
|
2016-02-17 10:04:29 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2016-02-25 16:23:32 +00:00
|
|
|
background-size: 16px 16px;
|
2016-02-17 10:04:29 +00:00
|
|
|
}
|
|
|
|
|
2017-09-27 10:39:59 +00:00
|
|
|
#filestable .filename .favorite-mark {
|
|
|
|
// Override default icons to always hide the star icon and always show the
|
|
|
|
// starred icon even when hovered or focused.
|
|
|
|
& .icon-star {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
& .icon-starred {
|
2018-12-07 17:33:05 +00:00
|
|
|
@include icon-color('star-dark', 'actions', $color-yellow, 1, true);
|
2017-09-27 10:39:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-04 09:48:08 +00:00
|
|
|
#filestable .filename .action .icon.hidden,
|
|
|
|
#filestable .selectedActions a .icon.hidden,
|
|
|
|
#controls .actions .button .icon.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#filestable .filename .action .icon.loading,
|
|
|
|
#filestable .selectedActions a .icon.loading,
|
|
|
|
#controls .actions .button .icon.loading {
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
|
|
|
|
2017-01-17 10:17:40 +00:00
|
|
|
.app-files .actions .button.new {
|
|
|
|
position: relative;
|
|
|
|
}
|
2015-10-29 13:41:37 +00:00
|
|
|
|
2017-11-08 15:56:58 +00:00
|
|
|
.breadcrumb .canDrop > a,
|
2016-03-12 03:29:59 +00:00
|
|
|
#filestable tbody tr.canDrop {
|
2018-12-07 17:33:05 +00:00
|
|
|
background-color: rgba( $color-primary, .3 );
|
|
|
|
}
|
|
|
|
.dropzone-background {
|
|
|
|
background-color: rgba( $color-primary, .3 );
|
|
|
|
:hover{
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2015-10-29 13:41:37 +00:00
|
|
|
}
|
2017-06-08 14:42:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
#quota {
|
|
|
|
margin: 0 !important;
|
|
|
|
border: none;
|
2017-06-12 08:25:09 +00:00
|
|
|
border-radius: 0;
|
2017-09-17 10:40:54 +00:00
|
|
|
background-color: transparent;
|
2017-06-12 22:03:54 +00:00
|
|
|
z-index:1;
|
2017-06-09 13:41:06 +00:00
|
|
|
|
|
|
|
.quota-container {
|
|
|
|
height: 5px;
|
2018-06-03 19:06:36 +00:00
|
|
|
border-radius: var(--border-radius);
|
2017-06-09 13:41:06 +00:00
|
|
|
|
|
|
|
div {
|
|
|
|
height: 100%;
|
2018-06-03 19:06:36 +00:00
|
|
|
background-color: var(--color-primary);
|
2017-06-09 13:41:06 +00:00
|
|
|
}
|
2017-06-08 14:42:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-13 08:12:13 +00:00
|
|
|
#quotatext {
|
2017-06-09 13:41:06 +00:00
|
|
|
padding: 0;
|
|
|
|
height: 30px;
|
|
|
|
line-height: 30px;
|
2017-06-08 14:42:43 +00:00
|
|
|
}
|
2018-10-03 08:59:31 +00:00
|
|
|
|
|
|
|
/* GRID */
|
2018-10-04 10:09:23 +00:00
|
|
|
#filestable.view-grid:not(.hidden) {
|
|
|
|
$grid-size: 160px;
|
2018-10-04 16:45:23 +00:00
|
|
|
$grid-pad: 14px;
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-04 08:53:45 +00:00
|
|
|
/* HEADER and MULTISELECT */
|
2018-10-03 08:59:31 +00:00
|
|
|
thead {
|
2018-10-04 08:53:45 +00:00
|
|
|
tr {
|
|
|
|
display: block;
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
|
|
|
background-color: var(--color-main-background);
|
|
|
|
th {
|
|
|
|
width: auto;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2018-10-03 08:59:31 +00:00
|
|
|
}
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-04 08:53:45 +00:00
|
|
|
/* MAIN FILE LIST */
|
2018-10-03 08:59:31 +00:00
|
|
|
tbody {
|
|
|
|
display: grid;
|
2018-10-04 09:28:27 +00:00
|
|
|
grid-template-columns: repeat(auto-fill, $grid-size);
|
2018-10-03 08:59:31 +00:00
|
|
|
justify-content: space-around;
|
|
|
|
row-gap: 15px;
|
2018-10-04 16:45:23 +00:00
|
|
|
margin: 15px 0;
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-25 12:40:18 +00:00
|
|
|
// ensure search still filters tr with .hidden
|
|
|
|
tr:not(.hidden) {
|
2018-10-03 08:59:31 +00:00
|
|
|
display: block;
|
2018-10-03 10:18:50 +00:00
|
|
|
position: relative;
|
2018-10-04 16:54:02 +00:00
|
|
|
height: $grid-size + 44px - $grid-pad;
|
2018-10-03 10:25:56 +00:00
|
|
|
border-radius: var(--border-radius);
|
2018-10-12 17:02:00 +00:00
|
|
|
|
2018-10-04 16:49:06 +00:00
|
|
|
&:hover, &:focus, &:active,
|
|
|
|
&.selected,
|
|
|
|
&.searchresult,
|
2018-10-23 06:23:22 +00:00
|
|
|
.name:focus,
|
|
|
|
&.highlighted {
|
2018-10-04 16:45:23 +00:00
|
|
|
background-color: transparent;
|
2018-10-12 17:02:00 +00:00
|
|
|
|
2018-10-04 16:45:23 +00:00
|
|
|
.thumbnail-wrapper,
|
|
|
|
.nametext,
|
|
|
|
.fileactions {
|
2018-10-04 16:49:06 +00:00
|
|
|
transition: background-color 0.3s ease;
|
2018-10-04 16:45:23 +00:00
|
|
|
background-color: var(--color-background-dark);
|
|
|
|
}
|
|
|
|
}
|
2018-10-03 08:59:31 +00:00
|
|
|
}
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-03 08:59:31 +00:00
|
|
|
td {
|
2018-10-03 10:18:50 +00:00
|
|
|
display: inline;
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
&.filename {
|
|
|
|
.thumbnail-wrapper {
|
|
|
|
min-width: 0;
|
2018-10-04 16:45:23 +00:00
|
|
|
max-width: none;
|
|
|
|
position: absolute;
|
|
|
|
width: $grid-size;
|
|
|
|
height: $grid-size;
|
|
|
|
padding: $grid-pad; // same as action icon bottom and right padding
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2018-10-18 11:42:01 +00:00
|
|
|
z-index: -1; // make sure the default click is the link
|
2018-10-03 10:18:50 +00:00
|
|
|
|
|
|
|
.thumbnail {
|
2018-10-04 16:45:23 +00:00
|
|
|
width: calc(100% - 2 * #{$grid-pad});
|
|
|
|
height: calc(100% - 2 * #{$grid-pad}); //action icon padding
|
|
|
|
background-size: contain;
|
2018-10-04 09:28:27 +00:00
|
|
|
margin: 0;
|
2018-10-03 10:33:18 +00:00
|
|
|
border-radius: var(--border-radius);
|
2018-10-04 09:28:27 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-04 09:28:27 +00:00
|
|
|
/* Position favorite star related to checkbox to left and 3-dot menu below
|
|
|
|
* Position is inherited from the selection while in grid view
|
|
|
|
*/
|
2018-10-03 10:18:50 +00:00
|
|
|
.favorite-mark {
|
2018-10-04 16:45:23 +00:00
|
|
|
padding: $grid-pad;
|
2018-10-04 09:28:27 +00:00
|
|
|
left: auto;
|
2018-10-04 16:45:23 +00:00
|
|
|
top: -22px; // center in corner of thumbnail
|
|
|
|
right: -22px; // center in corner of thumbnail
|
2018-10-03 10:18:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
|
|
|
height: 100%;
|
2018-10-04 17:11:09 +00:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
// since we're using thumbnail, name and actions bg
|
|
|
|
// we need to hide the overflow for the radius to show
|
|
|
|
// luckily the popovermenu is outside .name
|
|
|
|
overflow: hidden;
|
2018-10-04 16:45:23 +00:00
|
|
|
// we but the thumbnail in background to ensure
|
|
|
|
// the name is the default click handler
|
|
|
|
// force back the cursor which have been overrided
|
|
|
|
// and disabled for some reason...
|
|
|
|
cursor: pointer !important;
|
2018-10-03 10:18:50 +00:00
|
|
|
|
|
|
|
.nametext {
|
2018-10-04 09:28:27 +00:00
|
|
|
display: flex;
|
|
|
|
height: 44px;
|
2018-10-04 16:54:02 +00:00
|
|
|
margin-top: $grid-size - $grid-pad;
|
2019-01-14 21:03:40 +00:00
|
|
|
text-align: center;
|
2018-10-04 09:28:27 +00:00
|
|
|
line-height: 44px;
|
2019-01-14 21:03:40 +00:00
|
|
|
padding: 0;
|
2018-10-03 10:18:50 +00:00
|
|
|
|
|
|
|
.innernametext {
|
|
|
|
display: inline-block;
|
2019-01-14 21:03:40 +00:00
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
flex: 1;
|
|
|
|
min-width: 14px;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
flex: 1;
|
|
|
|
min-width: 44px;
|
2018-10-03 10:18:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* No space for extension in grid view */
|
|
|
|
.extension {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileactions {
|
|
|
|
height: initial;
|
2018-10-04 16:54:02 +00:00
|
|
|
margin-top: $grid-size - $grid-pad;
|
2018-10-04 09:28:27 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-01-14 21:03:40 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2018-10-12 17:02:00 +00:00
|
|
|
|
2018-10-04 09:28:27 +00:00
|
|
|
.action {
|
2018-10-04 16:45:23 +00:00
|
|
|
padding: $grid-pad;
|
2018-10-04 09:28:27 +00:00
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-10-12 17:02:00 +00:00
|
|
|
|
2019-01-14 21:03:40 +00:00
|
|
|
&.action.action-share.permanent {
|
|
|
|
display: none;
|
2018-10-12 18:04:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* In "Deleted files", do not show "Restore" text next to icon as there is no space */
|
|
|
|
&.action-restore.permanent span {
|
|
|
|
&:not(.icon) {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-10-12 17:02:00 +00:00
|
|
|
}
|
2018-10-12 17:19:08 +00:00
|
|
|
|
|
|
|
/* If there is a comment, show it instead of the share icon */
|
|
|
|
&.action-comment ~ .action-share {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-10-04 09:28:27 +00:00
|
|
|
}
|
2018-10-03 10:18:50 +00:00
|
|
|
}
|
|
|
|
}
|
2018-11-15 11:14:15 +00:00
|
|
|
|
|
|
|
form {
|
|
|
|
padding: 3px 14px;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
|
|
|
|
input.filename {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-10-03 10:18:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* No space for filesize and date in grid view */
|
|
|
|
&.filesize,
|
|
|
|
&.date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-10-04 09:28:27 +00:00
|
|
|
&.selection,
|
|
|
|
&.filename .favorite-mark {
|
2018-10-03 08:59:31 +00:00
|
|
|
position: absolute;
|
2018-10-04 16:45:23 +00:00
|
|
|
top: -8px; // half the checkbox width, center on corner of thumbnail
|
|
|
|
left: -8px; // half the checkbox width, center on corner of thumbnail
|
2018-10-03 08:59:31 +00:00
|
|
|
display: flex;
|
|
|
|
width: 44px;
|
2018-10-04 09:28:27 +00:00
|
|
|
height: 44px;
|
2018-10-03 10:18:50 +00:00
|
|
|
z-index: 10;
|
2018-10-03 10:27:39 +00:00
|
|
|
background: transparent;
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-03 08:59:31 +00:00
|
|
|
label {
|
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
2018-10-04 09:28:27 +00:00
|
|
|
display: inline-flex;
|
2018-10-04 16:45:23 +00:00
|
|
|
padding: $grid-pad; // like any action icon
|
2018-10-04 09:28:27 +00:00
|
|
|
&::before {
|
|
|
|
margin: 0;
|
2018-10-04 16:45:23 +00:00
|
|
|
width: $grid-pad; // 16px - border
|
|
|
|
height: $grid-pad; // 16px - border
|
2018-10-04 09:28:27 +00:00
|
|
|
}
|
2018-10-03 08:59:31 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-04 08:53:45 +00:00
|
|
|
|
|
|
|
/* Position actions menu below file */
|
|
|
|
.popovermenu {
|
|
|
|
left: 0;
|
2018-10-04 09:28:27 +00:00
|
|
|
width: $grid-size - 10px; // 2 * margin
|
|
|
|
margin: 0 5px;
|
2018-10-04 08:53:45 +00:00
|
|
|
|
|
|
|
/* Ellipsize long entries, normally menu width is adjusted but for grid we use fixed width. */
|
|
|
|
.menuitem span:not(.icon) {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
2018-10-03 08:59:31 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-03 10:18:50 +00:00
|
|
|
|
2018-10-03 11:19:08 +00:00
|
|
|
/* Center align the footer file number & size summary */
|
|
|
|
tfoot {
|
|
|
|
display: grid;
|
|
|
|
|
2018-10-04 10:56:02 +00:00
|
|
|
.summary:not(.hidden) {
|
2018-10-03 11:19:08 +00:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding-top: 50px;
|
|
|
|
|
|
|
|
&:first-child,
|
|
|
|
&.date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-03 10:18:50 +00:00
|
|
|
}
|
2018-10-03 16:09:48 +00:00
|
|
|
|
|
|
|
/* Grid view toggle */
|
2018-10-04 13:17:24 +00:00
|
|
|
#view-toggle {
|
2018-10-03 16:09:48 +00:00
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 22px;
|
|
|
|
opacity: .5;
|
2018-11-06 08:06:24 +00:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
z-index: 100;
|
2018-10-03 16:09:48 +00:00
|
|
|
|
|
|
|
&:hover,
|
2018-10-23 14:49:56 +00:00
|
|
|
&:focus,
|
|
|
|
#showgridview:focus + & {
|
2018-10-03 16:09:48 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-12 21:07:52 +00:00
|
|
|
/* Adjustments for link share page */
|
2018-10-12 17:51:19 +00:00
|
|
|
#body-public {
|
2018-10-12 18:51:53 +00:00
|
|
|
#filestable.view-grid:not(.hidden) tbody td {
|
|
|
|
/* More space for filename since there is no share icon */
|
|
|
|
&.filename .name .nametext .innernametext {
|
|
|
|
max-width: 124px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Position actions menu correctly below 3-dot-menu */
|
|
|
|
.popovermenu {
|
|
|
|
left: -80px;
|
|
|
|
}
|
2018-10-12 17:51:19 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 21:07:52 +00:00
|
|
|
/* Right-align view toggle on link share page */
|
2018-10-12 17:51:19 +00:00
|
|
|
#view-toggle {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-03 16:09:48 +00:00
|
|
|
/* Hide legacy Gallery toggle */
|
|
|
|
#gallery-button {
|
|
|
|
display: none;
|
|
|
|
}
|