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; |
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-opt-in { |
| 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 #opt-in-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 height: 16px; |
| 155 left: 0; |
| 156 position: absolute; |
| 157 right: 0; |
| 158 top: 0; |
| 159 width: 16px; |
| 160 } |
| 161 |
| 162 .styled-checkbox label::after { |
| 163 background: transparent; |
| 164 border: 2px solid rgb(217, 69, 61); |
| 165 border-right-width: 0; |
| 166 border-top-width: 0; |
| 167 content: ''; |
| 168 height: 4px; |
| 169 left: 3px; |
| 170 opacity: 0.3; |
| 171 position: absolute; |
| 172 top: 4px; |
| 173 transform: rotate(-45deg); |
| 174 width: 9px; |
| 175 } |
| 176 |
| 177 .styled-checkbox input[type=checkbox]:checked + label::after { |
| 178 opacity: 1; |
| 179 } |
| 180 |
130 @media (max-width: 700px) { | 181 @media (max-width: 700px) { |
131 .interstitial-wrapper { | 182 .interstitial-wrapper { |
132 padding: 0 10%; | 183 padding: 0 10%; |
133 } | 184 } |
134 } | 185 } |
135 | 186 |
136 @media (max-height: 600px) { | 187 @media (max-height: 600px) { |
137 .interstitial-wrapper { | 188 .interstitial-wrapper { |
138 margin-top: 13%; | 189 margin-top: 13%; |
139 } | 190 } |
(...skipping 19 matching lines...) Expand all Loading... |
159 display: block; | 210 display: block; |
160 padding-top: 14px; | 211 padding-top: 14px; |
161 text-align: center; | 212 text-align: center; |
162 width: 100%; | 213 width: 100%; |
163 } | 214 } |
164 | 215 |
165 .interstitial-wrapper { | 216 .interstitial-wrapper { |
166 padding: 0 5%; | 217 padding: 0 5%; |
167 } | 218 } |
168 | 219 |
| 220 #malware-opt-in { |
| 221 margin-top: 24px; |
| 222 } |
| 223 |
169 .nav-wrapper { | 224 .nav-wrapper { |
170 margin-top: 30px; | 225 margin-top: 30px; |
171 } | 226 } |
172 } | 227 } |
OLD | NEW |