123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636 |
- /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
- This file is licensed under the Affero General Public License version 3 or later.
- See the COPYING-README file. */
- /* FILE MENU */
- .actions { padding:5px; height:32px; display: inline-block; float: left; }
- .actions input, .actions button, .actions .button { margin:0; float:left; }
- .actions .button a { color: #555; }
- .actions .button a:hover,
- .actions .button a:focus,
- .actions .button a:active {
- color: #333;
- }
- .actions.hidden { display: none; }
- .actions.creatable {
- position: relative;
- z-index: -30;
- }
- #new {
- z-index: 1010;
- float: left;
- padding: 0 !important; /* override default control bar button padding */
- }
- #trash {
- margin-right: 8px;
- float: right;
- z-index: 1010;
- padding: 10px;
- font-weight: normal;
- }
- #new > a {
- padding: 14px 10px;
- position: relative;
- top: 7px;
- }
- #new.active {
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- border-bottom: none;
- background: #f8f8f8;
- }
- #new > ul {
- display: none;
- position: fixed;
- min-width: 112px;
- z-index: -10;
- padding: 8px;
- padding-bottom: 0;
- margin-top: 13.5px;
- margin-left: -1px;
- text-align: left;
- background: #f8f8f8;
- border: 1px solid #ddd;
- border: 1px solid rgba(190, 190, 190, 0.901961);
- border-radius: 5px;
- border-top-left-radius: 0;
- box-shadow: 0 2px 7px rgba(170,170,170,.4);
- }
- #new > ul > li {
- height: 36px;
- margin: 5px;
- padding-left: 42px;
- padding-bottom: 2px;
- background-position: left center;
- cursor: pointer;
- }
- #new > ul > li > p {
- cursor: pointer;
- padding-top: 7px;
- padding-bottom: 7px;
- }
- #new .error, #fileList .error {
- color: #e9322d;
- border-color: #e9322d;
- -webkit-box-shadow: 0 0 6px #f8b9b7;
- -moz-box-shadow: 0 0 6px #f8b9b7;
- box-shadow: 0 0 6px #f8b9b7;
- }
- /* FILE TABLE */
- #filestable {
- position: relative;
- top: 44px;
- width: 100%;
- }
- /* make sure there's enough room for the file actions */
- #body-user #filestable {
- min-width: 688px; /* 768 (mobile break) - 80 (nav width) */
- }
- #body-user #controls {
- min-width: 688px; /* 768 (mobile break) - 80 (nav width) */
- }
- #filestable tbody tr { background-color:#fff; height:51px; }
- /* fit app list view heights */
- .app-files #app-content>.viewcontainer {
- min-height: 100%;
- }
- /* move Deleted Files to bottom of sidebar */
- .nav-trashbin {
- position: fixed !important;
- bottom: 44px;
- width: inherit !important;
- background-color: #f5f5f5;
- }
- /* double padding to account for Deleted files entry, issue with Firefox */
- .app-files #app-navigation > ul li:nth-last-child(2) {
- margin-bottom: 44px;
- }
- #filestable tbody tr { background-color:#fff; height:40px; }
- #filestable tbody tr:hover,
- #filestable tbody tr:focus,
- #filestable tbody .name:focus,
- #filestable tbody tr:active {
- background-color: rgb(240,240,240);
- }
- #filestable tbody tr.selected {
- background-color: rgb(230,230,230);
- }
- #filestable tbody tr.searchresult {
- background-color: rgb(240,240,240);
- }
- tbody a { color:#000; }
- span.extension, span.uploading, td.date {
- color: #999;
- }
- span.extension {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
- filter: alpha(opacity=70);
- opacity: .7;
- -webkit-transition: opacity 300ms;
- -moz-transition: opacity 300ms;
- -o-transition: opacity 300ms;
- transition: opacity 300ms;
- vertical-align: top;
- }
- tr:hover span.extension,
- tr:focus span.extension {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
- filter: alpha(opacity=100);
- opacity: 1;
- color: #777;
- }
- table tr.mouseOver td {
- background-color: #eee;
- }
- table th, table th a {
- color: #999;
- }
- table.multiselect th a {
- color: #000;
- }
- table th .columntitle {
- display: block;
- padding: 15px;
- height: 50px;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- vertical-align: middle;
- }
- table th .columntitle.name {
- padding-left: 5px;
- padding-right: 80px;
- margin-left: 50px;
- }
- table th .sort-indicator {
- width: 10px;
- height: 8px;
- margin-left: 5px;
- display: inline-block;
- vertical-align: text-bottom;
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
- filter: alpha(opacity=30);
- opacity: .3;
- }
- .sort-indicator.hidden {
- visibility: hidden;
- }
- table th:hover .sort-indicator.hidden,
- table th:focus .sort-indicator.hidden {
- visibility: visible;
- }
- table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
- table td {
- padding: 0 15px;
- border-bottom: 1px solid #eee;
- font-style: normal;
- background-position: 8px center;
- background-repeat: no-repeat;
- }
- table th#headerName {
- position: relative;
- width: 9999px; /* not really sure why this works better than 100% … table styling */
- padding: 0;
- }
- #headerName-container {
- position: relative;
- height: 50px;
- }
- .has-favorites #headerName-container {
- padding-left: 50px;
- }
- table th#headerSize, table td.filesize {
- text-align: right;
- }
- table th#headerDate, table td.date,
- table th.column-last, table td.column-last {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- position: relative;
- /* this can not be just width, both need to be set … table styling */
- min-width: 176px;
- max-width: 176px;
- }
- /* Multiselect bar */
- #filestable.multiselect {
- top: 95px;
- }
- table.multiselect thead {
- position: fixed;
- top: 89px;
- z-index: 10;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- left: 250px; /* sidebar */
- }
- table thead th {
- background-color: #fff;
- }
- table.multiselect thead th {
- background-color: rgba(220,220,220,.8);
- color: #000;
- font-weight: bold;
- border-bottom: 0;
- }
- table.multiselect #headerName {
- position: relative;
- width: 9999px; /* when we use 100%, the styling breaks on mobile … table styling */
- }
- table td.selection, table th.selection, table td.fileaction { width:32px; text-align:center; }
- table td.filename a.name {
- position:relative; /* Firefox needs to explicitly have this default set … */
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- display: block;
- height: 50px;
- line-height: 50px;
- padding: 0;
- }
- table td.filename .thumbnail {
- display: inline-block;
- width: 32px;
- height: 32px;
- margin-left: 8px;
- margin-top: 9px;
- cursor: pointer;
- float: left;
- position: absolute;
- z-index: 4;
- }
- table td.filename input.filename {
- width: 70%;
- margin-top: 9px;
- margin-left: 48px;
- cursor: text;
- }
- .has-favorites table td.filename input.filename {
- margin-left: 52px;
- }
- 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; }
- table td.filename .nametext, .uploadtext, .modified, .column-last>span:first-child { float:left; padding:15px 0; }
- .modified, .column-last>span:first-child {
- position: relative;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 90%;
- }
- /* ellipsize long modified dates to make room for showing delete button */
- #fileList tr:hover .modified,
- #fileList tr:focus .modified,
- #fileList tr:hover .column-last>span:first-child,
- #fileList tr:focus .column-last>span:first-child {
- width: 75%;
- }
- /* TODO fix usability bug (accidental file/folder selection) */
- table td.filename .nametext {
- position: absolute;
- left: 55px;
- padding: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 800px;
- height: 100%;
- }
- /* IE8 text-overflow: ellipsis support */
- .ie8 table td.filename .nametext {
- min-width: 50%;
- }
- .has-favorites #fileList td.filename a.name {
- left: 50px;
- margin-right: 50px;
- }
- table td.filename .nametext .innernametext {
- text-overflow: ellipsis;
- overflow: hidden;
- position: relative;
- display: inline-block;
- vertical-align: top;
- }
- /* IE8 text-overflow: ellipsis support */
- .ie8 table td.filename .nametext .innernametext {
- white-space: nowrap;
- word-wrap: normal;
- -ms-text-overflow: ellipsis;
- max-width: 47%;
- }
- @media only screen and (min-width: 1366px) {
- table td.filename .nametext .innernametext {
- max-width: 760px;
- }
- table tr:hover td.filename .nametext .innernametext,
- table tr:focus td.filename .nametext .innernametext {
- max-width: 480px;
- }
- }
- @media only screen and (min-width: 1200px) and (max-width: 1366px) {
- table td.filename .nametext .innernametext {
- max-width: 600px;
- }
- table tr:hover td.filename .nametext .innernametext,
- table tr:focus td.filename .nametext .innernametext {
- max-width: 320px;
- }
- }
- @media only screen and (min-width: 1000px) and (max-width: 1200px) {
- table td.filename .nametext .innernametext {
- max-width: 400px;
- }
- table tr:hover td.filename .nametext .innernametext,
- table tr:focus td.filename .nametext .innernametext {
- max-width: 120px;
- }
- }
- @media only screen and (min-width: 768px) and (max-width: 1000px) {
- table td.filename .nametext .innernametext {
- max-width: 320px;
- }
- table tr:hover td.filename .nametext .innernametext,
- table tr:focus td.filename .nametext .innernametext {
- max-width: 40px;
- }
- }
- /* for smaller resolutions - see mobile.css */
- table td.filename .uploadtext {
- font-weight: normal;
- margin-left: 55px;
- margin-top: 5px;
- height: 20px;
- padding: 10px 0;
- font-size: 11px;
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
- filter: alpha(opacity=50);
- opacity: .5;
- }
- .ie8 input[type="checkbox"]{
- padding: 0;
- }
- /* File checkboxes */
- #fileList tr td.filename>.selectCheckBox {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
- filter: alpha(opacity=0);
- opacity: 0;
- float: left;
- top: 0;
- margin: 32px 0 4px 32px; /* bigger clickable area doesn’t work in FF width:2.8em; height:2.4em;*/
- }
- /* Show checkbox when hovering, checked, or selected */
- #fileList tr:hover td.filename>.selectCheckBox,
- #fileList tr:focus td.filename>.selectCheckBox,
- #fileList tr td.filename>.selectCheckBox:checked,
- #fileList tr.selected td.filename>.selectCheckBox {
- opacity: 1;
- }
- .lte9 #fileList tr:hover td.filename>.selectCheckBox,
- .lte9 #fileList tr:focus td.filename>.selectCheckBox,
- .lte9 #fileList tr td.filename>.selectCheckBox[checked=checked],
- .lte9 #fileList tr.selected td.filename>.selectCheckBox {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
- filter: alpha(opacity=100);
- }
- /* Use label to have bigger clickable size for checkbox */
- #fileList tr td.filename>.selectCheckBox + label,
- .select-all + label {
- height: 50px;
- position: absolute;
- width: 50px;
- z-index: 5;
- }
- #fileList tr td.filename>.selectCheckBox {
- /* sometimes checkbox height is bigger (KDE/Qt), so setting to absolute
- * to prevent it to increase the height */
- position: absolute;
- z-index: 10;
- }
- .select-all + label {
- top: 0;
- }
- .select-all {
- position: absolute;
- top: 18px;
- left: 18px;
- z-index: 10;
- }
- .has-favorites .select-all {
- left: 68px;
- }
- #fileList tr td.filename {
- position: relative;
- width: 100%;
- padding-left: 0;
- -webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
- }
- #fileList tr td.filename a.name label {
- position: absolute;
- width: 80%;
- height: 50px;
- }
- #fileList tr td.filename .favorite {
- display: inline-block;
- float: left;
- }
- #fileList tr td.filename .action-favorite {
- display: block;
- float: left;
- width: 30px;
- line-height: 100%;
- text-align: center;
- }
- #uploadsize-message,#delete-confirm { display:none; }
- /* File actions */
- .fileactions {
- position: absolute;
- right: 0;
- font-size: 11px;
- }
- /* force show the loading icon, not only on hover */
- #fileList .icon-loading-small {
- -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
- filter:alpha(opacity=100);
- opacity: 1 !important;
- display: inline !important;
- }
- #fileList img.move2trash { display:inline; margin:-8px 0; padding:16px 8px 16px 8px !important; float:right; }
- #fileList a.action.delete {
- position: absolute;
- right: 15px;
- padding: 17px 14px;
- }
- #fileList .action.action-share-notification span, #fileList a.name {
- cursor: default !important;
- }
- a.action>img {
- max-height:16px;
- max-width:16px;
- vertical-align:text-bottom;
- margin-bottom: -1px;
- }
- /* Actions for selected files */
- .selectedActions {
- position: absolute;
- top: 0;
- right: 0;
- }
- .selectedActions a {
- display: inline;
- font-size: 11px;
- line-height: 50px;
- padding: 18px 5px;
- }
- .selectedActions a.delete-selected {
- padding-right: 15px;
- }
- .selectedActions a.hidden {
- display: none;
- }
- .selectedActions a img {
- position:relative;
- vertical-align: text-bottom;
- margin-bottom: -1px;
- }
- #fileList a.action {
- display: inline;
- padding: 17px 8px;
- line-height: 50px;
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
- filter: alpha(opacity=0);
- opacity: 0;
- display:none;
- }
- #fileList a.action[data-action="Rename"] {
- padding: 16px 14px 17px !important;
- }
- .ie8 #fileList a.action img,
- #fileList tr:hover a.action,
- #fileList a.action.permanent,
- #fileList tr:focus a.action,
- #fileList a.action.permanent
- /*#fileList .name:focus .action*/ {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
- filter: alpha(opacity=50);
- opacity: .5;
- display:inline;
- }
- .ie8 #fileList a.action:hover img,
- #fileList tr:hover a.action:hover,
- #fileList tr:focus a.action:focus,
- #fileList .name:focus a.action:focus {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
- filter: alpha(opacity=100);
- opacity: 1;
- display:inline;
- }
- .summary {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
- filter: alpha(opacity=30);
- opacity: .3;
- height: 60px;
- }
- .summary:hover,
- .summary:focus,
- .summary,
- table tr.summary td {
- background-color: transparent;
- }
- .summary td {
- border-bottom: none;
- }
- .summary .info {
- margin-left: 40px;
- }
- .has-favorites .summary .info {
- margin-left: 90px;
- }
- #scanning-message{ top:40%; left:40%; position:absolute; display:none; }
- table.dragshadow {
- width:auto;
- }
- table.dragshadow td.filename {
- padding-left:60px;
- padding-right:16px;
- height: 36px;
- }
- table.dragshadow td.size {
- padding-right:8px;
- }
- #upgrade {
- width: 400px;
- position: absolute;
- top: 200px;
- left: 50%;
- text-align: center;
- margin-left: -200px;
- }
- .mask {
- z-index: 50;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: white;
- background-repeat: no-repeat no-repeat;
- background-position: 50%;
- opacity: 0.7;
- filter: alpha(opacity=70);
- transition: opacity 100ms;
- -moz-transition: opacity 100ms;
- -o-transition: opacity 100ms;
- -ms-transition: opacity 100ms;
- -webkit-transition: opacity 100ms;
- }
- .mask.transparent{
- opacity: 0;
- }
|