mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 07:37:11 -05:00
Revert changes, add exceptions
to keep the PR changes as contained as possible without the use of !important.
This commit is contained in:
parent
3813f51627
commit
d74135e481
1 changed files with 15 additions and 16 deletions
|
|
@ -15,16 +15,14 @@
|
||||||
.isLin {
|
.isLin {
|
||||||
button {
|
button {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:not(.btn-group button) {
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* override .btn transition
|
|
||||||
in favor of instant background change */
|
|
||||||
button {
|
|
||||||
transition:
|
|
||||||
color .15s ease-in-out,
|
|
||||||
border-color .15s ease-in-out,
|
|
||||||
box-shadow .15s ease-in-out !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nightMode {
|
.nightMode {
|
||||||
|
|
@ -41,7 +39,14 @@ button {
|
||||||
box-shadow: 0 0 3px fusion_vars.$button-outline;
|
box-shadow: 0 0 3px fusion_vars.$button-outline;
|
||||||
border: 1px solid fusion_vars.$button-border;
|
border: 1px solid fusion_vars.$button-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:not(.btn-group button) {
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 10px;
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background: fusion_vars.$button-hover-bg;
|
background: fusion_vars.$button-hover-bg;
|
||||||
}
|
}
|
||||||
|
|
@ -62,9 +67,3 @@ button {
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
color: #e5e5e5;
|
color: #e5e5e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.dropdown-item {
|
|
||||||
background: none;
|
|
||||||
box-shadow: none;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue