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 13 matching lines...) Expand all Loading... | |
24 box-sizing: border-box; | 24 box-sizing: border-box; |
25 color: #fff; | 25 color: #fff; |
26 cursor: pointer; | 26 cursor: pointer; |
27 float: right; | 27 float: right; |
28 font-size: .875em; | 28 font-size: .875em; |
29 height: 36px; | 29 height: 36px; |
30 margin: -6px 0 0; | 30 margin: -6px 0 0; |
31 padding: 8px 24px; | 31 padding: 8px 24px; |
32 } | 32 } |
33 | 33 |
34 [dir='rtl'] button { | |
35 float: left; | |
Bernhard Bauer
2014/06/12 06:25:14
I thought there was a way to make this work automa
| |
36 } | |
37 | |
34 button:hover { | 38 button:hover { |
35 box-shadow: 0 1px 3px rgba(0, 0, 0, .50); | 39 box-shadow: 0 1px 3px rgba(0, 0, 0, .50); |
36 } | 40 } |
37 | 41 |
38 button:active { | 42 button:active { |
39 background: rgb(50, 102, 213); | 43 background: rgb(50, 102, 213); |
40 } | 44 } |
41 | 45 |
42 #details { | 46 #details { |
43 color: #696969; | 47 color: #696969; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
101 | 105 |
102 .safe-browsing a { | 106 .safe-browsing a { |
103 color: rgb(255, 255, 255); | 107 color: rgb(255, 255, 255); |
104 } | 108 } |
105 | 109 |
106 .safe-browsing button { | 110 .safe-browsing button { |
107 background: rgba(255, 255, 255, 0.15); | 111 background: rgba(255, 255, 255, 0.15); |
108 } | 112 } |
109 | 113 |
110 .safe-browsing .icon { | 114 .safe-browsing .icon { |
111 background: -webkit-image-set( | 115 background-image: -webkit-image-set( |
112 url('../safe_browsing/images/1x/stop_sign.png') 1x, | 116 url('../safe_browsing/images/1x/stop_sign.png') 1x, |
113 url('../safe_browsing/images/2x/stop_sign.png') 2x); | 117 url('../safe_browsing/images/2x/stop_sign.png') 2x); |
114 } | 118 } |
115 | 119 |
116 .ssl .icon { | 120 .ssl .icon { |
117 background: -webkit-image-set( | 121 background-image: -webkit-image-set( |
118 url('images/1x/brokenssl_red.png') 1x, | 122 url('images/1x/brokenssl_red.png') 1x, |
119 url('images/2x/brokenssl_red.png') 2x); | 123 url('images/2x/brokenssl_red.png') 2x); |
120 } | 124 } |
121 | 125 |
122 @media (max-width: 700px) { | 126 @media (max-width: 700px) { |
123 .interstitial-wrapper { | 127 .interstitial-wrapper { |
124 padding: 0 10%; | 128 padding: 0 15%; |
125 } | 129 } |
126 } | 130 } |
131 | |
132 @media (max-width: 400px) { | |
133 button, | |
134 [dir='rtl'] button { | |
135 float: none; | |
136 height: auto; | |
137 width: 100%; | |
138 } | |
139 | |
140 #details { | |
141 margin: 20px 0 20px 0; | |
142 } | |
143 | |
144 #details p:not(:first-of-type) { | |
145 margin-top: 10px; | |
146 } | |
147 | |
148 #details-button { | |
149 display: block; | |
150 padding-top: 10px; | |
151 text-align: center; | |
152 width: 100%; | |
153 } | |
154 | |
155 h1 { | |
156 line-height: normal; | |
157 } | |
158 | |
159 .icon { | |
160 background-size: 40px 40px; | |
161 height: 40px; | |
162 margin: 0 0 20px; | |
163 width: 40px; | |
164 } | |
165 | |
166 .interstitial-wrapper { | |
167 padding: 0 5%; | |
168 } | |
169 | |
170 #main-message { | |
171 height: 160px; | |
172 } | |
173 } | |
OLD | NEW |