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

Side by Side Diff: chrome/browser/resources/history/history.css

Issue 658523007: history: fix focus outline for [ All | Week | Month ] controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 html[dir='rtl'] body.uber-frame > .page { 5 html[dir='rtl'] body.uber-frame > .page {
6 -webkit-margin-end: 0; 6 -webkit-margin-end: 0;
7 } 7 }
8 8
9 body.uber-frame > .page.big-topbar-page { 9 body.uber-frame > .page.big-topbar-page {
10 padding-top: 78px; 10 padding-top: 78px;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 letter-spacing: normal; 158 letter-spacing: normal;
159 line-height: 2em; 159 line-height: 2em;
160 margin: 0; 160 margin: 0;
161 min-height: 2em; 161 min-height: 2em;
162 min-width: 4em; 162 min-width: 4em;
163 text-align: center; 163 text-align: center;
164 text-indent: 0; 164 text-indent: 0;
165 text-shadow: 0 1px 0 rgb(240, 240, 240); 165 text-shadow: 0 1px 0 rgb(240, 240, 240);
166 text-transform: none; 166 text-transform: none;
167 vertical-align: middle; 167 vertical-align: middle;
168 width: auto;
168 word-spacing: normal; 169 word-spacing: normal;
169 } 170 }
170 171
171 #timeframe-controls input[type='radio']:not(:first-of-type) { 172 #timeframe-controls input[type='radio']:not(:first-of-type) {
172 -webkit-border-start-width: 0; 173 -webkit-border-start-width: 0;
173 } 174 }
174 175
176 #timeframe-controls input[type='radio']:not(:first-of-type):focus {
177 -webkit-border-start-width: 1px;
178 -webkit-margin-start: -1px;
179 }
180
175 html[dir='ltr'] #timeframe-controls input[type='radio']:first-of-type, 181 html[dir='ltr'] #timeframe-controls input[type='radio']:first-of-type,
176 html[dir='rtl'] #timeframe-controls input[type='radio']:last-of-type { 182 html[dir='rtl'] #timeframe-controls input[type='radio']:last-of-type {
177 border-bottom-left-radius: 2px; 183 border-bottom-left-radius: 2px;
178 border-top-left-radius: 2px; 184 border-top-left-radius: 2px;
179 } 185 }
180 186
181 html[dir='ltr'] #timeframe-controls input[type='radio']:last-of-type, 187 html[dir='ltr'] #timeframe-controls input[type='radio']:last-of-type,
182 html[dir='rtl'] #timeframe-controls input[type='radio']:first-of-type { 188 html[dir='rtl'] #timeframe-controls input[type='radio']:first-of-type {
183 border-bottom-right-radius: 2px; 189 border-bottom-right-radius: 2px;
184 border-top-right-radius: 2px; 190 border-top-right-radius: 2px;
185 } 191 }
186 192
187 #timeframe-controls input[type='radio']:checked { 193 #timeframe-controls input[type='radio']:checked {
188 background-image: -webkit-linear-gradient(rgb(185, 185, 185), 194 background-image: -webkit-linear-gradient(rgb(185, 185, 185),
189 rgb(216, 216, 216) 38%, 195 rgb(216, 216, 216) 38%,
190 rgb(167, 167, 167)); 196 rgb(167, 167, 167));
191 } 197 }
192 198
193 #timeframe-controls input[type='radio']:focus { 199 #timeframe-controls input[type='radio']:focus {
194 border-color: rgb(77, 144, 254); 200 border-color: rgb(77, 144, 254);
195 } 201 }
196 202
197 #timeframe-controls input[type='radio']::before { 203 #timeframe-controls input[type='radio']::before {
198 display: none; /* Hide the ( )/(O). */ 204 display: none; /* Hide the ( )/(O). */
199 } 205 }
200 206
201 #timeframe-controls input[type='radio']::after { 207 #timeframe-controls input[type='radio']::after {
202 content: attr(aria-label); 208 content: attr(aria-label);
209 padding: 0 1em;
203 } 210 }
204 211
205 #results-display { 212 #results-display {
206 margin: 16px 0 0 0; 213 margin: 16px 0 0 0;
207 } 214 }
208 215
209 .edit-button { 216 .edit-button {
210 -webkit-appearance: none; 217 -webkit-appearance: none;
211 background: none; 218 background: none;
212 border: 0; 219 border: 0;
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 background-image: url(../../../../ui/webui/resources/images/phone_small.png); 622 background-image: url(../../../../ui/webui/resources/images/phone_small.png);
616 background-position: 14px center; 623 background-position: 14px center;
617 padding-left: 43px; 624 padding-left: 43px;
618 } 625 }
619 626
620 #action-menu[data-devicetype='tablet']::before { 627 #action-menu[data-devicetype='tablet']::before {
621 background-image: url(../../../../ui/webui/resources/images/tablet_small.png); 628 background-image: url(../../../../ui/webui/resources/images/tablet_small.png);
622 background-position: 17px center; 629 background-position: 17px center;
623 padding-left: 49px; 630 padding-left: 49px;
624 } 631 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698