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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/settings/editFileSystemView.css

Issue 1422703003: [DevTools] Use ListWidget for rendering of EditFileSystemView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved. 2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .header { 7 .file-system-header {
8 padding: 0 0 6px; 8 display: flex;
9 border-bottom: 1px solid #EEEEEE; 9 flex-direction: row;
10 font-size: 18px; 10 align-items: center;
11 font-weight: normal; 11 flex: auto;
12 margin: 10px 0;
12 } 13 }
13 14
14 .blackbox-content-scripts { 15 .file-system-header-text {
15 margin-top: 10px; 16 font-size: 14px;
17 flex: auto;
16 } 18 }
17 19
18 .add-button { 20 .add-button {
19 margin: 10px 0; 21 margin-left: 10px;
20 align-self: flex-start; 22 align-self: flex-start;
21 } 23 }
22 24
23 .blackbox-list { 25 .file-system-list {
24 margin-top: 10px; 26 max-width: 600px;
25 max-width: 500px; 27 flex: auto;
26 flex: 0 1 auto;
27 } 28 }
28 29
29 .blackbox-list-empty { 30 .file-system-list-empty {
30 flex: auto; 31 flex: auto;
31 height: 30px; 32 height: 30px;
32 display: flex; 33 display: flex;
33 align-items: center; 34 align-items: center;
34 justify-content: center; 35 justify-content: center;
35 } 36 }
36 37
37 .blackbox-list-item { 38 .file-system-list-item {
38 padding: 3px 5px 3px 5px; 39 padding: 3px 5px 3px 5px;
39 height: 30px; 40 height: 30px;
40 display: flex; 41 display: flex;
41 align-items: center; 42 align-items: center;
42 position: relative;
43 flex: auto 1 1; 43 flex: auto 1 1;
44 } 44 }
45 45
46 .blackbox-pattern { 46 .file-system-value {
47 white-space: nowrap; 47 white-space: nowrap;
48 text-overflow: ellipsis; 48 text-overflow: ellipsis;
49 -webkit-user-select: none; 49 -webkit-user-select: none;
50 color: #222; 50 color: #222;
51 flex: auto; 51 flex: 1 1 0px;
52 overflow: hidden;
52 } 53 }
53 54
54 .blackbox-list-item.blackbox-disabled .blackbox-pattern { 55 .file-system-separator {
55 text-decoration: line-through;
56 }
57
58 .blackbox-behavior {
59 flex: 0 0 100px;
60 padding-left: 10px;
61 }
62
63 .blackbox-behavior > select {
64 margin-left: -10px;
65 }
66
67 .blackbox-separator {
68 flex: 0 0 1px; 56 flex: 0 0 1px;
69 background-color: rgb(231, 231, 231); 57 background-color: rgb(231, 231, 231);
70 height: 30px; 58 height: 30px;
71 margin: 0 4px; 59 margin: 0 4px;
72 } 60 }
73 61
74 .blackbox-separator-invisible { 62 .file-system-separator-invisible {
75 visibility: hidden; 63 visibility: hidden;
76 height: 100% !important; 64 height: 100% !important;
77 } 65 }
78 66
79 .blackbox-edit-row { 67 .file-system-edit-row {
80 flex: none; 68 flex: none;
81 display: flex; 69 display: flex;
82 flex-direction: row; 70 flex-direction: row;
83 margin: 6px 5px; 71 margin: 6px 5px;
72 align-items: center;
84 } 73 }
85 74
86 .blackbox-edit-row input, 75 .file-system-edit-row input {
87 .blackbox-edit-row select {
88 width: 100%; 76 width: 100%;
89 text-align: inherit; 77 text-align: inherit;
90 } 78 }
79
80 .file-system-locked {
81 flex: none;
82 visibility: hidden;
83 }
84
85 .file-system-locked:after {
86 content: "\1F512";
87 }
88
89 .file-system-list-item.locked .file-system-locked {
90 visibility: visible;
91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698