Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / components.css
blob3daafe617c918e181b22aa9d674da9efa7ed54a7
1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 body {
6 margin: 10px;
7 min-width: 47em;
10 a {
11 color: blue;
12 font-size: 103%;
15 #header {
16 -webkit-padding-start: 0;
17 background: url(../../../ui/webui/resources/images/extension.svg)
18 left center / 48px no-repeat;
19 box-sizing: border-box;
20 margin-bottom: 1.05em;
21 overflow: hidden;
22 position: relative;
25 html[dir=rtl] #header {
26 background-position-x: right;
29 #header h1 {
30 -webkit-padding-start: 51px;
31 line-height: 48px;
34 h1 {
35 font-size: 156%;
36 font-weight: bold;
37 margin: 0;
38 padding: 0;
41 #disabled-container {
42 font-size: 120%;
43 padding-bottom: 1.5em;
46 #disabled-header {
47 color: red;
48 font-weight: bold;
51 .content {
52 margin-top: 5px;
55 .section-header {
56 -webkit-padding-start: 5px;
57 background: rgb(235, 239, 249);
58 border-top: 1px solid rgb(181, 199, 222);
59 font-size: 99%;
60 padding-bottom: 2px;
61 padding-top: 3px;
62 width: 100%;
65 .section-header > table tr td:first-child {
66 width: 100%;
69 .section-header > table tr {
70 vertical-align: center;
73 .section-header > table {
74 width: 100%;
75 border-collapse:collapse
78 .section-header-title {
79 font-weight: bold;
82 .vbox-container {
83 -webkit-box-orient: vertical;
84 display: -webkit-box;
87 .wbox {
88 -webkit-box-align: stretch;
89 -webkit-box-flex: 1;
90 display: -webkit-box;
93 #top {
94 -webkit-padding-end: 5px;
97 .show-in-tmi-mode {
98 overflow: hidden;
101 body.hide-tmi-mode-initial .show-in-tmi-mode {
102 height: 0 !important;
103 opacity: 0;
106 body.hide-tmi-mode .show-in-tmi-mode {
107 -webkit-transition: all 100ms ease-out;
108 height: 0 !important;
109 opacity: 0;
112 body.show-tmi-mode-initial .show-in-tmi-mode {
113 opacity: 1;
116 body.show-tmi-mode .show-in-tmi-mode {
117 -webkit-transition: all 100ms ease-in;
118 opacity: 1;
121 .wbox-tmi-mode {
122 -webkit-box-align: stretch;
123 -webkit-box-flex: 1;
126 .tmi-mode-image {
127 margin-top: 2px;
128 padding-left: 5px;
129 padding-right: 5px;
132 .tmi-mode-link {
133 margin-right: 3px;
134 white-space: nowrap;
137 .tmi-mode-link a {
138 font-size: 97%;
141 .tmi-mode {
142 -webkit-padding-start: 10px;
143 background: rgb(244, 246, 252);
144 border-bottom: 1px solid rgb(237, 239, 245);
145 font-size: 89%;
146 padding-bottom: 0.8em;
147 padding-top: 0.8em;
148 width: 100%;
151 .component-disabled {
152 background-color: #f0f0f0;
153 color: #a0a0a0;
156 .component > tr > td {
157 padding-bottom: 4px;
158 padding-top: 5px;
159 vertical-align: top;
162 .component > table {
163 width: 100%;
164 border-collapse:collapse
167 .plugin-file {
168 padding-bottom: 5px;
169 padding-top: 5px;
172 .component {
173 border-bottom: 1px solid #cdcdcd;
176 .critical {
177 color: red;
180 /* Indent the text related to each plug-in. */
181 .component-text {
182 -webkit-padding-start: 5px;
185 .component-name {
186 font-weight: bold;
189 .no-components {
190 font-size: 1.2em;
191 margin: 6em 0 0;
192 text-align: center;
195 /* Use tables for layout, so eliminate extra spacing. */
196 .plugin-details table {
197 -webkit-border-horizontal-spacing: 0;
198 -webkit-border-vertical-spacing: 0;
201 .plugin-details {
202 -webkit-padding-start: 1em;
205 /* Separate the inital line, Description, Location, and MIME Types lines. */
206 .plugin-details > div {
207 padding-top: 0.1em
210 /* Align rows of tables along the top. */
211 .plugin-details tr {
212 vertical-align: top;
215 /* Separate columns by 1em for the most part. */
216 .plugin-details td+td {
217 -webkit-padding-start: 1em;
220 /* Make the MIME Types tables smaller. */
221 .plugin-details .mime-types {
222 font-size: 95%;
225 /* Separate the header from the contents in each MIME Types table. */
226 .plugin-details .mime-types .header td {
227 border-bottom: 1px solid black;
228 padding-bottom: 0.1em;
231 /* Separate the columns for tables used for horizontal listings only a bit. */
232 .hlisting td+td {
233 -webkit-padding-start: 0.4em;
236 /* Match the indentation of .plugin-text. */
237 .component-actions {
238 -webkit-padding-start: 5px;
239 margin-bottom: 0.2em;
240 margin-top: 0.2em;
243 .always-allow {
244 -webkit-margin-start: 30px;
247 button {
248 font-size: 104%;