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.col-resize * { | 5 html.col-resize * { |
6 cursor: col-resize !important; | 6 cursor: col-resize !important; |
7 } | 7 } |
8 | 8 |
9 /* Outer frame of the dialog. */ | 9 /* Outer frame of the dialog. */ |
10 body { | 10 body { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
203 -webkit-box-flex: 0; | 203 -webkit-box-flex: 0; |
204 cursor: col-resize; | 204 cursor: col-resize; |
205 margin-left: -4px; /* +1px to accomodate the roots list border */ | 205 margin-left: -4px; /* +1px to accomodate the roots list border */ |
206 margin-right: -3px; | 206 margin-right: -3px; |
207 position: relative; | 207 position: relative; |
208 width: 7px; | 208 width: 7px; |
209 z-index: 2; | 209 z-index: 2; |
210 } | 210 } |
211 | 211 |
212 /* Roots list at the left. */ | 212 /* Roots list at the left. */ |
213 list.roots-list { | 213 #roots-list { |
214 border-right: 1px solid #d2d2d2; | 214 border-right: 1px solid rgb(170, 170, 170); |
215 } | 215 } |
216 | 216 |
217 list.roots-list > * { | 217 #roots-list > * { |
218 background-color: #e6e6e6; | 218 background-color: #e6e6e6; |
219 background-image: none; | |
219 border: none; | 220 border: none; |
220 border-radius: 0; | |
221 height: 39px; | 221 height: 39px; |
222 margin: 0; | 222 margin: 0; |
223 padding: 0 5px; | 223 padding: 0 5px; |
224 } | 224 } |
225 | 225 |
226 list.roots-list > .accepts, | 226 #roots-list > :hover { |
227 list.roots-list > [lead][selected], | 227 background-color: rgba(0, 0, 0, 0.05); |
228 list.roots-list > [lead], | 228 border-color: rgba(0, 0, 0, 0.05); |
229 list.roots-list > [selected], | |
230 list.roots-list > [anchor] { | |
231 background-color: rgb(204, 219, 243); | |
232 background-image: none; | |
233 border-bottom: 1px solid rgb(195, 210, 233); | |
234 border-top: 1px solid rgb(195, 210, 233); | |
235 height: 37px; | |
236 } | 229 } |
237 | 230 |
238 list.roots-list > .accepts:hover, | 231 #roots-list > .accepts, |
239 list.roots-list > [lead]:hover, | 232 #roots-list > [lead][selected], |
240 list.roots-list > [lead][selected]:hover, | 233 #roots-list > [lead], |
241 list.roots-list > [selected]:hover, | 234 #roots-list > [selected], |
242 list.roots-list > [anchor]:hover { | 235 #roots-list > [anchor] { |
243 background-color: rgb(193, 211, 236) !important; | 236 background-color: rgb(204, 204, 204); |
244 border-bottom: 1px solid transparent !important; | |
245 border-top: 1px solid transparent !important; | |
246 height: 37px !important; | |
247 } | 237 } |
248 | 238 |
249 list.roots-list li.root-item { | 239 #roots-list > .accepts:hover, |
240 #roots-list > [lead]:hover, | |
241 #roots-list > [lead][selected]:hover, | |
242 #roots-list > [selected]:hover, | |
243 #roots-list > [anchor]:hover { | |
244 background-color: rgb(192, 192, 192); | |
245 } | |
246 | |
247 #roots-list li.root-item { | |
250 -webkit-box-align: center; | 248 -webkit-box-align: center; |
251 display: -webkit-box; | 249 display: -webkit-box; |
252 padding-left: 11px; | 250 padding-left: 11px; |
253 } | 251 } |
254 | 252 |
255 li.root-item > .root-label { | 253 li.root-item > .root-label { |
256 -webkit-box-flex: 1; | 254 -webkit-box-flex: 1; |
257 margin-right: 5px; | 255 margin-right: 5px; |
258 overflow: hidden; | 256 overflow: hidden; |
259 text-overflow: ellipsis; | 257 text-overflow: ellipsis; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
470 [gdata] button.settings:active { | 468 [gdata] button.settings:active { |
471 background-image: url('../images/settings_button_pressed.png'); | 469 background-image: url('../images/settings_button_pressed.png'); |
472 } | 470 } |
473 | 471 |
474 .filelist-panel { | 472 .filelist-panel { |
475 -webkit-box-flex: 1; | 473 -webkit-box-flex: 1; |
476 -webkit-box-orient: vertical; | 474 -webkit-box-orient: vertical; |
477 display: -webkit-box; | 475 display: -webkit-box; |
478 } | 476 } |
479 | 477 |
480 .list-container { | 478 #list-container { |
481 -webkit-box-flex: 1; | 479 -webkit-box-flex: 1; |
482 display: -webkit-box; | 480 display: -webkit-box; |
483 position: relative; | 481 position: relative; |
484 } | 482 } |
485 | 483 |
486 .spinner { | 484 .spinner { |
487 background-image: url(../images/spinner.svg); | 485 background-image: url(../images/spinner.svg); |
488 background-size: 100%; | 486 background-size: 100%; |
489 height: 22px; | 487 height: 22px; |
490 left: 50%; | 488 left: 50%; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
553 overflow: hidden; | 551 overflow: hidden; |
554 position: relative; | 552 position: relative; |
555 width: 112px; | 553 width: 112px; |
556 } | 554 } |
557 | 555 |
558 div.img-container > img { | 556 div.img-container > img { |
559 -webkit-user-drag: none; | 557 -webkit-user-drag: none; |
560 position: absolute; | 558 position: absolute; |
561 } | 559 } |
562 | 560 |
563 .list-container list > *, | 561 #list-container list > *, |
564 .list-container grid > * { | 562 #list-container grid > * { |
565 background-image: none; | 563 background-image: none; |
566 border-radius: 0; | 564 border-radius: 0; |
567 line-height: 30px; | 565 line-height: 30px; |
568 } | 566 } |
569 | 567 |
570 .list-container list > [selected], | 568 #list-container list > [selected], |
571 .list-container grid > [selected] { | 569 #list-container grid > [selected] { |
572 background-color: rgb(203, 219, 241); | 570 background-color: rgb(203, 219, 241); |
573 border-color: rgb(224, 233, 247); | 571 border-top: 1px solid rgb(224, 233, 247); |
574 } | 572 } |
575 | 573 |
576 .list-container list > .accepts[selected], | 574 #list-container list > .accepts[selected], |
577 .list-container grid > .accepts[selected], | 575 #list-container grid > .accepts[selected], |
578 .list-container list > [selected]:hover, | 576 #list-container list > [selected]:hover, |
579 .list-container grid > [selected]:hover { | 577 #list-container grid > [selected]:hover { |
580 background-color: rgb(193, 211, 236); | 578 background-color: rgb(193, 211, 236); |
581 } | 579 } |
582 | 580 |
583 .list-container list > .accepts, | 581 #list-container list > .accepts, |
584 .list-container grid > .accepts, | 582 #list-container grid > .accepts, |
585 .list-container list > :hover, | 583 #list-container list > :hover, |
586 .list-container grid > :hover { | 584 #list-container grid > :hover { |
587 background-color: rgb(242, 246, 250); | 585 background-color: #f1f1f1; |
588 border-color: rgb(242, 246, 250); | |
589 } | 586 } |
590 | 587 |
591 .list-container.nohover list > :not([selected]):hover, | 588 #list-container.nohover list > :not([selected]):hover, |
592 .list-container.nohover grid > :not([selected]):hover { | 589 #list-container.nohover grid > :not([selected]):hover { |
593 background-color: transparent; | 590 background-color: transparent; |
594 border-color: transparent; | 591 border-color: transparent; |
595 } | 592 } |
596 | 593 |
597 .table-row-cell .filename-label, | 594 .table-row-cell .filename-label, |
598 .thumbnail-item .filename-label, | 595 .thumbnail-item .filename-label, |
599 /* Show ellipsis in cells. The name column has different structure and overrides | 596 /* Show ellipsis in cells. The name column has different structure and overrides |
600 this rule. */ | 597 this rule. */ |
601 .table-row-cell > div { | 598 .table-row-cell > div { |
602 display: block; | 599 display: block; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
800 #select-all-checkbox { | 797 #select-all-checkbox { |
801 -webkit-margin-end: 10px; | 798 -webkit-margin-end: 10px; |
802 -webkit-margin-start: 0; | 799 -webkit-margin-start: 0; |
803 margin-bottom: 0; | 800 margin-bottom: 0; |
804 margin-top: 0; | 801 margin-top: 0; |
805 /* 1px below text */ | 802 /* 1px below text */ |
806 position: relative; | 803 position: relative; |
807 top: 1px; | 804 top: 1px; |
808 } | 805 } |
809 | 806 |
810 li.thumbnail-item .file-checkbox { | 807 #list-container li.thumbnail-item .file-checkbox { |
811 -webkit-margin-start: 7px; | 808 -webkit-margin-start: 7px; |
812 margin-top: 6px; | 809 margin-top: 6px; |
813 opacity: 0; | 810 opacity: 0; |
814 } | 811 } |
815 | 812 |
816 li.table-row:hover .file-checkbox, | 813 #list-container li.table-row:hover .file-checkbox, |
817 li.table-row:hover .pin, | 814 #list-container li.table-row:hover .pin, |
818 li.thumbnail-item:hover .file-checkbox { | 815 #list-container li.thumbnail-item:hover .file-checkbox { |
819 opacity: 0.5; | 816 opacity: 0.5; |
820 } | 817 } |
821 | 818 |
822 .file-checkbox:hover, | 819 .file-checkbox:hover, |
823 .pin:hover, | 820 .pin:hover, |
824 li.table-row[selected] .file-checkbox, | 821 #list-container li.table-row[selected] .file-checkbox, |
825 li.table-row[selected] .pin, | 822 #list-container li.table-row[selected] .pin, |
826 li.table-row .pin:checked, | 823 #list-container li.table-row .pin:checked, |
827 li.thumbnail-item[selected] .file-checkbox { | 824 #list-container li.thumbnail-item[selected] .file-checkbox { |
828 opacity: 1 !important; | 825 opacity: 1 !important; |
829 } | 826 } |
830 | 827 |
831 li.table-row { | 828 #list-container li { |
Vladislav Kaznacheev
2012/04/28 14:07:53
This style will be applied to grid items as well.
Dmitry Zvorygin
2012/04/28 14:21:55
Done.
| |
832 line-height: 38px; | 829 border: none; |
830 border-top: 1px solid transparent; | |
831 line-height: 39px; | |
833 padding-bottom: 1px; | 832 padding-bottom: 1px; |
834 padding-top: 1px; | 833 padding-top: 1px; |
835 } | 834 } |
836 | 835 |
837 /* The icon in the name column. */ | 836 /* The icon in the name column. */ |
838 .detail-icon { | 837 .detail-icon { |
839 background-image: url(../images/filetype_generic.png); | 838 background-image: url(../images/filetype_generic.png); |
840 background-position: center; | 839 background-position: center; |
841 background-repeat: no-repeat; | 840 background-repeat: no-repeat; |
842 height: 24px; | 841 height: 24px; |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1159 } | 1158 } |
1160 | 1159 |
1161 body[ash] .dialog-title, | 1160 body[ash] .dialog-title, |
1162 body[type='full-page'] [invisibleif='full-page'], | 1161 body[type='full-page'] [invisibleif='full-page'], |
1163 body:not([type='full-page']) [visibleif='full-page'], | 1162 body:not([type='full-page']) [visibleif='full-page'], |
1164 body:not([type='saveas-file']) [visibleif='saveas-file'], | 1163 body:not([type='saveas-file']) [visibleif='saveas-file'], |
1165 body:not([type='saveas-file']):not([type='full-page']) | 1164 body:not([type='saveas-file']):not([type='full-page']) |
1166 [visibleif='saveas-file full-page'] { | 1165 [visibleif='saveas-file full-page'] { |
1167 display: none; | 1166 display: none; |
1168 } | 1167 } |
OLD | NEW |