From 273b4940a4866add08cab05cb2e023498808ba55 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 27 May 2011 22:44:33 +0200 Subject: [PATCH] CONKEROR: Added blackened theme --- .../themes/blackened/conkeror--scrollbars.css | 36 +++++++++++++ .../themes/blackened/hints--url-panel.css | 17 ++++++ conkeror/themes/blackened/minibuffer.css | 44 +++++++++++++++ conkeror/themes/blackened/mode-line.css | 10 ++++ conkeror/themes/blackened/new-tabs.css | 54 +++++++++++++++++++ conkeror/themes/blackened/theme.json | 8 +++ conkerorrc | 3 ++ install.sh | 1 + 8 files changed, 173 insertions(+) create mode 100644 conkeror/themes/blackened/conkeror--scrollbars.css create mode 100644 conkeror/themes/blackened/hints--url-panel.css create mode 100644 conkeror/themes/blackened/minibuffer.css create mode 100644 conkeror/themes/blackened/mode-line.css create mode 100644 conkeror/themes/blackened/new-tabs.css create mode 100644 conkeror/themes/blackened/theme.json diff --git a/conkeror/themes/blackened/conkeror--scrollbars.css b/conkeror/themes/blackened/conkeror--scrollbars.css new file mode 100644 index 0000000..0f70e96 --- /dev/null +++ b/conkeror/themes/blackened/conkeror--scrollbars.css @@ -0,0 +1,36 @@ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* The "background" behind the scrolling part of the scrollbar. */ +scrollbar { + background-color: #222; +} + +/* corner between horizontal and vertical scrollbars */ +scrollcorner { + background-color: black; +} + +/* The scroll up/down buttons. */ +scrollbarbutton { + background-color: #666; +} + +/* The actual scrolling part of the scrollbar. */ +thumb { + background-color: #666; +} + +thumb, scrollbarbutton { + -moz-border-bottom-colors: #000 #333; + -moz-border-left-colors: #aaa #888; + -moz-border-right-colors: #000 #333; + -moz-border-top-colors: #aaa #888; +} + +scrollbarbutton:hover:active, scrollbarbutton[active="true"] { + -moz-border-bottom-colors: #aaa #888; + -moz-border-left-colors: #000 #333; + -moz-border-right-colors: #aaa #888; + -moz-border-top-colors: #000 #333; +} diff --git a/conkeror/themes/blackened/hints--url-panel.css b/conkeror/themes/blackened/hints--url-panel.css new file mode 100644 index 0000000..143f3c1 --- /dev/null +++ b/conkeror/themes/blackened/hints--url-panel.css @@ -0,0 +1,17 @@ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.panel { + border-top: 4px double #333333; + color: white; + background-color: black; +} + +.panel .panel-row-label { + font-weight: bold; +} + +.panel .url-panel-label { + font-weight: bold; +} + diff --git a/conkeror/themes/blackened/minibuffer.css b/conkeror/themes/blackened/minibuffer.css new file mode 100644 index 0000000..5f13391 --- /dev/null +++ b/conkeror/themes/blackened/minibuffer.css @@ -0,0 +1,44 @@ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#minibuffer { + background-color: #000; + border: 1px solid #444; + border-top: 0; + color: white; + font: 11px Tahoma; +} + +/* Completions display */ + +tree.completions treechildren { border: none !important; } + +tree.completions treecol { -moz-binding: none !important; } +tree.completions { + -moz-appearance: none !important; + border: 0px none !important; + border-top: 4px double #333333 !important; + background-color: black !important; + -moz-border-top-colors: -moz-initial !important; + color: white !important; +} + +tree.completions treechildren::-moz-tree-row { + background-color: black !important; + border: none; +} + +tree.completions treechildren::-moz-tree-row(current) { + background-color: blue !important; + color: white; +} + +tree.completions treechildren::-moz-tree-cell-text(completion-description) { + color: green !important; + font-weight: bold !important; +} + +tree.completions treechildren::-moz-tree-cell-text(current) { + color: white !important; +} + diff --git a/conkeror/themes/blackened/mode-line.css b/conkeror/themes/blackened/mode-line.css new file mode 100644 index 0000000..207a039 --- /dev/null +++ b/conkeror/themes/blackened/mode-line.css @@ -0,0 +1,10 @@ +.mode-line { + font: 11px Tahoma; + padding: 0px; + border: 1px solid #444; + background-color: #000; +} + +.mode-line label { + color: white; +} diff --git a/conkeror/themes/blackened/new-tabs.css b/conkeror/themes/blackened/new-tabs.css new file mode 100644 index 0000000..f5d30c0 --- /dev/null +++ b/conkeror/themes/blackened/new-tabs.css @@ -0,0 +1,54 @@ +#tab2-bar { + background: #222; +} + +.tab2 { + margin: 2px 0px 0px 2px; + padding: 0px; + height: 22px; + border-width: 2px; + border-bottom-width: 0; + border-style: solid; + -moz-border-radius: 3px 3px 0 0; + -moz-border-left-colors: #888 #555; + -moz-border-right-colors: #000 #171717; + -moz-border-top-colors: #888 #555; + background: #333; + min-width: 200px; + max-width: 200px; + overflow: hidden; /* Chops end of label */ +} + +.tab2[selected=true] { + -moz-border-left-colors: #aaa #888; + -moz-border-right-colors: #000 #333; + -moz-border-top-colors: #aaa #888; + background: #666; +} + +.tab2:hover { + -moz-border-left-colors: #eee #bbb; + -moz-border-right-colors: #333 #666; + -moz-border-top-colors: #eee #bbb; + background: #999; +} + +.tab2-label { + margin-left: 4px; + padding-top: 1px; + color: #fff; + font: 11px Tahoma; +} + +.tab2-icon { + margin: 1px !important; + padding: 1px; + width: 20px; + height: 15px; + max-height: 15px; + -moz-border-radius: 1px; + background: black; + color: white; + font: 900 11px Tahoma; + text-align: center; +} diff --git a/conkeror/themes/blackened/theme.json b/conkeror/themes/blackened/theme.json new file mode 100644 index 0000000..c43afbb --- /dev/null +++ b/conkeror/themes/blackened/theme.json @@ -0,0 +1,8 @@ +{ "sheets" : [ + "conkeror--scrollbars.css", + "new-tabs.css", + "minibuffer.css", + "mode-line.css", + "hints--url-panel.css" + ] +} diff --git a/conkerorrc b/conkerorrc index 663e9dd..10cb2f6 100644 --- a/conkerorrc +++ b/conkerorrc @@ -1,6 +1,9 @@ // -*- mode: javascript -*- cwd = make_file("/home/slash/downloads/"); +theme_load_paths.push("/home/slash/.conkeror/themes/"); +theme_load("blackened"); + define_webjump("archwiki", "http://wiki.archlinux.org/index.php?search=%s", $alternative="http://wiki.archlinux.org"); diff --git a/install.sh b/install.sh index ebbdae7..64da4ee 100755 --- a/install.sh +++ b/install.sh @@ -43,6 +43,7 @@ function copymy # CONKEROR linkmy conkerorrc .conkerorrc +linkmy conkeror .conkeror # CONKY linkmy conkyrc .conkyrc copymy conky_box.lua .conky_box.lua