Merge pull request #4294 from minrk/form-color-scope

Move some common form CSS to page.less
This commit is contained in:
Erik Sundell
2023-01-17 09:47:31 +01:00
committed by GitHub
3 changed files with 9 additions and 18 deletions

View File

@@ -21,23 +21,6 @@
width: 350px;
}
.input-group,
input[type="text"],
button {
width: 100%;
}
input[type="submit"] {
margin-top: 0px;
}
.form-control:focus,
input[type="submit"]:focus {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px @jupyter-orange;
border-color: @jupyter-orange;
outline-color: @jupyter-orange;
}
.login_error {
color: orangered;
font-weight: bold;

View File

@@ -62,3 +62,11 @@
}
}
}
// common form display
.form-control:focus {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px @jupyter-orange;
border-color: @jupyter-orange;
outline-color: @jupyter-orange;
}

View File

@@ -68,7 +68,7 @@
<input
id="login_submit"
type="submit"
class='btn btn-jupyter'
class='btn btn-jupyter form-control'
value='Sign in'
tabindex="3"
/>