Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: chrome/browser/resources/file_manager/css/file_manager.css

Issue 10221035: FileBrowser: tuned colors according to mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with master. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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);
574 } 571 }
575 572
576 .list-container list > .accepts[selected], 573 #list-container list > li.table-row[selected] {
577 .list-container grid > .accepts[selected], 574 border-top: 1px solid rgb(224, 233, 247);
578 .list-container list > [selected]:hover, 575 }
579 .list-container grid > [selected]:hover { 576
577 #list-container list > .accepts[selected],
578 #list-container grid > .accepts[selected],
579 #list-container list > [selected]:hover,
580 #list-container grid > [selected]:hover {
580 background-color: rgb(193, 211, 236); 581 background-color: rgb(193, 211, 236);
581 } 582 }
582 583
583 .list-container list > .accepts, 584 #list-container list > .accepts,
584 .list-container grid > .accepts, 585 #list-container grid > .accepts,
585 .list-container list > :hover, 586 #list-container list > :hover,
586 .list-container grid > :hover { 587 #list-container grid > :hover {
587 background-color: rgb(242, 246, 250); 588 background-color: #f1f1f1;
588 border-color: rgb(242, 246, 250);
589 } 589 }
590 590
591 .list-container.nohover list > :not([selected]):hover, 591 #list-container.nohover list > :not([selected]):hover,
592 .list-container.nohover grid > :not([selected]):hover { 592 #list-container.nohover grid > :not([selected]):hover {
593 background-color: transparent; 593 background-color: transparent;
594 border-color: transparent; 594 border-color: transparent;
595 } 595 }
596 596
597 .table-row-cell .filename-label, 597 .table-row-cell .filename-label,
598 .thumbnail-item .filename-label, 598 .thumbnail-item .filename-label,
599 /* Show ellipsis in cells. The name column has different structure and overrides 599 /* Show ellipsis in cells. The name column has different structure and overrides
600 this rule. */ 600 this rule. */
601 .table-row-cell > div { 601 .table-row-cell > div {
602 display: block; 602 display: block;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 #select-all-checkbox { 800 #select-all-checkbox {
801 -webkit-margin-end: 10px; 801 -webkit-margin-end: 10px;
802 -webkit-margin-start: 0; 802 -webkit-margin-start: 0;
803 margin-bottom: 0; 803 margin-bottom: 0;
804 margin-top: 0; 804 margin-top: 0;
805 /* 1px below text */ 805 /* 1px below text */
806 position: relative; 806 position: relative;
807 top: 1px; 807 top: 1px;
808 } 808 }
809 809
810 li.thumbnail-item .file-checkbox { 810 #list-container li.thumbnail-item .file-checkbox {
811 -webkit-margin-start: 7px; 811 -webkit-margin-start: 7px;
812 margin-top: 6px; 812 margin-top: 6px;
813 opacity: 0; 813 opacity: 0;
814 } 814 }
815 815
816 li.table-row:hover .file-checkbox, 816 #list-container li.table-row:hover .file-checkbox,
817 li.table-row:hover .pin, 817 #list-container li.table-row:hover .pin,
818 li.thumbnail-item:hover .file-checkbox { 818 #list-container li.thumbnail-item:hover .file-checkbox {
819 opacity: 0.5; 819 opacity: 0.5;
820 } 820 }
821 821
822 .file-checkbox:hover, 822 .file-checkbox:hover,
823 .pin:hover, 823 .pin:hover,
824 li.table-row[selected] .file-checkbox, 824 #list-container li.table-row[selected] .file-checkbox,
825 li.table-row[selected] .pin, 825 #list-container li.table-row[selected] .pin,
826 li.table-row .pin:checked, 826 #list-container li.table-row .pin:checked,
827 li.thumbnail-item[selected] .file-checkbox { 827 #list-container li.thumbnail-item[selected] .file-checkbox {
828 opacity: 1 !important; 828 opacity: 1 !important;
829 } 829 }
830 830
831 li.table-row { 831 #list-container li.table-row {
832 line-height: 38px; 832 border: none;
833 border-top: 1px solid transparent;
834 line-height: 39px;
833 padding-bottom: 1px; 835 padding-bottom: 1px;
834 padding-top: 1px; 836 padding-top: 1px;
835 } 837 }
836 838
837 /* The icon in the name column. */ 839 /* The icon in the name column. */
838 .detail-icon { 840 .detail-icon {
839 background-image: url(../images/filetype_generic.png); 841 background-image: url(../images/filetype_generic.png);
840 background-position: center; 842 background-position: center;
841 background-repeat: no-repeat; 843 background-repeat: no-repeat;
842 height: 24px; 844 height: 24px;
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 } 1174 }
1173 1175
1174 #gdata-settings img { 1176 #gdata-settings img {
1175 margin-left: 12px; 1177 margin-left: 12px;
1176 } 1178 }
1177 1179
1178 #gdata-settings span.disclosureindicator { 1180 #gdata-settings span.disclosureindicator {
1179 float: none; 1181 float: none;
1180 margin-left: 1px; 1182 margin-left: 1px;
1181 } 1183 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698