| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 /* List/grid and preview are inside this container. */ | 154 /* List/grid and preview are inside this container. */ |
| 155 .dialog-main { | 155 .dialog-main { |
| 156 -webkit-box-align: stretch; | 156 -webkit-box-align: stretch; |
| 157 -webkit-box-flex: 1; | 157 -webkit-box-flex: 1; |
| 158 -webkit-box-orient: vertical; | 158 -webkit-box-orient: vertical; |
| 159 display: -webkit-box; | 159 display: -webkit-box; |
| 160 } | 160 } |
| 161 | 161 |
| 162 /* Directory tree at the left. */ | 162 /* Directory tree at the left. */ |
| 163 .dialog-sidebar { | 163 .dialog-sidebar { |
| 164 -webkit-border-end: 1px solid rgb(170, 170, 170); |
| 164 -webkit-box-flex: 0; | 165 -webkit-box-flex: 0; |
| 166 -webkit-box-orient: vertical; |
| 165 background-color: #e6e6e6; | 167 background-color: #e6e6e6; |
| 166 border-right: 1px solid rgb(170, 170, 170); | |
| 167 display: -webkit-box; | 168 display: -webkit-box; |
| 168 max-width: 50%; | 169 max-width: 50%; |
| 169 min-width: 45px; | 170 min-width: 45px; |
| 170 overflow: hidden; | 171 overflow: hidden; |
| 171 position: relative; | 172 position: relative; |
| 172 width: 168px; | 173 width: 168px; |
| 173 } | 174 } |
| 174 | 175 |
| 176 body[new-ui] .dialog-sidebar { |
| 177 -webkit-border-end: 1px solid rgb(200, 200, 200); |
| 178 background-color: #f1f1f1; |
| 179 min-width: 100px; |
| 180 width: 200px; |
| 181 } |
| 182 |
| 183 body[new-ui] .dialog-sidebar-header { |
| 184 -webkit-app-region: drag; |
| 185 -webkit-box-flex: 0; |
| 186 display: -webkit-box; |
| 187 height: 30px; /* Keep in sync with #dialog-header. */ |
| 188 line-height: 30px; |
| 189 margin: 7px; |
| 190 } |
| 191 |
| 192 body[new-ui] .dialog-sidebar-header #app-name { |
| 193 -webkit-margin-start: 10px; |
| 194 color: #303030; |
| 195 font-size: 130%; |
| 196 } |
| 197 |
| 198 body[new-ui] .dialog-sidebar-contents { |
| 199 -webkit-box-flex: 1; |
| 200 border-top: 1px solid rgb(200, 200, 200); |
| 201 display: -webkit-box; |
| 202 position: relative; |
| 203 } |
| 204 |
| 205 body[new-ui] .dialog-sidebar-footer { |
| 206 -webkit-box-flex: 0; |
| 207 display: -webkit-box; |
| 208 } |
| 209 |
| 175 /* A vertical splitter between the roots list and the file list. It is actually | 210 /* A vertical splitter between the roots list and the file list. It is actually |
| 176 a transparent area centered on the roots list right border.*/ | 211 a transparent area centered on the roots list right border.*/ |
| 177 div.sidebar-splitter { | 212 div.sidebar-splitter { |
| 178 -webkit-box-flex: 0; | 213 -webkit-box-flex: 0; |
| 179 cursor: col-resize; | 214 cursor: col-resize; |
| 180 margin-left: -3px; | 215 margin-left: -3px; |
| 181 margin-right: -3px; | 216 margin-right: -3px; |
| 182 position: relative; | 217 position: relative; |
| 183 width: 6px; | 218 width: 6px; |
| 184 z-index: 2; | 219 z-index: 100; |
| 185 } | 220 } |
| 186 | 221 |
| 187 #directory-tree { | 222 #directory-tree { |
| 188 bottom: 0; | 223 bottom: 0; |
| 189 left: 0; | 224 left: 0; |
| 190 overflow-x: hidden; | 225 overflow-x: hidden; |
| 191 overflow-y: auto; | 226 overflow-y: auto; |
| 192 position: absolute; | 227 position: absolute; |
| 193 right: 0; | 228 right: 0; |
| 194 top: 0; | 229 top: 0; |
| 195 } | 230 } |
| 196 | 231 |
| 197 #directory-tree .tree-row { | 232 #directory-tree .tree-row { |
| 198 background-color: #e6e6e6; | 233 -webkit-border-radius: 0; |
| 199 background-image: none; | 234 background-image: none; |
| 200 border: none; | 235 border: none; |
| 201 display: -webkit-box; | 236 display: -webkit-box; |
| 202 line-height: 39px; | 237 line-height: 39px; |
| 203 margin: 0; | 238 margin: 0; |
| 204 padding: 0 3px; | 239 padding: 0 3px; |
| 205 } | 240 } |
| 206 | 241 |
| 242 body[new-ui] #directory-tree .tree-row { |
| 243 cursor: pointer; |
| 244 } |
| 245 |
| 207 /* For rows of subitems (non-top items) */ | 246 /* For rows of subitems (non-top items) */ |
| 208 #directory-tree .tree-children .tree-row { | 247 #directory-tree .tree-children .tree-row { |
| 209 line-height: 31px; | 248 line-height: 31px; |
| 210 } | 249 } |
| 211 | 250 |
| 212 #directory-tree .tree-row > .expand-icon { | 251 #directory-tree .tree-row > .expand-icon { |
| 213 height: 37px; | 252 height: 37px; |
| 214 left: 3px; | 253 left: 3px; |
| 215 margin: -13px; | 254 margin: -13px; |
| 216 top: 0; | 255 top: 0; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 229 #directory-tree .tree-row > .label { | 268 #directory-tree .tree-row > .label { |
| 230 -webkit-box-flex: 1; | 269 -webkit-box-flex: 1; |
| 231 display: block; | 270 display: block; |
| 232 margin: 0 3px; | 271 margin: 0 3px; |
| 233 overflow-x: hidden; | 272 overflow-x: hidden; |
| 234 text-overflow: ellipsis; | 273 text-overflow: ellipsis; |
| 235 } | 274 } |
| 236 | 275 |
| 237 #directory-tree .tree-row:hover { | 276 #directory-tree .tree-row:hover { |
| 238 background-color: rgba(0, 0, 0, 0.05); | 277 background-color: rgba(0, 0, 0, 0.05); |
| 239 border-color: rgba(0, 0, 0, 0.05); | 278 } |
| 279 |
| 280 body[new-ui] #directory-tree .tree-row:hover { |
| 281 background-color: transparent; |
| 240 } | 282 } |
| 241 | 283 |
| 242 #directory-tree .tree-item.accepts > .tree-row, | 284 #directory-tree .tree-item.accepts > .tree-row, |
| 243 #directory-tree .tree-row[lead][selected], | 285 #directory-tree .tree-row[lead][selected], |
| 244 #directory-tree .tree-row[lead], | 286 #directory-tree .tree-row[lead], |
| 245 #directory-tree .tree-row[selected], | 287 #directory-tree .tree-row[selected], |
| 246 #directory-tree .tree-row[anchor] { | 288 #directory-tree .tree-row[anchor] { |
| 247 background-color: rgb(204, 204, 204); | 289 background-color: rgb(204, 204, 204); |
| 248 } | 290 } |
| 249 | 291 |
| 292 body[new-ui] #directory-tree .tree-item.accepts > .tree-row, |
| 293 body[new-ui] #directory-tree .tree-row[lead][selected], |
| 294 body[new-ui] #directory-tree .tree-row[lead], |
| 295 body[new-ui] #directory-tree .tree-row[selected], |
| 296 body[new-ui] #directory-tree .tree-row[anchor] { |
| 297 background-color: rgb(225, 225, 225); |
| 298 } |
| 299 |
| 250 #directory-tree:focus .tree-item.accepts > .tree-row, | 300 #directory-tree:focus .tree-item.accepts > .tree-row, |
| 251 #directory-tree:focus .tree-row[lead][selected], | 301 #directory-tree:focus .tree-row[lead][selected], |
| 252 #directory-tree:focus .tree-row[lead], | 302 #directory-tree:focus .tree-row[lead], |
| 253 #directory-tree:focus .tree-row[selected], | 303 #directory-tree:focus .tree-row[selected], |
| 254 #directory-tree:focus .tree-row[anchor] { | 304 #directory-tree:focus .tree-row[anchor] { |
| 255 background-color: rgb(193, 209, 232); | 305 background-color: rgb(193, 209, 232); |
| 256 } | 306 } |
| 257 | 307 |
| 258 #directory-tree .tree-item.accepts > .tree-row:hover, | 308 body[new-ui] #directory-tree:focus .tree-item.accepts > .tree-row, |
| 259 #directory-tree .tree-row[lead]:hover, | 309 body[new-ui] #directory-tree:focus .tree-row[lead][selected], |
| 260 #directory-tree .tree-row[lead][selected]:hover, | 310 body[new-ui] #directory-tree:focus .tree-row[lead], |
| 261 #directory-tree .tree-row[selected]:hover, | 311 body[new-ui] #directory-tree:focus .tree-row[selected], |
| 262 #directory-tree .tree-row[anchor]:hover { | 312 body[new-ui] #directory-tree:focus .tree-row[anchor] { |
| 263 background-color: rgb(192, 192, 192); | 313 background-color: rgb(77, 144, 254); |
| 314 color: white; |
| 264 } | 315 } |
| 265 | 316 |
| 266 #directory-tree:hover .tree-item.accepts > .tree-row:hover, | 317 #directory-tree:hover .tree-item.accepts > .tree-row:hover, |
| 267 #directory-tree:hover .tree-row[lead]:hover, | 318 #directory-tree:hover .tree-row[lead]:hover, |
| 268 #directory-tree:hover .tree-row[lead][selected]:hover, | 319 #directory-tree:hover .tree-row[lead][selected]:hover, |
| 269 #directory-tree:hover .tree-row[selected]:hover, | 320 #directory-tree:hover .tree-row[selected]:hover, |
| 270 #directory-tree:hover .tree-row[anchor]:hover { | 321 #directory-tree:hover .tree-row[anchor]:hover { |
| 271 background-color: rgb(177, 193, 216); | 322 background-color: rgb(177, 193, 216); |
| 272 } | 323 } |
| 273 | 324 |
| 325 body[new-ui] #directory-tree:hover .tree-item.accepts > .tree-row:hover, |
| 326 body[new-ui] #directory-tree:hover .tree-row[lead]:hover, |
| 327 body[new-ui] #directory-tree:hover .tree-row[lead][selected]:hover, |
| 328 body[new-ui] #directory-tree:hover .tree-row[selected]:hover, |
| 329 body[new-ui] #directory-tree:hover .tree-row[anchor]:hover { |
| 330 background-color: rgb(225, 225, 225); |
| 331 } |
| 332 |
| 333 body[new-ui] #directory-tree:focus:hover .tree-item.accepts > .tree-row:hover, |
| 334 body[new-ui] #directory-tree:focus:hover .tree-row[lead]:hover, |
| 335 body[new-ui] #directory-tree:focus:hover .tree-row[lead][selected]:hover, |
| 336 body[new-ui] #directory-tree:focus:hover .tree-row[selected]:hover, |
| 337 body[new-ui] #directory-tree:focus:hover .tree-row[anchor]:hover { |
| 338 background-color: rgb(77, 144, 254); |
| 339 color: white; |
| 340 } |
| 341 |
| 274 #directory-tree .tree-row > div.root-eject { | 342 #directory-tree .tree-row > div.root-eject { |
| 275 /* The transition commented out to work around crbug.com/157813 */ | 343 /* The transition commented out to work around crbug.com/157813 */ |
| 276 /*-webkit-transition: opacity 70ms linear;*/ | 344 /*-webkit-transition: opacity 70ms linear;*/ |
| 277 background-image: -webkit-image-set( | 345 background-image: -webkit-image-set( |
| 278 url('../images/files/ui/eject.png') 1x, | 346 url('../images/files/ui/eject.png') 1x, |
| 279 url('../images/files/ui/2x/eject.png') 2x); | 347 url('../images/files/ui/2x/eject.png') 2x); |
| 280 background-position: center center; | 348 background-position: center center; |
| 281 background-repeat: no-repeat; | 349 background-repeat: no-repeat; |
| 282 cursor: pointer; | 350 cursor: pointer; |
| 283 height: 20px; | 351 height: 20px; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 303 pointer-events: none; | 371 pointer-events: none; |
| 304 } | 372 } |
| 305 | 373 |
| 306 /* Breadcrumbs and things under the title but above the list view. */ | 374 /* Breadcrumbs and things under the title but above the list view. */ |
| 307 .dialog-header { | 375 .dialog-header { |
| 308 -webkit-box-align: center; | 376 -webkit-box-align: center; |
| 309 -webkit-box-orient: horizontal; | 377 -webkit-box-orient: horizontal; |
| 310 -webkit-margin-end: 7px; | 378 -webkit-margin-end: 7px; |
| 311 -webkit-transition: all 180ms ease; | 379 -webkit-transition: all 180ms ease; |
| 312 display: -webkit-box; | 380 display: -webkit-box; |
| 381 height: 30px; |
| 313 margin-bottom: 7px; | 382 margin-bottom: 7px; |
| 314 margin-top: 7px; | 383 margin-top: 7px; |
| 315 } | 384 } |
| 316 | 385 |
| 386 body[new-ui] .dialog-header { |
| 387 -webkit-app-region: drag; |
| 388 } |
| 389 |
| 390 body[new-ui] .dialog-header #search-box, |
| 391 body[new-ui] .dialog-header #autocomplete-list, |
| 392 body[new-ui] .dialog-header .buttonbar { |
| 393 -webkit-app-region: no-drag; |
| 394 } |
| 395 |
| 317 body[maximized][type='full-page'] .dialog-header { | 396 body[maximized][type='full-page'] .dialog-header { |
| 318 -webkit-padding-end: 75px; | 397 -webkit-padding-end: 75px; |
| 319 } | 398 } |
| 320 | 399 |
| 321 /* Container for the detail and thumbnail list views. */ | 400 /* Container for the detail and thumbnail list views. */ |
| 322 .dialog-body { | 401 .dialog-body { |
| 323 -webkit-box-flex: 1; | 402 -webkit-box-flex: 1; |
| 324 -webkit-box-orient: vertical; | 403 -webkit-box-orient: vertical; |
| 325 -webkit-transition: all 180ms ease; | 404 -webkit-transition: all 180ms ease; |
| 326 border-top: 1px solid #d4d4d4; | 405 border-top: 1px solid #d4d4d4; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 503 |
| 425 /* A single directory name in the list of path breadcrumbs. */ | 504 /* A single directory name in the list of path breadcrumbs. */ |
| 426 .breadcrumb-path { | 505 .breadcrumb-path { |
| 427 color: rgb(38, 86, 146); | 506 color: rgb(38, 86, 146); |
| 428 cursor: pointer; | 507 cursor: pointer; |
| 429 overflow: hidden; | 508 overflow: hidden; |
| 430 text-overflow: ellipsis; | 509 text-overflow: ellipsis; |
| 431 white-space: nowrap; | 510 white-space: nowrap; |
| 432 } | 511 } |
| 433 | 512 |
| 513 body[new-ui] .breadcrumb-path:not(.breadcrumb-last) { |
| 514 -webkit-app-region: no-drag; |
| 515 } |
| 516 |
| 434 #search-breadcrumbs .breadcrumb-path { | 517 #search-breadcrumbs .breadcrumb-path { |
| 435 color: #888; | 518 color: #888; |
| 436 } | 519 } |
| 437 | 520 |
| 438 #search-breadcrumbs .breadcrumb-path:hover { | 521 #search-breadcrumbs .breadcrumb-path:hover { |
| 439 color: #666; | 522 color: #666; |
| 440 } | 523 } |
| 441 | 524 |
| 442 /* The final breadcrumb, representing the current directory. */ | 525 /* The final breadcrumb, representing the current directory. */ |
| 443 .breadcrumb-last { | 526 .breadcrumb-last { |
| 444 color: black; | 527 color: black; |
| 445 cursor: default; | 528 cursor: default; |
| 446 } | 529 } |
| 447 | 530 |
| 448 /* The > arrow between breadcrumbs. */ | 531 /* The > arrow between breadcrumbs. */ |
| 449 | 532 |
| 450 .breadcrumbs .separator { | 533 .breadcrumbs .separator { |
| 451 background-image: -webkit-image-set( | 534 background-image: -webkit-image-set( |
| 452 url('../images/files/ui/breadcrumb-separator.png') 1x, | 535 url('../images/files/ui/breadcrumb-separator.png') 1x, |
| 453 url('../images/files/ui/2x/breadcrumb-separator.png') 2x); | 536 url('../images/files/ui/2x/breadcrumb-separator.png') 2x); |
| 454 background-position: center center; | 537 background-position: center center; |
| 455 background-repeat: no-repeat; | 538 background-repeat: no-repeat; |
| 456 height: 10px; | 539 height: 10px; |
| 457 overflow: hidden; | 540 overflow: hidden; |
| 458 width: 25px; | 541 width: 25px; |
| 459 } | 542 } |
| 460 | 543 |
| 461 .dialog-header div[role=button] { | 544 .dialog-header div[role=button] { |
| 545 -webkit-border-radius: 2px; |
| 462 -webkit-transition: border-color 130ms linear; | 546 -webkit-transition: border-color 130ms linear; |
| 463 background-color: transparent; | 547 background-color: transparent; |
| 464 background-position: center center; | 548 background-position: center center; |
| 465 background-repeat: no-repeat; | 549 background-repeat: no-repeat; |
| 466 border: 1px solid transparent; | 550 border: 1px solid transparent; |
| 467 border-radius: 2px; | |
| 468 height: 29px; | 551 height: 29px; |
| 469 width: 29px; | 552 width: 29px; |
| 470 } | 553 } |
| 471 | 554 |
| 472 .dialog-header div[role=button]:focus { | 555 .dialog-header div[role=button]:focus { |
| 473 -webkit-transition: border-color 200ms; | 556 -webkit-transition: border-color 200ms; |
| 474 border-color: rgb(77, 144, 254); | 557 border-color: rgb(77, 144, 254); |
| 475 outline: none; | 558 outline: none; |
| 476 } | 559 } |
| 477 | 560 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 text-decoration: underline; | 813 text-decoration: underline; |
| 731 } | 814 } |
| 732 | 815 |
| 733 body[type='full-page'] list .filename-label > :hover, | 816 body[type='full-page'] list .filename-label > :hover, |
| 734 .breadcrumb-path:not(.breadcrumb-last):hover, | 817 .breadcrumb-path:not(.breadcrumb-last):hover, |
| 735 .breadcrumb-path.accepts { | 818 .breadcrumb-path.accepts { |
| 736 color: rgb(17, 85, 204); | 819 color: rgb(17, 85, 204); |
| 737 text-decoration: underline; | 820 text-decoration: underline; |
| 738 } | 821 } |
| 739 | 822 |
| 823 body[new-ui][type='full-page'] list .filename-label > :hover { |
| 824 color: inherit; |
| 825 text-decoration: underline; |
| 826 } |
| 827 |
| 740 .breadcrumb-path.accepts { | 828 .breadcrumb-path.accepts { |
| 741 -webkit-animation: acceptsBlinkText 200ms linear 1s 3; | 829 -webkit-animation: acceptsBlinkText 200ms linear 1s 3; |
| 742 } | 830 } |
| 743 | 831 |
| 744 @-webkit-keyframes acceptsBlinkText { | 832 @-webkit-keyframes acceptsBlinkText { |
| 745 0% { | 833 0% { |
| 746 color: white; | 834 color: white; |
| 747 } | 835 } |
| 748 50% { | 836 50% { |
| 749 } | 837 } |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 background-image: none; | 953 background-image: none; |
| 866 border-radius: 0; | 954 border-radius: 0; |
| 867 } | 955 } |
| 868 | 956 |
| 869 #list-container list > [selected], | 957 #list-container list > [selected], |
| 870 #list-container grid > [selected], | 958 #list-container grid > [selected], |
| 871 #default-actions-list > [selected] { | 959 #default-actions-list > [selected] { |
| 872 background-color: #dedede; | 960 background-color: #dedede; |
| 873 } | 961 } |
| 874 | 962 |
| 875 #list-container list > li.table-row[selected], | 963 body[new-ui] #list-container list > [selected], |
| 876 #default-actions-list > li[selected] { | 964 body[new-ui] #list-container grid > [selected], |
| 877 border-top: 1px solid #dedede; | 965 body[new-ui] #default-actions-list > [selected] { |
| 966 background-color: rgb(225, 225, 225); |
| 878 } | 967 } |
| 879 | 968 |
| 880 #list-container list:focus > [selected], | 969 #list-container list:focus > [selected], |
| 881 #list-container grid:focus > [selected], | 970 #list-container grid:focus > [selected], |
| 882 #default-actions-list:focus > [selected] { | 971 #default-actions-list:focus > [selected] { |
| 883 background-color: rgb(203, 219, 241); | 972 background-color: rgb(203, 219, 241); |
| 884 } | 973 } |
| 885 | 974 |
| 886 #list-container list:focus > li.table-row[selected], | 975 body[new-ui] #list-container list:focus > [selected], |
| 887 #default-actions-list:focus > li[selected] { | 976 body[new-ui] #list-container grid:focus > [selected], |
| 888 border-top: 1px solid rgb(224, 233, 247); | 977 body[new-ui] #default-actions-list:focus > [selected] { |
| 978 background-color: rgb(77, 144, 254); |
| 889 } | 979 } |
| 890 | 980 |
| 891 #list-container list > .accepts[selected], | 981 #list-container list > .accepts[selected], |
| 892 #list-container grid > .accepts[selected], | 982 #list-container grid > .accepts[selected], |
| 893 #list-container list > [selected]:hover, | 983 #list-container list > [selected]:hover, |
| 894 #list-container grid > [selected]:hover, | 984 #list-container grid > [selected]:hover, |
| 895 #default-actions-list > [selected]:hover { | 985 #default-actions-list > [selected]:hover { |
| 896 background-color: rgb(193, 211, 236); | 986 background-color: rgb(193, 211, 236); |
| 897 border-color: hsl(214, 91%, 85%); | 987 } |
| 988 |
| 989 body[new-ui] #list-container list > .accepts[selected], |
| 990 body[new-ui] #list-container grid > .accepts[selected], |
| 991 body[new-ui] #list-container list > [selected]:hover, |
| 992 body[new-ui] #list-container grid > [selected]:hover, |
| 993 body[new-ui] #default-actions-list > [selected]:hover { |
| 994 background-color: rgb(215, 215, 215); |
| 995 } |
| 996 |
| 997 body[new-ui] #list-container list:focus > .accepts[selected], |
| 998 body[new-ui] #list-container grid:focus > .accepts[selected], |
| 999 body[new-ui] #list-container list:focus > [selected]:hover, |
| 1000 body[new-ui] #list-container grid:focus > [selected]:hover, |
| 1001 body[new-ui] #default-actions-list:focus > [selected]:hover { |
| 1002 background-color: rgb(48, 125, 254); |
| 898 } | 1003 } |
| 899 | 1004 |
| 900 #list-container list > .accepts, | 1005 #list-container list > .accepts, |
| 901 #list-container grid > .accepts, | 1006 #list-container grid > .accepts, |
| 902 #list-container list > :hover, | 1007 #list-container list > :hover, |
| 903 #list-container grid > :hover, | 1008 #list-container grid > :hover, |
| 904 #default-actions-list > :hover { | 1009 #default-actions-list > :hover { |
| 905 background-color: #f1f1f1; | 1010 background-color: #f1f1f1; |
| 906 border-color: hsl(214, 91%, 85%); | |
| 907 } | 1011 } |
| 908 | 1012 |
| 909 #list-container.nohover list > :not([selected]):hover, | 1013 #list-container.nohover list > :not([selected]):hover, |
| 910 #list-container.nohover grid > :not([selected]):hover, | 1014 #list-container.nohover grid > :not([selected]):hover, |
| 911 #list-container.nohover grid > .accepts { | 1015 #list-container.nohover grid > .accepts { |
| 912 background-color: transparent; | 1016 background-color: transparent; |
| 913 border-color: transparent; | |
| 914 } | 1017 } |
| 915 | 1018 |
| 916 #directory-tree .tree-item.accepts > .tree-row, | 1019 #directory-tree .tree-item.accepts > .tree-row, |
| 917 #list-container list > .accepts, | 1020 #list-container list > .accepts, |
| 918 #list-container grid > .accepts { | 1021 #list-container grid > .accepts { |
| 919 -webkit-animation: acceptsBlink 200ms linear 1s 3; | 1022 -webkit-animation: acceptsBlink 200ms linear 1s 3; |
| 920 } | 1023 } |
| 921 | 1024 |
| 922 @-webkit-keyframes acceptsBlink { | 1025 @-webkit-keyframes acceptsBlink { |
| 923 0% { | 1026 0% { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 .detail-table { | 1078 .detail-table { |
| 976 border: 0; | 1079 border: 0; |
| 977 width: 100%; | 1080 width: 100%; |
| 978 } | 1081 } |
| 979 | 1082 |
| 980 /* Bottom pane describing current selection. */ | 1083 /* Bottom pane describing current selection. */ |
| 981 .preview-panel { | 1084 .preview-panel { |
| 982 -webkit-box-align: center; | 1085 -webkit-box-align: center; |
| 983 -webkit-box-orient: horizontal; | 1086 -webkit-box-orient: horizontal; |
| 984 -webkit-transform: translate(0, 0); | 1087 -webkit-transform: translate(0, 0); |
| 985 background-color: #F0F0F0; | 1088 background-color: #f0f0f0; |
| 986 display: -webkit-box; | 1089 display: -webkit-box; |
| 987 height: 61px; | 1090 height: 61px; |
| 988 opacity: 1; | 1091 opacity: 1; |
| 989 padding: 0 16px 0 7px; | 1092 padding: 0 16px 0 7px; |
| 990 position: relative; | 1093 position: relative; |
| 991 z-index: 3; | 1094 z-index: 3; |
| 992 } | 1095 } |
| 993 | 1096 |
| 1097 body[new-ui] .preview-panel { |
| 1098 background-color: white; |
| 1099 border-top: 1px solid #d4d4d4; |
| 1100 } |
| 1101 |
| 994 .preview-panel[visibility=hiding] { | 1102 .preview-panel[visibility=hiding] { |
| 995 /* Using all seems to cause preview panel and checkbox flicking issue. */ | 1103 /* Using all seems to cause preview panel and checkbox flicking issue. */ |
| 996 -webkit-transform: translate(0, 5px); | 1104 -webkit-transform: translate(0, 5px); |
| 997 -webkit-transition: opacity 220ms ease; | 1105 -webkit-transition: opacity 220ms ease; |
| 998 opacity: 0; | 1106 opacity: 0; |
| 999 } | 1107 } |
| 1000 | 1108 |
| 1001 .preview-panel[visibility=hidden] { | 1109 .preview-panel[visibility=hidden] { |
| 1002 display: none; | 1110 display: none; |
| 1003 opacity: 0; | 1111 opacity: 0; |
| 1004 } | 1112 } |
| 1005 | 1113 |
| 1006 .preview-thumbnails { | 1114 .preview-thumbnails { |
| 1007 -webkit-box-orient: horizontal; | 1115 -webkit-box-orient: horizontal; |
| 1008 display: -webkit-box; | 1116 display: -webkit-box; |
| 1009 padding-left: 39px; | 1117 padding-left: 39px; |
| 1010 } | 1118 } |
| 1011 | 1119 |
| 1012 .preview-thumbnails > .thumbnail { | 1120 .preview-thumbnails > .thumbnail { |
| 1013 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); | 1121 -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); |
| 1014 background-color: #F2F2F2; | 1122 background-color: #f2f2f2; |
| 1015 border: 1px solid #fff; | 1123 border: 1px solid #fff; |
| 1016 height: 45px; | 1124 height: 45px; |
| 1017 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ | 1125 margin: 0 0 0 -39px; /* Show 7 pixels of the overlapped image */ |
| 1018 position: relative; | 1126 position: relative; |
| 1019 width: 45px; | 1127 width: 45px; |
| 1020 } | 1128 } |
| 1021 | 1129 |
| 1130 body[new-ui] .preview-thumbnails > .thumbnail { |
| 1131 background-color: white; |
| 1132 } |
| 1133 |
| 1022 .preview-thumbnails > .thumbnail > .img-container { | 1134 .preview-thumbnails > .thumbnail > .img-container { |
| 1023 background-size: 45px 45px; | 1135 background-size: 45px 45px; |
| 1024 height: 45px; | 1136 height: 45px; |
| 1025 overflow: hidden; | 1137 overflow: hidden; |
| 1026 position: relative; | 1138 position: relative; |
| 1027 width: 45px; | 1139 width: 45px; |
| 1028 } | 1140 } |
| 1029 | 1141 |
| 1030 .preview-thumbnails > .popup { | 1142 .preview-thumbnails > .popup { |
| 1031 -webkit-transform: translate(0, 3px) scale(0.95); | 1143 -webkit-transform: translate(0, 3px) scale(0.95); |
| 1032 background-color: #F2F2F2; | 1144 background-color: #f2f2f2; |
| 1033 border: 2px solid #fff; | 1145 border: 2px solid #fff; |
| 1034 box-shadow: 0 0 0 1px #F0F0F0, | 1146 box-shadow: 0 0 0 1px #F0F0F0, |
| 1035 0 0 0 2px #D0D0D0, | 1147 0 0 0 2px #D0D0D0, |
| 1036 2px 2px 6px rgba(0, 0, 0, 0.2); | 1148 2px 2px 6px rgba(0, 0, 0, 0.2); |
| 1037 margin: 6px 0 0 -40px; | 1149 margin: 6px 0 0 -40px; |
| 1038 opacity: 0; | 1150 opacity: 0; |
| 1039 pointer-events: none; | 1151 pointer-events: none; |
| 1040 position: absolute; | 1152 position: absolute; |
| 1041 z-index: 1; | 1153 z-index: 1; |
| 1042 } | 1154 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1065 border: 0; | 1177 border: 0; |
| 1066 } | 1178 } |
| 1067 | 1179 |
| 1068 /* Table splitter element */ | 1180 /* Table splitter element */ |
| 1069 .table-header-splitter { | 1181 .table-header-splitter { |
| 1070 -webkit-border-start: 1px #d4d4d4 solid; | 1182 -webkit-border-start: 1px #d4d4d4 solid; |
| 1071 background-color: inherit; | 1183 background-color: inherit; |
| 1072 height: 27px; | 1184 height: 27px; |
| 1073 } | 1185 } |
| 1074 | 1186 |
| 1187 body[new-ui] .table-header-splitter { |
| 1188 -webkit-border-start: none; |
| 1189 height: 40px; |
| 1190 width: 10px; |
| 1191 } |
| 1192 |
| 1075 /* Container for a table header. */ | 1193 /* Container for a table header. */ |
| 1076 .table-header { | 1194 .table-header { |
| 1077 -webkit-box-sizing: border-box; | 1195 -webkit-box-sizing: border-box; |
| 1078 background-color: #f5f5f5; | 1196 background-color: #f5f5f5; |
| 1079 border-bottom: 1px #d2d2d2 solid; | 1197 border-bottom: 1px #d2d2d2 solid; |
| 1080 height: 27px; | 1198 height: 27px; |
| 1081 } | 1199 } |
| 1082 | 1200 |
| 1201 body[new-ui] .table-header { |
| 1202 background-color: transparent; |
| 1203 border-bottom: none; |
| 1204 height: 40px; |
| 1205 } |
| 1206 |
| 1083 .table-header-sort-image-desc::after { | 1207 .table-header-sort-image-desc::after { |
| 1084 -webkit-padding-start: 13px; | 1208 -webkit-padding-start: 13px; |
| 1085 background-image: -webkit-image-set( | 1209 background-image: -webkit-image-set( |
| 1086 url('../images/files/ui/sort_desc.png') 1x, | 1210 url('../images/files/ui/sort_desc.png') 1x, |
| 1087 url('../images/files/ui/2x/sort_desc.png') 2x); | 1211 url('../images/files/ui/2x/sort_desc.png') 2x); |
| 1088 background-position: center center; | 1212 background-position: center center; |
| 1089 background-repeat: no-repeat; | 1213 background-repeat: no-repeat; |
| 1090 color: #888; | 1214 color: #888; |
| 1091 content: '\00a0'; | 1215 content: '\00a0'; |
| 1092 position: relative; | 1216 position: relative; |
| 1093 top: 1px; | 1217 top: 1px; |
| 1094 } | 1218 } |
| 1095 | 1219 |
| 1096 .table-header-sort-image-asc::after { | 1220 .table-header-sort-image-asc::after { |
| 1097 -webkit-padding-start: 13px; | 1221 -webkit-padding-start: 13px; |
| 1098 background-image: -webkit-image-set( | 1222 background-image: -webkit-image-set( |
| 1099 url('../images/files/ui/sort_asc.png') 1x, | 1223 url('../images/files/ui/sort_asc.png') 1x, |
| 1100 url('../images/files/ui/2x/sort_asc.png') 2x); | 1224 url('../images/files/ui/2x/sort_asc.png') 2x); |
| 1101 background-position: center center; | 1225 background-position: center center; |
| 1102 background-repeat: no-repeat; | 1226 background-repeat: no-repeat; |
| 1103 color: #888; | 1227 color: #888; |
| 1104 content: '\00a0'; | 1228 content: '\00a0'; |
| 1105 position: relative; | 1229 position: relative; |
| 1106 top: -1px; | 1230 top: -1px; |
| 1107 } | 1231 } |
| 1108 | 1232 |
| 1109 | |
| 1110 .preview-container .table-header { | 1233 .preview-container .table-header { |
| 1111 border-radius: 0 4px 0 0; | 1234 border-radius: 0 4px 0 0; |
| 1112 } | 1235 } |
| 1113 | 1236 |
| 1114 /* Text label in a table header. */ | 1237 /* Text label in a table header. */ |
| 1115 .table-header-label { | 1238 .table-header-label { |
| 1116 line-height: 27px; | 1239 line-height: 27px; |
| 1117 } | 1240 } |
| 1118 | 1241 |
| 1242 body[new-ui] .table-header-label { |
| 1243 color: rgb(100, 100, 100); |
| 1244 line-height: 40px; |
| 1245 } |
| 1246 |
| 1119 .table-row-cell > * { | 1247 .table-row-cell > * { |
| 1120 -webkit-box-align: center; | 1248 -webkit-box-align: center; |
| 1121 -webkit-box-flex: 1; | 1249 -webkit-box-flex: 1; |
| 1122 -webkit-box-orient: horizontal; | 1250 -webkit-box-orient: horizontal; |
| 1123 margin: 0; | 1251 margin: 0; |
| 1124 padding: 0 10px; | 1252 padding: 0 10px; |
| 1125 } | 1253 } |
| 1126 | 1254 |
| 1255 body[new-ui] .table-row-cell { |
| 1256 color: rgb(100, 100, 100); |
| 1257 } |
| 1258 |
| 1127 .table-row-cell > .detail-name { | 1259 .table-row-cell > .detail-name { |
| 1128 display: -webkit-box; | 1260 display: -webkit-box; |
| 1129 } | 1261 } |
| 1130 | 1262 |
| 1263 body[new-ui] .table-row-cell > .detail-name { |
| 1264 color: rgb(0, 0, 0); |
| 1265 } |
| 1266 |
| 1267 |
| 1268 body[new-ui] #list-container list:focus > [selected] .table-row-cell, |
| 1269 body[new-ui] #list-container list:focus > [selected] .detail-name { |
| 1270 color: white; |
| 1271 } |
| 1272 |
| 1131 .table-row-cell { | 1273 .table-row-cell { |
| 1132 -webkit-box-align: center; | 1274 -webkit-box-align: center; |
| 1133 } | 1275 } |
| 1134 | 1276 |
| 1135 .file-checkbox { | 1277 .file-checkbox { |
| 1136 -webkit-margin-end: 0; | 1278 -webkit-margin-end: 0; |
| 1137 -webkit-margin-start: 0; | 1279 -webkit-margin-start: 0; |
| 1138 position: relative; | 1280 position: relative; |
| 1139 z-index: 2; | 1281 z-index: 2; |
| 1140 } | 1282 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1154 } | 1296 } |
| 1155 | 1297 |
| 1156 #list-container li.table-row[selected] .file-checkbox, | 1298 #list-container li.table-row[selected] .file-checkbox, |
| 1157 #list-container li.table-row[selected] .pin, | 1299 #list-container li.table-row[selected] .pin, |
| 1158 #list-container li.thumbnail-item[selected] .file-checkbox { | 1300 #list-container li.thumbnail-item[selected] .file-checkbox { |
| 1159 opacity: 1.0 !important; | 1301 opacity: 1.0 !important; |
| 1160 } | 1302 } |
| 1161 | 1303 |
| 1162 #list-container li.table-row, | 1304 #list-container li.table-row, |
| 1163 #default-actions-list li { | 1305 #default-actions-list li { |
| 1164 border: none; | 1306 border: 1px solid white; |
| 1165 border-top: 1px solid transparent; | 1307 border-left-width: 0; |
| 1308 border-right-width: 0; |
| 1166 height: 39px; | 1309 height: 39px; |
| 1167 padding-bottom: 1px; | 1310 padding-bottom: 1px; |
| 1168 padding-top: 1px; | 1311 padding-top: 1px; |
| 1169 } | 1312 } |
| 1170 | 1313 |
| 1314 body[new-ui] #list-container li.table-row { |
| 1315 height: 30px; |
| 1316 } |
| 1317 |
| 1171 /* The icon in the name column. See file_types.css for specific icons. */ | 1318 /* The icon in the name column. See file_types.css for specific icons. */ |
| 1172 .detail-icon { | 1319 .detail-icon { |
| 1173 height: 24px; | 1320 height: 24px; |
| 1174 width: 24px; | 1321 width: 24px; |
| 1175 } | 1322 } |
| 1176 | 1323 |
| 1177 .metadata-item { | 1324 .metadata-item { |
| 1178 -webkit-box-flex: 1; | 1325 -webkit-box-flex: 1; |
| 1179 -webkit-box-orient: horizontal; | 1326 -webkit-box-orient: horizontal; |
| 1180 -webkit-padding-start: 8px; | 1327 -webkit-padding-start: 8px; |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1680 } | 1827 } |
| 1681 | 1828 |
| 1682 #list-container .table-header-inner { | 1829 #list-container .table-header-inner { |
| 1683 height: 100%; | 1830 height: 100%; |
| 1684 } | 1831 } |
| 1685 | 1832 |
| 1686 #list-container .table-header-cell:hover { | 1833 #list-container .table-header-cell:hover { |
| 1687 background-color: #ececec; | 1834 background-color: #ececec; |
| 1688 } | 1835 } |
| 1689 | 1836 |
| 1837 body[new-ui] #list-container .table-header-cell:hover { |
| 1838 background-color: inherit; |
| 1839 } |
| 1840 |
| 1690 button:focus { | 1841 button:focus { |
| 1691 outline-color: rgb(77, 144, 254); | 1842 outline-color: rgb(77, 144, 254); |
| 1692 } | 1843 } |
| 1693 | 1844 |
| 1694 #new-folder { | 1845 #new-folder { |
| 1695 margin-right: 30px; | 1846 margin-right: 30px; |
| 1696 } | 1847 } |
| 1697 | 1848 |
| 1698 #default-action-dialog { | 1849 #default-action-dialog { |
| 1699 min-width: 300px; | 1850 min-width: 300px; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1743 } | 1894 } |
| 1744 | 1895 |
| 1745 list.autocomplete-suggestions[hasElementFocus] > [selected], | 1896 list.autocomplete-suggestions[hasElementFocus] > [selected], |
| 1746 list.autocomplete-suggestions[hasElementFocus] > [lead], | 1897 list.autocomplete-suggestions[hasElementFocus] > [lead], |
| 1747 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], | 1898 list.autocomplete-suggestions:not([hasElementFocus]) > [selected], |
| 1748 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { | 1899 list.autocomplete-suggestions:not([hasElementFocus]) > [lead] { |
| 1749 background-color: rgb(238, 238, 238); | 1900 background-color: rgb(238, 238, 238); |
| 1750 background-image: none; | 1901 background-image: none; |
| 1751 border: 1px solid white; | 1902 border: 1px solid white; |
| 1752 } | 1903 } |
| OLD | NEW |