From 3da01e997824ae115a7b8cb978931b44489ca773 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 19 Jan 2020 23:56:40 -0500 Subject: [PATCH] qutebrowser: compile scss userstyles to css --- config/qutebrowser/config.py | 2 +- 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 - config/qutebrowser/styles/github.scss | 4 +- modules/browser/qutebrowser.nix | 23 +- 8 files changed, 23 insertions(+), 23006 deletions(-) delete mode 100644 config/qutebrowser/css/github.com delete mode 100644 config/qutebrowser/css/quora.css delete mode 100644 config/qutebrowser/css/stackoverflow.css delete mode 100644 config/qutebrowser/css/xkcd.css delete mode 100644 config/qutebrowser/css/youtube.css diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 8e11fab2..452b5dc7 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -2,7 +2,7 @@ import os import glob ## Per-domain settings -c.content.user_stylesheets = glob.glob(os.path.expanduser('~/.config/qutebrowser/css/*.css')) +c.content.user_stylesheets = glob.glob(os.path.expanduser('~/.local/share/qutebrowser/userstyles.css')) ## General config diff --git a/config/qutebrowser/css/github.com b/config/qutebrowser/css/github.com deleted file mode 100644 index 05011840..00000000 --- a/config/qutebrowser/css/github.com +++ /dev/null @@ -1,16252 +0,0 @@ -/*! 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 */ - /*