From: Samir Benmendil Date: Wed, 15 Jan 2014 16:35:49 +0000 (+0100) Subject: dwb: add paste.c-p.o userstyle X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/97dea1d38017f14b67e2e8aa00b0c7de7d1ad132?ds=sidebyside dwb: add paste.c-p.o userstyle I can't change the colors of the highlighting because they are hardcoded in html with no class to access them :( --- diff --git a/dwb/userscripts/extension_loader.js b/dwb/userscripts/extension_loader.js index 58931f9..5bb6d94 100644 --- a/dwb/userscripts/extension_loader.js +++ b/dwb/userscripts/extension_loader.js @@ -108,7 +108,8 @@ domains : { //Settings applied based on the hostname hosts : { "chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" }, - "reviewboard.chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reviewboard.chakra-project.org.css" } + "reviewboard.chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reviewboard.chakra-project.org.css" }, + "paste.chakra-project.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/paste.chakra-project.org.css" }, }, // Settings applied based on the uri uris : { diff --git a/dwb/userstyles/paste.chakra-project.org.css b/dwb/userstyles/paste.chakra-project.org.css new file mode 100644 index 0000000..0fc0f3f --- /dev/null +++ b/dwb/userstyles/paste.chakra-project.org.css @@ -0,0 +1,40 @@ +body { + background-color: #222 !important; + color: #888 !important; +} + +label { + color: #EEE !important; +} + +input, textarea, select, .uneditable-input { + background-color: #222 !important; + border-color: #444 !important; +} + +div.graybox { + background-color: #333 !important; +} + +div.whitebox { + background-color: #222 !important; + border-color: #282828 !important; +} + +hr { + border-top-color: #444 !important; + border-bottom-color: #555 !important; +} + +.codewrap li { + color: #EEE !important; + text-shadow: none !important; +} + +.codewrap ol li:nth-child(odd) { + background-color: #333 !important; +} + +.codewrap ol li:nth-child(even) { + background-color: #383838 !important; +}