refactor: removed nested css

This commit is contained in:
antifallobst 2023-09-30 01:40:09 +02:00
parent 680849aaad
commit 63beba63c8
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 38 additions and 37 deletions

View File

@ -9,15 +9,16 @@
} }
.tabs li:hover { .tabs li:hover {
.tab-svg-path {
fill: #2c3251;
stroke: #690455;
}
transition-duration: 250ms; transition-duration: 250ms;
transform: translate(0, -10px); transform: translate(0, -10px);
} }
.tabs li:hover .tab-svg-path {
fill: #2c3251;
stroke: #690455;
transition-duration: 250ms;
}
.tabs li button { .tabs li button {
position: relative; position: relative;
border: none; border: none;
@ -67,43 +68,43 @@
background-color: #191c2e; background-color: #191c2e;
color: #FFFFFF; color: #FFFFFF;
z-index: 10; z-index: 10;
}
.auth-submit { .auth-submit {
position: relative; position: relative;
margin: 6px; margin: 6px;
padding: 6px 12px; padding: 6px 12px;
text-align: center; text-align: center;
background: #21253c; background: #21253c;
color: inherit; color: inherit;
border: 2px solid #690455; border: 2px solid #690455;
border-radius: 6px; border-radius: 6px;
font: inherit; font: inherit;
} }
.auth-submit:hover, .auth-submit:focus { .auth-submit:hover, .auth-submit:focus {
background: #2c3251; background: #2c3251;
outline: none; outline: none;
} }
.auth-field { .auth-field {
position: relative; position: relative;
text-align: center; text-align: center;
margin-bottom: 8px; margin-bottom: 8px;
}
.auth-input { .auth-input {
border: 2px solid #690455; border: 2px solid #690455;
border-radius: 6px; border-radius: 6px;
background: #21253c; background: #21253c;
color: #FFFFFF; color: #FFFFFF;
text-align: center; text-align: center;
font: normal 14px Roboto; font: normal 14px Roboto;
} }
.auth-input:focus { .auth-input:focus {
background: #2c3251; background: #2c3251;
outline: none; outline: none;
}
}
} }
.center-x { .center-x {