move code mirror to generic_style

This commit is contained in:
overdodactyl 2018-04-14 19:46:21 -06:00
parent f484ac9220
commit 7b27d12231
4 changed files with 149 additions and 237 deletions

View File

@ -112,3 +112,152 @@
}
}
/* Code Mirror */
@-moz-document url-prefix("moz-extension://violentmonkey_UUID/"),
url-prefix("moz-extension://ublock_origin_UUID/"),
url-prefix("moz-extension://umatrix_UUID/") {
.CodeMirror {
border: 1px solid #2a2a2c!important;
background: var(--tone-8)!important;
color: #b1b1b3!important;
font-size: 11px!important;
line-height: 14px!important
}
div.CodeMirror-selected {
background: #353b48!important
}
.CodeMirror-line > span > span::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line::selection {
background: #353b48!important
}
.CodeMirror-line > span > span::-moz-selection,
.CodeMirror-line > span::-moz-selection,
.CodeMirror-line::-moz-selection {
background: #353b48!important
}
.CodeMirror-gutters {
background: var(--theme-sidebar-background)!important;
border-right: 0 solid #4a4a4f!important
}
.CodeMirror-guttermarker,
.CodeMirror-guttermarker-subtle {
color: #555!important
}
.CodeMirror-linenumber {
padding: 0 8px 0 5px!important;
color: #58575c!important
}
.CodeMirror-cursor {
border-left: 1px solid!important;
border-color: #fff!important
}
span.cm-comment {
color: #939393!important
}
span.cm-atom,
span.cm-attribute,
span.cm-builtin,
span.cm-error,
span.cm-keyword,
span.cm-quote {
color: #ff7de9!important
}
span.cm-number,
span.cm-string,
span.cm-string-2 {
color: #6b89ff!important
}
span.cm-hr,
span.cm-meta {
color: #939393!important
}
span.cm-header,
span.cm-qualifier,
span.cm-variable-2 {
color: #75bfff!important
}
span.cm-property {
color: #86de74!important
}
span.cm-bracket,
span.cm-def,
span.cm-link:visited,
span.cm-tag {
color: #75bfff!important
}
span.cm-variable {
color: #b98eff!important
}
span.cm-variable-3 {
color: #d7d7db!important
}
span.cm-link {
color: #737373!important
}
span.cm-operator {
color: #b1b1b3!important
}
span.cm-special {
color: #d7d7db!important
}
.CodeMirror-activeline-background {
background: rgba(185,215,253,.15)!important
}
.CodeMirror-matchingbracket {
outline: rgba(255,255,255,.25) solid 1px!important;
color: #fff!important
}
.CodeMirror-merge-l-chunk {
background: var(--tone-7)!important
}
.cm-search-widget {
background-color: var(--theme-sidebar-background)!important;
border: 1px solid;
border-bottom: none!important;
border-color: #2a2a2c!important;
max-height: 15px!important;
justify-content: right!important
}
.cm-search-widget input {
-moz-appearance: none!important;
background-color: rgba(24,29,32,1)!important;
border: 1px solid!important;
border-color: var(--tone-7)!important;
color: var(--tone-4)!important;
border-radius: 8px!important;
padding-left: 8px!important
}
.cm-searching {
background-color: var(--warning-background-color)!important
}
.cm-staticOpt {
background-color: var(--tone-6)!important;
font-weight: 700
}
.CodeMirror-merge-gap {
background-color: var(--theme-sidebar-background)!important;
border-top: 1px solid!important;
border-bottom: 1px solid!important;
border-right: none!important;
border-left: none!important;
border-color: #2a2a2c!important
}
.CodeMirror-merge {
border: none!important
}
.cm-search-widget span.fa {
color: var(--tone-6)!important;
font-size: 100%!important
}
.cm-staticext {
color: var(--theme-highlight-blue)!important
}
.cm-staticnetBlock {
color: #de7474!important
}
.cm-staticnetAllow {
color: var(--theme-highlight-green)!important
}
}

View File

