From 5f173b0d5e937eeaccb75b843075f923945368a2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 30 Apr 2013 19:17:16 +0200 Subject: [PATCH] Update github style --- .conkerorrc/styles/.gitignore | 2 +- .conkerorrc/styles/Makefile | 3 - .conkerorrc/styles/github.css | 168 +++++++++++++++++++++++++++++++++ .conkerorrc/styles/github.less | 163 -------------------------------- 4 files changed, 169 insertions(+), 167 deletions(-) create mode 100644 .conkerorrc/styles/github.css delete mode 100644 .conkerorrc/styles/github.less diff --git a/.conkerorrc/styles/.gitignore b/.conkerorrc/styles/.gitignore index b3a5267..8b13789 100644 --- a/.conkerorrc/styles/.gitignore +++ b/.conkerorrc/styles/.gitignore @@ -1 +1 @@ -*.css + diff --git a/.conkerorrc/styles/Makefile b/.conkerorrc/styles/Makefile index 14ecaaa..8057419 100644 --- a/.conkerorrc/styles/Makefile +++ b/.conkerorrc/styles/Makefile @@ -2,6 +2,3 @@ SUBDIR=styles objects=github.css help.css git-scm.css include ../../dotfiles.mk - -$(objects): %.css: %.less - lessc -x $^ > $@ diff --git a/.conkerorrc/styles/github.css b/.conkerorrc/styles/github.css new file mode 100644 index 0000000..961ba4f --- /dev/null +++ b/.conkerorrc/styles/github.css @@ -0,0 +1,168 @@ +@-moz-document url("https://github.com/"), url("https://github.com/dashboard") { + #dashboard .filter-bar { + background:#111111 !important; + border-bottom-color:#404040 !important; + } + + #dashboard .filter-bar li a.filter_selected { + color:#404040 !important; + } + + #dashboard .repos { + border-color:#404040 !important; + background-color:#111111 !important; + } + + #dashboard .repos .bottom-bar { + background-color:#111111 !important; + } + + #dashboard .repos .top-bar { + background:#111111 !important; + border-bottom-color:#404040 !important; + } + + #dashboard .repos h2 { + color:inherit !important; + } + + #dashboard ul.repo_list li.private { + background:#404040 !important; + } + + #dashboard ul.repo_list li a { + border-width:0 !important; + } + + #footer { + text-shadow:none !important; + } + + .button, .minibutton { + background: #111111 !important; + color: #bfbfbf !important; + text-shadow: none !important; + border-color: #404040 !important; + } + + .button.primary, .minibutton.primary { + background: #111111 !important; + color: #bfbfbf !important; + border-color: #404040 !important; + text-shadow: none; + } + + .header { + background:#404040 !important; + color:#bfbfbf !important; + border-bottom-color:#111111 !important; + text-shadow:none !important; + } + + .header .divider-vertical { + background:#111111 !important; + border-right-color:#404040 !important; + } + + .header .top-nav a,.header .topsearch a#advanced_search,.header #user-links a { + color:#bfbfbf !important; + } + + .markdown-body code,.markdown-body tt { + background-color:#404040 !important; + border-color:#111111 !important; + color:#bfbfbf !important; + font-family:"Inconsolata" !important; + } + + .minibutton.dark-grey { + backgrond:#404040 !important; + } + + .news .alert { + border-top-color:#404040 !important; + } + + .news .alert .branch-link, + .news .alert .pull-info { + background:#404040 !important; + color:#bfbfbf !important; + } + + .news .alert .gravatar { + background:none !important; + } + + .news .alert .simple .title { + color:#bfbfbf !important; + } + + .news .commits li img { + background:none !important; + } + + .news blockquote { + color:#bfbfbf !important; + } + + .pagehead .container>ul.tabs { + background:#111111 !important; + border:none !important; + } + + .pagehead .container>ul.tabs li a { + text-shadow:none !important; + border:none !important; + } + + .pagehead .container>ul.tabs li a:hover,.pagehead .container>ul.tabs li a.selected { + background:#404040 !important; + } + + .pagehead-actions a.feed { + background:#404040 !important; + border:#111111 !important; + color:#bfa47d !important; + } + + .pagination { + background:#404040 !important; + border-color:#111111 !important; + } + + .pagination a { + text-shadow:none !important; + border-bottom-color:#404040 !important; + } + + .pagination a:hover { + background:#111111 !important; + } + + a { + color:#bfa47d !important; + } + + a:visited { + color:#b27dbf !important; + } + + a.header-logo-blacktocat,a.header-logo-blacktocat:visited { + color:#404040 !important; + } + + body { + background-color:#111111 !important; + color:#bfbfbf !important; + } + + input[type="text"] { + background-color: #404040 !important; + color: #bfbfbf !important + } + + p.tip, + strong.protip { + color: #ededed !important; + } +} diff --git a/.conkerorrc/styles/github.less b/.conkerorrc/styles/github.less deleted file mode 100644 index 316d005..0000000 --- a/.conkerorrc/styles/github.less +++ /dev/null @@ -1,163 +0,0 @@ -@import "base"; - -@-moz-document url("https://github.com/"), url("https://github.com/dashboard") { - #dashboard { - .filter-bar { - background: @dblack !important; - border-bottom-color: @dwhite !important; - - li a.filter_selected { - color: @dwhite !important; - } - } - - .repos { - border-color: @dwhite !important; - background-color: @dblack !important; - - .bottom-bar { - background-color: @dblack !important; - } - - .top-bar { - background: @dblack !important; - border-bottom-color: @dwhite !important; - } - - h2 { - color: inherit !important; - } - } - - ul.repo_list li { - &.private { - background: @dwhite !important; - } - - a { - border-width: 0 !important; - } - } - } - - #footer { - text-shadow: none !important; - } - - .button .minibutton { - background: @dblack !important; - } - - .header { - background: @dwhite !important; - color: @lblack !important; - border-bottom-color: @dblack !important; - text-shadow: none !important; - - .divider-vertical { - background: @dblack !important; - border-right-color: @dwhite !important; - } - - .top-nav a, - .topsearch a#advanced_search, - #user-links a { - color: @lblack !important; - } - } - - .markdown-body { - code, tt { - background-color: @dwhite !important; - border-color: @dblack !important; - color: @lblack !important; - font-family: @monospace-font !important; - } - } - - .minibutton.dark-grey { - backgrond: @dwhite !important; - } - - .news { - .alert { - border-top-color: @dwhite !important; - - .branch-info, - .pull-info { - background: @dblack !important; - color: @lblack !important; - } - - .gravatar { - background: none !important; - } - - .simple .title { - color: @lblack !important; - } - } - - .commits li img { - background: none !important; - } - - blockquote { - color: @lblack !important; - } - } - - .pagehead .container > ul.tabs { - background: @dblack !important; - border: none !important; - - li a { - text-shadow: none !important; - border: none !important; - - &:hover, - &.selected { - background: @dwhite !important; - } - } - } - - .pagehead-actions a.feed { - background: @dwhite !important; - border: @dblack !important; - color: @lorange !important; - } - - .pagination { - background: @dwhite !important; - border-color: @dblack !important; - - a { - text-shadow: none !important; - border-bottom-color: @dwhite !important; - - &:hover { - background: @dblack !important; - } - } - } - - a { - color: @lorange !important; - - &:visited { - color: @lmagenta !important; - } - - &.header-logo-blacktocat { - &, &:visited { - color: @dwhite !important; - } - } - } - - body { - background-color: @background !important; - color: @foreground !important; - } -}