| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 html { | 5 html { |
| 6 height: 100%; | 6 height: 100%; |
| 7 } | 7 } |
| 8 | 8 |
| 9 html.col-resize * { | 9 html.col-resize * { |
| 10 cursor: col-resize !important; | 10 cursor: col-resize !important; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 display: -webkit-box; | 21 display: -webkit-box; |
| 22 height: 100%; | 22 height: 100%; |
| 23 margin: 0; | 23 margin: 0; |
| 24 opacity: 0; | 24 opacity: 0; |
| 25 padding: 0; | 25 padding: 0; |
| 26 width: 100%; | 26 width: 100%; |
| 27 } | 27 } |
| 28 | 28 |
| 29 body.loaded { | 29 body.loaded { |
| 30 /* Do not use display:none because list will calculate metrics incorrectly. */ | 30 /* Do not use display:none because list will calculate metrics incorrectly. */ |
| 31 /*display: -webkit-box;*/ | 31 /* display: -webkit-box;*/ |
| 32 opacity: 1; | 32 opacity: 1; |
| 33 } | 33 } |
| 34 | 34 |
| 35 /* Drop opacity of selected rows to give a visual feedback on copy/cut | 35 /* Drop opacity of selected rows to give a visual feedback on copy/cut |
| 36 * operation. */ | 36 * operation. */ |
| 37 .blink { | 37 .blink { |
| 38 opacity: 0.8; | 38 opacity: 0.8; |
| 39 } | 39 } |
| 40 | 40 |
| 41 body[new-ui] ::-webkit-scrollbar { | 41 body[new-ui] ::-webkit-scrollbar { |
| 42 height: 8px; | 42 height: 0; |
| 43 width: 0; |
| 44 } |
| 45 |
| 46 /* TODO(mtomasz): Flip scrollbars to the opposite side for RTL languages. */ |
| 47 body[new-ui] .scrollbar-vertical { |
| 48 bottom: 0; |
| 49 position: absolute; |
| 50 right: 0; |
| 51 top: 0; |
| 52 width: 10px; |
| 53 z-index: 1000; |
| 54 } |
| 55 |
| 56 body[new-ui] .scrollbar-button { |
| 57 -webkit-transition: opacity 100ms; |
| 58 background-color: black; |
| 59 border: 1px solid #ccc; |
| 60 border-radius: 3px; |
| 61 box-sizing: border-box; |
| 62 height: 50%; |
| 63 margin-right: 2px; |
| 64 opacity: 0; |
| 65 position: absolute; |
| 43 width: 8px; | 66 width: 8px; |
| 44 } | 67 } |
| 45 | 68 |
| 46 body[new-ui] ::-webkit-scrollbar-track { | 69 body[new-ui] :hover > .scrollbar-vertical > .scrollbar-button { |
| 47 padding: 5px; | 70 opacity: 0.3; |
| 48 } | 71 } |
| 49 | 72 |
| 50 body[new-ui] ::-webkit-scrollbar-thumb { | 73 body[new-ui] .scrollbar-vertical > .scrollbar-button:hover { |
| 51 background-color: rgb(180, 180, 180); | 74 opacity: 0.4; |
| 75 } |
| 76 |
| 77 body[new-ui] .scrollbar-vertical > .scrollbar-button.pressed { |
| 78 opacity: 0.5; |
| 52 } | 79 } |
| 53 | 80 |
| 54 #butter-bar-container { | 81 #butter-bar-container { |
| 55 -webkit-box-pack: center; | 82 -webkit-box-pack: center; |
| 56 display: -webkit-box; | 83 display: -webkit-box; |
| 57 left: 0; | 84 left: 0; |
| 58 pointer-events: none; | 85 pointer-events: none; |
| 59 position: absolute; | 86 position: absolute; |
| 60 top: 0; | 87 top: 0; |
| 61 width: 100%; | 88 width: 100%; |
| (...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 background-position: 5px center; | 1012 background-position: 5px center; |
| 986 background-repeat: no-repeat; | 1013 background-repeat: no-repeat; |
| 987 background-size: 16px 16px; | 1014 background-size: 16px 16px; |
| 988 line-height: 39px; | 1015 line-height: 39px; |
| 989 padding-left: 26px; | 1016 padding-left: 26px; |
| 990 } | 1017 } |
| 991 | 1018 |
| 992 #list-container list > *, | 1019 #list-container list > *, |
| 993 #list-container grid > *, | 1020 #list-container grid > *, |
| 994 #default-actions-list > * { | 1021 #default-actions-list > * { |
| 1022 background-color: transparent; |
| 995 background-image: none; | 1023 background-image: none; |
| 996 border-radius: 0; | 1024 border-radius: 0; |
| 997 } | 1025 } |
| 998 | 1026 |
| 999 #list-container list > [selected], | 1027 #list-container list > li[selected], |
| 1000 #list-container grid > [selected], | 1028 #list-container grid > li[selected], |
| 1001 #default-actions-list > [selected] { | 1029 #default-actions-list > li[selected] { |
| 1002 background-color: #dedede; | 1030 background-color: #dedede; |
| 1003 } | 1031 } |
| 1004 | 1032 |
| 1005 body[new-ui] #list-container list > [selected], | 1033 body[new-ui] #list-container list > li[selected], |
| 1006 body[new-ui] #list-container grid > [selected], | 1034 body[new-ui] #list-container grid > li[selected], |
| 1007 body[new-ui] #default-actions-list > [selected] { | 1035 body[new-ui] #default-actions-list > li[selected] { |
| 1008 background-color: rgb(225, 225, 225); | 1036 background-color: rgb(225, 225, 225); |
| 1009 } | 1037 } |
| 1010 | 1038 |
| 1011 #list-container list:focus > [selected], | 1039 #list-container list:focus > li[selected], |
| 1012 #list-container grid:focus > [selected], | 1040 #list-container grid:focus > li[selected], |
| 1013 #default-actions-list:focus > [selected] { | 1041 #default-actions-list:focus > li[selected] { |
| 1014 background-color: rgb(203, 219, 241); | 1042 background-color: rgb(203, 219, 241); |
| 1015 } | 1043 } |
| 1016 | 1044 |
| 1017 body[new-ui] #list-container list:focus > [selected], | 1045 body[new-ui] #list-container list:focus > li[selected], |
| 1018 body[new-ui] #list-container grid:focus > [selected], | 1046 body[new-ui] #list-container grid:focus > li[selected], |
| 1019 body[new-ui] #default-actions-list:focus > [selected] { | 1047 body[new-ui] #default-actions-list:focus > li[selected] { |
| 1020 background-color: rgb(77, 144, 254); | 1048 background-color: rgb(77, 144, 254); |
| 1021 } | 1049 } |
| 1022 | 1050 |
| 1023 #list-container list > .accepts[selected], | 1051 #list-container list > li.accepts[selected], |
| 1024 #list-container grid > .accepts[selected], | 1052 #list-container grid > li.accepts[selected], |
| 1025 #list-container list > [selected]:hover, | 1053 #list-container list > li[selected]:hover, |
| 1026 #list-container grid > [selected]:hover, | 1054 #list-container grid > li[selected]:hover, |
| 1027 #default-actions-list > [selected]:hover { | 1055 #default-actions-list > li[selected]:hover { |
| 1028 background-color: rgb(193, 211, 236); | 1056 background-color: rgb(193, 211, 236); |
| 1029 } | 1057 } |
| 1030 | 1058 |
| 1031 body[new-ui] #list-container list > .accepts[selected], | 1059 body[new-ui] #list-container list > li.accepts[selected], |
| 1032 body[new-ui] #list-container grid > .accepts[selected], | 1060 body[new-ui] #list-container grid > li.accepts[selected], |
| 1033 body[new-ui] #list-container list > [selected]:hover, | 1061 body[new-ui] #list-container list > li[selected]:hover, |
| 1034 body[new-ui] #list-container grid > [selected]:hover, | 1062 body[new-ui] #list-container grid > li[selected]:hover, |
| 1035 body[new-ui] #default-actions-list > [selected]:hover { | 1063 body[new-ui] #default-actions-list > li[selected]:hover { |
| 1036 background-color: rgb(215, 215, 215); | 1064 background-color: rgb(215, 215, 215); |
| 1037 } | 1065 } |
| 1038 | 1066 |
| 1039 body[new-ui] #list-container list:focus > .accepts[selected], | 1067 body[new-ui] #list-container list:focus > li.accepts[selected], |
| 1040 body[new-ui] #list-container grid:focus > .accepts[selected], | 1068 body[new-ui] #list-container grid:focus > li.accepts[selected], |
| 1041 body[new-ui] #list-container list:focus > [selected]:hover, | 1069 body[new-ui] #list-container list:focus > li[selected]:hover, |
| 1042 body[new-ui] #list-container grid:focus > [selected]:hover, | 1070 body[new-ui] #list-container grid:focus > li[selected]:hover, |
| 1043 body[new-ui] #default-actions-list:focus > [selected]:hover { | 1071 body[new-ui] #default-actions-list:focus > li[selected]:hover { |
| 1044 background-color: rgb(48, 125, 254); | 1072 background-color: rgb(48, 125, 254); |
| 1045 } | 1073 } |
| 1046 | 1074 |
| 1047 #list-container list > .accepts, | 1075 #list-container list > li.accepts, |
| 1048 #list-container grid > .accepts, | 1076 #list-container grid > li.accepts, |
| 1049 #list-container list > :hover, | 1077 #list-container list > li:hover, |
| 1050 #list-container grid > :hover, | 1078 #list-container grid > li:hover, |
| 1051 #default-actions-list > :hover { | 1079 #default-actions-list > li:hover { |
| 1052 background-color: #f1f1f1; | 1080 background-color: #f1f1f1; |
| 1053 } | 1081 } |
| 1054 | 1082 |
| 1055 #list-container.nohover list > :not([selected]):hover, | 1083 #list-container.nohover list > :not([selected]):hover, |
| 1056 #list-container.nohover grid > :not([selected]):hover, | 1084 #list-container.nohover grid > :not([selected]):hover, |
| 1057 #list-container.nohover grid > .accepts { | 1085 #list-container.nohover grid > .accepts { |
| 1058 background-color: transparent; | 1086 background-color: transparent; |
| 1059 } | 1087 } |
| 1060 | 1088 |
| 1061 #directory-tree .tree-item.accepts > .tree-row, | 1089 #directory-tree .tree-item.accepts > li.tree-row, |
| 1062 #list-container list > .accepts, | 1090 #list-container list > li.accepts, |
| 1063 #list-container grid > .accepts { | 1091 #list-container grid > li.accepts { |
| 1064 -webkit-animation: acceptsBlink 200ms linear 1s 3; | 1092 -webkit-animation: acceptsBlink 200ms linear 1s 3; |
| 1065 } | 1093 } |
| 1066 | 1094 |
| 1067 @-webkit-keyframes acceptsBlink { | 1095 @-webkit-keyframes acceptsBlink { |
| 1068 0% { | 1096 0% { |
| 1069 background-color: transparent; | 1097 background-color: transparent; |
| 1070 } | 1098 } |
| 1071 50% { | 1099 50% { |
| 1072 } | 1100 } |
| 1073 } | 1101 } |
| 1074 | 1102 |
| 1103 .table-row-cell .selection-label { |
| 1104 -webkit-margin-end: 10px; |
| 1105 } |
| 1106 |
| 1075 .table-row-cell .filename-label, | 1107 .table-row-cell .filename-label, |
| 1076 .thumbnail-item .filename-label, | 1108 .thumbnail-item .filename-label, |
| 1077 /* Show ellipsis in cells. The name column has different structure and overrides | 1109 /* Show ellipsis in cells. The name column has different structure and overrides |
| 1078 this rule. */ | 1110 this rule. */ |
| 1079 .table-row-cell > div { | 1111 .table-row-cell > div { |
| 1080 display: block; | 1112 display: block; |
| 1081 overflow: hidden; | 1113 overflow: hidden; |
| 1082 text-overflow: ellipsis; | 1114 text-overflow: ellipsis; |
| 1083 white-space: nowrap; | 1115 white-space: nowrap; |
| 1084 } | 1116 } |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1244 } | 1276 } |
| 1245 | 1277 |
| 1246 /* Table splitter element */ | 1278 /* Table splitter element */ |
| 1247 .table-header-splitter { | 1279 .table-header-splitter { |
| 1248 -webkit-border-start: 1px #d4d4d4 solid; | 1280 -webkit-border-start: 1px #d4d4d4 solid; |
| 1249 background-color: inherit; | 1281 background-color: inherit; |
| 1250 height: 27px; | 1282 height: 27px; |
| 1251 } | 1283 } |
| 1252 | 1284 |
| 1253 body[new-ui] .table-header-splitter { | 1285 body[new-ui] .table-header-splitter { |
| 1254 -webkit-border-start: none; | 1286 display: none; |
| 1255 height: 40px; | |
| 1256 width: 10px; | |
| 1257 } | 1287 } |
| 1258 | 1288 |
| 1259 /* Container for a table header. */ | 1289 /* Container for a table header. */ |
| 1260 .table-header { | 1290 .table-header { |
| 1261 -webkit-box-sizing: border-box; | 1291 -webkit-box-sizing: border-box; |
| 1262 background-color: #f5f5f5; | 1292 background-color: #f5f5f5; |
| 1263 border-bottom: 1px #d2d2d2 solid; | 1293 border-bottom: 1px #d2d2d2 solid; |
| 1264 height: 27px; | 1294 height: 27px; |
| 1265 } | 1295 } |
| 1266 | 1296 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 } | 1378 } |
| 1349 | 1379 |
| 1350 #select-all-checkbox { | 1380 #select-all-checkbox { |
| 1351 -webkit-margin-end: 7px; | 1381 -webkit-margin-end: 7px; |
| 1352 -webkit-margin-start: 2px; | 1382 -webkit-margin-start: 2px; |
| 1353 margin-bottom: 0; | 1383 margin-bottom: 0; |
| 1354 margin-top: 0; | 1384 margin-top: 0; |
| 1355 vertical-align: middle; | 1385 vertical-align: middle; |
| 1356 } | 1386 } |
| 1357 | 1387 |
| 1388 body[new-ui] #select-all-checkbox { |
| 1389 -webkit-margin-end: 13px; |
| 1390 -webkit-margin-start: 3px; |
| 1391 vertical-align: middle; |
| 1392 } |
| 1393 |
| 1358 #list-container li.table-row:hover .file-checkbox, | 1394 #list-container li.table-row:hover .file-checkbox, |
| 1359 #list-container li.table-row:hover .pin, | 1395 #list-container li.table-row:hover .pin, |
| 1360 #list-container li.thumbnail-item:hover .file-checkbox { | 1396 #list-container li.thumbnail-item:hover .file-checkbox { |
| 1361 opacity: 0.6; | 1397 opacity: 0.6; |
| 1362 } | 1398 } |
| 1363 | 1399 |
| 1364 #list-container li.table-row[selected] .file-checkbox, | 1400 #list-container li.table-row[selected] .file-checkbox, |
| 1365 #list-container li.table-row[selected] .pin, | 1401 #list-container li.table-row[selected] .pin, |
| 1366 #list-container li.thumbnail-item[selected] .file-checkbox { | 1402 #list-container li.thumbnail-item[selected] .file-checkbox { |
| 1367 opacity: 1.0 !important; | 1403 opacity: 1.0 !important; |
| 1368 } | 1404 } |
| 1369 | 1405 |
| 1406 body[new-ui] #list-container list:focus li.table-row[selected] .file-checkbox { |
| 1407 -webkit-filter: contrast(300%) invert(100%); |
| 1408 } |
| 1409 |
| 1370 #list-container li.table-row, | 1410 #list-container li.table-row, |
| 1371 #default-actions-list li { | 1411 #default-actions-list li { |
| 1372 border: 1px solid white; | 1412 border: 1px solid white; |
| 1373 border-left-width: 0; | 1413 border-left-width: 0; |
| 1374 border-right-width: 0; | 1414 border-right-width: 0; |
| 1375 height: 39px; | 1415 height: 39px; |
| 1376 padding-bottom: 1px; | 1416 padding-bottom: 1px; |
| 1377 padding-top: 1px; | 1417 padding-top: 1px; |
| 1378 } | 1418 } |
| 1379 | 1419 |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1946 } | 1986 } |
| 1947 | 1987 |
| 1948 list.autocomplete-suggestions[hasElementFocus] > [selected], | 1988 list.autocomplete-suggestions[hasElementFocus] > [selected], |
| 1949 list.autocomplete-suggestions[hasElementFocus] > [lead], | 1989 list.autocomplete-suggestions[hasElementFocus] > [lead], |
| 1950 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], | 1990 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], |
| 1951 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { | 1991 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { |
| 1952 background-color: rgb(238, 238, 238); | 1992 background-color: rgb(238, 238, 238); |
| 1953 background-image: none; | 1993 background-image: none; |
| 1954 border: 1px solid white; | 1994 border: 1px solid white; |
| 1955 } | 1995 } |
| OLD | NEW |