From f0d72e1fe9767deb512783343e2cc22fefbf83af Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 14 May 2014 05:04:35 +0100 Subject: [PATCH] dwb: add doxygen css and apply to ros --- dwb/userscripts/extension_loader.js | 7 +-- dwb/userstyles/doxygen.css | 69 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 3 deletions(-) create mode 100644 dwb/userstyles/doxygen.css diff --git a/dwb/userscripts/extension_loader.js b/dwb/userscripts/extension_loader.js index 7fbb9e2..b0a4967 100644 --- a/dwb/userscripts/extension_loader.js +++ b/dwb/userscripts/extension_loader.js @@ -117,11 +117,12 @@ domains : { }, //Settings applied based on the hostname hosts : { - "plus.google.com" : { "user-stylesheet-uri" : "" }, "chakraos.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" }, - "www.chakraos.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" }, - "reviewboard.chakraos.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reviewboard.chakra-project.org.css" }, + "docs.ros.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/doxygen.css" }, "paste.chakraos.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/paste.chakra-project.org.css" }, + "plus.google.com" : { "user-stylesheet-uri" : "" }, + "reviewboard.chakraos.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/reviewboard.chakra-project.org.css" }, + "www.chakraos.org" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/chakra-project.org.css" }, }, // Settings applied based on the uri uris : { diff --git a/dwb/userstyles/doxygen.css b/dwb/userstyles/doxygen.css new file mode 100644 index 0000000..f3a8590 --- /dev/null +++ b/dwb/userstyles/doxygen.css @@ -0,0 +1,69 @@ +body +{ + background-color: #222222 !important; +} + +/* adbar and social network buttons (hide) */ +.pageheader > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(3) > form:nth-child(1) > table:nth-child(8), +.pageheader > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) +{ + /*remove this line below if you want the chat icons back (and the adbar) */ + display: none; +} + +#projectlogo > a:nth-child(1) > img:nth-child(1) +{ + width: 0px !important; + height: 30px !important; + margin-top: 0px !important; + padding-left: 106px; + top: 4px !important; + left: 8px; + position: absolute; +} + +#side-nav +{ + top: inherit !important; +} + +#titlearea +{ + height: 40px; +} + +.paramname +{ + color: #10a0b0 !important; +} + +.mdescLeft, .mdescRight +{ + color: #cccccc !important; +} + +.memproto, dl.reflist dt +{ + text-shadow: 0px 1px 1px rgba(65,65,65,0.9) !important; +} + +#navrow1 +{ + height: 30px; + overflow: hidden; + font-size: 8px !important; + top: 10px !important; + position: absolute; + left: 120px +} + +body * +{ + color: ivory; + background: transparent !important; +} + +body a +{ + color:#6688ff !important; +} -- 2.48.1