From 4764e1fc5417bb0f3bcf80cfc1c10dc846a3f1d1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 4 Jan 2020 00:13:46 -0500 Subject: [PATCH] Add qutebrowser module --- config/qutebrowser/config.py | 514 + config/qutebrowser/css/github.com | 16252 ++++++++++++++++ config/qutebrowser/css/quora.css | 237 + config/qutebrowser/css/stackoverflow.css | 6415 ++++++ config/qutebrowser/css/xkcd.css | 52 + config/qutebrowser/css/youtube.css | 44 + .../per-domain-stylesheets.user.js | 21 + config/qutebrowser/styles/github.scss | 4475 +++++ config/qutebrowser/styles/quora.scss | 293 + config/qutebrowser/styles/stackoverflow.scss | 1027 + config/qutebrowser/styles/xkcd.scss | 86 + config/qutebrowser/styles/youtube.scss | 65 + modules/browser/qutebrowser.nix | 20 + 13 files changed, 29501 insertions(+) create mode 100644 config/qutebrowser/config.py create mode 100644 config/qutebrowser/css/github.com create mode 100644 config/qutebrowser/css/quora.css create mode 100644 config/qutebrowser/css/stackoverflow.css create mode 100644 config/qutebrowser/css/xkcd.css create mode 100644 config/qutebrowser/css/youtube.css create mode 100644 config/qutebrowser/greasemonkey/per-domain-stylesheets.user.js create mode 100644 config/qutebrowser/styles/github.scss create mode 100644 config/qutebrowser/styles/quora.scss create mode 100644 config/qutebrowser/styles/stackoverflow.scss create mode 100644 config/qutebrowser/styles/xkcd.scss create mode 100644 config/qutebrowser/styles/youtube.scss diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py new file mode 100644 index 00000000..8e11fab2 --- /dev/null +++ b/config/qutebrowser/config.py @@ -0,0 +1,514 @@ +import os +import glob + +## Per-domain settings +c.content.user_stylesheets = glob.glob(os.path.expanduser('~/.config/qutebrowser/css/*.css')) + + +## General config +# c.confirm_quit = ['never'] +c.editor.command = ['emacsclient', '-c', '-a', ' ', '+{line}:{column}', '{}'] + +## Colors +# c.colors.completion.category.fg = 'white' +c.colors.completion.category.bg = '#343537' +# c.colors.completion.category.border.bottom = 'black' +c.colors.completion.category.border.top = '#343537' +# c.colors.completion.fg = 'white' +c.colors.completion.even.bg = '#141517' +c.colors.completion.odd.bg = c.colors.completion.even.bg +c.colors.completion.item.selected.fg = 'white' +c.colors.completion.item.selected.bg = '#545557' +# c.colors.completion.item.selected.border.bottom = '#bbbb00' +c.colors.completion.item.selected.border.top = '#545557' +c.colors.completion.match.fg = '#b5bd68' +c.colors.completion.scrollbar.fg = '#c678dd' +c.colors.completion.scrollbar.bg = c.colors.completion.category.bg +# c.colors.downloads.bar.bg = 'black' +# c.colors.downloads.error.bg = 'red' +# c.colors.downloads.error.fg = 'white' +# c.colors.downloads.start.bg = '#0000aa' +# c.colors.downloads.start.fg = 'white' +# c.colors.downloads.stop.bg = '#00aa00' +# c.colors.downloads.stop.fg = 'white' +# c.colors.downloads.system.bg = 'rgb' +# c.colors.downloads.system.fg = 'rgb' + +c.colors.hints.bg = '#18191b' +c.colors.hints.fg = '#ffffff' +c.colors.hints.match.fg = '#b5bd68' + +# c.colors.keyhint.fg = '#FFFFFF' +# c.colors.keyhint.bg = 'rgba(0, 0, 0, 80%)' +# c.colors.keyhint.suffix.fg = '#FFFF00' + +# c.colors.messages.error.fg = 'white' +# c.colors.messages.error.bg = 'red' +# c.colors.messages.error.border = '#bb0000' + +# c.colors.messages.info.fg = 'white' +# c.colors.messages.info.bg = 'black' +# c.colors.messages.info.border = '#333333' + +# c.colors.messages.warning.fg = 'white' +# c.colors.messages.warning.bg = 'darkorange' +# c.colors.messages.warning.border = '#d47300' + +# c.colors.prompts.bg = '#444444' +# c.colors.prompts.fg = 'white' +# c.colors.prompts.selected.bg = 'grey' +# c.colors.prompts.border = '1px solid gray' + +# c.colors.statusbar.caret.bg = 'purple' +# c.colors.statusbar.caret.fg = 'white' +# c.colors.statusbar.caret.selection.bg = '#a12dff' +# c.colors.statusbar.caret.selection.fg = 'white' +c.colors.statusbar.command.bg = '#1a1b1d' +# c.colors.statusbar.command.fg = 'white' +# c.colors.statusbar.command.private.bg = 'grey' +# c.colors.statusbar.command.private.fg = 'white' +c.colors.statusbar.normal.bg = '#1a1b1d' +# c.colors.statusbar.normal.fg = 'white' +c.colors.statusbar.insert.bg = 'darkgreen' +# c.colors.statusbar.insert.fg = 'white' +c.colors.statusbar.private.bg = '#2a8fed' +# c.colors.statusbar.private.fg = 'white' +# c.colors.statusbar.progress.bg = 'white' +# c.colors.statusbar.url.fg = 'white' +c.colors.statusbar.url.success.http.fg = '#b5bd68' +c.colors.statusbar.url.success.https.fg = '#bc77a8' +c.colors.statusbar.url.error.fg = '#cc6666' +c.colors.statusbar.url.warn.fg = '#f0c674' +c.colors.statusbar.url.hover.fg = '#8abeb7' + +c.colors.tabs.even.bg = c.colors.statusbar.command.bg +c.colors.tabs.even.fg = 'white' +c.colors.tabs.odd.bg = c.colors.statusbar.command.bg +c.colors.tabs.odd.fg = 'white' +c.colors.tabs.selected.even.bg = '#38393b' +c.colors.tabs.selected.even.fg = c.colors.statusbar.command.fg +c.colors.tabs.selected.odd.bg = c.colors.tabs.selected.even.bg +c.colors.tabs.selected.odd.fg = c.colors.tabs.selected.even.fg +c.colors.tabs.indicator.error = '#da8548' +c.colors.tabs.indicator.start = '#c678dd' +c.colors.tabs.indicator.stop = '#51afef' +# c.colors.tabs.indicator.system = 'rgb' +# c.colors.webpage.bg = 'white' + +c.completion.height = '30%' +c.completion.web_history.max_items = 1500 +# c.completion.cmd_history_max_items = 100 +# c.completion.quick = True +c.completion.scrollbar.padding = 0 +c.completion.scrollbar.width = 6 +# c.completion.show = 'always' +# c.completion.shrink = False +# c.completion.timestamp_format = '%Y-%m-%d' +# c.completion.web_history.max_items = -1 + +# c.content.notifications = False # unavailable on QtWebEngine +c.content.mute = True # mute tabs by default +c.content.autoplay = False # don't autoplay videos +c.content.default_encoding = 'utf-8' +# c.content.developer_extras = True +c.content.javascript.enabled = True +c.content.local_storage = True +c.content.plugins = True +c.content.host_blocking.lists = [ + 'https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts', + 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext' + # 'https://www.malwaredomainlist.com/hostslist/hosts.txt', + # 'http://someonewhocares.org/hosts/hosts', + # 'http://winhelp2002.mvps.org/hosts.zip', + # 'http://malwaredomains.lehigh.edu/files/justdomains.zip', +] +c.content.host_blocking.whitelist = [] + +c.downloads.position = 'bottom' +c.downloads.location.directory = os.path.expanduser("~/dl") +c.downloads.location.prompt = False +# c.downloads.location.remember = True +# c.downloads.location.suggestion = 'path' +# c.downloads.open_dispatcher = None + +c.editor.encoding = 'utf-8' + +c.fonts.completion.category = 'bold 8pt monospace' +c.fonts.completion.entry = '8pt monospace' +c.fonts.debug_console = '8pt monospace' +c.fonts.downloads = '8pt monospace' +c.fonts.hints = 'bold 10pt monospace' +c.fonts.keyhint = '8pt monospace' +c.fonts.messages.error = '8pt monospace' +c.fonts.messages.info = '8pt monospace' +c.fonts.messages.warning = '8pt monospace' +c.fonts.monospace = '"xos4 Terminus", Terminus, Monospace, "DejaVu Sans Mono", Monaco, "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, "Liberation Mono", monospace, Fixed, Consolas, Terminal' +c.fonts.prompts = '8pt sans-serif' +c.fonts.statusbar = '8pt monospace' +c.fonts.tabs = '8pt monospace' +# c.fonts.web.family.cursive = '' +# c.fonts.web.family.fantasy = '' +# c.fonts.web.family.fixed = '' +# c.fonts.web.family.sans_serif = '' +# c.fonts.web.family.serif = '' +# c.fonts.web.family.standard = '' +# c.fonts.web.size.default = 14 +# c.fonts.web.size.default_fixed = 13 +# c.fonts.web.size.minimum = 0 +# c.fonts.web.size.minimum_logical = 6 + +# c.hints.auto_follow = 'unique-match' +# c.hints.auto_follow_timeout = 0 +c.hints.border = '6px solid #18191b' +# c.hints.chars = 'asdfghjkl' +# c.hints.dictionary = '/usr/share/dict/words' +# c.hints.find_implementation = 'python' +# c.hints.hide_unmatched_rapid_hints = True +# c.hints.min_chars = 1 +# c.hints.mode = 'letter' +# c.hints.next_regexes = ['\\bnext\\b', '\\bmore\\b', '\\bnewer\\b', '\\b[>→≫]\\b', '\\b(>>|»)\\b', '\\bcontinue\\b'] +# c.hints.prev_regexes = ['\\bprev(ious)?\\b', '\\bback\\b', '\\bolder\\b', '\\b[<←≪]\\b', '\\b(<<|«)\\b'] +# c.hints.scatter = True +# c.hints.uppercase = False + + +## Options +# c.history_gap_interval = 30 +# c.ignore_case = 'smart' +# c.input.forward_unbound_keys = 'auto' +# c.input.insert_mode.auto_leave = True +c.input.insert_mode.auto_load = False +# c.input.insert_mode.plugins = False +# c.input.links_included_in_focus_chain = True +# c.input.partial_timeout = 5000 +# c.input.rocker_gestures = False +# c.input.spatial_navigation = False +# c.keyhint.blacklist = [] +# c.keyhint.delay = 500 +# c.messages.timeout = 2000 +# c.messages.unfocused = False +c.new_instance_open_target = 'tab-silent' +# c.new_instance_open_target_window = 'last-focused' +c.prompt.filebrowser = False +c.prompt.radius = 0 +# c.qt.args = [] +# c.qt.force_platform = None +# c.qt.force_software_rendering = False +c.scrolling.bar = 'when-searching' +c.scrolling.smooth = False +# c.session_default_name = None +c.spellcheck.languages = ['en-US'] +c.session.lazy_restore = False + +c.statusbar.padding = {'top': 4, 'bottom': 4, 'left': 4, 'right': 4} +# c.statusbar.hide = False +# c.statusbar.position = 'bottom' + +c.tabs.background = True +c.tabs.padding = {'top': 4, 'bottom': 4, 'left': 0, 'right': 3} +c.tabs.indicator.padding = {'top': 0, 'bottom': 0, 'left': 0, 'right': 5} +c.tabs.mousewheel_switching = False +# c.tabs.close_mouse_button = 'middle' +# c.tabs.favicons.scale = 1.0 +# c.tabs.favicons.show = True +# c.tabs.last_close = 'ignore' +# c.tabs.new_position.related = 'next' +# c.tabs.new_position.unrelated = 'last' +# c.tabs.position = 'top' +# c.tabs.select_on_remove = 'next' +c.tabs.show = 'multiple' +c.tabs.title.format = '{current_title} - {host}' +c.tabs.title.format_pinned = '' +c.tabs.indicator.width = 1 +# c.tabs.wrap = True + +# c.url.auto_search = 'naive' +# c.url.default_page = 'https://start.duckduckgo.com/' +# c.url.incdec_segments = ['path', 'query'] +# c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'} +# c.url.start_pages = ['https://start.duckduckgo.com'] +# c.url.yank_ignored_parameters = ['ref', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content'] + +# c.window.hide_wayland_decoration = False +c.window.title_format = '{current_title} - {host} - qutebrowser' + +# c.zoom.default = '100%' +# c.zoom.levels = ['25%', '33%', '50%', '67%', '75%', '90%', '100%', '110%', '125%', '150%', '175%', '200%', '250%', '300%', '400%', '500%'] +# c.zoom.mouse_divider = 512 +# c.zoom.text_only = False + + +## Aliases +# c.aliases["m"] = ":tab-mute" + + +## Keybindings +config.bind('zz', 'close') +config.bind(';m', 'tab-mute') +config.bind(';v', 'spawn mpv {url}') +config.bind(';V', 'hint links spawn mpv {hint-url}') + +# Universal Emacsien C-g alias for Escape +config.bind('', 'clear-keychain ;; search ;; fullscreen --leave') +for mode in ['caret', 'command', 'hint', 'insert', 'passthrough', 'prompt', 'register']: + config.bind('', 'leave-mode', mode=mode) + +## Bindings for normal mode +# config.bind("'", 'enter-mode jump_mark') +# config.bind('+', 'zoom-in') +# config.bind('-', 'zoom-out') +# config.bind('.', 'repeat-command') +# config.bind('/', 'set-cmd-text /') +# config.bind(':', 'set-cmd-text :') +# config.bind(';I', 'hint images tab') +# config.bind(';O', 'hint links fill :open -t -r {hint-url}') +# config.bind(';R', 'hint --rapid links window') +# config.bind(';Y', 'hint links yank-primary') +# config.bind(';b', 'hint all tab-bg') +# config.bind(';d', 'hint links download') +# config.bind(';f', 'hint all tab-fg') +# config.bind(';h', 'hint all hover') +# config.bind(';i', 'hint images') +# config.bind(';o', 'hint links fill :open {hint-url}') +# config.bind(';r', 'hint --rapid links tab-bg') +# config.bind(';t', 'hint inputs') +# config.bind(';y', 'hint links yank') +# config.bind('', 'tab-focus 1') +# config.bind('', 'tab-focus 2') +# config.bind('', 'tab-focus 3') +# config.bind('', 'tab-focus 4') +# config.bind('', 'tab-focus 5') +# config.bind('', 'tab-focus 6') +# config.bind('', 'tab-focus 7') +# config.bind('', 'tab-focus 8') +# config.bind('', 'tab-focus -1') +# config.bind('', 'navigate increment') +# config.bind('', 'print') +# config.bind('', 'scroll-page 0 -1') +# config.bind('', 'scroll-page 0 0.5') +# config.bind('', 'reload -f') +# config.bind('', 'scroll-page 0 1') +# config.bind('', 'open -w') +# config.bind('', 'tab-next') +# config.bind('', 'tab-prev') +# config.bind('', 'quit') +# config.bind('', 'follow-selected -t') +# config.bind('', 'open -p') +# config.bind('', 'undo') +# config.bind('', 'close') +# config.bind('', 'open -t') +# config.bind('', 'tab-focus last') +# config.bind('', 'scroll-page 0 -0.5') +# config.bind('', 'enter-mode passthrough') +# config.bind('', 'tab-close') +# config.bind('', 'navigate decrement') +# config.bind('', 'tab-focus last') +# config.bind('', 'home') +# config.bind('', 'tab-pin') +# config.bind('', 'stop') +# config.bind('', 'clear-keychain ;; search ;; fullscreen --leave') +# config.bind('', 'fullscreen') +# config.bind('', 'reload') +# config.bind('', 'follow-selected') +# config.bind('', 'back') +# config.bind('', 'forward') +# config.bind('=', 'zoom') +# config.bind('?', 'set-cmd-text ?') +# config.bind('@', 'run-macro') +# config.bind('B', 'set-cmd-text -s :quickmark-load -t') +# config.bind('D', 'tab-close -o') +# config.bind('F', 'hint all tab') +# config.bind('G', 'scroll-to-perc') +# config.bind('H', 'back') +# config.bind('J', 'tab-next') +# config.bind('K', 'tab-prev') +# config.bind('L', 'forward') +# config.bind('M', 'bookmark-add') +# config.bind('N', 'search-prev') +# config.bind('O', 'set-cmd-text -s :open -t') +# config.bind('PP', 'open -t -- {primary}') +# config.bind('Pp', 'open -t -- {clipboard}') +# config.bind('R', 'reload -f') +# config.bind('Sb', 'open qute://bookmarks#bookmarks') +# config.bind('Sh', 'open qute://history') +# config.bind('Sq', 'open qute://bookmarks') +# config.bind('Ss', 'open qute://settings') +# config.bind('T', 'tab-focus') +# config.bind('ZQ', 'quit') +# config.bind('ZZ', 'quit --save') +# config.bind('[[', 'navigate prev') +# config.bind(']]', 'navigate next') +# config.bind('`', 'enter-mode set_mark') +# config.bind('ad', 'download-cancel') +# config.bind('b', 'set-cmd-text -s :quickmark-load') +# config.bind('cd', 'download-clear') +# config.bind('co', 'tab-only') +# config.bind('d', 'tab-close') +# config.bind('f', 'hint') +# config.bind('g$', 'tab-focus -1') +# config.bind('g0', 'tab-focus 1') +# config.bind('gB', 'set-cmd-text -s :bookmark-load -t') +# config.bind('gC', 'tab-clone') +# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}') +# config.bind('gU', 'navigate up -t') +# config.bind('g^', 'tab-focus 1') +# config.bind('ga', 'open -t') +# config.bind('gb', 'set-cmd-text -s :bookmark-load') +# config.bind('gd', 'download') +# config.bind('gf', 'view-source') +# config.bind('gg', 'scroll-to-perc 0') +# config.bind('gl', 'tab-move -') +# config.bind('gm', 'tab-move') +# config.bind('go', 'set-cmd-text :open {url:pretty}') +# config.bind('gr', 'tab-move +') +# config.bind('gt', 'set-cmd-text -s :buffer') +# config.bind('gu', 'navigate up') +# config.bind('h', 'scroll left') +# config.bind('i', 'enter-mode insert') +# config.bind('j', 'scroll down') +# config.bind('k', 'scroll up') +# config.bind('l', 'scroll right') +# config.bind('m', 'quickmark-save') +# config.bind('n', 'search-next') +# config.bind('o', 'set-cmd-text -s :open') +# config.bind('pP', 'open -- {primary}') +# config.bind('pp', 'open -- {clipboard}') +# config.bind('q', 'record-macro') +# config.bind('r', 'reload') +# config.bind('sf', 'save') +# config.bind('sk', 'set-cmd-text -s :bind') +# config.bind('sl', 'set-cmd-text -s :set -t') +# config.bind('ss', 'set-cmd-text -s :set') +# config.bind('th', 'back -t') +# config.bind('tl', 'forward -t') +# config.bind('u', 'undo') +# config.bind('v', 'enter-mode caret') +# config.bind('wB', 'set-cmd-text -s :bookmark-load -w') +# config.bind('wO', 'set-cmd-text :open -w {url:pretty}') +# config.bind('wP', 'open -w -- {primary}') +# config.bind('wb', 'set-cmd-text -s :quickmark-load -w') +# config.bind('wf', 'hint all window') +# config.bind('wh', 'back -w') +# config.bind('wi', 'inspector') +# config.bind('wl', 'forward -w') +# config.bind('wo', 'set-cmd-text -s :open -w') +# config.bind('wp', 'open -w -- {clipboard}') +# config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}') +# config.bind('xb', 'config-cycle statusbar.hide') +# config.bind('xo', 'set-cmd-text -s :open -b') +# config.bind('xt', 'config-cycle tabs.show always switching') +# config.bind('xx', 'config-cycle statusbar.hide ;; config-cycle tabs.show always switching') +# config.bind('yD', 'yank domain -s') +# config.bind('yP', 'yank pretty-url -s') +# config.bind('yT', 'yank title -s') +# config.bind('yY', 'yank -s') +# config.bind('yd', 'yank domain') +# config.bind('yp', 'yank pretty-url') +# config.bind('yt', 'yank title') +# config.bind('yy', 'yank') +# config.bind('{{', 'navigate prev -t') +# config.bind('}}', 'navigate next -t') + +## Bindings for caret mode +# config.bind('$', 'move-to-end-of-line', mode='caret') +# config.bind('0', 'move-to-start-of-line', mode='caret') +# config.bind('', 'drop-selection', mode='caret') +# config.bind('', 'leave-mode', mode='caret') +# config.bind('', 'yank selection', mode='caret') +# config.bind('', 'toggle-selection', mode='caret') +# config.bind('G', 'move-to-end-of-document', mode='caret') +# config.bind('H', 'scroll left', mode='caret') +# config.bind('J', 'scroll down', mode='caret') +# config.bind('K', 'scroll up', mode='caret') +# config.bind('L', 'scroll right', mode='caret') +# config.bind('Y', 'yank selection -s', mode='caret') +# config.bind('[', 'move-to-start-of-prev-block', mode='caret') +# config.bind(']', 'move-to-start-of-next-block', mode='caret') +# config.bind('b', 'move-to-prev-word', mode='caret') +# config.bind('c', 'enter-mode normal', mode='caret') +# config.bind('e', 'move-to-end-of-word', mode='caret') +# config.bind('gg', 'move-to-start-of-document', mode='caret') +# config.bind('h', 'move-to-prev-char', mode='caret') +# config.bind('j', 'move-to-next-line', mode='caret') +# config.bind('k', 'move-to-prev-line', mode='caret') +# config.bind('l', 'move-to-next-char', mode='caret') +# config.bind('v', 'toggle-selection', mode='caret') +# config.bind('w', 'move-to-next-word', mode='caret') +# config.bind('y', 'yank selection', mode='caret') +# config.bind('{', 'move-to-end-of-prev-block', mode='caret') +# config.bind('}', 'move-to-end-of-next-block', mode='caret') + +## Bindings for command mode +# config.bind('', 'rl-backward-word', mode='command') +# config.bind('', 'rl-backward-kill-word', mode='command') +# config.bind('', 'rl-kill-word', mode='command') +# config.bind('', 'rl-forward-word', mode='command') +# config.bind('', 'rl-delete-char', mode='command') +# config.bind('', 'rl-beginning-of-line', mode='command') +# config.bind('', 'rl-backward-char', mode='command') +# config.bind('', 'completion-item-del', mode='command') +# config.bind('', 'rl-end-of-line', mode='command') +# config.bind('', 'rl-forward-char', mode='command') +config.bind('', 'rl-backward-word', mode='command') +config.bind('', 'rl-forward-word', mode='command') +# config.bind('', 'rl-backward-delete-char', mode='command') +# config.bind('', 'rl-kill-line', mode='command') +# config.bind('', 'command-history-next', mode='command') +# config.bind('', 'command-history-prev', mode='command') +# config.bind('', 'completion-item-focus prev-category', mode='command') +# config.bind('', 'completion-item-focus next-category', mode='command') +# config.bind('', 'rl-unix-line-discard', mode='command') +# config.bind('', 'rl-unix-word-rubout', mode='command') +# config.bind('', 'rl-yank', mode='command') +# config.bind('', 'command-history-next', mode='command') +# config.bind('', 'leave-mode', mode='command') +# config.bind('', 'command-accept', mode='command') +# config.bind('', 'completion-item-del', mode='command') +# config.bind('', 'completion-item-focus prev', mode='command') +# config.bind('', 'completion-item-focus next', mode='command') +# config.bind('', 'command-history-prev', mode='command') + +## Bindings for hint mode +# config.bind('', 'hint all tab-bg', mode='hint') +# config.bind('', 'hint links', mode='hint') +# config.bind('', 'hint --rapid links tab-bg', mode='hint') +# config.bind('', 'leave-mode', mode='hint') +# config.bind('', 'follow-hint', mode='hint') + +## Bindings for insert mode +# config.bind('', 'open-editor', mode='insert') +# config.bind('', 'leave-mode', mode='insert') +# config.bind('', 'insert-text {primary}', mode='insert') + +## Bindings for passthrough mode +# config.bind('', 'leave-mode', mode='passthrough') + +## Bindings for prompt mode +# config.bind('', 'rl-backward-word', mode='prompt') +# config.bind('', 'rl-backward-kill-word', mode='prompt') +# config.bind('', 'rl-kill-word', mode='prompt') +# config.bind('', 'rl-forward-word', mode='prompt') +# config.bind('', 'rl-delete-char', mode='prompt') +# config.bind('', 'rl-beginning-of-line', mode='prompt') +# config.bind('', 'rl-backward-char', mode='prompt') +# config.bind('', 'rl-end-of-line', mode='prompt') +# config.bind('', 'rl-forward-char', mode='prompt') +config.bind('', 'rl-backward-word', mode='prompt') +config.bind('', 'rl-forward-word', mode='prompt') +# config.bind('', 'rl-backward-delete-char', mode='prompt') +# config.bind('', 'rl-kill-line', mode='prompt') +# config.bind('', 'rl-unix-line-discard', mode='prompt') +# config.bind('', 'rl-unix-word-rubout', mode='prompt') +# config.bind('', 'prompt-open-download', mode='prompt') +# config.bind('', 'rl-yank', mode='prompt') +# config.bind('', 'prompt-item-focus next', mode='prompt') +# config.bind('', 'leave-mode', mode='prompt') +# config.bind('', 'prompt-accept', mode='prompt') +# config.bind('', 'prompt-item-focus prev', mode='prompt') +# config.bind('', 'prompt-item-focus next', mode='prompt') +# config.bind('', 'prompt-item-focus prev', mode='prompt') +# config.bind('n', 'prompt-accept no', mode='prompt') +# config.bind('y', 'prompt-accept yes', mode='prompt') + +## Bindings for register mode +# config.bind('', 'leave-mode', mode='register') diff --git a/config/qutebrowser/css/github.com b/config/qutebrowser/css/github.com new file mode 100644 index 00000000..05011840 --- /dev/null +++ b/config/qutebrowser/css/github.com @@ -0,0 +1,16252 @@ +/*! Github Dark v1.20.84 (2018-11-19) */ +/*! Repository: https://github.com/StylishThemes/GitHub-Dark */ +/*! Userstyle: http://userstyles.org/styles/37035 */ +/*! License: https://creativecommons.org/licenses/by-sa/4.0/ */ +[qb-domain$="githubusercontent.com"], +[qb-domain$="graphql-explorer.githubapp.com"], +[qb-domain$="github.com"] { + /* Override default browser styles */ + /* begin auto-generated rules - use tools/generate.js to generate them */ + /* auto-generated rule for "background: #fff" */ + /* auto-generated rule for "background: #fafbfc" */ + /* auto-generated rule for "background: #f6f8fa" */ + /* auto-generated rule for "background: #eaecef" */ + /* auto-generated rule for "background: #d1d5da" */ + /* auto-generated rule for "background-color: #fff" */ + /* auto-generated rule for "background-color: #fafbfc" */ + /* auto-generated rule for "background-color: #f6f8fa" */ + /* auto-generated rule for "background-color: #eaecef" */ + /* auto-generated rule for "background-color: #d1d5da" */ + /* auto-generated rule for "background-color: #6a737d" */ + /* auto-generated rule for "background-color: #f1f8ff" */ + /* auto-generated rule for "background-color: #2cbe4e" */ + /* auto-generated rule for "background-color: #dbedff" */ + /* auto-generated rule for "background-color: #fffbdd" */ + /* auto-generated rule for "background: #0366d6" */ + /* auto-generated rule for "background-color: #0366d6" */ + /* auto-generated rule for "background: #dbedff" */ + /* auto-generated rule for "background: #fffbdd" */ + /* auto-generated rule for "border: 1px solid #e1e4e8" */ + /* auto-generated rule for "border: 1px solid #eee" */ + /* auto-generated rule for "border: 1px solid rgba(27,31,35,.15)" */ + /* auto-generated rule for "border: 2px solid #fff" */ + /* auto-generated rule for "border: solid #ddd" */ + /* auto-generated rule for "border-color: #e1e4e8" */ + /* auto-generated rule for "border-color: #eaecef" */ + /* auto-generated rule for "border-bottom-color: #e36209" */ + /* auto-generated rule for "border-bottom: 1px solid #f8f8f8" */ + /* auto-generated rule for "border-bottom: 1px solid #dfe2e5" */ + /* auto-generated rule for "border-top: 1px solid #e1e4e8" */ + /* auto-generated rule for "border-bottom: 1px solid #e1e4e8" */ + /* auto-generated rule for "border-left: 1px solid #e1e4e8" */ + /* auto-generated rule for "border-right: 1px solid #e1e4e8" */ + /* auto-generated rule for "border-top: 1px solid #eaecef" */ + /* auto-generated rule for "border-bottom: 1px solid #eaecef" */ + /* auto-generated rule for "border-left: 1px solid #eaecef" */ + /* auto-generated rule for "border-right: 1px solid #eaecef" */ + /* auto-generated rule for "border-top: 1px solid #ddd" */ + /* auto-generated rule for "border-bottom: 1px solid #ddd" */ + /* auto-generated rule for "border-left: 1px solid #ddd" */ + /* auto-generated rule for "border-right: 1px solid #ddd" */ + /* auto-generated rule for "border-top-color: rgba(27,31,35,.15)" */ + /* auto-generated rule for "border-bottom-color: rgba(27,31,35,.15)" */ + /* auto-generated rule for "border-left-color: rgba(27,31,35,.15)" */ + /* auto-generated rule for "border-right-color: rgba(27,31,35,.15)" */ + /* auto-generated rule for "border-left-color: #f6f8fa" */ + /* auto-generated rule for "border-left: solid 2px #e6ebf1" */ + /* auto-generated rule for "border-bottom: solid 2px #e6ebf1" */ + /* auto-generated rule for "border-bottom-color: #fff" */ + /* auto-generated rule for "border-left-color: #fff" */ + /* auto-generated rule for "border-top-color: #fff" */ + /* auto-generated rule for "border-right-color: #fff" */ + /* auto-generated rule for "border-top: 7px solid #fff" */ + /* auto-generated rule for "border-top: 8px solid rgba(27,31,35,.15)" */ + /* auto-generated rule for "border-color: #2188ff" */ + /* auto-generated rule for "box-shadow: 0 0 0 .2em rgba(3,102,214,.3)" */ + /* auto-generated rule for "box-shadow: 0 0 0 .2em #c8e1ff" */ + /* auto-generated rule for "box-shadow: 0 0 0 .2em rgba(203,36,49,.4)" */ + /* auto-generated rule for "color: #3c4146" */ + /* auto-generated rule for "color: #444d56" */ + /* auto-generated rule for "color: #666" */ + /* auto-generated rule for "color: #6a737d" */ + /* auto-generated rule for "color: #959da5" */ + /* auto-generated rule for "color: #a3aab1" */ + /* auto-generated rule for "color: #c6cbd1" */ + /* auto-generated rule for "color: rgba(27,31,35,.85)" */ + /* auto-generated rule for "color: #0366d6" */ + /* auto-generated rule for "color: #586069" */ + /* auto-generated rule for "color: #24292e" */ + /* auto-generated rule for "color: #cb2431" */ + /* auto-generated rule for "background-color: #d73a49" */ + /* auto-generated rule for "background-color: #cb2431" */ + /* auto-generated rule for "color: #a04100" */ + /* auto-generated rule for "background-color: #d15704" */ + /* auto-generated rule for "color: #28a745" */ + /* auto-generated rule for "background-color: #28a745" */ + /* auto-generated rule for "color: rgba(47,38,6,.5)" */ + /* auto-generated rule for "color: #b08800" */ + /* auto-generated rule for "background-color: #ffd33d" */ + /* auto-generated rule for "background-color: #fff5b1" */ + /* auto-generated rule for "color: #6f42c1" */ + /* auto-generated rule for "background-color: #6f42c1" */ + /* auto-generated rule for "color: inherit" */ + /* end auto-generated rules */ + /* custom code font */ + /* Base link colors */ + /* Base color panel */ + /* notification icon */ + /* text selection */ + /* placeholder */ + /* Remove dotted borders on already otherwise higlighted elements (Firefox) */ + /* focus hightlight */ + /* inputs */ + /* below style currently does not work in Firefox, see */ + /* https://bugzilla.mozilla.org/show_bug.cgi?id=1394491 */ + /* custom checkbox and radio styles. We need a full set of styles here as + * WebKit removes all of them when -webkit-appearance: none is set. */ + /* User time line firsts */ + /* PR toolbar tweaks */ + /* User profile: Make the border not cross into the years buttons */ + /* fix borders in repo tag editor */ + /* HACK: Label colors */ + /* remove shadow */ + /* transparent background only */ + /* remove background gradient */ + /* border-radius */ + /* add rounded borders on bottom - issue caused by GitHub bugs */ + /* repo labels, private repo lists */ + /* previously orange border bottom */ + /* Make it more apparent that
is clickable */ + /* GitHub Bug: Center discussion close icon vertically */ + /* GitHub Bug: Center counters vertically on the line */ + /* GitHub Bug: Fix image swipe handle misalignment */ + /* GitHub Bug: Fix text selection not working on inline bug in Firefox */ + /* GitHub Bug: Stop commit message field from resizing horizontally */ + /* GitHub Bug: Fix broken position:sticky emulation in Firefox */ + /* GitHub Bug: Fix rendering artifacts in Firefox on language graph */ + /* Tweak: Square counters, add 1px padding on bottom to counter uneven font size */ + /* invisible border */ + /* darken border */ + /* discussion timeline tweaks */ + /* developer sidebar indicator arrows */ + /* branch selector button - uses borders to make select button */ + /* code */ + /* File listings - fix date truncation */ + /* https://github.com/StylishThemes/GitHub-Dark/issues/620 */ + /* tooltip - tooltipped */ + /* headers */ + /* Navigation focus */ + /* semi-transparent */ + /* page overlay */ + /* #333 */ + /* org page graphs - https://github.com/StylishThemes */ + /* contribution calendar */ + /* contribution progress bars on user page */ + /* contribution calendar/legend - regular colors */ + /* contribution calendar - halloween colors */ + /* Activity Overview on userpage */ + /* invert (rgb) */ + /* invert network graph; gh-polls (https://github.com/apex/gh-polls) */ + /* invert problematic emoji */ + /* images */ + /* Invert problematic emoji fallback images used on Windows */ + /* use tools/unicode-gen.js to generate */ + /* Exclude problematic non-emojis from Apple's emoji font on macOS */ + /* use tools/unicode-gen.js to generate. */ + /* GeoJSON maps */ + /* https://github.com/benbalter/dc-maps/blob/master/maps/embassies.geojson */ + /* invert #fff to #181818 */ + /* https://github.com/sujitpal/statlearning-notebooks/blob/master/src/chapter2.ipynb */ + /* workaround filter creating a stacking context */ + /* brighten language colors */ + /* soft badges */ + /* svg styling */ + /* Firefox: Exclude text inside an svg loaded through an img, as seen in svg badges */ + /* monochrome backgrounds */ + /* actions in issues - this style needs to be after .bubble */ + /* blue box */ + /* original colors */ + /* notebooks */ + /* gradient */ + /* file drag&drop overlay */ + /* light grey gradient */ + /* dark grey gradient */ + /* inverted dark grey gradient */ + /* commits page - committer icon */ + /* text color */ + /* Bright text */ + /* Alerts and activity, remove background gradient */ + /* Panels */ + /* red */ + /* Red panel */ + /* red border */ + /* bright red text */ + /* blue purple */ + /* purple */ + /* brown */ + /* semi-transparent brown */ + /* yellow text */ + /* .bg-pending might be a GitHub bug as it sets the fg */ + /* yellow border (travis) */ + /* yellow background */ + /* green */ + /* labels */ + /* Green border */ + /* original color */ + /* Green text */ + /* bright green background */ + /* interactive button - bright border */ + /* New additions */ + /* Green hovered */ + /* orange */ + /* purple */ + /* pjax loading */ + /* Repo list (https://github.com/{user}?tab=repositories) */ + /* HACK: Fix review comment timeline */ + /* https://github.com/nodejs/node/pull/8519#r78637092 */ + /* Hide annoying Issue/Pull Request banners */ + /* history expand buttons */ + /* pull request avatar bubble */ + /* octocat spinners */ + /* network members */ + /* front page: 'more' spinner */ + /* image preview background */ + /* dropdown arrows */ +/* https://github.com/account/upgrade */ +.form-select { + background: #181818 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAQAAAAua3X8AAAARklEQVR4AWNABWcazjQg8zGl/wNhA15piBL80gglmNKYSjClMZUgpDGVwKXxKBl4QNiRBLxJIKAIBzXhyCIc3YQTDMEkBwBplPJRxEMa4wAAAABJRU5ErkJggg==") no-repeat right 8px center !important; + background-size: 8px 10px !important; +} +/* language stats bar */ +.repository-lang-stats-graph { + height: 9px !important; +} +/* no border */ +.multiple-avatars, .multiple-avatars:before, table.files, table.files tr, +.simple-conversation-list>li:first-child, .gobutton.with-comments .sha, +.usage-bar dd, .setup-form-container .fieldgroup .fields, +.inline-comments .line-comments, #gist-form .gist-name-textbox, +#adv_code_search .search-page-input, .fullscreen-overlay textarea, +.file .image .border-wrap, .site-search .chromeless-input, +.profile-timeline-card-wrapper, .render-shell img, img.asset, +.AvatarStack--right .avatar, .AvatarStack-body .avatar, +.sidebar-notifications .thread-subscription-status, +.timeline-comment:target .review-summary .comment-body { + border: 0 !important; +} +.dashboard-tabs a { + border-left: 0 !important; + border-right: 0 !important; +} +.js-details-container.navigation-focus .gobutton { + background: linear-gradient(#444, #222) !important; +} +/* no top border radius */ +table.files { + border-top-left-radius: 0 !important; + border-top-right-radius: 0 !important; +} +/* add border */ +.issues-list, .pulls-list-group, .commit-tease, .branch-infobar, +.pagehead.repohead h1 .repo-label span, +.coupons .coupon-form-body .coupon-icon, .menu, .merge-pr-more-commits, +.api pre { + border: 1px solid #484848 !important; +} +#graph-shots li > p, .select-menu-item, .logo-box, .branch-infobar, #com hr, +.discussion-item-body .outdated-comment .file-header { + border-bottom: none !important; +} +.pull-info, .branch-link, .milestone-list .progress-bar { + border: 1px solid #444 !important; +} +.more-repos { + border-top: #484848 1px solid !important; +} +.pull-head, .capped-box { + border-bottom: #484848 1px solid !important; +} +.tutorial-e:after, .file-commit-form .commit-form:before { + border-right-color: #343434 !important; + border-bottom-color: transparent !important; +} +.file-commit-form .commit-form:after, .ScreenshotCarousel-navitem, +.new-discussion-timeline .composer .timeline-comment:after { + border-right-color: #222 !important; +} +#com .dropdown-menu:after { + border: 9px solid; + border-color: transparent transparent #181818; + content: " "; + left: 50%; + top: -17px; + position: absolute; + margin-left: -9px; +} +.dropdown-menu-w:before { + border-bottom-color: transparent !important; +} +/* inline code - add border */ +.markdown-format p > code, .markdown-body code, .markdown-body tt, +.markdown-format pre, .markdown-body pre, .markdown-format .highlight pre, +.markdown-body .highlight pre, body.blog pre, #user-content-toc td, +.copyable-terminal { + border: 1px solid rgba(255, 255, 255, .1) !important; +} +/* toc in markdown, reset border-collaps so border-radius works */ +/* https://github.com/bitcoin/bips/blob/master/bip-0037.mediawiki */ +#user-content-toc { + border-collapse: separate !important; +} +#facebox pre, #contributors-master svg.viz, #com .dropdown-menu { + border: 1px solid #343434 !important; +} +/* orange rss icon */ +.blog-aside .octicon-rss, .dashboard-feed-icon.octicon-rss, +.nav-rss a .octicon-rss, .feed-icon, #dashboard .octicon-rss { + color: #f93 !important; +} +.featured-label { + background: #f5b987 !important; + border: none !important; + padding: 6px !important; + color: #ed7c21 !important; +} +.featured-label .octicon, +.page-new-repo div.form-checkbox .octicon-lock:before { + color: #ed7c21 !important; +} +/* diff highlighting (no syntax highlight) */ +/* main diff text color */ +.diff-line-pre { + color: #ccc !important; +} +.diff-table .line-comments { + border-top: 1px solid #333 !important; + border-bottom: 1px solid #333 !important; +} +#header-wrapper, .menu li + li { + border-bottom: 1px solid #333 !important; +} +.js-release-form .drag-and-drop, .review-comment .comment-reactions { + border-top: 0 !important; +} +/* light grey - breaks in diff (with line numbers) */ +.highlight .expandable-line-num, .highlight .diff-line-num-hunk, +.highlight .diff-line-code-hunk, .highlight .expandable-line-code { + background: #222 !important; + color: #888 !important; +} +/* git diff line additions (dark green) */ +.blob-code-addition, .prose-diff .changed ins, .prose-diff .changed ins code, +.prose-diff .changed ins pre, .prose-diff .changed .added, +.prose-diff > .markdown-body ins pre, .prose-diff > .markdown-body ins code, +.prose-diff > .markdown-body ins > div, .prose-diff > .markdown-body ins > p { + background: #002800 !important; + border-color: #060 !important; +} +.blob-num-addition { + background: #0a320a !important; +} +/* git diff line deletions (dark red) */ +.blob-code-deletion, .prose-diff > .markdown-body .changed del, +.prose-diff > .markdown-body .changed del pre, +.prose-diff > .markdown-body .changed del code, +.prose-diff > .markdown-body .changed del > div, +.prose-diff > .markdown-body .changed .removed, +.prose-diff > .markdown-body .changed .removed pre, +.prose-diff > .markdown-body .changed .removed code, +.prose-diff > .markdown-body .changed .removed > div, +.CodeMirror-linebackground.conflict-background, .conflict-gutter-marker, +.conflict-background + .CodeMirror-gutter-wrapper .CodeMirror-linenumber { + background: #380000 !important; + border-color: #600 !important; +} +.blob-num-deletion { + background: #420a0a !important; +} +/* code and diff line selection */ +pre div[style^="background-color: rgb(248, 238, 199)"], +.highlight td.blob-code-inner[style^="background-color: rgb(255, 251, 221)"], +.highlight td.blob-code-inner[style^="background-color: rgb(248, 238, 199)"], +.line[style^="background-color: rgb(255, 255, 204)"], +td.selected-line.blob-num, td.selected-line.blob-code, +.blob-code-inner.highlighted { + background: rgba(85, 85, 85, .4) !important; + border-color: rgba(85, 85, 85, .4) !important; +} +/* custom hover highlight in code and diffs */ +.highlight tr:hover .blob-num:not(.non-expandable) { + color: #e2e2e2 !important; +} +.highlight:not(.lines) tr:not(.inline-comments):hover td.selected-line.blob-num:not(.line-age), +.highlight:not(.lines) tr:not(.inline-comments):hover td.blob-num, +.blob-num[colspan], .blob-num-hunk { + background: #2a2a2a !important; +} +.diff-table tr:hover > pre, +.highlight:not(.lines) tr:not(.inline-comments):hover td.selected-line.blob-code:not(.line-age), +.highlight:not(.lines) tr:not(.inline-comments):hover td.blob-code, +.blob-code-hunk, .blob-code-expandable { + background: #202020 !important; +} +.highlight:not(.lines) tr:not(.inline-comments):hover td.blob-num-addition:not(.line-age) { + background: #1a421a !important; +} +.highlight:not(.lines) tr:not(.inline-comments):hover td.blob-code-addition:not(.line-age) { + background: #103810 !important; +} +.highlight:not(.lines) tr:not(.inline-comments):hover td.blob-num-deletion:not(.line-age) { + background: #521a1a !important; +} +.highlight:not(.lines) tr:not(.inline-comments):hover td.blob-code-deletion:not(.line-age) { + background: #481010 !important; +} +/* custom hover highlight end */ +.prose-diff > .markdown-body th.changed, +.prose-diff > .markdown-body td.changed { + background: #282818 !important; +} +.blob-code-addition .x, .highlight .blob-code-addition .x { + background: #252 !important; + color: #eee !important; +} +.blob-code-deletion .x, .highlight .blob-code-deletion .x { + background: #622 !important; + color: #eee !important; +} +/* git diff line numbers (med green) */ +.gi .diff-line-num, .gi .diff-line-code, .gi .diff-line-pre { + background: #020 !important; + border-color: #040 !important; +} +/* git diff line deletions (med red) */ +.gd .diff-line-num, .highlight .err, .gd .diff-line-code, .gd .diff-line-pre { + background: #300 !important; + border-color: #500 !important; +} +/* scroll bar */ +::-webkit-scrollbar { + max-width: 10px !important; + max-height: 10px !important; + background: #1d1d1d !important; +} +::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { + background: #1d1d1d !important; +} +::-webkit-scrollbar-thumb { + background: rgba(175, 175, 175, .5) !important; +} +::-webkit-scrollbar-thumb:hover { + background: rgba(65, 131, 196, .8) !important; + background: rgba(65, 131, 196, .8) !important; +} +.CodeMirror-scrollbar-filler { + background: #1d1d1d !important; +} +/* rules for the new responsive layout */ +@media (max-width: 767px) { + .release-entry { + border-bottom: 1px solid #343434 !important; + } +} +@media (min-width: 768px) { + .release-main-section { + border-left: 2px solid #343434 !important; + } + .release-entry { + border-bottom: 0 !important; + } +} +@media (max-width: 1012px) { + .reponav-wrapper { + background: #181818 !important; + } + .reponav-item.selected { + background: none !important; + } +} +@media (min-width: 1013px) { + .Header { + border-bottom: 1px solid #343434 !important; + } +} +/* GitHub Enterprise Only + * _____..---========+*+==========---.._____ + * ______________________ __,-='=====____ =================== _____=====`= + * (._____________________I__) - _-=_/ `---------=+=--------' + * / /__...---===='---+---_' + * '------'---.___ - _ = _.-' + * `--------' + */ +.enterprise.page-profile .profilecols ul.stats li strong { + color: #ccc; + background: transparent !important; +} +.enterprise ul.selling-points li { + color: #fff; +} +.enterprise .steps { + margin: 20px auto 0; + padding: 15px 10px; + border: 1px solid #ddd; + border-radius: 3px; + box-shadow: 0 1px 3px rgba(0, 0, 0, .05); + background: #222; + color: #fff; +} +.enterprise .dashboard-notice { + background: #222 !important; + color: #ccc; +} +.enterprise .autocomplete-item { + color: #ccc; +} +.enterprise .repo-nav a:focus, .enterprise .repo-nav a:hover { + border-radius: 0 !important; + border-left: 1px solid #eee !important; +} +.enterprise .repo-nav a, .enterprise .repo-menu, +.enterprise .repo-nav a .counter { + text-shadow: none !important; + box-shadow: none !important; +} +.enterprise .repo-nav li > .selected:after { + background: #333 none !important; + border-color: #484848 !important; +} +.enterprise .repo-nav-contents { + box-shadow: inset 1px 0 0 #333 !important; +} +.enterprise div.repo-nav-contents { + background: rgba(34, 34, 34, .4) !important; +} +.enterprise ul.repo-menu a.selected { + border-left: 1px solid transparent !important; +} +.enterprise .repo-menu-separator { + border-bottom: 1px solid #333 !important; +} +.enterprise .repo-nav a.selected .octicon, +.enterprise .repo-menu a.selected:after, +.enterprise .repo-menu li:hover .octicon { + color: #eee !important; +} +.enterprise .repo-menu-separator:before, .enterprise .repo-nav-contents:before, +.enterprise .repo-menu-separator, .enterprise .repo-nav-contents:after { + background-color: transparent !important; + background-image: none !important; +} +.enterprise .repo-nav a:focus, .enterprise .repo-nav a:hover { + border-radius: 0 !important; + border-left: 1px solid #eee !important; +} +.enterprise ul.repo-menu a.selected { + border-color: #343434 !important; +} +/* https://github.com/musically-ut/lovely-forks */ +.lovely-forks-addon { + color: #808080 !important; +} +/* https://github.com/npmhub/npmhub */ +.deps > li { + border-color: #343434 !important; +} +/*** ZenHub styling ***/ +.zhc-selection-item:hover, .zhc-selection-item--is-active, +.zhc-selection-item.zhc-selection-item--is-active:not(.zhc-selection-item--is-disabled), +.zh-select-menu-item.navigation-focus, .zh-select-menu-item:hover, +.zhc-dropdown-simple-item:hover, .zhc-checkbox-toggle--is-active:before, +.zhc-board-settings-item:hover, .zhc-tabs__nav-item:hover, +li.zhc-tabs__nav-item--active { + background: #4183C4 !important; + border-color: #4183C4 !important; + color: #fff !important; +} +.zhc-pipelines .zhc-pipeline { + border-left: 0 !important; + border-right: 0 !important; + padding-right: 1px !important; + padding-left: 1px !important; +} +.zhc-pipeline-sort-status__clear, .zhc-pipeline__load-more { + color: #4183C4 !important; +} +.zhc-dependency-type-dropdown--is-open .zhc-dependency-type-dropdown__control { + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} +/* background */ +.zhc-pipeline, .zh-epic-creator-top, .zh-epic-creator-nav, input.zhc-icon, +.zhc-item-table__header, .zhc-item-table__cell, .zhc-search, +.zhc-selection-list__header, .zhc-burndown .zhc-menu-container__modal-content, +.zhc-menu-container__modal-content, .zhc-selection-button { + background-color: transparent !important; +} +.zhc-workspace-switcher-item .zhc-btn, +.zhc-workspace-switcher-item .zhc-btn--show-on-hover, +.zhc-current-workspace__controls .zhc-btn, .zhc-btn--secondary, +.zhc-btn--text-secondary, .zhc-sidebar-profile__toggle { + background: #111 !important; + border-color: #383838 !important; +} +.zhc-board--is-fullscreen, .zh-epic-issue-progress-bar, +.zhc-board-loading__message, .zhc-pipeline--is-collapsed, .zhc-issue-card, +.zh-todo-item-placeholder, .zh-timeline-comment, .zh-epic-creator-tab, +.zh-issueviewer-content, .zhc-chart-container, tr.zhc-item-table__row--closed, +.zhc-sidebar__container, .zhc-sidebar__container__inner, +.zhc-workspace-switcher, .zhc-workspace-switcher__header, .zhc-workspace-form, +.zhc-workspace-form__footer__actions, .zhc-confirmation-modal, +.zhc-edit-comment__preview, .zhc-issue-card__connected-pull-request, +.zhc-report-tabs, .zhc-report-tabs__filters, .zhc-table, .zhc-table__cell, +.zhc-invite-your-team, .zhc-issue-card__meta { + background: #111 !important; + border-color: #484848 !important; +} +.zh-burndown-chart-container, .zh-burndown-chart .stats-container, +.zh-issue-list .table-list-item, .zh-todopage-main .zh-todolist-today, +.zh-todo-item, .zh-todo-empty-inbox, .zh-todo-empty-today, .zh-todo-empty-list, +.zh-epic-issue-list-container, .zh-epic-creator-tab.selected, +.zh-epic-creator-issue-list, .popover, .zh-epic-issue-list-container li, +.zh-epic-creator-issue-list li, .full-screen-project-header, .dashboard-notice, +.zhu-blankslate, .zhc-dependency, .zhc-dependency-banner, +.zhc-selection-list__body, .zhc-selection-item, .zhc-issues-list-item, +.zhc-tag, .zhc-item-table, .zhc-item-table__row, .zhc-chart-info__wrapper, +.zh-collapse-control:hover, .zhc-epic-list, .zhc-collapsible-control, +.zhc-filter-expand-button, .zhc-report-card, .zhc-invite-your-team, +.zhc-modal__body { + background: #181818 !important; + border-color: #484848 !important; +} +.zhc-selection-filter, .zhc-tooltip-action__item, .zh-milestone-dates, +.zh-epic-issue-list-footer, .zh-select-menu-header, .zh-todolist-box, +.zh-todopage-main .zh-todolist-today, .zh-issue-list .table-list-title, +.zh-epic-issue-list-container li:hover, .zh-epic-creator-issue-list li:hover, +.zh-epic-creator-progress-bar, .zhc-tooltip-action__content, +.zh-timeline-comment-header, .zh-issueviewer-title, +.zh-new-issue-suggester-input-container, .zhc-pr-issue-connector__info, +.zhu-tag-default, .zhc-chart-container__header, .zhc-issues-list__header, +.zhc-toggleable--is-disabled, .zhc-item-table__row:hover, +.zh-collapse-control__main-icon, .zhc-sidebar-profile, +.zhc-workspace-header__badge, .zhc-shortcut-indicator, +.zhc-sidebar-profile--is-active .zhc-sidebar-profile__toggle, +.zhc-invitees-list, .zhc-modal__header, .zhc-edit-comment__file-upload, +.zhc-report-tabs__nav, .zhc-table__cell-header, .zhc-tabs__nav { + background: #202020 !important; + border-color: #484848 !important; +} +.zhc-sidebar-nav-item--is-active, .zhc-sidebar-nav-item:hover, +.zhc-sidebar-profile__toggle:hover, .zhc-workspace-header:hover, +.zhc-workspace-switcher-item:hover { + background: #202020 !important; +} +.zhc-merge-repo-item:hover, .zhc-merge-repo-item--is-active, +.zhc-badge--issue-count, .zhc-tooltip-action__item:hover, +.zh-todolist-completed-separator, .zh-todolist-today-separator, +.zh-epic-issue-list-item-badge .zh-pipeline-badge, .zh-pipeline-badge-light, +.zhc-progress-bar, .zhc-dependency-type-dropdown__list__item, +.zhc-chart-legend:after, .zhc-issues-list-item:hover, .zhc-btn--tint:hover, +.zh-reports .zhc-btn:hover, .zhc-issue-selector .zhc-btn:hover, +.zhc-dependency-header__status__controls .zhc-btn:hover, +.zhc-sidebar-nav-item__action:hover, .zhc-sidebar-nav-item__action--is-active, +.zhc-reports-nav-item__sub-item:hover, .zhc-sidebar-profile__item:hover, +.zhc-sidebar-divider__bar, .zhc-btn--default:hover, +.zhc-btn--primary-bordered:hover, .zhc-btn--secondary-bordered:hover, +.zhc-btn--secondary:hover, .zhc-issue-card__actions__btn:hover, +.zhc-btn:hover .zhc-btn--text-secondary:hover, .zhc-filter-expand-button:hover, +.zhc-chart-legend__labels--notselected, .zhc-pipeline-header, +.zhc-pipeline ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner, +.zhc-pipeline-body { + background: #333 !important; +} +.zhc-pipeline__body { + background: #181818 !important; +} +.zhc-pipeline-header__issue-count { + color: #8e8e8e !important; +} +.zhc-pipeline-header__story-points { + color: #666 !important; +} +.zhc-icon--grey-light { + opacity: .7 !important; +} +.zhc-workspace-switcher-item, .zhc-workspace-form-item, +.zhc-invite-your-team-item { + border-color: transparent transparent #383838 !important; +} +.zhc-workspace-switcher-item:hover, +.zhc-workspace-switcher__header .zhc-org-dropdown:hover, +.zhc-workspace-form__close:hover, .zhc-workspace-switcher__x:hover, +.zhc-workspace-switcher__close:hover { + background: #333 !important; + border-color: #383838 !important; +} +.zhc-btn--text-secondary:hover { + color: #484848 !important; +} +.zhc-workspace-form-item__control { + border-color: transparent !important; +} +.zhc-table__scrolling-section, .zhc-release-progress__stats { + border-color: #484848 transparent transparent !important; +} +.zhc-table__fixed-section { + border-color: #484848 transparent transparent #484848 !important; +} +.zhc-release-progress__section { + border-right-color: #484848 !important; +} +.zhc-release-progress__section:last-child { + border-right-color: transparent !important; +} +.zhc-workspace-switcher__header, .zhc-workspace-form__header { + background: #111 !important; + box-shadow: #111 0 0 4px 4px !important; +} +.zhc-shortcut-indicator { + box-shadow: #343434 0 1px 0 0; +} +.zh-epic-creator-tab.selected, .zh-pipeline-badge-light { + border-top-color: #4183C4 !important; + color: #ddd !important; +} +.zh-chart .weekend-band { + fill: rgba(34, 34, 34, .5) !important; +} +.zh-chart .horizonal-grid-line { + stroke: rgba(34, 34, 34, .5) !important; +} +.zhc-readonly-banner { + background: #182030 !important; +} +.zhc-progress-bar > .zhc-progress-bar--completed-issues { + background: #163 !important; +} +.zhc-selection-item--is-active .zhc-icon--board-light { + background-image: url("https://user-images.githubusercontent.com/3282350/27267371-e0aace98-5475-11e7-8b2f-dc774eaf5fd3.png") !important; +} +.zhc-dependency-type-dropdown__list { + background: none !important; +} +/* border */ +.zhc-pr-issue-connector__info:after { + border-right-color: #202020 !important; +} +.zhc-selection-item, .zhc-pipeline-header__actions, .zhc-pipeline, +.zhc-pipeline--new-placeholder .zhc-pipeline__head, .zhc-merge-repo-item, +.zh-todopage-menu, .zh-select-menu-item, .zh-epic-issue-list-container ul, +.zh-epic-creator-nav, .zh-epic-creator-picker-container, .zh-board-menu, +.zh-epic-creator-filters, .zh-epic-issues-picker-new-issue, .merge-status-list, +.zhc-dropdown-simple-item, .zhc-board-settings-head, .zhc-pipeline-sort-status, +.zhc-chart-container, .zhc-burndown-chart__stats, .zhc-chart-container__footer, +.zhc-chart-legend__labels, .zhc-issues-list, .zhc-tabs__nav-item, +.zhc-menu-bar-item--search-bar, .zhc-menu-bar-item, +.zh-collapse-manager-container--isExpanded .discussion-item:last-child, +.zhc-selection-list__header, .zhc-sidebar-profile__item:hover, +.zhc-collapsible-control:hover, .zhc-remove-filter-item, +.zhc-selection-item--is-active:before, .zhc-selection-item--is-active:after, +.zhc-sidebar-selector { + border-color: #343434 !important; +} +.zhc-tooltip-action__content:before, .zhc-pr-issue-connector__info:before { + border-right-color: #343434 !important; +} +.zhc-dependency-type-dropdown__control, +.zhc-dependency-type-dropdown__list__item, +.zhc-pipeline--add-placeholder .zhc-pipeline__head, +.zhc-checkbox-toggle--is-active:before, .zhc-checkbox-toggle--is-active:after, +.zhc-pipeline--add-placeholder .zhc-pipeline-header__main, +.zhc-sidebar-nav-item__action:hover, .zhc-sidebar-nav-item__action--is-active, +.zhc-sidebar:not(.zhc-sidebar--is-wide-screen):hover .zhc-sidebar__footer, +.zhc-sidebar--is-wide-screen .zhc-sidebar__footer, .zhc-sidebar__footer-left, +.zhc-pipeline-body { + border-color: #484848 !important; +} +/* text */ +.zhc-selection-list__header__text, .zhc-merge-repo-item__content, +.zhc-repo-item, .zh-todolist-create:hover, .zh-todolist-name, +.zh-epic-pipeline-selector.active .zh-epic-pipeline-selector-name, +.zh-select-menu-title, .zhc-badge--issue-count, .zh-pipeline-badge, +.zh-timeline-comment-header-text, .zh-epic-issue-header-title, +.zh-select-menu-item .description, .zh-pipeline-badge, .zhc-issue-item__title, +.zhc-item-table__cell__issue-number, .zhc-item-table__column-title, +.zhc-selection-button__title--active-filter, .zhc-item-table__row, +.zhc-selection-list__header, .zhc-issues-list-item__issue_number, +.zh-discussion-item .zh-pipeline-is, .zh-discussion-item .zh-pipeline-was, +.zh-discussion-item .zh-estimate-is, .zh-discussion-item .zh-estimate-was, +.zh-discussion-item .zh-issue, .zh-discussion-item .zh-release, +.zh-collapse-control, .zhc-sidebar-nav-item, .zhc-sidebar-profile, +.zhc-sidebar-profile__name, .zhc-sidebar-profile__item, +.zhc-sidebar-active-pipeline__name, .zhc-search-bar__input { + color: #ccc !important; +} +.zh-sidebar-icon, .zh-icon-plus, .zh-icon-dash { + opacity: 1 !important; + filter: brightness(2) !important; +} +.zhc-dependency-issue-selector__issue-item-meta, +.zhc-selection-item--is-active span, .zhc-btn--tint { + color: #fff !important; +} +.zhc-dependency .zhu-text-important, .zhc-dependency-banner, +.zhc-dependency-type-dropdown__control, .zhc-dependency-type-dropdown__list, +.zhc-selection-item--is-disabled, .zhc-issue-card__heading__main, +.zhc-issue-card__issue-title, .zhc-epic-list, +.zhc-issue-card__connected-pull-request, .zhu-text-important, +.zhc-epic-pipeline-item__title, +.zhc-report-tabs__nav .zhc-report-tabs__nav__item--active, +.zhc-release-report__description, .zhc-release-report__date, +.zhc-dropdown--cumulative-dates .zhc-selection-button__title .zhc-cumulative-dates__date-range { + color: #c0c0c0 !important; +} +.zhc-click-text-item { + color: #4183C4 !important; +} +/* ZenHub buttons */ +.zhc-toggle-button:not(.zhc-btn--minimal), .zhc-selection-button, +.zh-todo-issue-dropdown .zh-split-button-icon, .zhc-btn--tint, +.zh-split-button-right-side, .zhu-blankslate, .zh-reports .zhc-btn, +.zhc-dependency-header__status__controls .zhc-btn, +.zhc-issue-selector .zhc-btn, .zhc-btn--default, .zhc-btn--primary-bordered, +.zhc-issue-card__actions__btn { + background: #282828 !important; + border-color: #383838 !important; +} +.zh-delete-epic-button { + background: #911 !important; + border-color: #383838 !important; +} +.zh-delete-epic-button:hover { + background: #b22 !important; + border-color: #b00 !important; +} +.zhc-toggle-button:not(.zhc-btn--minimal):hover, +.zhc-selection-button:not(.zhc-toggleable--is-disabled):hover, +.zhc-toggle-button--is-active, .zhc-selection-button__container--is-active, +.zh-burndown .btn .octicon, +.zh-todo-issue-dropdown.selected .zh-split-button-icon, +.zh-board-menu-item .octicon, .zh-reports .btn .octicon, +.zh-split-button-right-side:hover, .zh-split-button-icon:hover, +.zhc-collapse-toggle--is-active:hover { + background: #333 !important; + border-color: #484848 !important; +} +.zhc-btn-gh--primary, .zhc-btn--action { + background: #22a574 !important; + color: #fff !important; +} +.zhc-btn.zhc-btn-gh--primary:hover, .zhc-btn--action.zhc-btn--is-active, +.zhc-btn--action:active, .zhc-btn--action:focus, .zhc-btn--action:hover { + background: #21cf92 !important; +} +/* popovers */ +.zhc-selection-list__header__text, .zhc-tooltip-action__content, +.zh-select-menu-title, .popover, .zhc-board-settings__items__header, +.zhc-selection-list__header { + box-shadow: none !important; + text-shadow: none !important; +} +.release-timeline-tags .tag-timeline-date:after { + background-color: #545454 !important; + border-color: #222 !important; +} +/* button tweaks */ +.zh-repo-switcher .select-menu-button { + padding: 1px 6px 2px 4px !important; +} +.zh-repo-switcher .select-menu-button:after { + vertical-align: 0 !important; +} +.zh-octicon-list-unordered { + height: 14px !important; +} +/* invert image */ +.zh-icon-circled-bolt, .zh-icon-bolt, .zh-octicon-x { + filter: invert(40%) brightness(120%) !important; +} +a.zh-topbar-item.selected .zh-icon-zenhub { + filter: invert(40%) brightness(169%) !important; +} +a.zh-topbar-item .zh-icon-zenhub { + filter: brightness(64%) !important; +} +.zhc-icon:not([class$="-red"]):not([class$="-white"]):not([class$="-light"]):not([class$="-purple"]), +.zhc-board-loading, .zhc-board-loading__message, .zh-octicon-list-unordered, +.zh-octicon-pencil, .zh-octicon-inbox, .zh-octicon-plus, .zh-octicon-info, +.zh-octicon-milestone, .zh-octicon-chevron-down, .zh-epic-creator-tab-icon, +.zh-board-menu-item .zh-octicon-grey, .zh-octicon-search, +.zhc-burndown-chart__placeholder, .zhc-selection-button__container:after, +.zhc-icon--grey-light { + filter: invert(100%) !important; +} +.zhc-selection-item:hover .zhc-icon:not([class$="-red"]):not([class$="-white"]):not([class$="-light"]):not([class$="-purple"]) { + filter: invert(100%) brightness(1.4) !important; +} +/* move expanded zenhub board toolbar when octotree exists + * see https://github.com/buunguyen/octotree/issues/242 */ +html.octotree:not(.octotree-show) .zhc-board--is-fullscreen .zhc-menu-bar { + margin-left: 30px; + margin-top: -8px; +} +/* octotree */ +.octotree_views .octotree_treeview .jstree-anchor .jstree-icon.tree:before, +.octotree_github_sidebar a.octotree_toggle:hover, +.octotree_github_sidebar a.octotree_opts:hover, +.octotree_github_sidebar a.octotree_opts.selected, +html .octotree_github_sidebar .octotree_views .octotree_treeview .jstree-anchor, +.octotree_github_sidebar a.octotree_toggle:not(.octotree_loading):hover { + color: #4183C4 !important; +} +/* octotree icons */ +a.octotree_toggle:not(.octotree_loading) > span:after, +.octotree_github_sidebar a.octotree_opts, .octotree_help > span { + filter: invert(100%) !important; +} +a.octotree_toggle:not(.octotree_loading):hover > span:after, +.octotree_github_sidebar a.octotree_opts:hover, +.octotree_treeview .jstree-icon.tree { + filter: grayscale(100%) !important; +} +html.octotree .Header { + padding-left: 30px !important; +} +/* Octotree resizable handle */ +html.octotree:not(.octotree-show) .octotree_sidebar .ui-resizable-handle { + display: none !important; +} +/* Github User Info userscript - see #481 */ +.GithubUserInfo, .GithubUserInfo > div { + background: #202020 !important; + border-color: #343434 !important; +} +/* GitHub Notifications Dropdown userscript - see #478 */ +.notifications-dropdown { + background: #202020 !important; + border: 1px solid #343434 !important; +} +a.notifications-dropdown-see-all { + background: #242424 !important; + color: #4183C4 !important; +} +a.notifications-dropdown-see-all:hover, .top-nav .dropdown-menu a:hover { + background: #4183C4 !important; + color: #e2e2e2 !important; +} +.notifications-dropdown-arrow { + border-bottom-color: #333 !important; +} +/* Awesome autocomplete styling */ +.awesome-autocomplete .tt-dropdown-menu { + border-color: #343434 !important; + background-color: #181818 !important; +} +.awesome-autocomplete .aa-query strong, +.awesome-autocomplete .aa-query-default em, +.awesome-autocomplete .tt-suggestion .octicon { + color: #4183C4 !important; +} +.awesome-autocomplete .tt-suggestion .octicon-star { + fill: #c0c0c0 !important; +} +.awesome-autocomplete .aa-category { + background-color: #1d1d1d !important; + border-top: 1px solid #343434 !important; + border-bottom: 1px solid #343434 !important; + color: #a0a0aa !important; +} +.awesome-autocomplete .tt-suggestion { + border-color: #343434 !important; +} +.awesome-autocomplete .tt-suggestion:hover, +.awesome-autocomplete .tt-suggestion.tt-cursor { + background: #333 !important; +} +.awesome-autocomplete .tt-suggestion:hover .aa-name { + text-decoration: none !important; +} +.awesome-autocomplete .tt-suggestion em { + background-color: #4183C4 !important; + color: #fff !important; +} +.awesome-autocomplete .aa-thumbnail { + background-color: #181818 !important; +} +.awesome-autocomplete .aa-query, .awesome-autocomplete .aa-branding, +.awesome-autocomplete .aa-infos, .awesome-autocomplete .aa-login, +.awesome-autocomplete .aa-company, .awesome-autocomplete .aa-company i, +.awesome-autocomplete .aa-description, .awesome-autocomplete .aa-issue-body { + color: #c0c0c0 !important; +} +.awesome-autocomplete .aa-thumbnail, .awesome-autocomplete .aa-thumbnail { + background-color: #181818 !important; +} +.awesome-autocomplete .icon-delete { + filter: invert(100%) !important; +} +/* Refined GitHub - https://github.com/sindresorhus/refined-github + * See #540 */ +.refined-github-diff-signs .blob-code-addition:before, +.refined-github-diff-signs .blob-code-deletion:before { + color: #7b7b7b !important; +} +.repohead h1 .rgh-ci-link .octicon { + color: inherit !important; +} +/* GraphQL API (https://developer.github.com/v4/explorer/) */ +iframe#graphiql, .graphiql-ide, .graphiql-container .topBar, +.graphiql-container .docExplorerShow, +.graphiql-container .variable-editor-title, .graphiql-container .resultWrap { + background: #222 !important; + border-color: #343434 !important; +} +.graphiql-ide.signed-out:after { + background: #000 !important; +} +.graphiql-container, .prereceive-feedback-heading, .State--red code a { + color: #ddd !important; +} +.graphiql-container .docExplorerShow:before { + border-left-color: #4183C4 !important; + border-top-color: #4183C4 !important; +} +.graphiql-container .toolbar-button, .graphiql-container .execute-button { + background: linear-gradient(#303030, #282828) !important; + border-color: #484848 !important; + box-shadow: none !important; + color: #ddd !important; +} +.graphiql-container .toolbar-button:active, +.graphiql-container .execute-button:active { + background: #444 !important; +} +.graphiql-container .CodeMirror-foldmarker { + background: #4183C4 !important; +} +.graphiql-container .execute-button svg { + fill: currentColor !important; +} + +/* inline code - single lines */ +.markdown-body code, .markdown-body tt, .protip code, .content dl code, +.content ul code, p code, .content .sectionbody .dlist dt, .content p > tt, +.content .sectionbody .dlist dt, .content p > tt, .commit-sha, +.commit-preview .message pre, .rendered_html pre, .rendered_html code, +.markdown-format p > code, .markdown-format pre { + background: #222 !important; +} +/* inline code - big blocks */ +.markdown-format pre, .markdown-body pre, .markdown-format .highlight pre, +.markdown-body .highlight pre, #facebox pre, .blob-expanded, .terminal, +.copyable-terminal, #notebook .input_area, .blob-code-context, +.markdown-format code, .api pre, .api code, .hook-delivery-details pre, +.hook-delivery-container pre, +/*! GitHub: Monokai */.CodeMirror,.highlight{background-color:#272822!important;color:#f8f8f2!important}.blob-code,.blob-code-inner{color:#f8f8f2!important}.pl-c,.pl-c span{color:#75715e!important;font-style:italic!important}.pl-c1{color:#ae81ff!important}.pl-cce{color:#66d9ef!important}.pl-cn{color:#66d9ef!important}.pl-coc{color:#66d9ef!important}.pl-cos{color:#e6db74!important}.pl-e{color:#a6e22e!important}.pl-ef{color:#a6e22e!important}.pl-en{color:#a6e22e!important}.pl-enc{color:#66d9ef!important}.pl-enf{color:#a6e22e!important}.pl-enm{color:#a6e22e!important}.pl-ens{color:#66d9ef!important}.pl-ent{color:#f92672!important}.pl-entc{color:#a6e22e!important}.pl-enti{color:#a6e22e!important;font-weight:700!important}.pl-entm{color:#a6e22e!important}.pl-eoa{color:#f92672!important}.pl-eoac{color:#a6e22e!important}.pl-eoac .pl-pde{color:#a6e22e!important}.pl-eoai{color:#f92672!important}.pl-eoai .pl-pde{color:#f92672!important}.pl-eoi{color:#a6e22e!important}.pl-k{color:#f92672!important}.pl-ko{color:#f92672!important}.pl-kolp{color:#f92672!important}.pl-kos{color:#66d9ef!important}.pl-kou{color:#66d9ef!important}.pl-mai .pl-sf{color:#a6e22e!important}.pl-mb{color:#e6db74!important;font-weight:700!important}.pl-mc{color:#f92672!important}.pl-mh .pl-pdh{color:#66d9ef!important}.pl-mi{color:#f92672!important;font-style:italic!important}.pl-ml{color:#e6db74!important}.pl-mm{color:#a6e22e!important}.pl-mp{color:#66d9ef!important}.pl-mp1 .pl-sf{color:#66d9ef!important}.pl-mq{color:#66d9ef!important}.pl-mr{color:#f92672!important}.pl-ms{color:#f92672!important}.pl-pdb{color:#e6db74!important;font-weight:700!important}.pl-pdc{color:#75715e!important;font-style:italic!important}.pl-pdc1{color:#ae81ff!important}.pl-pde{color:#66d9ef!important}.pl-pdi{color:#f92672!important;font-style:italic!important}.pl-pds{color:#e6db74!important}.pl-pdv{color:#a6e22e!important}.pl-pse{color:#66d9ef!important}.pl-pse .pl-s2{color:#66d9ef!important}.pl-s{color:#e6db74!important}.pl-s1{color:#e6db74!important}.pl-s2{color:#f8f8f2!important}.pl-mp .pl-s3{color:#66d9ef!important}.pl-s3{color:#f92672!important}.pl-sc{color:#fd971f!important}.pl-scp{color:#ae81ff!important}.pl-sf{color:#fd971f!important}.pl-smc{color:#f92672!important}.pl-smi{color:#66d9ef!important}.pl-smp{color:#f92672!important}.pl-sok{color:#f92672!important}.pl-sol{color:#e6db74!important}.pl-som{color:#a6e22e!important}.pl-sr{color:#a6e22e!important}.pl-sra{color:#f92672!important}.pl-src{color:#f92672!important}.pl-sre{color:#f92672!important}.pl-st{color:#66d9ef!important}.pl-stj{color:#f8f8f2!important}.pl-stp{color:#66d9ef!important}.pl-sv{color:#66d9ef!important}.pl-v{color:#66d9ef!important}.pl-vi{color:#66d9ef!important}.pl-vo{color:#a6e22e!important}.pl-vpf{color:#66d9ef!important}.pl-mi1{color:#a6e22e!important;background:rgba(0,64,0,.5)!important}.pl-mdht{color:#a6e22e!important;background:rgba(0,64,0,.5)!important}.pl-md{color:#f92672!important;background:rgba(64,0,0,.5)!important}.pl-mdhf{color:#f92672!important;background:rgba(64,0,0,.5)!important}.pl-mdr{color:#66d9ef!important;font-weight:400!important}.pl-mdh{color:#a6e22e!important;font-weight:400!important}.pl-mdi{color:#a6e22e!important;font-weight:400!important}.pl-ib{background-color:#a6e22e!important;color:#272822!important}.pl-id{background-color:#a6e22e!important;color:#272822!important}.pl-ii,.pl-ii .pl-cce{background-color:#a6e22e!important;color:#272822!important}.pl-iu{background-color:#a6e22e!important;color:#272822!important}.pl-mo{color:#fd971f!important}.pl-mri{color:#66d9ef!important}.pl-ms1{background-color:#fd971f!important}.pl-va{color:#66d9ef!important}.pl-vpu{color:#66d9ef!important}.pl-entl{color:#fd971f!important} +/*! CodeMirror: Monokai */.CodeMirror{background:#272822!important;color:#f8f8f2!important}.CodeMirror-selected{background:#49483e!important}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)!important}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)!important}.CodeMirror-gutters{background:#272822!important;border-right:0!important}.CodeMirror-guttermarker{color:#fff!important}.CodeMirror-guttermarker-subtle,.CodeMirror-linenumber{color:#d0d0d0!important}.CodeMirror-cursor{border-left:1px solid #f8f8f0!important}.cm-comment{color:#75715e!important}.cm-atom,.cm-header,.cm-link,.cm-number{color:#ae81ff!important}.cm-property,span.cm-attribute{color:#a6e22e!important}.cm-keyword,.cm-tag{color:#f92672!important}.cm-builtin,.cm-variable-3{color:#66d9ef!important}.cm-string{color:#e6db74!important}.cm-bracket,.cm-variable{color:#f8f8f2!important}.cm-variable-2{color:#9effff!important}.cm-def{color:#fd971f!important}.cm-error{background:#f92672!important;color:#f8f8f0!important}.CodeMirror-activeline-background{background:#373831!important}.CodeMirror-matchingbracket{text-decoration:underline!important;color:#fff!important} +/*! Jupyter: Monokai */#notebook .input_area,#notebook .highlight, body.api .highlight, body.blog .highlight, #notebook .highlight pre, body.api .highlight pre, body.blog .highlight pre, #notebook .highlight table, body.api .highlight table, body.blog .highlight table, body.api code,body.api pre,body.blog code,body.blog pre{background:#272822!important;color:#f8f8f2!important}#notebook .highlight .hll, body.api .highlight .hll, body.blog .highlight .hll {background-color:#49483e!important}#notebook .highlight .c, body.api .highlight .c, body.blog .highlight .c {color:#75715e!important}#notebook .highlight .err, body.api .highlight .err, body.blog .highlight .err {color:#960050!important;background-color:#1e0010!important}#notebook .highlight .k, body.api .highlight .k, body.blog .highlight .k {color:#66d9ef!important}#notebook .highlight .l, body.api .highlight .l, body.blog .highlight .l {color:#ae81ff!important}#notebook .highlight .h, body.api .highlight .h, body.blog .highlight .h, #notebook .highlight .n, body.api .highlight .n, body.blog .highlight .n {color:#f8f8f2!important}#notebook .highlight .o, body.api .highlight .o, body.blog .highlight .o {color:#f92672!important}#notebook .highlight .p, body.api .highlight .p, body.blog .highlight .p {color:#f8f8f2!important}#notebook .highlight .cm, body.api .highlight .cm, body.blog .highlight .cm {color:#75715e!important}#notebook .highlight .cp, body.api .highlight .cp, body.blog .highlight .cp {color:#75715e!important}#notebook .highlight .c1, body.api .highlight .c1, body.blog .highlight .c1 {color:#75715e!important}#notebook .highlight .cs, body.api .highlight .cs, body.blog .highlight .cs {color:#75715e!important}#notebook .highlight .kc, body.api .highlight .kc, body.blog .highlight .kc {color:#66d9ef!important}#notebook .highlight .kd, body.api .highlight .kd, body.blog .highlight .kd {color:#66d9ef!important}#notebook .highlight .kn, body.api .highlight .kn, body.blog .highlight .kn {color:#f92672!important}#notebook .highlight .kp, body.api .highlight .kp, body.blog .highlight .kp {color:#66d9ef!important}#notebook .highlight .kr, body.api .highlight .kr, body.blog .highlight .kr {color:#66d9ef!important}#notebook .highlight .kt, body.api .highlight .kt, body.blog .highlight .kt {color:#66d9ef!important}#notebook .highlight .ld, body.api .highlight .ld, body.blog .highlight .ld {color:#e6db74!important}#notebook .highlight .m, body.api .highlight .m, body.blog .highlight .m {color:#ae81ff!important}#notebook .highlight .s, body.api .highlight .s, body.blog .highlight .s {color:#e6db74!important}#notebook .highlight .na, body.api .highlight .na, body.blog .highlight .na {color:#a6e22e!important}#notebook .highlight .nb, body.api .highlight .nb, body.blog .highlight .nb {color:#f8f8f2!important}#notebook .highlight .nc, body.api .highlight .nc, body.blog .highlight .nc {color:#a6e22e!important}#notebook .highlight .no, body.api .highlight .no, body.blog .highlight .no {color:#66d9ef!important}#notebook .highlight .nd, body.api .highlight .nd, body.blog .highlight .nd {color:#a6e22e!important}#notebook .highlight .ni, body.api .highlight .ni, body.blog .highlight .ni {color:#f8f8f2!important}#notebook .highlight .ne, body.api .highlight .ne, body.blog .highlight .ne {color:#a6e22e!important}#notebook .highlight .nf, body.api .highlight .nf, body.blog .highlight .nf {color:#a6e22e!important}#notebook .highlight .nl, body.api .highlight .nl, body.blog .highlight .nl {color:#f8f8f2!important}#notebook .highlight .nn, body.api .highlight .nn, body.blog .highlight .nn {color:#f8f8f2!important}#notebook .highlight .nx, body.api .highlight .nx, body.blog .highlight .nx {color:#a6e22e!important}#notebook .highlight .py, body.api .highlight .py, body.blog .highlight .py {color:#f8f8f2!important}#notebook .highlight .nt, body.api .highlight .nt, body.blog .highlight .nt {color:#f92672!important}#notebook .highlight .nv, body.api .highlight .nv, body.blog .highlight .nv {color:#f8f8f2!important}#notebook .highlight .ow, body.api .highlight .ow, body.blog .highlight .ow {color:#f92672!important}#notebook .highlight .w, body.api .highlight .w, body.blog .highlight .w {color:#f8f8f2!important}#notebook .highlight .mf, body.api .highlight .mf, body.blog .highlight .mf {color:#ae81ff!important}#notebook .highlight .mh, body.api .highlight .mh, body.blog .highlight .mh {color:#ae81ff!important}#notebook .highlight .mi, body.api .highlight .mi, body.blog .highlight .mi {color:#ae81ff!important}#notebook .highlight .mo, body.api .highlight .mo, body.blog .highlight .mo {color:#ae81ff!important}#notebook .highlight .sb, body.api .highlight .sb, body.blog .highlight .sb {color:#e6db74!important}#notebook .highlight .sc, body.api .highlight .sc, body.blog .highlight .sc {color:#e6db74!important}#notebook .highlight .sd, body.api .highlight .sd, body.blog .highlight .sd {color:#e6db74!important}#notebook .highlight .s2, body.api .highlight .s2, body.blog .highlight .s2 {color:#e6db74!important}#notebook .highlight .se, body.api .highlight .se, body.blog .highlight .se {color:#ae81ff!important}#notebook .highlight .sh, body.api .highlight .sh, body.blog .highlight .sh {color:#e6db74!important}#notebook .highlight .si, body.api .highlight .si, body.blog .highlight .si {color:#e6db74!important}#notebook .highlight .sx, body.api .highlight .sx, body.blog .highlight .sx {color:#e6db74!important}#notebook .highlight .sr, body.api .highlight .sr, body.blog .highlight .sr {color:#e6db74!important}#notebook .highlight .s1, body.api .highlight .s1, body.blog .highlight .s1 {color:#e6db74!important}#notebook .highlight .ss, body.api .highlight .ss, body.blog .highlight .ss {color:#e6db74!important}#notebook .highlight .bp, body.api .highlight .bp, body.blog .highlight .bp {color:#f8f8f2!important}#notebook .highlight .vc, body.api .highlight .vc, body.blog .highlight .vc {color:#f8f8f2!important}#notebook .highlight .vg, body.api .highlight .vg, body.blog .highlight .vg {color:#f8f8f2!important}#notebook .highlight .vi, body.api .highlight .vi, body.blog .highlight .vi {color:#f8f8f2!important}#notebook .highlight .il, body.api .highlight .il, body.blog .highlight .il {color:#ae81ff!important} + +} \ No newline at end of file diff --git a/config/qutebrowser/styles/quora.scss b/config/qutebrowser/styles/quora.scss new file mode 100644 index 00000000..d9fb51e9 --- /dev/null +++ b/config/qutebrowser/styles/quora.scss @@ -0,0 +1,293 @@ +[qb-domain$="quora.com"] { +/* Quora Theme v1.2.10 (2018-06-08) + * https://github.com/StylishThemes/Quora-Dark + * https://userstyles.org/styles/104706 + * License: http://sam.zoy.org/wtfpl/ + */ + * { + text-shadow: none !important; + box-shadow: none !important; + } + html, body:not(.logged_out_page_big_signup) { + background-color: #222 !important; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGBAMAAACDAP+3AAAAGFBMVEUfHx8eHh4dHR0bGxshISEiIiIlJSUjIyM9IpsJAAAFjUlEQVR4AT3UuZLcOBaF4QuI2XJxboIhF/eQFe1WovoBAAqccpkaZpc5+4yrXa8/RGpx/lrIXPjFCYjTp9z8REqF4VYNWB3Av3zQJ6b6xBwlKB/9kRkCjXVwGH3ziK5UcjFHVkmgY6osiBsGDFfseqq2ZbTz7E00qBDpzOxnD7ToABeros1vM6MX0rBQaG1ith1A/HJkvkHxsPGJ82dP8vVCyWmbyPTaAfGzg40bgIdrv2f3pBVPycUcufx+BSUUWDuCZi6zBqdM50ElKYPODqtLDjc31rBb9CZ59lbN/JScuMxHLUBcGiy6QRH9zpwgZGhRj8qSydPVgNNVgbWqYX3HbM9K2rqT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vakTA4XVVMbCPFPK1cFj66S0WoqQI1XG2uoU7CMPquO2VaUDJFQMdVgXKD2bpz6ufzzxXbxszHQ9fGO/F7A998yBQG6cShE+P+Pk7t1FwfF1QHN1Eui1VapRxCdj8tCtI1bog1Fo011Sx9u3o6c9bufI6wAT26Av9xJ+WWpTKbbBPp3K/1LbC4Vuhv396RCbJw4untjxVPndj+dIB9dVD8z2dylZ+6vMeJwbYChHJkvHV2J3fdHsJPASeHhrXq6QheXu1nBhUr5u6ryT0I13BFKD01ViZ/n3oaziRG7c6Ayg7g1LPeztNdT36ueMqcN4XGv3finjfv+7I/kMJ4d046MUanOA1QtMH1kLlfFasm99NiutSw63yNDeH4zeL1Uu8XKHNfcThPSSNwchGMbgUETScwkCcK77pH2jsgrAssvVyB8FLJ7GrmwyD8eVqsHoY/FwIv9T7lPu9+Yf8/9+w4nS1ma78AAAAASUVORK5CYII=) !important; + background-clip: border-box !important; + background-origin: padding-box !important; + background-attachment: scroll !important; + background-repeat: repeat !important; +background-size: auto !important; +background-position: left top !important; + } + /* action buttons */ + .AddQuestionFromHeaderDialogButton, .submit_button, .primary_button, + .MoreStoriesIndicator { + background-color: #4183C4 !important; + border-color: #4183C4 !important; + color: #e2e2e2 !important; + } + .AddQuestionFromHeaderDialogButton:hover, .submit_button:hover, + .primary_button:hover, .MoreStoriesIndicator:hover { + opacity: .8 !important; + } + /* text selection */ + ::selection { + background-color: #4183C4 !important; + color: #efefef !important; + } + ::-moz-selection { + background-color: #4183C4 !important; + color: #efefef !important; + } + /*** background ***/ + .ActionBar, .FeedStoryTimestamp, .FeedStoryTimestamp hr, .interval_timestamp, + .feed_item, .NotificationItem.seen, .edit_faq_link, .title a, + .editor_toolbar .modifier.overflow_show:before, + .editor_toolbar .modifier.overflow_hide:before, + .FollowSuggestionCard.InlineFollowSuggestionCard, .seen, .Message, .ObjectCard, + .ObjectCard-footer, .ContentFeedTabs li.active a, .SiteHeader .dropdown, + .hover_highlight:hover, .question_related.list, .Modal .modal_header, + .Modal .modal_content .modal_non_exp, .Modal .modal_content, + .answer_editor.on_draft_page .AnswerEditorHeader, + .answer_editor.on_draft_page .form_buttons, .MessagesMain .header, + .MessagesMain .threads_and_messages .threads, .MessagesThreadItem, + .NewInboxThreadComposeMessageBox, .PinnedTopicHeader, .full_bundle, + .AnswerReadLaterListItem, .StatsMain .ContentListWrapper, .ContentListItem, + .AllContentLink, .AskQuestionPromptBundle, .LoggedOutFooter, + .AMAFeedDividerItem h3, .layout_1col_main_card { + background: transparent !important; + } + .check_wrapper.complete .check, .QuestionMain .right_col_fixable, + .RelatedQuestions, .RelatedQuestionsAdWrapper, .AddQuestionPrompt, + .StoryItemToggleModal, .AMACoverPhoto, .landing_photo { + background-color: transparent !important; + } + .is_removable .remove_link { + background-image: none !important; + } + input, textarea, .fake_editor, .qtext_editor.pretty_q, .qtext_editor_content, + .write_answer, .inline_login_profile_box, .qtext_button_qimg a, + .tooltip_contents, .codeblock, .remove_upvote, .ExistingUserNuxProgressBar, + .QuestionActionBarA2APrompt, .ViewsOnProfile .nux, .modal_wrapper, + pre.prettyprint, .Editor .doc, .Editor.Comment, .LogOperation .revision, + .ContentFeedTabs li a, .quiet_notifs_banner, .LookupBarSelector .instruction, + .new_user_checklist .title, .Carousel .left, .Carousel .right, + .StoryItemToggleModal.read_item, .notif_dropdown_empty_state, .individual_bio, + .AMACoverBar, .selector_result.ask_new_question .AskQuestionButton, + .icon_action_bar.sticky { + background-color: #181818 !important; + } + .SiteHeader, .answer_header_and_editor, .LoggedOutContentPageFeed, + .hover_menu_contents, .notifications_header_bar, .dialog_wrapper, + .new_user_checklist, .results_frame li, .container, .FeedBottomIndicator, + .ActionBar.sticky, .ExistingUserNuxSidebar, .hover_menu_item, + .Announcement .footer, .EditableList .nav_item_selected a, + .EditableList .StaticListItem > .selected, .ask_interstitial, + .ViewsOnHovercard, .search_input:before, .editor_toolbar, + .NewGridQuestionPage .header .shared_form, .ProgressBar, .AnswerTagSection, + .CompleteProfileSection, .Next, .add_experience_cta, .ViewsOnProfile:hover, + .banner_answer, .prettyprint .linenums li:before, .heads_up_item, + .QuestionBannerReason, .Selector .SelectorResults, .Carousel .left:hover, + .Carousel .right:hover, .graphs .detail .x_label, .graphs .detail .item, + /*** Pinned topic header ***/ + div.fixable_clone .PinnedTopicHeader.fixable_fixed, + .AnswerSurvey { + background: #222 !important; + } + .topic_pill, .ViewMoreLink a, .BelowQuestionAddPrompt, + /*** Make cookie banner dark ***/ + .CookieBanner .wrapper, + .CookieBanner .dismiss { + background-color: #222 !important; + } + .threaded_comments, .comment_replies_show_child_link, + .AnswerBase.undesirable_answer, .CompleteProfileBanner, + .topic_expert_application_form, .comments_preview_toggle, .show_child_link, + .modal_nux_background, .modal_signup_background { + background-color: rgba(34, 34, 34, .6) !important; + } + .ContentPageFeed { + background-color: rgba(34, 34, 34, .3) !important; + } + .read_more_link, .unseen, .action_button, .NextButton, .modal_footer, + .AnswerPageViewMoreLink, .multifeed_header .modal_related_answers .view_more { + background: #242424 !important; + } + .count, .ContentPageFeedStoryItem, .nav_item_link.hover, .nav_item_link:hover, + .nav_item_link:active, li.selected, .follow_state_badge, + .NotificationsClearLink, .LegalNavLinks, .hover_menu_item:hover, + .MoveAnswerBanner, .ActionBar .primary_action, .ReAskButton.button, + .AskToAnswerModalLink, .MostWantedBadge, + .CollapsedAnswersSectionCollapsed:not(.CollapsedAnswersSectionUncollapsed) .content, + .RequestAnswersDrawer .inner, .RADToggle.is_active, .Announcement { + background-color: #282828 !important; + } + .menu_list_item a:hover, .completed:hover, .menu_list_header:hover, + .AnswerEditorHeader, .AddQuestionLookupBarButton, + .SelectorResults .selector_highlighted:not(.unselectable), + .AnswerPageViewMoreLink .view_more_link:hover, + .multifeed_header .modal_related_answers .view_more .view_more_link:hover, + .content_white_button, .survey_button, .icon_action_bar-button:hover, + .outer_content .new_actionbar_content_button:hover, + .Bundle .view_all_button:hover, .Bundle .more_button:hover, + a[target="_blank"]:hover { + background-color: #333 !important; + } + .count:before, .qtext_hr { + background-color: #444 !important; + } + /* overlay */ + .ContentPageFeedStoryItem:hover .feed_item_overlay, + .dialog:not(.dialog_nux):not(.modal_signup_dialog):after { + background: rgba(0, 0, 0, .5) !important; + } + /*** text color ***/ + a, a span, a:hover .TopicName, .is_removable .remove_link:hover { + color: #4183C4 !important; + } + h1, h2, h3, h4, h5, h6, blockquote, div, div > span, span > span, li, input, + textarea, a.submit_button span, a.primary_button span, interval_timestamp, + .tooltip_contents span, .nav_item_link .badge, .hover_menu_header_link, + .topic_pill a, .ViewMoreLink a, .is_removable .remove_link, + .NotifsNavItem .NotifsNavBadge, .LookupBarAskQuestionModalButton .button_text { + color: #c0c0c0 !important; + } + .faded, .add_upvote, .add_upvote .count, .remove_upvote, .remove_upvote .count, + .table_cell_wrapper a span { + color: #949494 !important; + } + .graphs text { + fill: #eee !important; + } + .graphs rect:hover { + fill: #357 !important; + } + /*** borders ***/ + .dialog .close_modal, .pagedlist_item.pagedlist_invisible, + .comment_highlight_wrapper, .hover_menu_above li:first-child:after, + .ContentFeedTabs li.active a { + border-color: transparent !important; + } + .search_focused .selector_input.text, .ask_bar .LookupBarSelector textarea { + border-color: #4183C4 !important; + } + h1, h2, h3, table, table th, hr, ul, li, div, span, p, blockquote, a, + .hover_menu_contents, .question_box, .show_reply_box_link, + .QuestionActionBarA2APrompt, input, .seen, .Carousel .left, .Carousel .right, + .AMAFeedDividerItem:before { + border-color: #333 !important; + } + .ActionBar .primary_action:hover, .primary_item a:hover, + .AddQuestionLookupBarButton:hover { + border-color: #555 !important; + } + /* outline */ + .Carousel .left, .Carousel .right { + outline-color: #333 !important; + } + /* arrow */ + .hover_menu_contents li:first-child:after, + .MoreHoverMenuContents > ul > li:first-child:after, .hover_menu:before, + .hover_menu:after, .header_hover_menu:after, .results_wrapper:before, + .resistance_wrapper:after, .comment_replies_show_child_link:before, + .comment_replies_show_child_link:after, .results_wrapper:after, + .action_bar_button_nub:before { + border-bottom-color: #333 !important; + } + .hover_menu_above:before, .hover_menu_above:after, .hover_menu.show_nub:after, + .hover_menu_above li:last-child:before, + .hover_menu .menu_list_item:hover:before { + border-top-color: #333 !important; + border-bottom-color: transparent !important; + } + .hover_menu_above li:last-child:after, + .tooltip .tooltip_contents.nub_bottom:after { + border-top-color: #222 !important; + border-bottom-color: transparent !important; + } + .HomeNavListHoverMenu:before { + border-right-color: #222 !important; + } + .action_bar_button_nub:after, .hover_menu.show_nub:before, + .menu .menu_list_item:before, .hover_menu .menu_list_item:before { + border-bottom-color: #282828 !important; + } + /*** Red ***/ + .diffdelete { + background-color: #300 !important; + } + /*** Green ***/ + .follow_button { + background: #041 !important; + border-color: #062 !important; + color: #0a3 !important; + } + .follow_button .count { + background: #041 !important; + color: #aaa !important; + } + .diffinsert { + background: #020 !important; + } + /*** Blue ***/ + .notifications_banner, .add_upvote, .User.Button, .follow_button, + .ama_a2a_question, .Topic.Button, .Session.Button, .PileOnRequest.Button { + background: #182030 !important; + border: 1px solid #246 !important; + } + .add_upvote .count, .User.Button .count, .Editor .drop_zone, .view_answer, + .InviteToFollow, .WriteAnswer, .ReAsk.Button:not(.link), .follow_button, + .Topic.Button, .RequestAnswer, .Topic.Button .count, .RequestAnswer .count, + .link:hover, .filter_option_link:hover, .filter_option_link.selected, + .RADToggle, .NotificationsClearButton, .link.selected { + background-color: #182030 !important; + } + .Editor .drop_zone, .view_answer, .InviteToFollow, .WriteAnswer, + .ReAsk.Button:not(.link), .follow_button, .Topic.Button, .RequestAnswer, + .RADToggle { + border-color: #246 !important; + } + .graphs rect { + fill: #246 !important; + } + /*** Brown ***/ + .InteractionModeBanner>div, .ErrorBanner>div, .BrowserWarning>div, + .ReAskPrompt, .PMsg .contents { + background: #321 !important; + border-color: #542 !important; + color: #b74 !important; + } + .ReAskPrompt:before, .ReAskPrompt:after { + border-bottom-color: #542 !important; + } + /*** hide text selection popup ***/ + .quote_hover_menu { + display: none !important; + + } + /*** Make the popup answer's background transparent black. ***/ + .modal_overlay.feed_desktop_modal, + /*** Make the messages black instead of white. ***/ + .MessagesThreadItem:hover, + .MessagesThreadItem.active { + background: rgba(0, 0, 0, .9); + } + /*** Make the answer hover colour a dark black one. ***/ + .toggle_modal_inline.inline_modal_highlight:hover { + background-color: #050505; + } + .matched_term { + background-color: rgba(187, 85, 0, .4) !important; + background-color: rgba(65, 131, 196, .4) !important; + } + /*** Make ask question buttons necessarily red, and their text gray ***/ + .AskQuestionButton .button_text { + color: #efefef !important; + } + .BelowQuestionAddPrompt .AskQuestionButton { + background-color: rgb(185, 43, 39) !important; + } + /*** Darken related question link underline color ***/ + .question_link:hover .ui_story_title { + text-decoration-color: #c0c0c0 !important; + } +} diff --git a/config/qutebrowser/styles/stackoverflow.scss b/config/qutebrowser/styles/stackoverflow.scss new file mode 100644 index 00000000..dc76477f --- /dev/null +++ b/config/qutebrowser/styles/stackoverflow.scss @@ -0,0 +1,1027 @@ +[qb-domain="serverfault.com"], +[qb-domain="superuser.com"], +[qb-domain="stackapps.com"], +[qb-domain="mathoverflow.new"], +[qb-domain="askubuntu.com"], +[qb-domain$="stackoverflow.com"], +[qb-domain$="stackexchange.com"] +{ + /*************************************************************** + Stack Overflow Dark v2.11.20 (2018-08-09) + https://github.com/StylishThemes/StackOverflow-Dark + http://userstyles.org/styles/35345 + + ** Will apply to almost all Stack Exchange Sites ** + Except: + * Area 51 (area51.stackexchange.com) + * Gaming (gaming.stackexchange.com) + + ** Please open an issue to report sites where the style breaks ** + https://github.com/StylishThemes/StackOverflow-Dark/issues + + previous version information contained at the userstyles site + ****************************************************************/ + + * { + border-color: #444 !important; + text-shadow: none !important; + box-shadow: none !important; + } + + body { + background-color: #191919 !important; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAAAAABURb1YAAAFnklEQVR4AWWXCY4cwXbE6h4JMhCvMPc/ov+3Ox9QsLCGpKlFHILd+UQ559AGDkBSFXWmomonqkL/XuUcIPUcONjHCJyE36KaqNiaRnVCG9TGpgIU9hIfohCBVGj24ammo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o1dzlXUdkVLZsS1mLPG3rWcl+4B1l1537h0VXzU1tyLG7cCu+LSrSqo06hocy3WCcil65qHDbuEYzQN2HpT3jFt9LEFvHTP1nxbXOEkbhkKmd+6BTfVZ/I143z/Fyz6Za92o0I7I6gzfeYAHPwy/Rb43L9TLtMt8CtwW1xvQvbR1g9n7qJRNN1kdxcdH7cM58Szxq679MdLOhE72t6VNEpHHkzwRyjBcGth+dE99pIkVbWaEWmvnQ8Yl7Mp59zpRWXdNo6odrO754Zzvxf/010nP7onb1TR+bgbVPB9PcADJvH/043Kvk0UzLRxQ6UiaeTAcyxYl2lyrrvZv8v2wE7U1uVcST0821jJeIDKWuyxiqnuko7q3+zJYXJ46nV3D67EyL+lQ9F2qkr+3kUafQpwYE8T329p6y7OX1TF97fQv/c+l87zj7Hsgpig4qRLd9fMPs74rLGyCzRbhmVqpy7nqvPmTD1gvKe7b2U8u1QzmtuDuEtbgT3c8QBJveo6cueFkUwv59nVmfFw1jl4/unuOT9qERV76ers8n23z/c8/Xy7a4lwwLplmGusbRp33Up13+ZDN3KPxNVMhY62vUQyRTse6+cKHtZYjIfDh260Cjbb3Vy6R8H8SMBzqSwrsB1UTacoknlnOb8V4JD9Njfpwz/fHjpBUeevcAtcl65sqXPX9D87RUTLc/dfOgAAAABJRU5ErkJggg==) !important; + background-clip: border-box !important; + background-origin: padding-box !important; + background-attachment: scroll !important; + background-repeat: repeat !important; +background-size: auto !important; +background-position: left top !important; + } + + /* custom code font */ + pre.prettyprint, code { + font-family: "Menlo", Monaco, Consolas, "Liberation Mono", Menlo, Courier, monospace !important; + } + + /* === custom color === */ + a:not([class*="comment-"]), .profile-popup a, .seWrapper a, .gs-title b, .spoiler:hover a, + .comment-up-on, .comment-up-off:hover { + color: #4183C4 !important; + } + + .nav .primarynav li a:hover, .message.message-config .actions .button, .btn-careers:hover, + .btn-careers:visited, .question-list-layout a:hover { + color: #fff !important; + background: #4183C4 !important; + } + + input[type="submit"].btn-clear, input[type="button"].btn-clear, button.btn-clear, .btn-clear { + color: #4183C4 !important; + } + + input[type="submit"].btn-clear:hover, input[type="button"].btn-clear:hover, button.btn-clear:hover, .btn-clear:hover, + input[type="submit"].btn-clear:focus, input[type="button"].btn-clear:focus, button.btn-clear:focus, .btn-clear:focus { + color: #4183C4 !important; + background: #273045 !important; + } + + a.post-tag:hover, .bounty-indicator, .bounty-indicator-tab, .bounty-award, + span.bounty-indicator-tab, #change-picture, .top-badge,.supernovabg, .hotbg, + .nav li.youarehere a, .nav a:hover, a.button:hover, .edit-count, .pager a:hover span, + .bounties-tab, .login-link, #sidebar a[href*="/questions/ask"], + #sidebar a[href*="/questions/ask"]:visited, .page-numbers:hover, .s-btn.s-btn__primary, + .s-btn.s-btn__primary:focus { + background-color: #4183C4 !important; + color: #eee !important; + } + + #tabs a.youarehere:before, .tabs a.youarehere:before, + .newnav .tabs-list-container .tabs-list .intellitab a.youarehere:before { + background-color: #4183C4 !important; + } + + .s-btn.s-btn__primary:hover { + filter: brightness(1.1) !important; + } + + /* === text selection === */ + ::selection { + background: #4183C4 !important; + color: #fff !important; + } + ::-moz-selection { + background: #4183C4 !important; + color: #fff !important; + } + + /* === input focus hightlight === */ + input:focus, textarea:focus, .chosen-container.chosen-container-active .chosen-choices, + .chosen-container .active-result.highlighted { + border-color: #4183C4 !important; + box-shadow: inset 0 1px 2px rgba(0,0,0,.075), 0 0 2px #4183C4 !important; + outline-color: transparent !important; + } + .tag-editor input:focus, .previous-button, .next-button, .btn-clear, + .chosen-container.chosen-container-active .chosen-choices input, + .gsc-webResult.gsc-result, .gsc-results .gsc-imageResult, .s-sidebarwidget:after { + border: 0 !important; + box-shadow: none !important; + } + .menu-switcher { + filter: none !important; + -webkit-filter: none !important; + } + + /* === hidden === */ + div.hireme, div#hireme, .next-answer-hook-container, .intellitab:after, .s-hero .-container { + display: none !important; + } + + /* === background color === */ + /* from darkest to lightest grey */ + .popup-badges .all-badge-progress .completed:before, .previous-button, .next-button, #footer, + /* === herobox when not logged in === */ #herobox.alternate, + .message-title { + background-color: rgba(0,0,0,.4) !important; + } + + header { + background-color: #080808 !important; + } + + #custom-header, .review-bar, .diff-choices a.selected, #header #topbar, td.owner, a.owner, .question-status, + .profile-popup, .profile-popup div, .profile-popup th, .profile-popup td, #global, .actual-edit-overlay, + input:not([type="submit"]), textarea, #search input, .tag-editor, .f-select > select, textarea#input, + .search-form .chosen-container .chosen-choices, .pac-container, select, #match-preferences-editor .close:hover, + .gsc-input-box, .gsc-option-menu, .subheader, .min-ds-wizard .min-ds-box.jobs { + background-color: #111 !important; + color: #ddd !important; + } + + .gsc-selected-option-container { + background: #111 !important; + } + + .onebox, .profile-ad, .message.message-config, + .so-header a:hover, .so-header a.topbar-icon-on, .topbar-dialog .header, .header-edit-section:hover, + .timeline-item, .sidebar-profile .-item, .btn-outlined.-white:hover, .btn-outlined:hover, .top-bar a:hover, .top-bar a:focus, + .top-bar .-item._active, .top-bar .-link.topbar-icon-on, .top-bar .-link.topbar-icon-on:hover, + .top-bar .-feature-notice:hover, .top-bar .-feature-notice.topbar-icon-on, .topbar-dialog .dialog-content, + .feature-notice-dialog:before, .-item.social, .salary-results-container .collection, .sidebar #post-job, + .sidebar .salary-survey-sidebar, .ui-dialog, .salary-calculator-calculator, .sticky-menu-wrapper._sticky, + .-summary, .field._toolbar .-toolbar, .timeline .feature-banner__background { + background: #151515 !important; + } + + html, blockquote, #post-preview, .nav .primarynav li a, #chat, #hsearch .textbox, .form-item, .grippie, + .welovestackoverflow, #wmd-button-bar, .wmd-button-bar, .qa-block, .content-block, .user-info-rep, .sidebar, + .popup, .full-diff, .val-success, .search-form .filter-pane nav, .s-card, .chosen-container .chosen-drop, + .pac-item.pac-item-selected, .pac-item:hover, .-item.social:hover, #add-tags-button, #filter-preview, + .salary-results { + background: #191919 !important; + } + + .authcomment, .seIntro, .seFooter, .title-banner, .salary-results-wrapper, .salary-skill-legend { + background-color: #191919 !important; + border: 2px solid #262626 !important; + } + + #tabs a { + border: 1px solid transparent !important; + } + + #tabs a.youarehere, .tabs a.youarehere, .tag-suggestions, .dropdown li, + .proposed-change .diff-buttons a:not(.selected), #logout-form, .snippet-holder, + .CodeMirror, .CodeMirror-gutters, .badge-progress.completed, + .timeline-item:before, .item-select-table .item, .title-box, .-list-item, + .bg-powder-050, .textarea-with-counter .-counter { + background-color: #191919 !important; + border-color: #444 !important; + } + + /* RSS Feed - issue #87 */ + body > pre:not(.prettyprint):not(.CodeMirror-line) { + background: #191919 !important; + color: #ddd; + } + + #tabs a.youarehere, .tabs a.youarehere { + border-bottom-color: transparent !important; + } + + .subtabs :not(.youarehere) { + border: 0 !important; + } + + #user-about-me, .user-about-me, .mine .messages, .avatar-card, .tag-container, .dropdown { + background: #191919 !important; + border: 0 !important; + color: #C1BEBA !important; + } + + #chat .mine .messages, .salary-share { + background-color: #292929 !important; + border: 1px solid #444 !important; + } + + #chat div.moderator { + color: #366fb3 !important; + } + + .topbar-dialog, .share-tip, .messages, + #tag-menu, #overlay-header, .action-list .action-selected, .switcher-nudge-lightbox, + .user-rep-chart-summary-tooltip:hover, .current-site-container, #or, .account-number, .topbar, + .wmd-prompt-dialog, .wb-popup-content, .wb-hat-details, .docs-review-page .history-table tr.even td, + kbd, kbd code, .switcher label, .timeline-item-actions, .cv-story .section-opener h2, + .cv-story .section-opener:after, .header-edit-section .ctas, + .item-select-table .item:hover, .visa-wrapper, .chosen-choices, .p-top-tags .-tag-group, + .chosen-results .active-result, .salary-results-wrapper .inline-survey-cta, + #messages-interface .callout, .tour-bubble .-body, .why-jobs-v2 .developers-first select option { + background-color: #222 !important; + color: #ddd !important; + } + + .profile-popup, .profile-popup tr, .profile-popup th, .profile-gravatar, .newuser, .roomcard, + .seWrapper, h2.index.header, .privilege-table-row:hover, .list-originals .item.hover, + .list-originals .body-summary, .review-instructions-reason, .room-mini, #formContainer, #switch, + .login-topbar, .newsletter-category, .newsletter-item, .blogcontainer, .usercard-xxl, .roomcard-xxl, + .docs-review-page .topic-draft-bar, .badge-progress, .avatar-wrapper, .timeline-line, + .s-progress-bar .-bar, .-job-badges .-badge, .search-form .job-alert-tooltip, .bg-white, + .s-sidebarwidget--header, .tag-popup .-container, .tag-popup .-arrow:before { + background-color: #222 !important; + border-color: #555 !important; + color: #ddd !important; + } + + #header #topbar, .revision-comment, .date-span, .form-submit input, .preferred-login, + .mdhelp, .wmd-help-button.active-help, .date_brick, .more-info, .review-stats-current-user, + .review-stats-count-current-user, .topbar-menu-links, .input-group .-fill { + background: #222 !important; + color: #ddd !important; + -webkit-border-radius: 3px !important; + border-radius: 3px !important; + } + .topbar.newheader, .network-items>a, .icon-help, .icon-help:hover { + background-color: #222 !important; + } + .calendar, .calendar-small, .mspark .mspbar, #promo-box, #input-area .input-hint, + .tour-page .feature-selection li a.triggered, .ob-docs, + .topbar.newheader .topbar-wrapper .topbar-links .search-container #search input[name="q"], + .mainbar.discussion .discussion-item, #input-area, .pager a span, .page-sizer a { + background: #222 !important; + color: #ddd !important; + } + + .tour-page .tour-content section:nth-child(n+1), .users-page .user-info:hover, + .nav-left-col a { + background: rgba(34,34,34,.5) !important; + } + + .ad502-room, .message.message-config .actions, .tag-container .col, .congrats, .task-stat-table td { + background-color: #232323 !important; + border: 1px solid #191919 !important; + } + + .rep-recent-row, .bounty, .diff-choices a:hover, div.meter, .narrow .votes, .ob-post-votes, .card, + .congrats, .-card { + background-color: #232323 !important; + color: #bbb !important; + } + + .answer, #system-message, .commentlist, .revision td, #hero-content, .mdhelp-tabs .selected, .tabs .selected, + .rep-card .rep-col, .sort select, .-job._highlighted, .MathJax_MenuDisabled, .gsc-option-menu-item-highlighted, + .secondary-job-results-identifier { + background: #232323 !important; + color: #999 !important; + } + + .container, .tour-page .headline, .tour-page .cta, .s-progress-bar._badge .-fill { + background-image: none !important; + } + + .tagged-interesting, .tagged-interesting .views, .highlight-row, .highlighted, .card.rep-card .graph, + .badge-progress:hover, #newsletter-ad, .search-form .icon-advanced-search, + .message.gray, .menu-popout li:hover, .menu-popout .is-selected, #job-detail .-sticky-tabs, + .nav-left-col a:hover, .deleted-answer footer .user-info, .util-bar, .user-info { + background-color: #242424 !important; + background-image: none !important; + } + + #newsletter-ad { + padding: 10px !important; + } + #newsletter-ad:before { + content: "Love this site?"; + font-size: 18px !important; + } + + .youarehere, .dropdown li.selected a, .dropdown li.selected a:hover, .ob-docs .example-metric, + .menu-popout, .version-row, .version-name, .post-tag, .post-tag:visited, + .switcher input[type="radio"]:checked+label, .double-input .separator, .geo-tag, + .MathJax_Menu, .MathJax_MenuLabel:focus, .salary-calc-inputs, .question-container.unread, + .comments-wrap { + background: #333 !important; + color: #ccc !important; + } + + .nav li, .seNav, .topbar a.topbar-icon-on, .topbar a.topbar-icon-on:hover, .owner, .nav a, + .module li.current, .seCurrent, .community-bulletin, .owner-revision td, .markdown-diff .skip, + #footer .container, .body-diffs .skip, .newsletter-anon, .tag-suggestions>div:hover, + .topbar-dialog .modal-content li:hover, .timestamp:hover+div.message .meta, div.message:hover .meta, + #side-menu ul li a:hover, .conversation-info, .message.reply-parent, .message.reply-child, + .sidebar-element .list li .rep-and-badges, .congrats .actions, .newsletters-toggle, + .tag-suggestions>div:focus, .current-site a.site-link:hover, #sub-navs>a:hover, + #sub-navs .menu-item:hover, .popup-close .-link:hover, .p-highlights .-reputation .-meta-rep, + .nav-left-col a.is-active, .comment__highlight:not([style*="background-color"]), + ul.comments-list .comment__highlight .comment-text, + ul.comments-list .comment__highlight .comment-actions { + background-color: #333 !important; + } + + .owner-answer, .question-status, .notification, #feed-ticker, #top-menu, .vote-revision td, + .topbar-dialog .unread-item, .privileges-wrapper .stroke, .progress-bar .bar { + background: #404040 !important; + } + + tr.comment:hover, .reply-parent, .timestamp, .usercard, + .comment-help, .answer-help-background, .mdhelp-tabs, .tabs li, .hi, .seNavLinks a:hover, + .seNavLinks a:focus, .itemBoxNew, .pagination a.current, .pagination a.selected, .pagination a:hover, + .wb-wearing, .impact-card hr, .MathJax_MenuActive { + background-color: #444 !important; + color: #ddd !important; + } + + .page-numbers.current { + background: #444 !important; + } + + .comment__highlight:not([style*="background-color"]), + ul.comments-list .comment__highlight .comment-text, + ul.comments-list .comment__highlight .comment-actions { + background: rgba(102, 102, 102, .8) !important; + } + #chat .messages .mention { + background: #666 !important; + } + + #post-text-container div span { + background: #c1beba !important; + } + .-logo img { + background: #fff !important; + } + + .sidebar-element .list li .rep-and-badges:before { + background: linear-gradient(270deg, #333, rgba(51,51,51,0)); + } + + /* === Brown(ish) === */ + .new-post-activity, #new-answer-activity, .val-info, .highlight, a.youarehere:before, + .message.regular, .filter-dashboard-edit .floating-help, .review-post-author-guidance { + background-color: rgba(51,34,17,.4) !important; + } + pre .spaces, .message.message-warning { + background-color: #321 !important; + color: #eee !important; + } + .message.message-warning .message-tip-left-top:before { + border-top-color: #321 !important; + } + + /* chat room buttons */ + a.button { + background: #840 !important; + color: #eee !important; + } + + /* === Green === */ + .accepted-answer, .suggested-edit .inserted, .markdown-diff .inserted, .rep-increase, .progress-bar .percent, + .recommended, .vote.accepted, .suggested-edit .inserted>div, .full-diff .inserted>div, + .message.success, .p-highlights .-rep-increase, .s-progress-bar .-fill, .answerBox.accepted { + background: #232 !important; + } + + span.diff-add { + background: #3F4E1D !important; + color: #92CC09 !important; + } + .topbar-dialog.achievements-dialog .rep-up, .-activity .-stat.answered { + color: #92CC09 !important; + } + + .answered, .answer-votes, .answered .vote-count-post { + background: #232323 !important; + color: #4b553c !important; + } + .user-show-new .user-rep .rep-amount .rep-up, .-stats.rep-up { + color: #4b553c !important; + border-color: #4b553c !important; + } + + .answered-accepted, .answered-accepted strong, .rep-up.bounty-indicator-tab, .user-rep-chart-summary-bar, + .special-rep, .s-progress__privilege .s-progress--bar { + background: #4b553c !important; + color: #fff !important; + } + + .answered strong, .user-show-new .user-rep-full .rep-up { + color: #4b553c !important; + } + + .vote-count-post [style="color:green"] { + color: green !important; + } + + /* === Red === */ + .deleted-answer, .suggested-edit .deleted, .markdown-diff .deleted, .suggested-edit .deleted>div, + .full-diff .deleted>div, .realtime-post-deleted-notification p, .message.incomplete, + .message.error, .deleted-answer .comments-wrap, .deleted-answer .user-info, + .deleted-answer .util-bar, .deleted-answer .comment { + background-color: #200 !important; + } + .post-timeline-v2 .post-timeline tr.deleted-event td, + .post-timeline-v2 .post-timeline tr.deleted-event-details td { + background-color: rgba(34, 0, 0, .4) !important; + } + /* Mobile */ + .-summary .-votes, .deleted-answer .votes { + background-color: rgba(214, 217, 220, .2) !important; + } + + span.diff-delete { + background-color: #400f00 !important; + color: #ff4a15 !important; + } + + .summary a.moderator-tag, .btn._google { + background-color: #400 !important; + } + + .summary a.moderator-tag:hover { + background-color: #600 !important; + } + + .vote-count-post [style="color:maroon"] { + color: maroon !important; + } + + /* === Transparent background === */ + div.message .meta, .spaces, .comment, span.feed-icon, a.role-switch, .nav.careers li, .nav.careers li:hover, + .switcher-nudge-content p, #content, #tabs a, .tabs a, #chat .username, #chat .messages, .tag-container, + .prettyprint code, .lv-info, .lv-stats-wrapper, .lv-stats-wrapper .number, .container, .bottom-notice, + #question-header, .question-form .form-item, .post-menu>a:hover, #main-content, + #mainbar, #mainbar-full, .mainbar-full, #logout-page, #sidebar, .footerwrap, #footer-menu, .module, + #sidebar #newsletter-ad, #sidebar .ad-container, #sidebar .everyonelovesstackoverflow, .mention, + .tag-suggestions>div .more-info, .user-tags .answer-votes, .expanded:hover, .sidebar-accordion, + .sidebar-accordion a:hover, .sidebar, .sidebar *:not(.post-tag), .tag-filter-isany, .col-section.expanded, + .timeline-mine header, .timeline-sidebar header, .sidebar-profile.is-visible, .cv-section, + .cv-story .avatar-wrapper, .btn-clear, .header-edit-section, .personal-statement, .link-text, + .match-preferences .seniority-selector, .field-with-bg, #tags .message.regular, + #profile-side #side-menu a, .sidebar-profile .-header, .sidebar-profile .-footer, + #popup-next-badge .-header, .popup-close .-link, .job-cover-image.-no-image, #job-detail, + .s-footer .-container, .p-top-tags .badge-tag, .gsc-webResult.gsc-result, .gsc-imageResult, + .gsc-cursor-page, .gsc-cursor-current-page, .metaInfo .owner, #content > .subheader, + header.job-details--header, .site-footer--container, .-activity .-stat.answered, + .deleted-answer .comment-actions, .min-ds-wizard .current, .input-group .-fill._clean, + .why-jobs-v2 .slanted-background:before { + background-color: transparent !important; + } + + #tabs a:hover, .tabs a:hover { + background-color: #191919 !important; + border: 1px solid #444 !important; + border-bottom-color: transparent !important; + } + + .highcharts-container rect[fill="#FFFFFF"], rect[fill="rgb(255, 255, 255)"] { + fill: transparent !important; + } + .spoiler, .spoiler * { + color: transparent !important; + } + .spoiler:hover, .spoiler:hover * { + color: inherit !important; + } + + /* === Dark border === */ + .body-diffs table * { + border-color: #111 !important; + } + + .s-progress-bar .-bar:before, .s-progress-bar .-bar:after { + border-top-color: #222 !important; + border-bottom-color: #222 !important; + } + .search-form .job-alert-tooltip:after { + border-top-color: #222 !important; + } + + .welovestackoverflow, .question-summary, .subheader, + .company-module .-details strong:before, .bc-black-1 { + border-color: #333 !important; + } + + a.required-tag, .topbar-dialog.feature-notice-dialog:before, + .site-footer .-link._expandable:after, .bc-black-2 { + border-color: #555 !important; + } + + .message .message-tip-top-right:before, .message .message-tip-top-left:before { + border-bottom-color: #191919 !important; + } + .search-form .filter-pane a._active, .search-form .filter-pane a:hover { + border-bottom-color: #4183C4 !important; + } + .left-arrow, .timeline-item:nth-child(odd):after { + border-right-color: rgba(119,119,119,.4) !important; + } + .previous-button:hover .left-arrow { + border-right-color: #c0c0c0 !important; + } + .right-arrow, .timeline-item:nth-child(even):after { + border-left-color: rgba(119,119,119,.4) !important; + } + .next-button:hover .right-arrow { + border-left-color: #c0c0c0 !important; + } + #input-area .input-hint:after { + border-left-color: #222 !important; + } + .s-progress-bar .-fill { + border-top: #444 1px solid !important; + border-bottom: #444 1px solid !important; + } + #sub-navs .youarehere { + border-top-color: #4183C4 !important; + } + .nav-left-col .is-active, .nav-links .youarehere .nav-links--link { + border-right-color: #4183C4 !important; + } + + /* === No/hide border === */ + div.list > div { + border-right: 0 !important; + } + .module, .tabs a, div.message, .full-diff td, .wb-outer:not(.wb-selected), + .page-numbers.dots, .p-top-tags .badge-tag, .page-numbers.desc, .intellitab:not(.selected) a, + #sub-navs .menu-item .menu-switcher, .input-group .-fill._clean { + border-color: transparent !important; + } + .left-arrow, .right-arrow { + border-bottom-color: transparent !important; + border-top-color: transparent !important; + } + div.message:hover, .timestamp:hover + div.message { + visibility: inherit; + border: 1px dotted #333; + } + + /* blue label count */ + .bounty-indicator-tab, .hero.profile, .jobs-banner.-blue, #reg-alert-modal:hover, + .-popout .btn-secondary:hover, .search-btn, .tags .jobs a, .btn-secondary, #job-board-save { + background: #046 !important; + color: #ccc !important; + border: 1px solid #135 !important; + } + .hero-box, .filter-show-more { + background: #182030 !important; + } + .review-actions input, .btn, .chosen-choices .search-choice, .topbar-dialog a.btn-secondary, + .filter-dashboard, input[type=submit], .bg-blue-500, .s-btn.s-btn__filled { + background: #182030 !important; + color: #ccc !important; + border: 1px solid #135 !important; + } + .review-actions input:hover, .btn:hover, .btn-secondary:hover, #job-board-save:hover, + .topbar-dialog a.btn-secondary:hover, input[type=submit]:hover, .s-btn.s-btn__filled:hover { + background: #273045 !important; + } + .s-hero { + background-image: url(https://cdn.sstatic.net/img/hero/pattern.svg),linear-gradient(to right, #121723 0, #182030 100%) !important; + } + .s-hero:after { + background: #182030 !important; + } + + /* === Text Color === */ + div, input, .accepted-answer .post-text, .accepted-answer .user-action-time, #question-header a, + .post-text, .user-info, .topbar-dialog .header h3, .topbar-dialog .header h3 a, .topbar-dialog span, + .search-result .answered .vote-count-post strong, .votes-cast-stats th, .subheader h1, .vote.accepted, + .message.message-config h1, .message.message-config h2, .message.message-config h3, .message.message-config h4, + .spoiler:hover, .company-module a:hover *, .search-form .label, .search-form label, .list.companies p, + #snpte-button-run, .comment-link, .timeline .header h4, .-title, #profile-side #side-menu a:hover, + .-rep, .-total, .-list-item .-description, .message.message-error a, .chosen-container .chosen-results li, + .salary-calc-inputs span, .salary-survey-dialog .header h3, .title-banner h1, .salary-results-container h1, + .topbar-dialog h4, .label-key > b, .heading, .module h3, .badge-tag, .s-label, + .-link__with-icon:hover .svg-icon, .youarehere a, .youarehere .svg-icon, h1, h2, h3, h4, h5, h6, + .h1, .h2, .h3, .h4, .h5, .h6, .tour-bubble p { + color: #ddd !important; + } + /* patch for hint text of SurfingKeys browser extension */ + #sk_hints div { + color: #000 !important; + } + + /* placeholder */ + ::-webkit-input-placeholder { + color: #ddd !important; + } + ::-moz-placeholder { + color: #ddd !important; + } + + .user-details td, .content-page, h2:not([style]), h2 a, .profile-popup a:hover, .module h4, .page-description, + #openid_identifier, .form-item label, .subheader h2, .nav-links a.nav-links--link:hover { + color: #c1beba !important; + } + .comment, #top-menu a, .subheader a, .reputation a, .reputation-score, .relativetime.old, + .votes-cast-stats td, .mini-counts span, #chat .system-message, .card .rep, a.badge, a.badge-tag, + .user-card .user-stats .number, .user-card .user-card-name, a.question-hyperlink:hover, + a.answer-hyperlink:hover, .cv-story .time-frame, .-list-item.is-completed .-description, + .s-footer .-toc th, .event-count, .post-timeline td, .post-timeline th, #side-menu ul .category { + color: #aaa !important; + } + .ob-post-tag, .ob-user-tag, .deleted-answer .util-bar a, .nav-links--link { + color: #999 !important; + } + + .nav-links .youarehere .nav-links--link .svg-icon, .nav-links .fc-medium { + color: #666 !important; + } + + .comment-up-off, .comment-flag, .comment-flag-off { + color: #444 !important; + } + + .answered-accepted strong, .youarehere, .nav .primarynav li a, .nav a, a:hover, .rep-up.special-rep, + .pac-item-query, #content .salary-subheader, .salary-skill-legend-li .-score, + header.job-details--header a { + color: #fff !important; + } + + input, .actual-edit-overlay { + -webkit-text-fill-color: #fff !important; + } + + .post-text a:visited, .comment-text a:not(.comment-user):visited, #chat-body .content a:visited, + .question-hyperlink:visited, .answer-hyperlink:visited, #hot-network-questions ul a:visited { + color: #4183C4 !important; + } + + .rep-up { + color: #4b553c !important; + filter: brightness(140%) !important; + } + + .rep-down, .user-show-new .user-rep .rep-down { + color: #d65 !important; + filter: brightness(140%) !important; + } + + .comment-flag-on, .comment-flag:hover, .flag-on { + color: #622 !important; + } + + /* dark blue */ + .result-highlight { + color: #aa0 !important; + } + + /* brown/dark orange */ + .warm { + color: #840 !important; + } + #profile-summary>.-popout._incomplete { + border-color: #840 !important; + } + + /* orange */ + .hot { + color: #a20 !important; + } + + /* light brown */ + .unanswered { + color: #9a4444 !important; + } + + /* === Style adjustments === */ + .nav a, .post-tag, .comment-link, .tag-synonym-link, a.post-tag:hover, .topbar a, + .search-form .filter-pane a:hover, .comment-link:hover, .tag-synonym-link:hover { + text-decoration: none !important; + } + + .form-item { + padding-left: 20px !important; + } + + .tag-container .col { + margin: 0 !important; + border: #333 1px solid !important; + } + .tag-container.row { + margin: 2px !important; + } + .stats { + margin-top: 5px !important; + margin-bottom: 4px !important; + } + #hsearch, .statscontainer { + margin-right: 5px !important; + } + + .nav .primarynav li a, .list-originals .stats { + display: block !important; + float: left !important; + } + + .nav-links--link .svg-icon { + fill: currentColor !important; + } + + /* scroll bar */ + ::-webkit-scrollbar { + max-width: 10px !important; + max-height: 10px !important; + background: #1d1d1d !important; + } + ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { + background: #1d1d1d !important; + } + ::-webkit-scrollbar-thumb { + background: rgba(175, 175, 175, .5) !important; + } + ::-webkit-scrollbar-thumb:hover { + background: rgba(65, 131, 196, .8) !important; + background: rgba(65, 131, 196, .8) !important; + } + + /* === badges === */ + a.badge[title^="bronze"], a.badge-tag[title^="bronze"], .badge3 + .badgecount { + color: #c96 !important; + } + a.badge[title^="silver"], a.badge-tag[title^="silver"], .badge2 + .badgecount { + color: #c5c5c5 !important; + } + a.badge[title^="gold"], a.badge-tag[title^="gold"], .badge1 + .badgecount { + color: #ffcc46 !important; + } + .badge-tag, a.tag, .ob-post-tag, .ob-user-tag, .events-tooltip { + background-color: #191919 !important; + border-color: #111 !important; + } + .badge3-alternate, .progress-bar.badge-3 .bar .percent, + .s-progress-bar._badge._badge3 .-fill, .badge-wrapper._badge3 { + background-color: #7C4318 !important; /* bronze */ + } + .badge2-alternate, .progress-bar.badge-2 .bar .percent, + .s-progress-bar._badge._badge2 .-fill, .badge-wrapper._badge2 { + background-color: #464a4f !important; /* silver */ + } + .badge1-alternate, .progress-bar.badge-1 .bar .percent, + .s-progress-bar._badge._badge1 .-fill, .badge-wrapper._badge1 { + background-color: #957000 !important; /* gold */ + } + + /* === Images === */ + .wmd-button>span { + background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyODMgNjAiIHdpZHRoPSIyODMiIGhlaWdodD0iNjAiPgogIDxnIGZpbGw9IiNjNmM2YzYiPgogICAgPHBhdGggZD0iTTEyOCAxNC40aDguNlYxNkgxMjh2LTEuNnptMC01LjNoOC42djJIMTI4Vjl6bTAtNWg4LjZ2MS43SDEyOFY0em0tMi42LTF2My42aC0xVjRoLS44VjNoMS44em0tMSA3djFoMS44djFoLTIuNnYtMmwxLjctMXYtLjdoLTEuN3YtLjhoMi42djJsLTEuNy43em0xLjggMi43VjE3aC0yLjZ2LTFoMS43di0uN2gtMS43di0xaDEuN3YtLjhoLTEuN3YtMWgyLjZ6bTc4LTUuM0wyMDkgMTJWOS4zYzEuMyAwIDQuNyAwIDQuNyAzLjcgMCAyLTEuMyAzLjYtMyA0IDIuNi0uNCA0LjgtMyA0LjgtNiAwLTUuNi01LjgtNS42LTYuNi01LjZWM2wtNC40IDQuNHptMzEgMEwyMzEgMTJWOS4zYy0xLjMgMC00LjcgMC00LjcgMy43IDAgMiAxLjUgMy42IDMuMyA0LTIuNy0uNC01LTMtNS02IDAtNS42IDYtNS42IDYuNy01LjZWM2w0LjMgNC40ek01Ny43IDRDNTYuMyAyLjcgNTQgMi43IDUzIDRsLTMgM2MtMS40IDEuMy0xLjQgMy40IDAgNC43IDAgMCAwIC4yLjMuM2wxLTFjMC0uMi0uMi0uMy0uMy0uNC0uNy0uNy0uNy0xLjggMC0yLjVs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JoLTIuNHptMy40IDBoMi4zdjJIMTk0ek0xOTcuMiA0OC44aDIuM3YySDE5N3pNMTYyIDQzaDE2djJoLTE2em0zIDNoMTB2MmgtMTB6Ii8+CiAgPC9nPgo8L3N2Zz4=) !important; + } + + #hlogo img, .everyonelovesstackoverflow, button[disabled], input[disabled] { + opacity: .3 !important; + } + .everyonelovesstackoverflow:empty { display: none !important; } + + #hlogo a, #footer-logo { + background-repeat: no-repeat !important; + } + + #footer-logo { + background-size: contain !important; + } + + #header-logo img, #footer-logo img { + visibility: hidden !important; + } + + #sound, .vote-count-container.stars .img, #sub-navs>a:hover .messages-icon, + .industries:before, .js-reputation-graph, .js-reputation-graph *, + #sub-navs .messages-icon, .topbar-dialog .header .icon-close { + -webkit-filter: invert(100%) !important; + filter: invert(100%) !important; + } + .collection img, .salary-survey-sidebar .header-img, #post-job .header-img { + filter: invert(80%) hue-rotate(180deg); + } + + .axis .tick, .pie text { + fill: #ccc !important; + } + .axis line, .axis path { + stroke: #999 !important; + } + + /*New navigation tabs*/ + .intellitab a { + background: transparent !important; + } + .intellitab.selected a { + background-color: rgba(51, 51, 51, .5) !important; + } + .intellitab a.youarehere { + border-bottom-color: #242729 !important; + } + .intellitab .menu-switcher { + background-color: #333 !important; + } + .intellitab .menu-switcher:hover{ + background-color: #222 !important; + } + .intellitab.dropdown-enabled:hover .menu-switcher, .intellitab .dropdown a:hover, + .post-timeline-v2 .post-timeline tr.separator > td > div { + background-color: #444 !important; + } + .dropdown:before { + filter: invert(76%) !important; + -webkit-filter: invert(76%) !important; + } + /* documentation editing icons */ + .docs-menu a { + -webkit-filter: brightness(200%) !important; + filter: brightness(200%) !important; + } + .docs-menu:hover a { + -webkit-filter: none !important; + filter: none !important; + } + + /* override prettyprint bright border styles */ + .prettyprint { + border-color: transparent !important; + color: #ddd !important; + } + /* style non-prettyprint code */ + code, pre:not(.prettyprint):not(.CodeMirror-line) { + background: #333 !important; + } + .prettyprint code { + background: transparent !important; + } + /* accepted answer code blocks */ + .accepted-answer pre, .accepted-answer code, .accepted-answer pre.prettyprint, + .accepted-answer .prettyprint .pln, .accepted-answer .youarehere, .accepted-answer pre:not(.prettyprint) { + background: #202A20 !important; + } + + /*! Desert */pre.prettyprint{display:block;background-color:#333!important;line-height:1.4em!important}pre .nocode{background-color:none!important;color:#000!important}code .str,pre .str{color:#ffa0a0!important}code .kwd,pre .kwd{color:khaki!important;font-weight:700!important}code .com,pre .com{color:#87ceeb!important}code .typ,pre .typ{color:#98fb98!important}code .lit,pre .lit{color:#cd5c5c!important}code .pun,pre .pun{color:#fff!important}code .pln,pre .pln{color:#fff!important}code .tag,pre .tag{color:khaki!important;font-weight:700!important}code .atn,pre .atn{color:#bdb76b!important;font-weight:700!important}code .atv,pre .atv{color:#ffa0a0!important}code .dec,pre .dec{color:#98fb98!important}ol.linenums{margin-top:0;margin-bottom:0;color:#aeaeae}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none!important}@media print{pre.prettyprint{background-color:none!important}code .str,pre .str{color:#060!important}code .kwd,pre .kwd{color:#006!important;font-weight:700!important}code .com,pre .com{color:#600!important;font-style:italic!important}code .typ,pre .typ{color:#404!important;font-weight:700!important}code .lit,pre .lit{color:#044!important}code .pun,pre .pun{color:#440!important}code .pln,pre .pln{color:#000!important}code .tag,pre .tag{color:#006!important;font-weight:700!important}code .atn,pre .atn{color:#404!important}code .atv,pre .atv{color:#060!important}} +} + +[qb-domain="stackexchange.com"] +{ + /* login screen StackExchange logo replacement */ + .login-page .se-logo { + -moz-box-sizing: border-box !important; + box-sizing: border-box !important; + background: url(https://StylishThemes.github.io/StackOverflow-Dark/images/stackexchange-logo.svg) no-repeat !important; + background-size: cover !important; + background-position: center center !important; + width: 200px !important; /* Width of new image */ + height: 48px !important; /* Height of new image */ + padding-left: 200px !important; /* Equal to width of new image */ + } + /* login button (input type=button")*/ + .login-page input.fr { + background-color: #4183C4 !important; + } + /* remove content border */ + #content { + border: 0 !important; + } + #sidebar #newsletter-ad, #sidebar .ad-container, #sidebar .everyonelovesstackoverflow { + border-width: 2px !important; + } + /* start blog.stackexchange.com */ + .cse .gsc-control-cse, .gsc-control-cse, div.pagination { + background-color: #181818 !important; + } + .sidebar p { + color: #ddd !important; + } + .job { + color: #888 !important; + } + .gsc-control-wrapper-cse { + padding-top: 10px !important; + } + /* hide google custom search placeholder */ + .gsc-input input:not(.gse-input-focus) { + background-image: none !important; + } + .podcast-container { + -webkit-filter: invert(100%) !important; + filter: invert(100%) !important; + } + .filters-sidebar .filters ul li.current, + .filters-sidebar .filters ul li.current .filter-unread-count { + background: #182030 !important; + } + /* end blog.stackexchange.com */ + /* chat.stackexchange.com */ + .event-banner { + background-color: #222 !important; + border-color: #555 !important; + } + /* end chat.stackexchange.com */ + /* http://stackexchange.com/newsletters/newsletter (see #36) */ + .promotion-banner-container, .promotion-banner { + background: #222 !important; + } + table[style*="background-color"], table[style*="background-image"] { + background: transparent !important; + border: none !important; + } + table h2[style*="color: "][style*="!important"], + table a[style*="color: #000!important"]:not([href*="questions/tagged"]) { + /* can't use color here because they added an inline !important */ + filter: invert(100%); + } + table tr, table td, table td p { + background: transparent !important; + color: #ddd !important; + } + table td a[href*="questions/tagged"] { + background: #222 !important; + color: #ddd !important; + border: none !important; + text-decoration: none !important; + } + table td hr { + border-style: solid !important; + } + footer .iconLogoSE path:first-child { + fill: #ededed !important; + } + div[class^="gv-"], table.gv-stats tr, table.gv-stats td { + color: initial !important; + } + + /* target sites to *NOT* hide the header background */ + #header, #hmenus { + background-color: transparent !important; + } + #header { + background-image: none !important; + } +} + +[qb-domain="tex.stackexchange.com"] +{ + /* target sites that need an inverted header */ + #header, #header > * { + -webkit-filter: invert(100%) !important; + filter: invert(100%) !important; + } +} + +[qb-domain="stackoverflow.com"] +{ + #hlogo a { + background-image: url(https://StylishThemes.github.io/StackOverflow-Dark/images/stackoverflow-logo.svg) !important; + } + .-logo > .-img { + background-image: url(https://StylishThemes.github.io/StackOverflow-Dark/images/stackoverflow-logo.svg) !important; + background-size: cover !important; + background-position: 0 0 !important; + background-repeat: no-repeat !important; + } +} + +[qb-domain="chat.stackoverflow.com"] +{ + /* chat.stackoverflow.com */ + #hlogo a { + background-image: none !important; + } + #header-logo, #footer-logo { + background-image: url(https://StylishThemes.github.io/StackOverflow-Dark/images/stackoverflow-logo.svg) !important; + } + #header-logo { + background-size: contain !important; + } +} + +[qb-domain="askubuntu.com"] +{ + #header { + background-image: none !important; + } + .narrow div.votes, .answered-accepted .mini-counts { + background-color: transparent !important; + } + #custom-header .nav-global, #custom-header .nav-global ul, .topbar { + background-color: #000 !important; + } + #custom-header .more.open, .topbar .profile-me:hover, .topbar a:hover, .topbar-icon:hover, #hmenus, .nav li, .nav a { + background-color: #111 !important; + } + #custom-header .nav-global a { + border-top-color: transparent !important; + } + #custom-header .nav-global a.active { + color: #eee !important; + border-top-color: #eee !important; + } + .nav li.youarehere, .nav li:hover { + background-color: #4183C4 !important; + } +} + +[qb-domain="english.stackexchange.com"] +{ + /* english language & usage */ + .post-signature.owner { + background-image: none !important; + } +} diff --git a/config/qutebrowser/styles/xkcd.scss b/config/qutebrowser/styles/xkcd.scss new file mode 100644 index 00000000..3738d968 --- /dev/null +++ b/config/qutebrowser/styles/xkcd.scss @@ -0,0 +1,86 @@ +[qb-domain$="xkcd.com"] { + body { + background: #161616 !important; + color: #FAFAFA !important; + } + + img, div[class="self"] { + filter: hue-rotate(180deg) invert(100%) !important; + -webkit-filter: hue-rotate(180deg) invert(100%) !important; + } + + /*Exceptions*/ + img[alt="Stargazing"], img[alt="Flashlights"], img[alt="Google Maps"], img[alt="Alternative Energy Revolution"], img[alt="Man Page"] { + filter: invert(0%) !important; + -webkit-filter: invert(0%) !important; + } + + .box { + background: #000 !important; + } + + #topLeft a { + color: #CCCCCC !important; + } + + ul.comicNav li a { + background: transparent linear-gradient(#3C3C3C, #2E2E2E) repeat scroll 0% 0% !important; + } +} + + +[qb-domain="imgs.xkcd.com"] { + img { + filter: hue-rotate(180deg) invert(100%) !important; + -webkit-filter: hue-rotate(180deg) invert(100%) !important; + } + + /*Exceptions*/ + img[alt="https://imgs.xkcd.com/comics/stargazing.png"], + img[alt="https://imgs.xkcd.com/comics/flashlights.png"], + img[alt="https://imgs.xkcd.com/comics/google_maps.png"], + img[alt="https://imgs.xkcd.com/comics/alternative_energy_revolution.jpg"], + img[alt="https://imgs.xkcd.com/comics/man_page.png"] { + filter: invert(0%) !important; + -webkit-filter: invert(0%) !important; + } +} + + +[qb-domain="m-xkcd.com"] { + body { + background: #161616 !important; + } + + #title { + color: #FAFAFA !important; + } + + #altTextLink { + color: #CCCCCC !important; + } + + #news { + color: #FAFAFA !important; + } + + ul#footerLinks li a { + background: transparent linear-gradient(#3C3C3C, #2E2E2E) repeat scroll 0% 0% !important; + } + + #altText { + background: #131313 !important; + color: #FAFAFA !important; + } + + img { + filter: hue-rotate(180deg) invert(100%) !important; + -webkit-filter: hue-rotate(180deg) invert(100%) !important; + } + + /*Exceptions*/ + img[alt="Stargazing"], img[alt="Flashlights"], img[alt="Google Maps"], img[alt="Alternative Energy Revolution"], img[alt="Man Page"] { + filter: invert(0%) !important; + -webkit-filter: invert(0%) !important; + } +} diff --git a/config/qutebrowser/styles/youtube.scss b/config/qutebrowser/styles/youtube.scss new file mode 100644 index 00000000..5c274109 --- /dev/null +++ b/config/qutebrowser/styles/youtube.scss @@ -0,0 +1,65 @@ +[qb-domain="youtube.com"] { + [is-watch-page] ytd-page-manager { + margin-top: 0!important; + } + + [is-watch-page] ytd-masthead { + background: transparent!important; + } + [is-watch-page] ytd-masthead::before { + content: ''; + position: absolute; + width: 100%!important; + height: 100%!important; + background: var(--yt-swatch-primary); + opacity: .65; + z-index: -1; + } + + [is-watch-page] ytd-masthead, + [is-watch-page] #masthead-container.ytd-app::after { + transform: translateY(-56px); + transition: transform .1s .5s ease-out; + } + [is-watch-page] #masthead-container:hover ytd-masthead, + [is-watch-page] #masthead-container:hover.ytd-app::after { + transform: translateY(0px); + } + + [is-watch-page] [theater] #player.ytd-watch { + height: 100vh!important; + max-height: 100vh!important; + } + + ytd-watch-flexy[theater] #player-theater-container.ytd-watch-flexy, + ytd-watch-flexy[fullscreen] #player-theater-container.ytd-watch-flexy, + [is-watch-page] [theater] #player video { + width: 100%!important; + height: 100vh!important; + max-height: 100vh!important; + max-width: 100%!important; + left: 0!important; + } + + [is-watch-page] .ytp-chrome-top.ytp-share-button-visible, + [is-watch-page] #iv-drawer .iv-drawer-header, + [is-watch-page] #iv-drawer .iv-drawer-content { + margin-top: 30px; + } + + [is-watch-page] [theater] .ytp-chrome-top.ytp-share-button-visible, + [is-watch-page] [theater] #iv-drawer .iv-drawer-header, + [is-watch-page] [theater] #iv-drawer .iv-drawer-content { + margin-top: 56px; + } + + [is-watch-page] .ytp-tooltip.ytp-tooltip-opaque.ytp-bottom { + right: 60px!important; + top: 35px!important; + } + + [is-watch-page] [theater] .ytp-tooltip.ytp-tooltip-opaque.ytp-bottom { + right: 60px!important; + top: 60px!important; + } +} diff --git a/modules/browser/qutebrowser.nix b/modules/browser/qutebrowser.nix index e69de29b..46d2c372 100644 --- a/modules/browser/qutebrowser.nix +++ b/modules/browser/qutebrowser.nix @@ -0,0 +1,20 @@ +{ config, lib, pkgs, ... }: +{ + environment = { + systemPackages = with pkgs; [ + qutebrowser + ]; + variables.BROWSER = "qutebrowser"; + }; + + home.xdg = { + configFile."qutebrowser" = { + source = ; + recursive = true; + }; + dataFile."qutebrowser/greasemonkey" = { + source = ; + recursive = true; + }; + }; +}