Skip to content

Commit e490368

Browse files
committed
Fix login primary colour and feedback
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
1 parent def8af3 commit e490368

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

core/css/guest.css

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,30 @@ form #datadirField legend {
144144
/* Buttons and input */
145145
#submit-wrapper,
146146
#reset-password-wrapper {
147+
display: flex;
148+
align-items: center;
149+
justify-content: center;
147150
position: relative; /* Make the wrapper the containing block of its
148151
absolutely positioned descendant icons */
149152
}
150153

151154
#submit-wrapper .submit-icon {
152155
position: absolute;
153-
top: 23px;
154-
right: 23px;
156+
top: 22px;
157+
right: 22px;
158+
transition: right 100ms ease-in-out;
155159
pointer-events: none; /* The submit icon is positioned on the submit button.
156160
From the user point of view the icon is part of the
157161
button, so the clicks on the icon have to be
158162
applied to the button instead. */
159163
}
160164

165+
#submit-wrapper:hover .submit-icon,
166+
#submit-wrapper:focus .submit-icon,
167+
#submit-wrapper:active .submit-icon {
168+
right: 18px;
169+
}
170+
161171
#reset-password-submit {
162172
padding: 10px;
163173
overflow: hidden;
@@ -220,7 +230,8 @@ input[type='email'] {
220230
font-weight: normal;
221231
}
222232
input.login {
223-
width: 269px;
233+
width: 100%;
234+
height: 50px;
224235
background-position: right 16px center;
225236
}
226237
input[type='submit'],
@@ -255,15 +266,6 @@ a.primary {
255266
color: #fff;
256267
}
257268

258-
input.primary:not(:disabled):hover,
259-
input.primary:not(:disabled):focus,
260-
button.primary:not(:disabled):hover,
261-
button.primary:not(:disabled):focus,
262-
a.primary:not(:disabled):hover,
263-
a.primary:not(:disabled):focus{
264-
background-color: #17adff;
265-
}
266-
267269
/* Checkboxes - white only for login */
268270
input[type='checkbox'].checkbox {
269271
position: absolute;

0 commit comments

Comments
 (0)