diff --git a/src/App.scss b/src/App.scss index 61ab44e64..8c60a05d9 100644 --- a/src/App.scss +++ b/src/App.scss @@ -41,12 +41,31 @@ body { // have a cursor/pointer to operate them @media (any-pointer: fine) { * { - scrollbar-color: var(--btn) transparent; + scrollbar-color: var(--fg) transparent; &::-webkit-scrollbar { background: transparent; } + &::-webkit-scrollbar-corner { + background: transparent; + } + + &::-webkit-resizer { + /* stylelint-disable-next-line declaration-no-important */ + background-color: transparent !important; + background-image: + linear-gradient( + 135deg, + transparent calc(50% - 1px), + var(--textFaint) 50%, + transparent calc(50% + 1px), + transparent calc(75% - 1px), + var(--textFaint) 75%, + transparent calc(75% + 1px), + ); + } + &::-webkit-scrollbar-button, &::-webkit-scrollbar-thumb { box-shadow: var(--shadow); @@ -74,7 +93,7 @@ body { &:decrement { background-image: - linear-gradient(45deg, transparent 50%, var(--text) 51%), + linear-gradient(45deg, transparent 50%, var(--text) calc(50% + 1px)), linear-gradient(-45deg, var(--text) 50%, transparent 51%); background-position: bottom var(--___bgPadding) right 50%, left 50% top var(--___bgPadding); } @@ -102,7 +121,7 @@ body { } // Body should have background to scrollbar otherwise it will use white (body color?) html { - scrollbar-color: var(--selectedMenu) var(--wallpaper); + scrollbar-color: var(--fg) var(--wallpaper); background: var(--wallpaper); } } @@ -366,17 +385,42 @@ nav { } .menu-item { + display: block; + box-sizing: border-box; border: none; outline: none; text-align: initial; font-size: inherit; font-family: inherit; + font-weight: 400; cursor: pointer; color: inherit; + clear: both; position: relative; border-bottom: 1px solid; + white-space: nowrap; border-color: var(--border); width: 100%; + line-height: var(--__line-height); + padding: var(--__vertical-gap) var(--__horizontal-gap); + + --__line-height: 1.5em; + --__horizontal-gap: 0.75em; + --__vertical-gap: 0.5em; + + a, + button { + text-align: initial; + padding: 0; + background: none; + border: none; + outline: none; + display: inline; + font-size: 100%; + font-family: inherit; + line-height: unset; + color: var(--text); + } &:first-child { border-top-right-radius: var(--roundness); @@ -693,6 +737,10 @@ option { &.iconLetter { font-size: 1.1em; } + + &.svg-inline--fa { + vertical-align: -0.15em; + } } .fa-old-padding { diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 1c3c1419c..cca7121cf 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -11,14 +11,14 @@