@ -1,98 +1,6 @@
/*! Alters the webextension uBlock Origin
IMPORTANT: change the Internal UUID */
@-moz-document url-prefix("moz-extension://ublock_origin_UUID/") {
.CodeMirror {
border: 1px solid #2a2a2c!important;
background: var(--tone-8)!important;
color: #b1b1b3!important;
font-size: 11px!important;
line-height: 14px!important
}
div.CodeMirror-selected {
background: #353b48!important
}
.CodeMirror-line > span > span::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line::selection {
background: #353b48!important
}
.CodeMirror-line > span > span::-moz-selection,
.CodeMirror-line > span::-moz-selection,
.CodeMirror-line::-moz-selection {
background: #353b48!important
}
.CodeMirror-activeline-background {
background: rgba(185,215,253,.15)!important
}
.CodeMirror-merge-l-chunk {
background: var(--tone-7)!important
}
.cm-search-widget {
background-color: var(--theme-sidebar-background)!important;
border: 1px solid;
border-bottom: none!important;
border-color: #2a2a2c!important;
max-height: 15px!important;
justify-content: right!important
}
.cm-search-widget input {
-moz-appearance: none!important;
background-color: rgba(24,29,32,1)!important;
border: 1px solid!important;
border-color: var(--tone-7)!important;
color: var(--tone-4)!important;
border-radius: 8px!important;
padding-left: 8px!important
}
.cm-searching {
background-color: var(--warning-background-color)!important
}
.cm-staticOpt {
background-color: var(--tone-6)!important;
font-weight: 700
}
.CodeMirror-merge-gap {
background-color: var(--theme-sidebar-background)!important;
border-top: 1px solid!important;
border-bottom: 1px solid!important;
border-right: none!important;
border-left: none!important;
border-color: #2a2a2c!important
}
.CodeMirror-merge {
border: none!important
}
html body div#userFilters.codeMirrorContainer div div.cm-search-widget span.fa {
color: var(--tone-6)!important;
font-size: 100%!important
}
.CodeMirror-gutters {
background: var(--theme-sidebar-background)!important;
border-right: 0 solid #4a4a4f!important
}
.CodeMirror-guttermarker,
.CodeMirror-guttermarker-subtle {
color: #555!important
}
.CodeMirror-linenumber {
padding: 0 8px 0 5px!important;
color: #58575c!important
}
.CodeMirror-cursor {
border-left: 1px solid #fff!important
}
.cm-comment {
color: #939393!important
}
.cm-staticext {
color: var(--theme-highlight-blue)!important
}
.cm-staticnetBlock {
color: #de7474!important
}
.cm-staticnetAllow {
color: var(--theme-highlight-green)!important
}
button.custom {
background-color: var(--in-content-page-background)!important;
background-image: none!important;

View File

@ -1,61 +1,6 @@
/*! Alters the webextension uMatrix
IMPORTANT: change the Internal UUID */
@-moz-document url-prefix("moz-extension://umatrix_UUID/") {
.CodeMirror {
border: 1px solid #2a2a2c!important;
background: var(--tone-8)!important;
color: #b1b1b3!important;
font-size: 11px!important;
line-height: 14px!important
}
div.CodeMirror-selected {
background: #353b48!important
}
.CodeMirror-line > span > span::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line::selection {
background: #353b48!important
}
.CodeMirror-line > span > span::-moz-selection,
.CodeMirror-line > span::-moz-selection,
.CodeMirror-line::-moz-selection {
background: #353b48!important
}
.CodeMirror-activeline-background {
background: rgba(185,215,253,.15)!important
}
.CodeMirror-merge-l-chunk {
background: var(--tone-7)!important
}
.cm-searching {
background-color: var(--warning-background-color)!important
}
.CodeMirror-merge-gap {
background-color: var(--theme-sidebar-background)!important;
border-top: 1px solid!important;
border-bottom: 1px solid!important;
border-right: none!important;
border-left: none!important;
border-color: #2a2a2c!important
}
.CodeMirror-merge {
border: none!important
}
.CodeMirror-gutters {
background: var(--theme-sidebar-background)!important;
border-right: 0 solid #4a4a4f!important
}
.CodeMirror-guttermarker,
.CodeMirror-guttermarker-subtle {
color: #555!important
}
.CodeMirror-linenumber {
padding: 0 8px 0 5px!important;
color: #58575c!important
}
.CodeMirror-cursor {
border-left: 1px solid #fff!important
}
.t81 {
color: #fff;
background-color: #db4c4c!important

View File

@ -114,94 +114,4 @@
.frame-block {
background: var(--in-content-box-background)!important
}
.CodeMirror {
border: 1px solid #4a4a4f;
border-radius: 4px!important;
background: #2a2a2e!important;
color: #b1b1b3!important
}
div.CodeMirror-selected {
background: #353b48!important
}
.CodeMirror-line > span > span::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line::selection {
background: #353b48!important
}
.CodeMirror-line > span > span::-moz-selection,
.CodeMirror-line > span::-moz-selection,
.CodeMirror-line::-moz-selection {
background: #353b48!important
}
.CodeMirror-gutters {
background: #2a2a2e!important;
border-right: 0 solid #4a4a4f!important
}
.CodeMirror-guttermarker,
.CodeMirror-guttermarker-subtle {
color: #555!important
}
.CodeMirror-linenumber {
color: #939393!important
}
.CodeMirror-cursor {
border-left: 1px solid!important;
border-color: #fff!important
}
span.cm-comment {
color: #939393!important
}
span.cm-atom,
span.cm-attribute,
span.cm-builtin,
span.cm-error,
span.cm-keyword,
span.cm-quote {
color: #ff7de9!important
}
span.cm-number,
span.cm-string,
span.cm-string-2 {
color: #6b89ff!important
}
span.cm-hr,
span.cm-meta {
color: #939393!important
}
span.cm-header,
span.cm-qualifier,
span.cm-variable-2 {
color: #75bfff!important
}
span.cm-property {
color: #86de74!important
}
span.cm-bracket,
span.cm-def,
span.cm-link:visited,
span.cm-tag {
color: #75bfff!important
}
span.cm-variable {
color: #b98eff!important
}
span.cm-variable-3 {
color: #d7d7db!important
}
span.cm-link {
color: #737373!important
}
span.cm-operator {
color: #b1b1b3!important
}
span.cm-special {
color: #d7d7db!important
}
.CodeMirror-activeline-background {
background: rgba(185,215,253,.15)!important
}
.CodeMirror-matchingbracket {
outline: rgba(255,255,255,.25) solid 1px!important;
color: #fff!important
}
}