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

Side by Side Diff: chrome/browser/resources/ntp4/footer_menu.css

Issue 11013021: Basic keyboard access for recently_closed menu on NTP (re-work). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to current version. Created 8 years, 1 month 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
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 .footer-menu-button { 5 .footer-menu-button {
6 -webkit-appearance: none; 6 -webkit-appearance: none;
7 -webkit-padding-end: 15px; 7 -webkit-padding-end: 15px;
8 -webkit-padding-start: 9px; 8 -webkit-padding-start: 9px;
9 -webkit-transition: opacity 200ms; 9 -webkit-transition: opacity 200ms;
10 -webkit-transition-delay: 100ms; 10 -webkit-transition-delay: 100ms;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 -webkit-padding-start: 22px; 73 -webkit-padding-start: 22px;
74 background: no-repeat 0 50%; 74 background: no-repeat 0 50%;
75 background-color: transparent !important; 75 background-color: transparent !important;
76 background-size: 16px 16px; 76 background-size: 16px 16px;
77 box-sizing: border-box; 77 box-sizing: border-box;
78 display: block; 78 display: block;
79 line-height: 1.5em; 79 line-height: 1.5em;
80 margin-bottom: 0.5em; 80 margin-bottom: 0.5em;
81 margin-top: 0.5em; 81 margin-top: 0.5em;
82 max-width: 450px; 82 max-width: 450px;
83 outline: none;
Dan Beam 2012/11/12 22:55:03 thank you for these changes, this looks a lot bett
83 overflow: hidden; 84 overflow: hidden;
84 text-overflow: ellipsis; 85 text-overflow: ellipsis;
85 white-space: nowrap; 86 white-space: nowrap;
86 } 87 }
87 88
88 .footer-menu-item:not(:hover) { 89 .footer-menu-item:not(:hover),
90 .footer-menu-item:not(:focus) {
89 text-decoration: none; 91 text-decoration: none;
90 } 92 }
91 93
94 .footer-menu-item:hover,
95 .footer-menu-item:focus {
96 text-decoration: underline;
97 }
98
92 .footer-menu-item:first-of-type { 99 .footer-menu-item:first-of-type {
93 margin-top: 0.25em; 100 margin-top: 0.25em;
94 } 101 }
95 102
96 .footer-menu-item:last-of-type { 103 .footer-menu-item:last-of-type {
97 margin-bottom: 0.25em; 104 margin-bottom: 0.25em;
98 } 105 }
99 106
100 .footer-menu section { 107 .footer-menu section {
101 padding: 0; 108 padding: 0;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 .footer-menu-context-menu { 158 .footer-menu-context-menu {
152 /* Needs to be above .footer-menu. */ 159 /* Needs to be above .footer-menu. */
153 z-index: 11; 160 z-index: 11;
154 } 161 }
155 162
156 .footer-menu hr { 163 .footer-menu hr {
157 background-color: rgb(217, 217, 217); 164 background-color: rgb(217, 217, 217);
158 border: 0; 165 border: 0;
159 height: 1px; 166 height: 1px;
160 } 167 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/recently_closed.js » ('j') | chrome/browser/resources/ntp4/recently_closed.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698