Remove some CSS outline and !important

This commit is contained in:
djmaze 2021-04-22 13:37:43 +02:00
parent 0d5ea94934
commit 1b4277c9db
18 changed files with 192 additions and 265 deletions

View file

@ -29,7 +29,6 @@
.e-item {
overflow: hidden;
text-decoration: none;
outline: 0;
}
.e-link {
@ -47,7 +46,6 @@
padding: 4px 10px;
outline: 0;
text-decoration: none;
}

View file

@ -57,7 +57,6 @@
&.disabled {
cursor: not-allowed;
opacity: 0.5;
outline: 0;
}
}

View file

@ -49,7 +49,6 @@
.emailaddresses li a {
font-size: 12px;
color: #999;
outline: 0;
padding: 1px;
position: absolute;
right: 2px;
@ -73,7 +72,6 @@
height: auto;
line-height: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
}

View file

@ -112,7 +112,6 @@
padding-left: @folderItemPadding;
padding-right: @folderItemPadding;
outline: 0;
text-decoration: none;
&.selectable {

View file

@ -11,126 +11,119 @@
}
}
@glass-color: #fff !important;
@glass-error-color: #f76260 !important;
@glass-m-color: rgba(255, 255, 255, .8) !important;
@glass-color: #fff;
@glass-error-color: #f76260;
@glass-m-color: rgba(255, 255, 255, .8);
.b-login-content {
.loginFormWrapper {
position: relative;
}
.descWrapper {
margin-bottom: 10px;
text-align: center;
.descWrapper {
color: var(--loading-color, #000);
font-size: 30px;
margin-bottom: 10px;
text-align: center;
text-shadow: var(--loading-text-shadow);
}
.desc {
font-size: 30px;
color: var(--loading-color, #000);
text-shadow: var(--loading-text-shadow);
}
}
.loginForm {
background-color: var(--login-bg-color, rgba(0, 0, 0, .5));
border: var(--login-border, 1px solid rgba(255, 255, 255, .2));
border-radius: var(--login-border-radius, 7px);
box-shadow: var(--login-box-shadow);
color: var(--login-color, @glass-m-color);
margin: 0;
.loginForm {
background-color: var(--login-bg-color, rgba(0, 0, 0, .5));
border: var(--login-border, 1px solid rgba(255, 255, 255, .2));
border-radius: var(--login-border-radius, 7px);
box-shadow: var(--login-box-shadow);
margin: 0;
}
.input-append .add-on *,
.loginForm, .legend, .e-checkbox-icon, .g-ui-link, .language-button {
* {
color: var(--login-color, @glass-m-color);
text-shadow: none !important;
}
.controls, .control-group {
margin-bottom: 25px;
}
.wrapper {
padding: 40px 40px 20px 40px;
}
.controls {
.inputLoginForm, .inputEmail, .inputLogin, .inputPassword {
font-size: 18px;
height: 40px;
line-height: 20px;
padding-left: 12px;
padding-right: 12px;
}
.inputEmail, .inputLogin, .inputPassword {
padding-right: 35px;
}
input, .btn {
border: 1px solid none !important;
background: none !important;
outline: none !important;
text-shadow: none !important;
box-shadow: none !important;
color: @glass-color;
border-color: @glass-m-color;
.controls.error {
.input-append .add-on,
.input-append .add-on * {
color: @glass-error-color;
}
input {
color: @glass-error-color;
border-color: @glass-error-color;
}
}
}
&:placeholder {
color: @glass-color;
text-shadow: none !important;
}
.controls, .control-group {
margin-bottom: 25px;
}
&:focus, &:hover {
border-color: @glass-color;
}
.wrapper {
padding: 40px 40px 20px 40px;
}
.controls {
.inputLoginForm, .inputLogin, .inputPassword {
font-size: 18px;
height: 40px;
line-height: 20px;
padding-left: 12px;
padding-right: 12px;
}
.inputLogin, .inputPassword {
padding-right: 35px;
}
input, .btn {
border: 1px solid none;
background: none !important;
text-shadow: none;
box-shadow: none;
color: @glass-color;
border-color: @glass-m-color;
}
input {
&:placeholder {
color: @glass-color;
text-shadow: none;
}
.btn {
text-transform: uppercase;
font-size: 13px;
&:hover, &:active {
border-color: @glass-color;
}
}
&.error {
.input-append .add-on * {
color: @glass-error-color;
}
input {
color: @glass-error-color;
border-color: @glass-error-color;
}
&:focus, &:hover {
border-color: @glass-color;
}
}
.signMeLabel .e-checkbox {
margin-top: 5px;
}
.btn {
.input-append .add-on {
margin-left: -1.5em;
position: relative;
font-size: 17px;
line-height: 29px;
top: 6px;
}
text-transform: uppercase;
font-size: 13px;
.input-append .add-on * {
font-size: 17px;
line-height: 29px;
&:hover, &:active {
border-color: @glass-color;
}
}
}
.controls.error .add-on *,
.control-group.error .add-on * {
color: #b94a48;
}
.signMeLabel .e-checkbox {
margin-top: 5px;
}
.input-append .add-on {
margin-left: -1.5em;
position: absolute;
font-size: 17px;
line-height: 29px;
right: 6px;
top: 6px;
z-index: 10;
}
.input-append .add-on * {
font-size: 17px;
line-height: 29px;
}
.buttonLogin {
@ -160,7 +153,6 @@
.language-button {
padding: 5px;
outline: none;
text-decoration: none;
}
}
@ -207,6 +199,5 @@
display: inline-block;
margin: 0;
padding: 0;
outline: none;
cursor: pointer;
}

View file

@ -39,7 +39,6 @@
.e-item {
overflow: hidden;
text-decoration: none;
outline: 0;
}
.e-link {
@ -56,7 +55,6 @@
padding: 4px 10px;
outline: 0;
text-decoration: none;
}

View file

@ -143,7 +143,6 @@ Secondly, we can't rely on MUA's what to do with :empty
border-radius: 0;
display: none;
font-family: var(--fontMono);
outline: none;
margin: 0;
resize: none;
white-space: pre-wrap;

View file

@ -23,7 +23,7 @@
.email-title {
display: inline-block;
max-width: 200px;
max-width: 50vw;
text-align: left;
text-overflow: ellipsis;
overflow: hidden;
@ -61,24 +61,19 @@
}
.accountPlace {
background-color: #000;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: #fff;
text-shadow: 0 1px 0 #000;
display: inline-block;
height: 29px;
max-width: 250px;
border-radius: 4px;
font-size: 16px;
line-height: 30px;
padding: 1px 8px;
overflow: hidden;
text-overflow: ellipsis;
border-radius: 4px;
font-weight: bold;
font-size: 16px;
height: 29px;
line-height: 30px;
max-width: 25vw;
overflow: hidden;
padding: 1px 8px;
text-overflow: ellipsis;
text-shadow: 0 1px 0 #000;
white-space: nowrap;
}
@ -107,13 +102,6 @@
}
}
/* mobile */
@media screen and (max-width: 767px) {
.accountPlace {
max-width: 150px !important;
}
}
@keyframes firstBar {
0% { height: 30%; }
50% { height: 100%; }

View file

@ -17,7 +17,7 @@
top: 100%;
transition: opacity 0.2s ease-in-out;
white-space: nowrap;
z-index: 2001 !important;
z-index: 2001;
}
@media only screen and (max-width: 600px) {
[data-rainloopErrorTip]::before {