From e9f83423c716c9be52558aefbb80240fe47b5a7b Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Thu, 10 Aug 2017 19:59:17 +0200 Subject: Add some firefox theme for stylish plugin --- firefox/stylish/bug-fix | 31 ++ firefox/stylish/firefox_dark | 933 +++++++++++++++++++++++++++++++++++++++++++ firefox/stylish/new_tab | 49 +++ firefox/stylish/pdf | 26 ++ 4 files changed, 1039 insertions(+) create mode 100644 firefox/stylish/bug-fix create mode 100644 firefox/stylish/firefox_dark create mode 100644 firefox/stylish/new_tab create mode 100644 firefox/stylish/pdf (limited to 'firefox/stylish') diff --git a/firefox/stylish/bug-fix b/firefox/stylish/bug-fix new file mode 100644 index 0000000..3ac8ea8 --- /dev/null +++ b/firefox/stylish/bug-fix @@ -0,0 +1,31 @@ +input[type="text"], textarea, input[type="search"], input[type="url"] { + background-color: black !important; + color: white !important; + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace !important; +} + +::-moz-placeholder { + color: white !important; +} + +body { + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace !important; +} + +/** shaarli fix **/ + +div.awesomplete > ul > li[aria-selected="true"] { + background: white !important; + color: black !important; +} + +div.awesomplete mark { + background: black !important; + text-decoration: underline; + +} + +div.awesomplete li[aria-selected="true"] mark { + background: white !important; + text-decoration: underline; +} diff --git a/firefox/stylish/firefox_dark b/firefox/stylish/firefox_dark new file mode 100644 index 0000000..4547cf4 --- /dev/null +++ b/firefox/stylish/firefox_dark @@ -0,0 +1,933 @@ +@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul) + +browser { + background-color: #000 !important; +} +#main-menubar { + background-color:#080808 !important; +} +body, p, span, a, div, input[type="submit"] { + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace !important; +} +#urlbar, +.searchbar-textbox { + box-shadow: none !important; + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace !important; +} + +#titlebar-content { + background-color:#080808 !important; +} +#titlebar-close { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white) !important; +} +#titlebar-min { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-white) !important; +} +#titlebar-max { + list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-white) !important; +} + +tab { + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace !important; +} + +tab[selected="true"] { + color:#fff !important; +} +.tabbrowser-tab:not([selected="true"]) { + color:#6c6c6c !important; +} +#navigator-toolbox::after { + display: none !important; +} +#nav-bar, +#TabsToolbar, +#PersonalToolbar { + background: #000 !important; + border: 0px !important; +} +.toolbarbutton-text { +color:#6a6a6a !important; +} +.toolbarbutton-1 { +border-bottom: 2px solid transparent !important; +} +findbar { + -moz-appearance: none !important; + background-color: #000 !important; +} +#bookmarks-view, +#historyTree, +#history-panel, +#sidebar-header { + background-color: #000!important; + color: #ccc!important; +} +menuitem, +menu { + background-color: #000 !important; + color: #ccc !important; + border: none !important; +} +menuseparator { + display:none !important; +} +menupopup { + background-color: #000 !important; + -moz-appearance: none!important; + border:1px solid #000 !important; +} +menupopup > menu:hover { + background-color: #111 !important; +} + +menuitem:hover { + background-color: #111 !important; + color: #fff !important; +} +arrowscrollbox { + background-color: #000!important; + color: #ccc!important; +} +.statuspanel-label { + color: #ccc !important; + background: #000 !important; + border: none !important; +} +#main-menubar, #nav-bar { + box-shadow: none !important; +} +.tab-background-middle[selected=true]{ + background:#000 !important; +} +.tab-background-start[selected=true]::before{ + clip-path: url(chrome://browser/content/browser.xul#tab-curve-clip-path-start)!important; +} +.tab-background-end[selected=true]::before{ + clip-path: url(chrome://browser/content/browser.xul#tab-curve-clip-path-end)!important; +} +.tab-background .tab-background-start[selected=true]::before,.tab-background .tab-background-end[selected=true]::before{ + background:#000 !important; +} +.tab-background-start[selected=true]:-moz-locale-dir(ltr)::after, +.tab-background-end[selected=true]:-moz-locale-dir(ltr)::after { + background:transparent !important; +} +#urlbar { + background-color:#000 !important; + border: none !important; + color:#fff !important; +} +.searchbar-textbox { + background-color: #000 !important; + border:none !important; + color: #fff !important; +} +#titlebar-close, #titlebar-max, #titlebar-min { + background-color:#080808 !important; +} +#titlebar-close:hover, #titlebar-max:hover, #titlebar-min:hover { + background-color:#222 !important; +} +.tab-background { + background:transparent !important; +} +.tabs-newtab-button:hover { + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAfCAYAAADwbH0HAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuOWwzfk4AAAEuSURBVEhLxda9SsRAFEBhfxBREBGsTGVjsYWoIPgEdjZqK9iJYrm1iCIqFjaCu2/rmWJhWU4yd2ajFl8zZM6FhCSz0DTNv9DFv6CLPdrACa4wxBs+MbKL+7CLW3xjbGzTPFZxjRF04IRtrrWFR+igWRaosY4n6BBjkRrpeeqANhYpNYDGu1ioxCIeoPEuFiuxDw3nWKzEDTScY7GoFXxBwzkWjNqDRiMsGHUGjUZYMOoeGo2wYNQHNBphwYj0XdZglEUjjqDBKItGXEKDURaNqPpMTrNozjY0VsLCOafQWAkLd1nCKzRWwuJd0olRQ6Us3mYN79BQKRtg0i2+g0Zq2JBZ6cha/d9tY4Mm0rHmAM/QzfOYHrSM9I4e4gIv0E19SAM3sYNjnKfF39eMfwD0WDoo+kld9wAAAABJRU5ErkJggg=='), url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAfCAYAAADEFbwbAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuOWwzfk4AAAAeSURBVDhPY5CWlsaKsQqCMIiYiQ2PSoxKDE0J6ZkA6GKi2TsIuu8AAAAASUVORK5CYII='), url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAfCAYAAADwbH0HAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuOWwzfk4AAAFDSURBVEhLxdY7S0NBGIRhL4ggiASs3MrGVhQU/4CljdoKdqKQzlYQRVAsbITov3WmC8zs2e/bE2LxTBE470LIZVdKKf/CvrgMnB/4gnd4hBs4g22QBxaF81sxg3vYB3lwLI47dB7fkVvYBAn04rjDnGeYgER6cNwhNS+wBRLK4rgDhjyAhLI4Lt5yDBLL4LhwyyusgQSjOC4ccQgSjOK4aMQdSDCK46IR37ABEo3guGjUAUg0guOCURcg0QiOC0ZNQaIRHBeM+gSJRnBcMKPr95vjYhldv2IcF8u4Bgm3cFws4wkk3MJxsaxdkPgQjgtlnYPEh3BcKIv/VqsgB9RwXKjHKcgBNRwX6fEB4WsRx0V68VoUuiBwXGAM/k83r8Ic9/BY/LDxhlL9wHHcg4vyBldwBPyur8NSDp53CSewV0rZ+QN2DjowaPNIggAAAABJRU5ErkJggg==') + !important; +} +#forward-button#forward-button#forward-button>image.toolbarbutton-icon, +#back-button#back-button#back-button>image.toolbarbutton-icon +{ +border-color: #111 !important; +border:1px solid #333 !important; +} +#back-button, #forward-button { + border-bottom:none !important; +} + +#forward-button { + background-color: white; +} + +.tabbrowser-tab:hover:not([selected="true"]) { + color: #fff !important; +} +menupopup>hbox +{ + border:0px !important; +} +/* AGENT_SHEET */ + +/* +scrollbar[orient='vertical'] > scrollbarbutton { + color:#000 !important; + background-color: #1a1a1a !important; + border:none !important; + min-width: 10px !important; + max-width: 10px !important; +} +scrollbar[orient='horizontal'] > scrollbarbutton { + color:#000 !important; + background-color: #1a1a1a !important; + border:none !important; + min-height: 10px !important; + max-height: 10px !important; +} + +scrollbar > slider, scrollbar > slider > thumb, scrollbar > scrollbarbutton{ + -moz-appearance: none !important; +} +scrollbar > slider { + border-width: 0px; + background-color: #1a1a1a; +} +scrollbar > slider > thumb { + border-width: 0px; + background-color: #000; +} +scrollbar > slider > thumb:hover { + background-color: #080808; +} +*/ +/* AGENT_SHEET */ +scrollbarbutton[sbattr="scrollbar-up-top"], +scrollbarbutton[sbattr="scrollbar-down-top"], +scrollbarbutton[sbattr="scrollbar-up-bottom"], +scrollbarbutton[sbattr="scrollbar-down-bottom"] { +-moz-appearance: none !important; +display: none !important; +} +scrollbar[orient="vertical"] { +-moz-margin-start: -15px; +min-width: 15px!important; +max-width: 15px!important; +-moz-appearance: none!important; +position: relative; +background-color: transparent!important; +background-image: none!important; +border: 0; +z-index: 2147483647; +-moz-box-align: start; +padding:1px 1px 1px 6px!important; +} +scrollbar[orient="horizontal"] { +margin-top: -15px; +min-height: 15px; +max-height: 15px; +-moz-appearance: none!important; +position: relative; +background-color: transparent; +background-image: none; +border: 0; +z-index: 2147483647; +-moz-box-align: start; +padding:6px 11px 1px 1px!important; +} +scrollbar thumb { +-moz-appearance: none !important; +background-color: rgba(80,80,80,0.5); +border-radius: 8px; +border: 0; +} +scrollbar[orient="vertical"] thumb { +min-height: 20px!important; +min-width: 15px!important; +max-width: 15px!important; +} +scrollbar[orient="horizontal"] thumb { +min-width: 20px!important; +min-height: 15px!important; +max-height: 15px!important; + +} +scrollbar thumb:hover, scrollbar thumb:active { +background-color: rgba(0,0,0,0.5); +} +html div scrollbar { +-moz-margin-start: 0!important; +} + +scrollbar thumb[orient="vertical"], +textbox scrollbar thumb[orient="vertical"], +scrollbar thumb[orient="horizontal"], +textbox scrollbar thumb[orient="horizontal"] +{ -moz-appearance: none !important; +opacity: 1 !important; +min-height: 30px !important; +border: none !important; +border-radius: 0px !important; + +background-image: -moz-linear-gradient(90deg, #fff 0%, #fff 5%, #fff 50%, #fff 95%, #fff 100%) !important; +} + +/*--*/ + +.toolbarbutton-1:hover { +border-bottom: 2px solid #fff !important; +} +.tab-background-middle[selected=true]{ + border-bottom:2px solid #333 !important; +} +.tab-background-middle:hover{ + border-bottom:2px solid #fff !important; +} +toolbarbutton.bookmark-item:hover { + border-bottom:2px solid #fff !important; +} + + + +/* #### */ + +/*#verticaltabs-splitter { + background-color: red !important; +}*/ + + +/*-----------------------------------------*/ + +.tabbrowser-tab:not([selected="true"]) .tab-content, +toolbarbutton:not([selected="true"]) { filter: grayscale(1) !important; } +.tabbrowser-tab:hover .tab-content, +toolbarbutton:hover { filter: grayscale(0) !important; } +.tabbrowser-tab[selected="true"] .tab-content { filter: grayscale(0) !important; } + + + #TabsToolbar .tabbrowser-tab[selected] { + border-top: 0 !important; + box-shadow: none; + background: #39424D !important; + } + #TabsToolbar .tabbrowser-tab { + font-size: 11.75px; + background: #272b35 !important; + } + /*Default background & color*/ + #PopupAutoCompleteRichResult, .autocomplete-richlistbox { + background: #171b1f !important; + } + .autocomplete-richlistitem { + border-radius: 0 0px !important; + } + /*Selected item*/ + .autocomplete-richlistitem:hover, .autocomplete-richlistitem[selected] { + background: #1d4f73 !important; + border-radius: 0 0px !important; + color: #fff !important; + } + /*Title of autocomplete*/ + .ac-title { + font-size: 13px; + font-weight: 400; + color: #8c8f8c !important; + } + .ac-title[selected] { + font-size: 13px; + font-weight: 400; + color: #fff !important; + } + /*URL Color*/ + .ac-url-text { + color: #40769d !important; + } + .ac-url-text[selected]{ + color: #6090b2 !important; + } + /*From bookmark item*/ + .autocomplete-richlistitem[type="bookmark"] { + font-weight: bold !important; + background: #232F3C !important; + } + /*Found text what you typed*/ + .ac-emphasize-text { + border-bottom: 1px solid; + font-weight: 600 !important; + } + + /* AUTOCOMPLETE */ + + /*Default background & color*/ + #PopupAutoCompleteRichResult, .autocomplete-richlistbox { + background: #171b1f !important; + } + .autocomplete-richlistitem { + border-radius: 0 0px !important; + } + /*Selected item*/ + .autocomplete-richlistitem:hover, .autocomplete-richlistitem[selected] { + background: #1d4f73 !important; + border-radius: 0 0px !important; + color: #fff !important; + } + /*Title of autocomplete*/ + .ac-title { + font-size: 13px; + font-weight: 400; + color: #8c8f8c !important; + } + .ac-title[selected] { + font-size: 13px; + font-weight: 400; + color: #fff !important; + } + /*URL Color*/ + .ac-url-text { + color: #40769d !important; + } + .ac-url-text[selected]{ + color: #6090b2 !important; + } + /*From bookmark item*/ + .autocomplete-richlistitem[type="bookmark"] { + font-weight: bold !important; + background: #232F3C !important; + } + /*Found text what you typed*/ + .ac-emphasize-text { + border-bottom: 1px solid; + font-weight: 600 !important; + } + +/* TABS */ + +.theme-fg-color1{ + color: var(--theme-highlight-green)!important; +} +.theme-fg-color2{ + color: var(--theme-highlight-blue)!important; +} +.theme-fg-color3{ + color: var(--theme-highlight-purple)!important; +} +.theme-fg-color5{ + color: var(--theme-highlight-lightorange)!important; +} +.theme-fg-color6{ + color: var(--theme-highlight-orange)!important; +} + +/* DEFAULT MOZILLA STUFF */ + +:root, :root.theme-dark { + --main-tab-active-bg-color: #1A4666; + --main-tab-active-hover-bg-color: #1A4666; + --main-tab-active-text-color: #FFFFFF; + --main-tab-inactive-bg-color: #1C2126; + --main-tab-inactive-hover-bg-color: #07090a; + --main-tab-inactive-text-color: #FFFFFF; + + --theme-body-background: #14171a; + --theme-sidebar-background: #181d20; + --theme-contrast-background: #b28025; + + --theme-tab-toolbar-background: #272b35; + --theme-toolbar-background: #252c33; + --theme-selection-background: rgba(42, 80, 112, 0.6); + --theme-selection-background-semitransparent: rgba(29, 50, 68, 0.5); + --theme-selection-color: #f5f7fa; + --theme-splitter-color: #222222; + --theme-comment: #5c6773; + + --theme-body-color: #8fa1b2; + --theme-body-color-alt: #D6D6D6; + --theme-body-color-inactive: #8fa1b2; + --theme-content-color1: #a9bacb; + --theme-content-color2: #8fa1b2; + --theme-content-color3: #667380; + + --theme-highlight-green: #6BC14C; + --theme-highlight-blue: #46afe3; + --theme-highlight-bluegrey: #5e88b0; + --theme-highlight-purple: #D87AFF; + --theme-highlight-lightorange: #d99b28; + --theme-highlight-orange: #d96629; + --theme-highlight-red: #eb5368; + --theme-highlight-pink: #df80ff; + --theme-highlight-gray: #e9f4fe; + + /* For accessibility purposes we want to enhance the focus styling. This + * should improve keyboard navigation usability. */ + --theme-focus-outline-color: #ced3d9; + + /* Colors used in Graphs, like performance tools. Mostly similar to some "highlight-*" colors. */ + --theme-graphs-green: #70bf53; + --theme-graphs-blue: #46afe3; + --theme-graphs-bluegrey: #5e88b0; + --theme-graphs-purple: #df80ff; + --theme-graphs-yellow: #d99b28; + --theme-graphs-orange: #d96629; + --theme-graphs-red: #eb5368; + --theme-graphs-grey: #757873; + --theme-graphs-full-red: #f00; + --theme-graphs-full-blue: #00f; + + /* Images */ + /*--theme-pane-collapse-image: url(chrome://devtools/skin/images/pane-collapse.svg); + --theme-pane-expand-image: url(chrome://devtools/skin/images/pane-expand.svg);*/ + + /* Tooltips */ + --theme-tooltip-border: #434850; + --theme-tooltip-background: rgba(19, 28, 38, .9); + --theme-tooltip-shadow: rgba(25, 25, 25, 0.76); + + /* Command line */ + /*--theme-command-line-image: url(chrome://devtools/skin/images/commandline-icon.svg#dark-theme); + --theme-command-line-image-focus: url(chrome://devtools/skin/images/commandline-icon.svg#dark-theme-focus);*/ +} + +/* TABS */ + + +:root.theme-dark { + --theme-body-background: #000 !important; + --theme-sidebar-background: #000 !important; + --theme-contrast-background: #000 !important; + + --theme-tab-toolbar-background: #000 !important; + --theme-toolbar-background: #000 !important; + --theme-selection-background: #1C2026 !important; + --theme-selection-background-semitransparent: #1C2026 !important; + --theme-selection-color: #f5f7fa !important; + --theme-splitter-color: black !important; + --theme-comment: #757873 !important; + + --theme-body-color: #8fa1b2 !important; + --theme-body-color-alt: #b6babf !important; + --theme-body-color-inactive: #8fa1b2 !important; + --theme-content-color1: #a9bacb !important; + --theme-content-color2: #8fa1b2 !important; + --theme-content-color3: #5f7387 !important; + + --theme-highlight-green: #70bf53 !important; + --theme-highlight-blue: #46afe3 !important; + --theme-highlight-bluegrey: #5e88b0 !important; + --theme-highlight-purple: #6b7abb !important; + --theme-highlight-lightorange: #d99b28 !important; + --theme-highlight-orange: #d96629 !important; + --theme-highlight-red: #eb5368 !important; + --theme-highlight-pink: #df80ff !important; + + /* Colors used in Graphs, like performance tools. Mostly similar to some "highlight-*" colors. */ + --theme-graphs-green: #70bf53 !important; + --theme-graphs-blue: #46afe3 !important; + --theme-graphs-bluegrey: #5e88b0 !important; + --theme-graphs-purple: #df80ff !important; + --theme-graphs-yellow: #d99b28 !important; + --theme-graphs-orange: #d96629 !important; + --theme-graphs-red: #eb5368 !important; + --theme-graphs-grey: #757873 !important; + --theme-graphs-full-red: #f00 !important; + --theme-graphs-full-blue: #00f !important; + + /* Images */ + --theme-pane-collapse-image: url(chrome://devtools/skin/images/pane-collapse.svg); + --theme-pane-expand-image: url(chrome://devtools/skin/images/pane-expand.svg); +} + + +/* vim:set ts=2 sw=2 sts=2 et: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +body { + margin: 0 !important; +} + +.theme-body { + background: var(--theme-body-background) !important; + color: var(--theme-body-color) !important; +} + +.theme-sidebar { + background: var(--theme-sidebar-background) !important; + color: var(--theme-content-color1) !important; +} + +::-moz-selection { + background-color: var(--theme-selection-background) !important; + color: var(--theme-selection-color) !important; +} + +.theme-bg-darker { + background-color: var(--theme-selection-background-semitransparent) !important; +} + +.theme-selected, +.CodeMirror-hint-active { + background-color: var(--theme-selection-background) !important; + color: var(--theme-selection-color) !important; +} + +.theme-bg-contrast, +.variable-or-property:not([overridden])[changed] { + background: var(--theme-contrast-background) !important; +} + +.theme-link, +.cm-s-mozilla .cm-link { + color: var(--theme-highlight-blue) !important; +} + +/* + * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion + * failures in debug builds. + */ +.theme-link:visited, +.cm-s-mozilla .cm-link:visited, +.CodeMirror-Tern-type { + color: var(--theme-highlight-blue) !important; +} + + +.theme-comment, +.cm-s-mozilla .cm-meta, +.cm-s-mozilla .cm-hr, +.cm-s-mozilla .cm-comment, +.variable-or-property .token-undefined, +.variable-or-property .token-null, +.CodeMirror-Tern-completion-unknown:before { + color: var(--theme-comment) !important; +} + +.theme-gutter { + background-color: var(--theme-tab-toolbar-background) !important; + color: var(--theme-content-color3) !important; + border-color: var(--theme-splitter-color) !important; +} + +.theme-separator { + border-color: var(--theme-splitter-color) !important; +} + +.theme-fg-color1, +.cm-s-mozilla .cm-number, +.variable-or-property .token-number, +.variable-or-property[return] > .title > .name, +.variable-or-property[scope] > .title > .name { + color: var(--theme-highlight-green) !important; +} + +.CodeMirror-Tern-completion-number:before { + background-color: #5c9966 !important; +} + +.theme-fg-color2, +.cm-s-mozilla .cm-attribute, +.cm-s-mozilla .cm-variable, +.cm-s-mozilla .cm-def, +.cm-s-mozilla .cm-property, +.cm-s-mozilla .cm-qualifier, +.variables-view-variable > .title > .name { + color: var(--theme-highlight-blue) !important; +} + +.CodeMirror-Tern-completion-object:before { + background-color: #3689b2 !important; +} + +.cm-s-mozilla .cm-unused-line { + text-decoration: line-through !important; + text-decoration-color: #0072ab !important; +} + +.cm-s-mozilla .cm-executed-line { + background-color: #133c26 !important; +} + +.theme-fg-color3, +.cm-s-mozilla .cm-builtin, +.cm-s-mozilla .cm-tag, +.cm-s-mozilla .cm-header, +.cm-s-mozilla .cm-bracket, +.variables-view-property > .title > .name { + color: var(--theme-highlight-pink) !important; +} + +.CodeMirror-Tern-completion-array:before { + background-color: var(--theme-highlight-bluegrey) !important; +} + +.theme-fg-color4 { + color: var(--theme-highlight-purple) !important; +} + +.theme-fg-color5, +.cm-s-mozilla .cm-keyword { + color: var(--theme-highlight-lightorange) !important; +} + +.theme-fg-color6, +.cm-s-mozilla .cm-string, +.cm-s-mozilla .cm-string-2, +.variable-or-property .token-string, +.CodeMirror-Tern-farg { + color: var(--theme-highlight-orange) !important; +} + +.CodeMirror-Tern-completion-string:before, +.CodeMirror-Tern-completion-fn:before { + background-color: #b26b47 !important; +} + +.theme-fg-color7, +.cm-s-mozilla .cm-atom, +.cm-s-mozilla .cm-quote, +.cm-s-mozilla .cm-error, +.variable-or-property .token-boolean, +.variable-or-property .token-domnode, +.variable-or-property[exception] > .title > .name { + color: var(--theme-highlight-red) !important; +} + +.CodeMirror-Tern-completion-bool:before { + background-color: #bf5656 !important; +} + +.variable-or-property .token-domnode { + font-weight: bold !important; +} + +.theme-toolbar, +.devtools-toolbar, +.devtools-sidebar-tabs tabs, +.devtools-sidebar-alltabs, +.cm-s-mozilla .CodeMirror-dialog { /* General toolbar styling */ + color: var(--theme-body-color-alt) !important; + background-color: var(--theme-toolbar-background) !important; + border-color: hsla(210,8%,5%,.6) !important; +} + +.theme-fg-contrast { /* To be used for text on theme-bg-contrast */ + color: black !important; +} + +.ruleview-swatch, +.computedview-colorswatch { + box-shadow: 0 0 0 1px #818181 !important; +} + +/* CodeMirror specific styles. + * Best effort to match the existing theme, some of the colors + * are duplicated here to prevent weirdness in the main theme. */ + +.CodeMirror.cm-s-mozilla { /* Inherit platform specific font sizing and styles */ + /*font-family: inherit !important;*/ + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace !important; + font-size: inherit !important; + background: transparent !important; +} + +.CodeMirror.cm-s-mozilla pre, +.cm-s-mozilla .cm-variable-2, +.cm-s-mozilla .cm-variable-3, +.cm-s-mozilla .cm-operator, +.cm-s-mozilla .cm-special { + color: var(--theme-content-color1) !important; +} + +.cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor { + border-left: solid 1px #fff !important; +} + +.cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */ + background: rgb(185, 215, 253) !important; +} + +.cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */ + background: rgb(176, 176, 176) !important; +} + +.cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */ + background: rgba(185, 215, 253, .15) !important; +} + +div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */ + outline: solid 1px rgba(255, 255, 255, .25) !important; + color: white !important; +} + +/* Highlight for a line that contains an error. */ +div.CodeMirror div.error-line { + background: rgba(255,0,0,0.2) !important; +} + +/* Generic highlighted text */ +div.CodeMirror span.marked-text { + background: rgba(255,255,0,0.2) !important; + border: 1px dashed rgba(192,192,0,0.6) !important; + -moz-margin-start: -1px !important; + -moz-margin-end: -1px !important; +} + +/* Highlight for evaluating current statement. */ +div.CodeMirror span.eval-text { + background-color: #556 !important; +} + +.cm-s-mozilla .CodeMirror-linenumber { /* line number text */ + color: var(--theme-content-color3) !important; +} + +.cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */ + border-right-color: var(--theme-toolbar-background) !important; + background-color: var(--theme-sidebar-background) !important; +} + +.cm-s-markup-view pre { + line-height: 1.4em !important; + min-height: 1.4em !important; +} + +/* Twisty and checkbox controls */ +.theme-twisty, .theme-checkbox { + width: 14px !important; + height: 14px !important; + background-repeat: no-repeat !important; + background-image: url("chrome://devtools/skin/images/controls.png") !important; + background-size: 56px 28px !important; +} + +.theme-twisty { + cursor: pointer !important; + background-position: -28px -14px !important; +} + +.theme-twisty:-moz-focusring { + outline-style: none !important; +} + +.theme-twisty[open], .theme-twisty.open { + background-position: -42px -14px !important; +} + +.theme-twisty[invisible] { + visibility: hidden !important; +} + +.theme-checkbox { + display: inline-block !important; + border: 0 !important; + padding: 0 !important; + outline: none !important; + background-position: -28px 0 !important; +} + +.theme-checkbox[checked] { + background-position: -42px 0 !important; +} + +@media (min-resolution: 1.1dppx) { + .theme-twisty, .theme-checkbox { + background-image: url("chrome://devtools/skin/images/controls@2x.png") !important; + } +} + +/* XUL panel styling (see devtools/client/shared/widgets/Tooltip.js) */ + +.theme-tooltip-panel .panel-arrowcontent { + padding: 5px !important; + background: rgba(19, 28, 38, .9) !important; + border-radius: 5px !important; + box-shadow: none !important; + border: 3px solid #434850 !important; +} + +/* Overring panel arrow images to fit with our light and dark themes */ + +.theme-tooltip-panel .panel-arrow { + --arrow-margin: -4px !important; +} + +:root[platform="win"] .theme-tooltip-panel .panel-arrow { + --arrow-margin: -7px !important; +} + +.theme-tooltip-panel .panel-arrow[side="top"], +.theme-tooltip-panel .panel-arrow[side="bottom"] { + list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png") !important; + /* !important is needed to override the popup.css rules in toolkit/themes */ + width: 39px !important; + height: 16px !important; +} + +.theme-tooltip-panel .panel-arrow[side="left"], +.theme-tooltip-panel .panel-arrow[side="right"] { + list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png") !important; + /* !important is needed to override the popup.css rules in toolkit/themes */ + width: 16px !important; + height: 39px !important; +} + +.theme-tooltip-panel .panel-arrow[side="top"] { + margin-bottom: var(--arrow-margin) !important; +} + +.theme-tooltip-panel .panel-arrow[side="bottom"] { + margin-top: var(--arrow-margin) !important; +} + +.theme-tooltip-panel .panel-arrow[side="left"] { + margin-right: var(--arrow-margin) !important; +} + +.theme-tooltip-panel .panel-arrow[side="right"] { + margin-left: var(--arrow-margin) !important; +} + +@media (min-resolution: 1.1dppx) { + .theme-tooltip-panel .panel-arrow[side="top"], + .theme-tooltip-panel .panel-arrow[side="bottom"] { + list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark@2x.png") !important; + } + + .theme-tooltip-panel .panel-arrow[side="left"], + .theme-tooltip-panel .panel-arrow[side="right"] { + list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark@2x.png") !important; + } +} + +.theme-tooltip-panel .devtools-tooltip-simple-text { + color: white !important; + border-bottom: 1px solid #434850 !important; +} + +.theme-tooltip-panel .devtools-tooltip-simple-text:last-child { + border-bottom: 0 !important; +} + +.devtools-textinput, +.devtools-searchinput { + background-color: #000 !important; + color: #fff !important; +} + +.anonymous-div { + color: #fff; /* THIS CHANGE COLOR OF XUL INPUT !!!!!! +} + +.devtools-textinput:focus, .anonymous-div:focus, hbox:focus, input:focus { + outline: none; + box-shadow: none; +} + +.CodeMirror-Tern-fname { + color: #f7f7f7 !important; +} + +.CodeMirror-hints, +.CodeMirror-Tern-tooltip { + box-shadow: 0 0 4px rgba(255, 255, 255, .3) !important; + background-color: #0f171f !important; + color: var(--theme-body-color) !important; +} + +#inspector-breadcrumbs { + display: flex; + background-color: var(--theme-body-background) !important; +} + + +theme diff --git a/firefox/stylish/new_tab b/firefox/stylish/new_tab new file mode 100644 index 0000000..935840f --- /dev/null +++ b/firefox/stylish/new_tab @@ -0,0 +1,49 @@ + +@-moz-document regexp('about:newtab') { + #newtab-horizontal-margin { + display: none !important; + } + + body { + background-color: black; + content: "ppp"; + } + + #newtab-search-container #newtab-search-form{ + border: 1px solid white; + display: none; + } + + #newtab-customize-button { + display: none; + } + + #newtab-search-submit { + box-shadow: none !important; + background: url("chrome://browser/skin/search-arrow-go.svg#search-arrow-go") center center no-repeat, black padding-box !important; + border: none !important; + } + + #newtab-search-icon { + height: 50px !important; + } + + .contentSearchSuggestionTable { + background-color: hsl(0, 0%, 0%) !important; + } + + .contentSearchHeader { + background-color: hsl(0, 0%, 0%) !important; + color: #fff !important; + } + + #newtab-search-container:after { + content: "> sudo rm -r /*"; + color: white; + border: 1px solid white; + padding: 5px 200px 200px 5px; + border-top: 15px solid white; + + } + +} diff --git a/firefox/stylish/pdf b/firefox/stylish/pdf new file mode 100644 index 0000000..f5da48f --- /dev/null +++ b/firefox/stylish/pdf @@ -0,0 +1,26 @@ +@namespace url(http://www.w3.org/1999/xhtml); + +@-moz-document regexp(".*\.(p|P)(d|D)(f|F)") { + div { + color: #fff !important; + } + div.textLayer { + background-color: #000 !important; + opacity: 1; + } + #toolbarViewer { + background-color: black !important; + } + + .annotationLayer .linkAnnotation > a:hover { + box-shadow: none !important; + background: #000 !important; + opacity: 0 !important; + } + + /* THis code don't work */ + /* .annotationLayer .linkAnnotation > a { + text-decoration: underline !important; + color: white !important; + }*/ +} -- cgit v1.2.1