]> git.rmz.io Git - dotfiles.git/commitdiff
dwb: add paste.c-p.o userstyle
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 15 Jan 2014 16:35:49 +0000 (17:35 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 15 Jan 2014 16:35:49 +0000 (17:35 +0100)
I can't change the colors of the highlighting because they are
hardcoded in html with no class to access them :(

dwb/userscripts/extension_loader.js
dwb/userstyles/paste.chakra-project.org.css [new file with mode: 0644]

index 58931f9001baecc0f80ff43acbd672b0ed52af55..5bb6d948b6ca537b7174a51f22d31ee4ac0d7596 100644 (file)
@@ -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" },
 //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 : {
 },
 // 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 (file)
index 0000000..0fc0f3f
--- /dev/null
@@ -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;
+}