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

Side by Side Diff: chrome/browser/resources/chromeos/login/screen_gaia_signin.css

Issue 1121723004: Fix focus visibility and style for GAIA Back and Close buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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 5
6 #gaia-signin { 6 #gaia-signin {
7 height: 609px; /* Should be the same as #user-image.loading min-heigth. */ 7 height: 609px; /* Should be the same as #user-image.loading min-heigth. */
8 padding: 70px 17px 69px; /* Screen has no controls. */ 8 padding: 70px 17px 69px; /* Screen has no controls. */
9 width: 722px; /* Should be the same as #user-image.loading width. */ 9 width: 722px; /* Should be the same as #user-image.loading width. */
10 } 10 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 .new-gaia-flow #signin-right, 63 .new-gaia-flow #signin-right,
64 .no-right-panel #signin-right { 64 .no-right-panel #signin-right {
65 display: none; 65 display: none;
66 } 66 }
67 67
68 .custom-gaia-button { 68 .custom-gaia-button {
69 background: transparent none; 69 background: transparent none;
70 background-position: center; 70 background-position: center;
71 background-repeat: no-repeat; 71 background-repeat: no-repeat;
72 height: 34px; 72 border-radius: 50%;
73 height: 24px;
73 position: absolute; 74 position: absolute;
74 top: 0; 75 top: 10px;
75 width: 34px; 76 width: 24px;
76 z-index: 1; 77 z-index: 1;
77 } 78 }
78 79
80 .custom-gaia-button:hover {
81 cursor: pointer;
82 }
83
84 .custom-gaia-button:focus {
85 background: rgba(0,0,0,.16);
86 background-position: center;
87 background-repeat: no-repeat;
88 opacity: 0.75;
89 }
90
91 /* Even more specificity than button.custom-appearance:focus:focus */
92 .custom-gaia-button:focus:focus:focus {
93 border-color: transparent;
94 }
Greg Levin 2015/05/06 00:23:58 This overrides (removes) the light blue halo which
95
96 .custom-gaia-button:active {
97 background: rgba(0,0,0,.12);
98 background-position: center;
99 background-repeat: no-repeat;
100 opacity: 1.0;
101 }
102
79 #close-button-item { 103 #close-button-item {
80 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON); 104 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON);
81 right: 0; 105 right: 10px;
82 } 106 }
83 107
84 html[dir=rtl] #close-button-item { 108 html[dir=rtl] #close-button-item {
85 left: 0; 109 left: 10px;
86 right: auto; 110 right: auto;
87 } 111 }
88 112
89 .loading #close-button-item, 113 .loading #close-button-item,
90 .new-gaia-flow .full-width #close-button-item { 114 .new-gaia-flow .full-width #close-button-item {
91 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_ON_WHITE); 115 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_ON_WHITE);
92 } 116 }
93 117
94 .loading.auth-completed #close-button-item { 118 .loading.auth-completed #close-button-item {
95 display: none; 119 display: none;
96 } 120 }
97 121
98 #close-button-item:disabled { 122 #close-button-item:disabled {
99 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_MASKED); 123 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_MASKED);
100 } 124 }
101 125
102 #close-button-item:hover {
103 cursor: pointer;
104 }
105
106 #back-button-item { 126 #back-button-item {
107 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON); 127 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON);
108 left: 0; 128 left: 10px;
109 } 129 }
110 130
111 html[dir=rtl] #back-button-item { 131 html[dir=rtl] #back-button-item {
112 -webkit-transform: scaleX(-1); 132 -webkit-transform: scaleX(-1);
113 left: auto; 133 left: auto;
114 right: 0; 134 right: 10px;
115 } 135 }
116 136
117 .new-gaia-flow .full-width #back-button-item { 137 .new-gaia-flow .full-width #back-button-item {
118 display: none; 138 display: none;
119 } 139 }
120 140
121 #back-button-item:disabled { 141 #back-button-item:disabled {
122 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON_MASKED); 142 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON_MASKED);
123 } 143 }
124 144
125 #back-button-item:hover {
126 cursor: pointer;
127 }
128
129 .signin-text { 145 .signin-text {
130 color: #666; 146 color: #666;
131 margin-top: 20px; 147 margin-top: 20px;
132 } 148 }
133 149
134 .signin-link { 150 .signin-link {
135 color: rgb(37, 79, 155); 151 color: rgb(37, 79, 155);
136 cursor: pointer; 152 cursor: pointer;
137 text-decoration: none; 153 text-decoration: none;
138 } 154 }
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 322
307 html /deep/ #forgotPasswordDlg { 323 html /deep/ #forgotPasswordDlg {
308 position: fixed; 324 position: fixed;
309 top: 200px; 325 top: 200px;
310 width: 350px; 326 width: 350px;
311 } 327 }
312 328
313 html /deep/ #forgotPasswordDlg gaia-paper-button[autofocus] { 329 html /deep/ #forgotPasswordDlg gaia-paper-button[autofocus] {
314 color: rgb(66, 133, 244); 330 color: rgb(66, 133, 244);
315 } 331 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698