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

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

Issue 1133733003: Unified icon-buttons used in the new GAIA flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased onto ToT. 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #signin-right { 58 #signin-right {
59 font-size: 14px; 59 font-size: 14px;
60 } 60 }
61 } 61 }
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 #close-button-item,
69 background: transparent none; 69 #back-button-item {
70 background-position: center; 70 color: white;
71 background-repeat: no-repeat;
72 border-radius: 50%;
73 height: 24px;
74 position: absolute; 71 position: absolute;
75 top: 10px; 72 top: 10px;
76 width: 24px;
77 z-index: 1; 73 z-index: 1;
78 } 74 }
79 75
80 .custom-gaia-button:hover { 76 #close-button-item:disabled,
81 cursor: pointer; 77 #back-button-item:disabled {
82 } 78 color: rgb(127, 127, 127);
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 }
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 } 79 }
102 80
103 #close-button-item { 81 #close-button-item {
104 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON);
105 right: 10px; 82 right: 10px;
106 } 83 }
107 84
85 #back-button-item {
86 left: 10px;
87 }
88
108 html[dir=rtl] #close-button-item { 89 html[dir=rtl] #close-button-item {
109 left: 10px; 90 left: 10px;
110 right: auto; 91 right: auto;
111 } 92 }
112 93
113 .loading #close-button-item,
114 .new-gaia-flow .full-width #close-button-item {
115 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_ON_WHITE);
116 }
117
118 .loading.auth-completed #close-button-item {
119 display: none;
120 }
121
122 #close-button-item:disabled {
123 background-image: url(chrome://theme/IDR_LOGIN_CLOSE_BUTTTON_MASKED);
124 }
125
126 #back-button-item {
127 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON);
128 left: 10px;
129 }
130
131 html[dir=rtl] #back-button-item { 94 html[dir=rtl] #back-button-item {
132 -webkit-transform: scaleX(-1); 95 -webkit-transform: scaleX(-1);
133 left: auto; 96 left: auto;
134 right: 10px; 97 right: 10px;
135 } 98 }
136 99
100 .loading #close-button-item,
101 .new-gaia-flow .full-width #close-button-item {
102 color: rgba(0, 0, 0, .54);
103 }
104
137 .new-gaia-flow .full-width #back-button-item { 105 .new-gaia-flow .full-width #back-button-item {
138 display: none; 106 display: none;
139 } 107 }
140 108
141 #back-button-item:disabled { 109 .loading.auth-completed #close-button-item {
142 background-image: url(chrome://theme/IDR_LOGIN_BACK_BUTTTON_MASKED); 110 display: none;
143 } 111 }
144 112
145 .signin-text { 113 .signin-text {
146 color: #666; 114 color: #666;
147 margin-top: 20px; 115 margin-top: 20px;
148 } 116 }
149 117
150 .signin-link { 118 .signin-link {
151 color: rgb(37, 79, 155); 119 color: rgb(37, 79, 155);
152 cursor: pointer; 120 cursor: pointer;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 display: inline-block; 209 display: inline-block;
242 } 210 }
243 211
244 #gaia-signin .step-contents { 212 #gaia-signin .step-contents {
245 -webkit-box-pack: center; 213 -webkit-box-pack: center;
246 display: -webkit-box; 214 display: -webkit-box;
247 height: 100%; 215 height: 100%;
248 } 216 }
249 217
250 #createSupervisedUserSeparator { 218 #createSupervisedUserSeparator {
251 background-color: rgba(128,128,128,0.3); 219 background-color: rgba(128, 128, 128, 0.3);
252 height: 1px; 220 height: 1px;
253 width: 200px; 221 width: 200px;
254 } 222 }
255 223
256 #createSupervisedUserLogo { 224 #createSupervisedUserLogo {
257 font-weight: bold; 225 font-weight: bold;
258 margin-top: 16px; 226 margin-top: 16px;
259 } 227 }
260 228
261 #createSupervisedUserLogo img { 229 #createSupervisedUserLogo img {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 290
323 html /deep/ #forgotPasswordDlg { 291 html /deep/ #forgotPasswordDlg {
324 position: fixed; 292 position: fixed;
325 top: 200px; 293 top: 200px;
326 width: 350px; 294 width: 350px;
327 } 295 }
328 296
329 html /deep/ #forgotPasswordDlg gaia-paper-button[autofocus] { 297 html /deep/ #forgotPasswordDlg gaia-paper-button[autofocus] {
330 color: rgb(66, 133, 244); 298 color: rgb(66, 133, 244);
331 } 299 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698