Last active
October 12, 2023 17:27
-
-
Save troglodyne/f76f732f06ff0aef281581eaa9b97f48 to your computer and use it in GitHub Desktop.
WHM Dark mode CSS for use in Stylus plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
You may need to replace the line below with something like: | |
@-moz-document domain("whm.my.domain.name") if using the whm proxy subdomain | |
*/ | |
@-moz-document regexp("^http[s]?://[a-zA-Z0-9._-]+:208[67]/.*") { | |
#topFrameWrapper > div { | |
background-color: #1d1d1d; | |
color: white; | |
} | |
#pageContainer { | |
background-color: white; | |
filter: invert(100%); | |
} | |
#breadcrumbsContainer > * { | |
background-color: #bbbbbb; | |
} | |
.searchContainer { | |
background-color: #444 !important; | |
} | |
.mainCommandWrapper { | |
background: url("darkorb.gif") white no-repeat bottom; | |
filter: invert(100%); | |
} | |
.categoryHeader { | |
background-color: #bbbbbb; | |
} | |
#breadcrumbsContainer { | |
border-bottom-color: #d6c5b5; | |
} | |
.sidebar #quickJump { | |
background-color: #444; | |
border: 1px solid #555; | |
border-top-color: rgb(85, 85, 85); | |
border-right-color: rgb(85, 85, 85); | |
border-bottom-color: rgb(85, 85, 85); | |
border-left-color: rgb(85, 85, 85); | |
color: white; | |
} | |
.sidebar #quickJump:hover { | |
background-color: #555; | |
border-color: #666; | |
} | |
.sidebar #quickJump:focus { | |
border-color: #ff6c2c; | |
outline: 0; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 108, 44, .6); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 108, 44, .6); | |
} | |
.sidebar a.collapseExpandButton.expand, | |
.sidebar a.collapseExpandButton.collapse { | |
filter: invert(100%); | |
background-color: #e9e9e9 !important; | |
} | |
#masterContainer { | |
box-shadow: 0em 0em 1em #293a4a; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pic related, it's a screenshot of the theme "in action"
![screenshot](https://user-images.githubusercontent.com/20960409/53574960-3ed61100-3b36-11e9-858d-d11aa6af6832.png)