170 lines
3.6 KiB
SCSS
170 lines
3.6 KiB
SCSS
@import "../../app.scss";
|
|
|
|
$logo-height: 100px;
|
|
|
|
view.login-layer {
|
|
|
|
view.school-logo {
|
|
height: 0;
|
|
padding-top: 25px;
|
|
width: 100%;
|
|
text-align: center;
|
|
|
|
view {
|
|
z-index: 2;
|
|
display: inline-block;
|
|
position: relative;
|
|
border-radius: 1000px;
|
|
background-color: $theme-color-light-layout;
|
|
width: $logo-height;
|
|
height: $logo-height;
|
|
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
view.line-bg {
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
padding: 35px 0;
|
|
height: $logo-height;
|
|
width: calc( 100% + 40px );
|
|
position: relative;
|
|
left: -20px;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
|
|
view {
|
|
height: 0;
|
|
width: 100%;
|
|
opacity: .5;
|
|
border-top: 2px solid $theme-color-light-line;
|
|
}
|
|
}
|
|
|
|
view.student-name {
|
|
margin: 10px 0 1px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
view.student-id {
|
|
margin-bottom: 1px;
|
|
text-align: center;
|
|
}
|
|
|
|
view.login-state {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
|
|
view.certified {
|
|
color: $theme-color-blue;
|
|
border: 1px solid $theme-color-blue;
|
|
border-radius: 4px;
|
|
margin-left: .3em;
|
|
font-size: .85em;
|
|
height: 1.2em;
|
|
padding: 0 2px;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
image.text-icon {
|
|
margin-left: .25em;
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
view.student-info-input {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 8px 0;
|
|
|
|
view.input-icon {
|
|
box-sizing: border-box;
|
|
padding: 3px 12px 3px 0;
|
|
flex-shrink: 0;
|
|
width: 38px;
|
|
height: 32px;
|
|
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
view.input-view {
|
|
position: relative;
|
|
bottom: 3px;
|
|
box-sizing: border-box;
|
|
border-bottom: 1.5px solid $theme-color-light-line;
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
height: 32px;
|
|
|
|
input {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
view.tip-info {
|
|
width: 100%;
|
|
vertical-align: middle;
|
|
padding: 1px 0;
|
|
font-size: .9em;
|
|
|
|
image {
|
|
vertical-align: middle;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
view {
|
|
vertical-align: middle;
|
|
display: inline;
|
|
|
|
text {
|
|
color: $theme-color-blue;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
view.agree-lic image {
|
|
filter: $green-filter;
|
|
}
|
|
|
|
view.save-button {
|
|
margin: 15px 0 25px 0;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
view.login-layer {
|
|
|
|
view.school-logo view {
|
|
background-color: $theme-color-dark-layout;
|
|
|
|
image {
|
|
filter: $white-filter;
|
|
}
|
|
}
|
|
|
|
view.line-bg view {
|
|
border-top: 2px solid $theme-color-dark-line;
|
|
}
|
|
|
|
view.student-info-input view.input-view {
|
|
border-bottom: 1.5px solid $theme-color-dark-line;
|
|
}
|
|
}
|
|
} |