totpauth-web-frontend/src/App.scss

355 lines
5.9 KiB
SCSS

$blue: rgb(127, 150, 238);
$writing: #172176;
*::-webkit-scrollbar {
display: none;
}
html{
color: $writing;
}
select{
border: none;
border-radius: 10px;
padding: 8px;
background-color: lighten($color: $blue, $amount: 15);
color: $writing;
}
.full-height {
height: 100vh;
}
.gap-column{
display: flex;
gap: 1em;
flex-direction: column;
}
.drop{
filter: drop-shadow(10px 10px 2px darken($color: $blue, $amount: 15));
}
.milkstain{
background-color: rgba($color: lighten($color: $blue, $amount: 20), $alpha: 0.4);
}
.separate{
display: flex;
justify-content: space-between;
}
.click{
cursor: pointer;
}
.click:hover{
font-weight: bolder;
}
.flex-hide-overflow{
display: flex;
overflow: hidden;
height: 100%;
gap: 1em;
}
.flex-column {
display: flex;
flex-direction: column;
overflow: hidden;
}
.flex-end{
display: flex;
justify-content: right;
}
.overflow-y{
overflow-y: auto;
}
.nav-header {
padding-inline: 1em;
justify-content: space-between;
}
.info {
background-color: lighten($color: $blue, $amount: 15);
border-bottom: 1px solid $blue;
button{
background-color: $blue;
}
button:hover{
background-color: lighten($color: $blue, $amount: 10);
}
}
.info-box{
overflow-y: auto;
min-width: 320px;
}
.error {
background-color: adjust-hue($color: $blue, $degrees: 180deg);
button{
background-color: darken($color: adjust-hue($color: $blue, $degrees: 180deg), $amount: 15);
color: $writing;
}
button:hover{
background-color: darken($color: adjust-hue($color: $blue, $degrees: 180deg), $amount: 5);
}
}
.illegal{
background-color: darken($color: adjust-hue($color: $blue, $degrees: 120deg), $amount: 15);
color: lighten($color: $blue, $amount: 25);
button{
background-color: adjust-hue($color: $blue, $degrees: 120deg);
}
button:hover{
background-color: darken($color: adjust-hue($color: $blue, $degrees: 120deg), $amount: 5);
}
}
.modal_back {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba($color: #000000, $alpha: 0.2);
}
.modal_frame{
background-color: white;
border: 3px solid transparentize($color: $blue, $amount: 0.2);
border-radius: 5px;
}
.modal_header{
display: flex;
gap: 1em;
border-bottom: 2px solid transparentize($color: $blue, $amount: 0.2);
justify-content: space-between;
}
.modal_header_title{
font-weight: bolder;
font-size: large;
margin-left: 5px;
}
.modal_pane{
padding: 5px;
padding-bottom: 15px;
display: flex;
justify-content: center;
.form-footer{
background-color: inherit;
justify-content: end;
}
p{
max-width: 400px;
margin: 1em;
}
.nobreak{
word-break: normal;
}
}
.modal_header_closebtn{
background: white;
border: 0;
display: flex;
padding: 0;
}
.navbar{
display: flex;
justify-content: space-between;
background-color: $blue;
padding: 1em;
align-items: center;
a,label,h1,h2,h3,h4,h5,h6{
color: lighten($color: $blue, $amount: 25);
}
button{
background-color: darken($color: $blue, $amount: 5);
}
button:hover{
background-color: lighten($color: $blue, $amount: 5);
}
a:hover{
color: lighten($color: $blue, $amount: 15);
}
.navbar-brand{
font-weight: bolder;
font-size: larger;
font-style: unset;
text-decoration: none;
}
}
button{
color: lighten($color: $blue, $amount: 25)
}
button{
border: none;
padding: 0.6em;
border-radius: 0.5em;
cursor: pointer;
}
span.dont{
background-color: #c3cdf7;
padding: 2px 5px;
border-radius: 6px;
}
.pagedata_table{
border-spacing: 0px 1px;
min-width: 450px;
td{
padding: 5px;
}
}
.justify-content-center{
justify-content: center;
align-items: center;
}
.form-footer{
display: flex;
justify-content: space-between;
padding: 1em;
background: $blue;
margin-top: 0.5em;
align-items: center;
button{
border: none;
background-color: darken($color: $blue, $amount: 5);
padding: 0.6em;
border-radius: 0.5em;
cursor: pointer;
}
button:hover{
background-color: lighten($blue, $amount: 5);
}
a,label,h1,h2,h3,h4,h5,h6,button{
color: white;
margin-left: 5px;
}
}
.auth-form{
min-width: 300px;
border: 3px solid $blue;
border-radius: 10px;
padding: 1em 0 0;
}
.input-with-label{
display: flex;
flex-direction: column;
padding: 0 1em;
div{
display: flex;
flex-direction: row;
}
input,textarea{
border: 1px solid $blue;
border-radius: 10px;
}
input,label,textarea{
padding: 5px;
}
textarea{
resize: none;
}
input{
width: 70%;
}
.left{
justify-content: flex-start;
}
.right{
justify-content: flex-end;
}
}
.dashboard{
padding: 1em;
overflow-x: auto;
}
.dashboard::before,.dashboard::after{
content: '';
margin: auto;
}
.dashboard::-webkit-scrollbar {
display: unset;
background-color: lighten($color: $blue, $amount: 15);
border: 1px solid transparentize($color: $blue, $amount: 0.2);
border-radius: 1em;
}
.dashboard::-webkit-scrollbar-thumb{
background-color: $blue;
border-radius: 1em;
}
.logview{
border-radius: 30px;
filter: drop-shadow(10px 10px 2px darken($color: $blue, $amount: 15));
min-width: 450px;
}
.action{
padding: 0 1em;
button{
background-color: white;
border: 1px solid $blue;
color: $writing
}
}
@media (max-width:450px) {
.pagedata_table{
min-width: unset;
max-width: 450px;
}
.logview{
min-width: unset;
margin-bottom: 1em;
}
.flex-hide-overflow{
flex-direction: column;
height: inherit;
}
.dashboard{
overflow-y: auto;
display: unset;
}
.full-height{
height: inherit;
}
.auth-form{
margin-top: 45%;
}
.reg-margin-mob{
margin: inherit;
}
.gap-column{
margin-bottom: 1em;
}
}