Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: chrome/browser/resources/ssl/interstitial_v2.css

Issue 339503004: Add the extended reporting checkbox to the malware interstitial v3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Enable relevant test Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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;
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
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 margin-left: 32px;
Dan Beam 2014/06/17 17:52:54 -webkit-margin-start: 32px; (no need for [dir='rt
felt 2014/06/17 18:03:28 oh! that's how it's done. I was trying to remember
104 font-size: .875em; 109 }
110
111 [dir='rtl'] #optin-label {
112 margin-right: 32px;
105 } 113 }
106 114
107 .safe-browsing a, 115 .safe-browsing a,
108 .safe-browsing #details, 116 .safe-browsing #details,
109 .safe-browsing #details-button, 117 .safe-browsing #details-button,
110 .safe-browsing h1 { 118 .safe-browsing h1 {
111 color: rgb(255, 255, 255); 119 color: rgb(255, 255, 255);
112 } 120 }
113 121
114 .safe-browsing button { 122 .safe-browsing button {
115 background: rgba(255, 255, 255, 0.15); 123 background: rgba(255, 255, 255, 0.15);
116 } 124 }
117 125
118 .safe-browsing .icon { 126 .safe-browsing .icon {
119 background-image: -webkit-image-set( 127 background-image: -webkit-image-set(
120 url('../safe_browsing/images/1x/stop_sign.png') 1x, 128 url('../safe_browsing/images/1x/stop_sign.png') 1x,
121 url('../safe_browsing/images/2x/stop_sign.png') 2x); 129 url('../safe_browsing/images/2x/stop_sign.png') 2x);
122 } 130 }
123 131
132 .small-link {
133 color: #696969;
134 font-size: .875em;
135 }
136
124 .ssl .icon { 137 .ssl .icon {
125 background-image: -webkit-image-set( 138 background-image: -webkit-image-set(
126 url('images/1x/brokenssl_red.png') 1x, 139 url('images/1x/brokenssl_red.png') 1x,
127 url('images/2x/brokenssl_red.png') 2x); 140 url('images/2x/brokenssl_red.png') 2x);
128 } 141 }
129 142
143 .styled-checkbox {
144 float: left;
145 height: 16px;
146 margin-top: .36em;
147 position: relative;
148 width: 16px;
149 }
150
151 [dir='rtl'] .styled-checkbox {
152 float: right;
153 }
154
155 .styled-checkbox label {
156 background-color: white;
157 border-radius: 2px;
158 cursor: pointer;
Dan Beam 2014/06/17 17:52:54 ^ why is this a hand?
felt 2014/06/17 18:03:28 because the checkbox is clickable. note that this
Dan Beam 2014/06/17 18:07:23 there's no hand on any label/checkbox/radio in set
felt 2014/06/17 18:25:52 ah, I didn't realize that. un-handing.
159 height: 16px;
160 left: 0;
161 position: absolute;
Dan Beam 2014/06/17 17:52:54 does this need a right: 0;? (which would take prec
felt 2014/06/17 18:03:28 Done.
162 top: 0;
163 width: 16px;
164 }
165
166 .styled-checkbox label::after {
167 background: transparent;
168 border: 2px solid rgb(217, 69, 61);
169 border-right: 0;
Dan Beam 2014/06/17 17:52:54 border-right-width: 0; /* @noflip */ border-top-w
felt 2014/06/17 18:03:27 Done.
170 border-top: 0;
171 content: '';
172 height: 4px;
173 left: 3px;
174 opacity: 0.3;
175 position: absolute;
176 top: 4px;
177 transform: rotate(-45deg);
178 width: 9px;
179 }
180
181 .styled-checkbox input[type=checkbox]:checked + label::after {
182 opacity: 1;
183 }
184
130 @media (max-width: 700px) { 185 @media (max-width: 700px) {
131 .interstitial-wrapper { 186 .interstitial-wrapper {
132 padding: 0 10%; 187 padding: 0 10%;
133 } 188 }
134 } 189 }
135 190
136 @media (max-height: 600px) { 191 @media (max-height: 600px) {
137 .interstitial-wrapper { 192 .interstitial-wrapper {
138 margin-top: 13%; 193 margin-top: 13%;
139 } 194 }
(...skipping 19 matching lines...) Expand all
159 display: block; 214 display: block;
160 padding-top: 14px; 215 padding-top: 14px;
161 text-align: center; 216 text-align: center;
162 width: 100%; 217 width: 100%;
163 } 218 }
164 219
165 .interstitial-wrapper { 220 .interstitial-wrapper {
166 padding: 0 5%; 221 padding: 0 5%;
167 } 222 }
168 223
224 #malware-optin {
225 margin-top: 24px;
226 }
227
169 .nav-wrapper { 228 .nav-wrapper {
170 margin-top: 30px; 229 margin-top: 30px;
171 } 230 }
172 } 231 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698