summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/flags.css
blob: 6bae533168f0e308af76e086064b7d4eb39523d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

body {
  margin: 10px 10px 0;
<if expr="not is_android and not is_ios">
  min-width: 47em;
</if>
  /* Should be larger than the evaluated height of needs-restart. */
  padding-bottom: 100px;
}

a {
  color: blue;
  font-size: 103%;
}

.permalink {
  color: #A0A0A0;
}

#header {
  -webkit-padding-start: 75px;
  background: -webkit-image-set(
      url(../../app/theme/default_100_percent/flags_section.png) 1x,
      url(../../app/theme/default_200_percent/flags_section.png) 2x)
      no-repeat left center;
  box-sizing: border-box;
  display: table;
  margin-bottom: 1.05em;
  /* 67px is the height of the header's image. */
  min-height: 67px;
  overflow: hidden;
  position: relative;
}

#title-spacer {
  display: table-cell;
  vertical-align: middle;
}

html[dir=rtl] #header {
  background-position: right center;
}

h1 {
  font-size: 156%;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.blurb-container {
  font-size: 120%;
  padding-bottom: 1.5em;
}

#blurb-warning {
  color: red;
  font-weight: bold;
}

div.content {
  font-size: 88%;
  margin: 5px auto 10px;
}

div.content:last-of-type {
  margin-bottom: 0;
}

.section-header {
  background: rgb(235, 239, 249);
  border-top: 1px solid rgb(181, 199, 222);
  font-size: 99%;
  padding: 2px 5px 3px;
  width: 100%;
}

.section-header > table tr td:first-child {
  width: 100%;
}

.section-header > table {
  width: 100%;
}

.section-header-title {
  font-weight: bold;
  line-height: 200%;
}

#experiment-reset-all {
  float: right;
}

html[dir=rtl] #experiment-reset-all {
  float: left;
}

.vbox-container {
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.wbox {
  -webkit-box-align: stretch;
  -webkit-box-flex: 1;
  display: -webkit-box;
}

#top {
  -webkit-padding-end: 5px;
}

/* Disabled and unsupported experiments display grey text on a grey background.
   The title, however, should remain legible. */

.experiment-unsupported > td,
.experiment-disabled > td {
  background: #F0F0F0;
  color: #A0A0A0;
}

.experiment-unsupported .experiment-name,
.experiment-disabled .experiment-name {
  color: #000;
}

.experiment {
  border-bottom: 1px solid #cdcdcd;
}

.experiment td {
  padding-bottom: 4px;
  padding-top: 5px;
}

/* Indent the text related to each experiment. */
.experiment-text {
  -webkit-padding-start: 5px;
}

.experiment-name {
  font-weight: bold;
}

.referenced .experiment-name {
  background-color: rgb(255, 255, 0);
}

.no-experiments {
  font-size: 1.2em;
  margin: 6em 0;
  text-align: center;
}

/* Match the indentation of .experiment-text. */
.experiment-actions {
  -webkit-padding-start: 5px;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}

div.needs-restart {
  /* If you modify properties that change the height of this,
   * update body.padding-bottom. */
  background: #FFF;
  border-top: 1px solid rgb(181, 199, 222);
  bottom: 0;
  box-shadow: 0 -2px 2px #ddd;
  box-sizing: border-box;
  left: 0;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  position: fixed;
  width: 100%;
}

.experiment-restart-button {
  -webkit-user-select: none;
  background: rgb(76, 142, 250);
  border: 0;
  border-radius: 2px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  margin-top: 10px;
  padding: 10px 24px;
  text-transform: uppercase;
  transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

button {
  font-size: 104%;
}