OLD | NEW |
---|---|
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 a { | 5 a { |
6 color: #585858; | 6 color: #585858; |
7 } | 7 } |
8 | 8 |
9 body { | 9 body { |
10 background: rgb(247, 247, 247); | 10 background: rgb(247, 247, 247); |
(...skipping 28 matching lines...) Expand all Loading... | |
39 button:active { | 39 button:active { |
40 background: rgb(50, 102, 213); | 40 background: rgb(50, 102, 213); |
41 } | 41 } |
42 | 42 |
43 button:hover { | 43 button:hover { |
44 box-shadow: 0 1px 3px rgba(0, 0, 0, .50); | 44 box-shadow: 0 1px 3px rgba(0, 0, 0, .50); |
45 } | 45 } |
46 | 46 |
47 #details { | 47 #details { |
48 color: #696969; | 48 color: #696969; |
49 margin: 45px 0 150px 0; | 49 margin: 45px 0 50px 0; |
Dan Beam
2014/06/17 18:07:23
did this ever work in RTL? can you try the code?
felt
2014/06/17 18:25:52
this specifies the top and bottom margins, with bo
Dan Beam
2014/06/17 18:28:31
oh, sorry, i just misread.
FYI: this could be
felt
2014/06/17 18:29:39
Done.
| |
50 } | 50 } |
51 | 51 |
52 #details p:not(:first-of-type) { | 52 #details p:not(:first-of-type) { |
53 margin-top: 39px; | 53 margin-top: 39px; |
54 } | 54 } |
55 | 55 |
56 #error-code { | 56 #error-code { |
57 color: black; | 57 color: black; |
58 opacity: .35; | 58 opacity: .35; |
59 text-transform: uppercase; | 59 text-transform: uppercase; |
(...skipping 21 matching lines...) Expand all Loading... | |
81 | 81 |
82 .interstitial-wrapper { | 82 .interstitial-wrapper { |
83 box-sizing: border-box; | 83 box-sizing: border-box; |
84 font-size: 1em; | 84 font-size: 1em; |
85 line-height: 1.6em; | 85 line-height: 1.6em; |
86 margin: 100px auto 0; | 86 margin: 100px auto 0; |
87 max-width: 600px; | 87 max-width: 600px; |
88 width: 100%; | 88 width: 100%; |
89 } | 89 } |
90 | 90 |
91 #malware-optin { | |
92 font-size: .875em; | |
93 margin-top: 39px; | |
94 } | |
95 | |
91 .nav-wrapper { | 96 .nav-wrapper { |
92 margin-top: 84px; | 97 margin-top: 51px; |
93 } | 98 } |
94 | 99 |
95 .nav-wrapper::after { | 100 .nav-wrapper::after { |
96 clear: both; | 101 clear: both; |
97 content: ''; | 102 content: ''; |
98 display: table; | 103 display: table; |
99 width: 100%; | 104 width: 100%; |
100 } | 105 } |
101 | 106 |
102 .small-link { | 107 #optin-label { |
103 color: #696969; | 108 -webkit-margin-start: 32px; |
104 font-size: .875em; | |
105 } | 109 } |
106 | 110 |
107 .safe-browsing a, | 111 .safe-browsing a, |
108 .safe-browsing #details, | 112 .safe-browsing #details, |
109 .safe-browsing #details-button, | 113 .safe-browsing #details-button, |
110 .safe-browsing h1 { | 114 .safe-browsing h1 { |
111 color: rgb(255, 255, 255); | 115 color: rgb(255, 255, 255); |
112 } | 116 } |
113 | 117 |
114 .safe-browsing button { | 118 .safe-browsing button { |
115 background: rgba(255, 255, 255, 0.15); | 119 background: rgba(255, 255, 255, 0.15); |
116 } | 120 } |
117 | 121 |
118 .safe-browsing .icon { | 122 .safe-browsing .icon { |
119 background-image: -webkit-image-set( | 123 background-image: -webkit-image-set( |
120 url('../safe_browsing/images/1x/stop_sign.png') 1x, | 124 url('../safe_browsing/images/1x/stop_sign.png') 1x, |
121 url('../safe_browsing/images/2x/stop_sign.png') 2x); | 125 url('../safe_browsing/images/2x/stop_sign.png') 2x); |
122 } | 126 } |
123 | 127 |
128 .small-link { | |
129 color: #696969; | |
130 font-size: .875em; | |
131 } | |
132 | |
124 .ssl .icon { | 133 .ssl .icon { |
125 background-image: -webkit-image-set( | 134 background-image: -webkit-image-set( |
126 url('images/1x/brokenssl_red.png') 1x, | 135 url('images/1x/brokenssl_red.png') 1x, |
127 url('images/2x/brokenssl_red.png') 2x); | 136 url('images/2x/brokenssl_red.png') 2x); |
128 } | 137 } |
129 | 138 |
139 .styled-checkbox { | |
140 float: left; | |
141 height: 16px; | |
142 margin-top: .36em; | |
143 position: relative; | |
144 width: 16px; | |
145 } | |
146 | |
147 [dir='rtl'] .styled-checkbox { | |
148 float: right; | |
149 } | |
150 | |
151 .styled-checkbox label { | |
152 background-color: white; | |
153 border-radius: 2px; | |
154 cursor: pointer; | |
155 height: 16px; | |
156 left: 0; | |
157 position: absolute; | |
158 right: 0; | |
159 top: 0; | |
160 width: 16px; | |
161 } | |
162 | |
163 .styled-checkbox label::after { | |
164 background: transparent; | |
165 border: 2px solid rgb(217, 69, 61); | |
166 border-right-width: 0; | |
167 border-top-width: 0; | |
168 content: ''; | |
169 height: 4px; | |
170 left: 3px; | |
171 opacity: 0.3; | |
172 position: absolute; | |
173 top: 4px; | |
174 transform: rotate(-45deg); | |
175 width: 9px; | |
176 } | |
177 | |
178 .styled-checkbox input[type=checkbox]:checked + label::after { | |
179 opacity: 1; | |
180 } | |
181 | |
130 @media (max-width: 700px) { | 182 @media (max-width: 700px) { |
131 .interstitial-wrapper { | 183 .interstitial-wrapper { |
132 padding: 0 10%; | 184 padding: 0 10%; |
133 } | 185 } |
134 } | 186 } |
135 | 187 |
136 @media (max-height: 600px) { | 188 @media (max-height: 600px) { |
137 .interstitial-wrapper { | 189 .interstitial-wrapper { |
138 margin-top: 13%; | 190 margin-top: 13%; |
139 } | 191 } |
(...skipping 19 matching lines...) Expand all Loading... | |
159 display: block; | 211 display: block; |
160 padding-top: 14px; | 212 padding-top: 14px; |
161 text-align: center; | 213 text-align: center; |
162 width: 100%; | 214 width: 100%; |
163 } | 215 } |
164 | 216 |
165 .interstitial-wrapper { | 217 .interstitial-wrapper { |
166 padding: 0 5%; | 218 padding: 0 5%; |
167 } | 219 } |
168 | 220 |
221 #malware-optin { | |
222 margin-top: 24px; | |
223 } | |
224 | |
169 .nav-wrapper { | 225 .nav-wrapper { |
170 margin-top: 30px; | 226 margin-top: 30px; |
171 } | 227 } |
172 } | 228 } |
OLD | NEW |