mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Avoid highlighting of toprightbuttons to shift the topbar
This commit is contained in:
parent
9226d50185
commit
1df6c5f596
1 changed files with 6 additions and 5 deletions
|
@ -44,7 +44,7 @@ body {
|
|||
padding: 2px;
|
||||
}
|
||||
|
||||
.topbuts > button {
|
||||
.topbuts > * {
|
||||
margin: 0 1px;
|
||||
|
||||
&:first-child {
|
||||
|
@ -75,6 +75,7 @@ body {
|
|||
|
||||
button.linkb {
|
||||
-webkit-appearance: none;
|
||||
margin-bottom: -3px;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
padding: 0px 2px;
|
||||
|
@ -95,12 +96,12 @@ button:focus {
|
|||
}
|
||||
|
||||
button.highlighted {
|
||||
.nightMode #topbutsleft & {
|
||||
background: linear-gradient(0deg, #333333 0%, #434343 100%);
|
||||
}
|
||||
|
||||
#topbutsleft & {
|
||||
background-color: lightgrey;
|
||||
|
||||
.nightMode & {
|
||||
background: linear-gradient(0deg, #333333 0%, #434343 100%);
|
||||
}
|
||||
}
|
||||
|
||||
#topbutsright & {
|
||||
|
|
Loading…
Reference in a new issue