improve qutebrowser crollbars

This commit is contained in:
Leon Kowarschick 2020-04-25 12:46:02 +02:00
parent db1c34e944
commit 6a370b82c7
7 changed files with 17 additions and 18 deletions

View file

@ -1,3 +1,5 @@
*.background: #282828
rofi.lines: 5 rofi.lines: 5
rofi.eh: 2 rofi.eh: 2
rofi.padding: 200 rofi.padding: 200

View file

@ -8,3 +8,5 @@ config_version: 2
settings: settings:
content.notifications: content.notifications:
https://www.reddit.com: false https://www.reddit.com: false
scrolling.bar:
global: always

View file

@ -10,6 +10,9 @@ gruvboxy.draw.blood(c, {
# config.load_autoconfig() # config.load_autoconfig()
c.backend = 'webengine' c.backend = 'webengine'
c.scrolling.bar = "always" # "when-searching"
c.content.user_stylesheets = "user.css"
config.unbind("<Ctrl-tab>") config.unbind("<Ctrl-tab>")
config.unbind("d") config.unbind("d")
config.bind("Q", "tab-close") config.bind("Q", "tab-close")

View file

@ -1,3 +1,6 @@
# check c.colors.statusbar.insert.bg = palette['background-alt']
# was: background-attention
def blood(c, options = {}): def blood(c, options = {}):
palette = { palette = {
'background': '#282828', 'background': '#282828',
@ -180,7 +183,7 @@ def blood(c, options = {}):
c.colors.statusbar.command.private.fg = palette['foreground-alt'] c.colors.statusbar.command.private.fg = palette['foreground-alt']
## Background color of the statusbar in insert mode. ## Background color of the statusbar in insert mode.
c.colors.statusbar.insert.bg = palette['background-attention'] c.colors.statusbar.insert.bg = palette['background-alt']
## Foreground color of the statusbar in insert mode. ## Foreground color of the statusbar in insert mode.
c.colors.statusbar.insert.fg = palette['foreground-attention'] c.colors.statusbar.insert.fg = palette['foreground-attention']

View file

@ -3,25 +3,14 @@
height: 8px; height: 8px;
} }
::-webkit-scrollbar-track:vertical { ::-webkit-scrollbar-track{
background: black; background-color: #282828;
border-left: 1px solid black;
} }
::-webkit-scrollbar-thumb:vertical { ::-webkit-scrollbar-thumb{
background: white; background-color: #fbf1c7;
border-left: 1px solid black; border: 2px solid #282828;
} border-radius: 3px;
::-webkit-scrollbar-track:horizontal {
background: white;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:horizontal {
background: white;
border-radius: 4px;
box-shadow: inset 0 0 8px black;
} }
::-webkit-scrollbar-corner { ::-webkit-scrollbar-corner {