mirror of
https://github.com/cdr/code-server.git
synced 2025-12-09 18:02:16 +01:00
hen the user's browser does not support `light-dark`, fall back to the light theme color scheme.
59 lines
929 B
CSS
59 lines
929 B
CSS
body {
|
|
min-height: 568px;
|
|
min-width: 320px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.login-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-form > .field {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.login-form > .field {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.login-form > .error {
|
|
color: red;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.login-form > .field > .password {
|
|
background-color: rgb(244, 247, 252);
|
|
background-color: light-dark(rgb(244, 247, 252), #222);
|
|
border-radius: 5px;
|
|
border: 1px solid #ddd;
|
|
border: 1px solid light-dark(#ddd, #333);
|
|
box-sizing: border-box;
|
|
flex: 1;
|
|
padding: 16px;
|
|
}
|
|
|
|
.login-form > .user {
|
|
display: none;
|
|
}
|
|
|
|
.login-form > .field > .submit {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.login-form > .field > .submit {
|
|
margin-left: 0px;
|
|
margin-top: 16px;
|
|
}
|
|
}
|
|
|
|
input {
|
|
-webkit-appearance: none;
|
|
}
|