mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
Merge pull request #4294 from minrk/form-color-scope
Move some common form CSS to page.less
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user