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

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

Issue 9958101: [WebUI] Fix rest of CSS style nits in misc. dirs so I can turn on CSS checker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing .py files Created 8 years, 8 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
OLDNEW
1 /* 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 * 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
4 * found in the LICENSE file. 3 * found in the LICENSE file.
5 */ 4 */
Evan Stade 2012/04/03 02:59:48 :.(
Dan Beam 2012/04/03 04:15:06 Done.
6 5
7 body { 6 body {
8 margin: 10px; 7 margin: 10px;
9 min-width: 47em; 8 min-width: 47em;
10 } 9 }
11 10
12 a { 11 a {
13 color: blue; 12 color: blue;
14 font-size: 103%; 13 font-size: 103%;
15 } 14 }
16 15
17 div#header { 16 div#header {
17 -webkit-padding-start: 0;
18 box-sizing: border-box;
18 margin-bottom: 1.05em; 19 margin-bottom: 1.05em;
19 /* 67px is the height of the header's background image. */ 20 /* 67px is the height of the header's background image. */
20 min-height: 67px; 21 min-height: 67px;
21 overflow: hidden; 22 overflow: hidden;
22 padding-bottom: 20px; 23 padding-bottom: 20px;
23 -webkit-padding-start: 0;
24 padding-top: 20px; 24 padding-top: 20px;
25 position: relative; 25 position: relative;
26 box-sizing: border-box;
27 } 26 }
28 27
29 #header h1 { 28 #header h1 {
30 background: url('../../app/theme/extensions_section.png') 0 20px no-repeat; 29 background: url('../../app/theme/extensions_section.png') 0 20px no-repeat;
31 display: inline; 30 display: inline;
32 margin: 0; 31 margin: 0;
33 padding-bottom: 20px; 32 padding-bottom: 20px;
34 padding-left: 75px; 33 padding-left: 75px;
35 padding-top: 40px; 34 padding-top: 40px;
36 } 35 }
37 36
38 html[dir=rtl] #header h1 { 37 html[dir=rtl] #header h1 {
39 background: url('../../app/theme/extensions_section.png') right no-repeat; 38 background: url('../../app/theme/extensions_section.png') right no-repeat;
39 padding-left: 0;
40 padding-right: 95px; 40 padding-right: 95px;
41 padding-left: 0;
42 } 41 }
43 42
44 h1 { 43 h1 {
45 font-size: 156%; 44 font-size: 156%;
46 font-weight: bold; 45 font-weight: bold;
46 margin: 0;
47 padding: 0; 47 padding: 0;
48 margin: 0;
49 } 48 }
50 49
51 #disabled-container { 50 #disabled-container {
51 font-size: 120%;
52 padding-bottom: 1.5em; 52 padding-bottom: 1.5em;
53 font-size: 120%;
54 } 53 }
55 54
56 #disabled-header { 55 #disabled-header {
57 color: red; 56 color: red;
58 font-weight: bold; 57 font-weight: bold;
59 } 58 }
60 59
61 div.content { 60 div.content {
62 font-size: 88%; 61 font-size: 88%;
63 margin-top: 5px; 62 margin-top: 5px;
64 } 63 }
65 64
66 .section-header { 65 .section-header {
67 background: #ebeff9; 66 -webkit-padding-start: 5px;
68 border-top: 1px solid #b5c7de; 67 background: rgb(235, 239, 249);
68 border-top: 1px solid rgb(181, 199, 222);
69 font-size: 99%; 69 font-size: 99%;
70 padding-bottom: 2px; 70 padding-bottom: 2px;
71 -webkit-padding-start: 5px;
72 padding-top: 3px; 71 padding-top: 3px;
73 width: 100%; 72 width: 100%;
74 } 73 }
75 74
76 .section-header > table tr td:first-child { 75 .section-header > table tr td:first-child {
77 width: 100%; 76 width: 100%;
78 } 77 }
79 78
80 .section-header > table { 79 .section-header > table {
81 width: 100%; 80 width: 100%;
82 } 81 }
83 82
84 .section-header-title { 83 .section-header-title {
85 font-weight: bold; 84 font-weight: bold;
86 } 85 }
87 86
88 .vbox-container { 87 .vbox-container {
88 -webkit-box-orient: vertical;
89 display: -webkit-box; 89 display: -webkit-box;
90 -webkit-box-orient: vertical;
91 } 90 }
92 91
93 .wbox { 92 .wbox {
94 display: -webkit-box;
95 -webkit-box-align: stretch; 93 -webkit-box-align: stretch;
96 -webkit-box-flex: 1; 94 -webkit-box-flex: 1;
95 display: -webkit-box;
97 } 96 }
98 97
99 #top { 98 #top {
100 -webkit-padding-end: 5px; 99 -webkit-padding-end: 5px;
101 } 100 }
102 101
103 .showInTmiMode { 102 .show-in-tmi-mode {
104 overflow: hidden; 103 overflow: hidden;
105 } 104 }
106 105
107 body.hideTmiModeInitial .showInTmiMode { 106 body.hide-tmi-mode-initial .show-in-tmi-mode {
108 height: 0 !important; 107 height: 0 !important;
109 opacity: 0; 108 opacity: 0;
110 } 109 }
111 110
112 body.hideTmiMode .showInTmiMode { 111 body.hide-tmi-mode .show-in-tmi-mode {
112 -webkit-transition: all 100ms ease-out;
113 height: 0 !important; 113 height: 0 !important;
114 opacity: 0; 114 opacity: 0;
115 -webkit-transition: all 100ms ease-out;
116 } 115 }
117 116
118 body.showTmiModeInitial .showInTmiMode { 117 body.show-tmi-mode-initial .show-in-tmi-mode {
119 opacity: 1; 118 opacity: 1;
120 } 119 }
121 120
122 body.showTmiMode .showInTmiMode { 121 body.show-tmi-mode .show-in-tmi-mode {
122 -webkit-transition: all 100ms ease-in;
123 opacity: 1; 123 opacity: 1;
124 -webkit-transition: all 100ms ease-in;
125 } 124 }
126 125
127 .wbox-tmi-mode { 126 .wbox-tmi-mode {
128 -webkit-box-align: stretch; 127 -webkit-box-align: stretch;
129 -webkit-box-flex: 1; 128 -webkit-box-flex: 1;
130 } 129 }
131 130
132 .tmi-mode-image { 131 .tmi-mode-image {
133 margin-top: 2px; 132 margin-top: 2px;
134 padding-left: 5px; 133 padding-left: 5px;
135 padding-right: 5px; 134 padding-right: 5px;
136 } 135 }
137 136
138 .tmi-mode-link { 137 .tmi-mode-link {
139 margin-right: 3px; 138 margin-right: 3px;
140 white-space: nowrap; 139 white-space: nowrap;
141 } 140 }
142 141
143 .tmi-mode-link a { 142 .tmi-mode-link a {
144 font-size: 97%; 143 font-size: 97%;
145 } 144 }
146 145
147 .tmi-mode { 146 .tmi-mode {
148 background: #f4f6fc; 147 -webkit-padding-start: 10px;
149 border-bottom: 1px solid #edeff5; 148 background: rgb(244, 246, 252);
149 border-bottom: 1px solid rgb(237, 239, 245);
150 font-size: 89%; 150 font-size: 89%;
151 padding-bottom: 0.8em; 151 padding-bottom: 0.8em;
152 -webkit-padding-start: 10px;
153 padding-top: 0.8em; 152 padding-top: 0.8em;
154 width: 100%; 153 width: 100%;
155 } 154 }
156 155
157 .plugin-disabled > td { 156 .plugin-disabled > td {
158 background-color: #f0f0f0; 157 background-color: #f0f0f0;
159 color: #a0a0a0; 158 color: #a0a0a0;
160 padding-bottom: 4px; 159 padding-bottom: 4px;
161 padding-top: 5px; 160 padding-top: 5px;
162 } 161 }
163 162
164 .plugin-enabled > td { 163 .plugin-enabled > td {
165 padding-bottom: 4px; 164 padding-bottom: 4px;
166 padding-top: 5px; 165 padding-top: 5px;
167 } 166 }
168 167
169 .plugin-file-disabled { 168 .plugin-file-disabled {
170 background-color: #f0f0f0; 169 background-color: #f0f0f0;
171 color: #a0a0a0; 170 color: #a0a0a0;
171 padding-bottom: 5px;
172 padding-top: 5px; 172 padding-top: 5px;
173 padding-bottom: 5px;
174 } 173 }
175 174
176 .plugin-file-enabled { 175 .plugin-file-enabled {
176 padding-bottom: 5px;
177 padding-top: 5px; 177 padding-top: 5px;
178 padding-bottom: 5px;
179 } 178 }
180 179
181 .plugin { 180 .plugin {
182 border-bottom: 1px solid #cdcdcd; 181 border-bottom: 1px solid #cdcdcd;
183 } 182 }
184 183
185 .critical { 184 .critical {
186 color: red; 185 color: red;
187 } 186 }
188 187
189 /* Indent the text related to each plug-in. */ 188 /* Indent the text related to each plug-in. */
190 .plugin-text { 189 .plugin-text {
191 -webkit-padding-start: 5px; 190 -webkit-padding-start: 5px;
192 } 191 }
193 192
194 .plugin-name { 193 .plugin-name {
195 font-weight: bold; 194 font-weight: bold;
196 } 195 }
197 196
198 .no-plugins { 197 .no-plugins {
198 font-size: 1.2em;
199 margin: 6em 0 0; 199 margin: 6em 0 0;
200 text-align: center; 200 text-align: center;
201 font-size: 1.2em;
202 } 201 }
203 202
204 /* Use tables for layout, so eliminate extra spacing. */ 203 /* Use tables for layout, so eliminate extra spacing. */
205 .plugin-details table { 204 .plugin-details table {
206 -webkit-border-horizontal-spacing: 0; 205 -webkit-border-horizontal-spacing: 0;
207 -webkit-border-vertical-spacing: 0; 206 -webkit-border-vertical-spacing: 0;
208 } 207 }
209 208
210 .plugin-details { 209 .plugin-details {
211 -webkit-padding-start: 1em; 210 -webkit-padding-start: 1em;
(...skipping 14 matching lines...) Expand all
226 -webkit-padding-start: 1em; 225 -webkit-padding-start: 1em;
227 } 226 }
228 227
229 /* Make the MIME Types tables smaller. */ 228 /* Make the MIME Types tables smaller. */
230 .plugin-details .mime-types { 229 .plugin-details .mime-types {
231 font-size: 95%; 230 font-size: 95%;
232 } 231 }
233 232
234 /* Separate the header from the contents in each MIME Types table. */ 233 /* Separate the header from the contents in each MIME Types table. */
235 .plugin-details .mime-types .header td { 234 .plugin-details .mime-types .header td {
235 /* border-bottom: 1px solid; */
236 padding-bottom: 0.1em; 236 padding-bottom: 0.1em;
237 border-bottom: 1px solid;
238 } 237 }
239 238
240 /* Separate the columns for tables used for horizontal listings only a bit. */ 239 /* Separate the columns for tables used for horizontal listings only a bit. */
241 .hlisting td+td { 240 .hlisting td+td {
242 -webkit-padding-start: 0.4em; 241 -webkit-padding-start: 0.4em;
243 } 242 }
244 243
245 /* Match the indentation of .plugin-text. */ 244 /* Match the indentation of .plugin-text. */
246 .plugin-actions { 245 .plugin-actions {
247 -webkit-padding-start: 5px; 246 -webkit-padding-start: 5px;
247 margin-bottom: 0.2em;
248 margin-top: 0.2em; 248 margin-top: 0.2em;
249 margin-bottom: 0.2em;
250 } 249 }
251 250
252 .always-allow { 251 .always-allow {
253 -webkit-margin-start: 30px; 252 -webkit-margin-start: 30px;
254 } 253 }
255 254
256 button { 255 button {
257 font-size: 104%; 256 font-size: 104%;
258 } 257 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698