This repository has been archived on 2022-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
hydra_oidc_poc/frontend_src/_custom.scss
2021-01-27 22:22:54 +01:00

79 lines
1.5 KiB
SCSS

/*
Copyright 2020, 2021 Jan Dittberner
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
@import "~bootstrap/scss/bootstrap";
$dimmed_white: #f5f5f5;
html,
body {
height: 100%;
background-color: $dimmed_white;
}
body.idp {
display: -ms-flexbox;
display: flex;
}
.error-message, body.idp {
padding-top: 40px;
padding-bottom: 40px;
}
.form-signin {
max-width: 330px;
}
.form-consent {
max-width: 550px;
}
.form-signin, .form-consent {
width: 100%;
padding: 15px;
margin-left: auto;
margin-right: auto;
.checkbox {
font-weight: 400;
}
.form-control {
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
.form-control:focus {
z-index: 2;
}
.input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}