Organise browser overides
This commit is contained in:
parent
ce49677a3e
commit
2d8afece25
37 changed files with 970 additions and 12455 deletions
27
NOSTOW/firefoxExtentions/browseroverrides/js/codemirror.js
Normal file
27
NOSTOW/firefoxExtentions/browseroverrides/js/codemirror.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
//This script will ensure that code mirror code is always gruvbox dark
|
||||
|
||||
class CodemirrorStyle{
|
||||
constructor(){
|
||||
this.domLoaded = this.domLoaded.bind(this);
|
||||
if (document.readyState === 'loading') {
|
||||
//Listend for change
|
||||
document.addEventListener('readystatechange', this.domLoaded )
|
||||
} else {
|
||||
this.domLoaded()
|
||||
}
|
||||
}
|
||||
|
||||
domLoaded(){
|
||||
console.log("dom before remove");
|
||||
document.removeEventListener('readystatechange',this.domLoaded);
|
||||
console.log("dom after remove");
|
||||
document.querySelectorAll('.CodeMirror').forEach(this.changeClass).forEach(this.changeStyles);
|
||||
}
|
||||
|
||||
changeClass(el){
|
||||
console.log("changeClass");
|
||||
el.className = el.className.replace(/cm-s-\S*/,'cm-s-gruvbox-dark');
|
||||
}
|
||||
}
|
||||
|
||||
new CodemirrorStyle();
|
File diff suppressed because one or more lines are too long
|
@ -1,11 +1,58 @@
|
|||
@import "gruvbox-colours.less";
|
||||
|
||||
body{
|
||||
html, body, .pun{
|
||||
font-family: opendyslexic !important;
|
||||
background-color: @gb-dm-bg0 !important;
|
||||
color: @gb-dm-fg0 !important;
|
||||
}
|
||||
|
||||
.pun .punwrap{
|
||||
background: @gb-dm-bg0-soft;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#brdmenu{
|
||||
background: transparent;
|
||||
a{
|
||||
&, &:visited, &:link{
|
||||
background: @gb-dm-bg0;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pun .blockpost{
|
||||
color: @gb-dm-fg0;
|
||||
background-color: @gb-dm-bg1;
|
||||
}
|
||||
|
||||
.pun .blockpost .postbody, .pun .blockpost .postfoot{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.pun .postmsg{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.pun .blockpost h2{
|
||||
background: @gb-dm-bg2;
|
||||
}
|
||||
|
||||
.pun .blocktable th{
|
||||
background: @gb-dm-bg2;
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.pun .blocktable .box{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
}
|
||||
|
||||
div.box{
|
||||
background: @gb-dm-bg0-hard;
|
||||
border: none;
|
||||
}
|
||||
|
||||
code, pre, tt, .blob-code-inner{
|
||||
font-family: Iosevka !important;
|
||||
color: @gb-dm-fg0 !important;
|
||||
|
@ -16,6 +63,44 @@ h1, h2, h3, h4, h5, h6 g{
|
|||
color: inherit !important;
|
||||
}
|
||||
|
||||
.pun a, .pun a:link, .pun a:visited, a:link, a:visited{
|
||||
color: @gb-dm-light-aqua;
|
||||
&:hover{
|
||||
color: @gb-dm-dark-aqua;
|
||||
}
|
||||
}
|
||||
|
||||
.pun .quotebox{
|
||||
background-color: @gb-dm-bg4;
|
||||
color: @gb-dm-fg0;
|
||||
border-color: @gb-dm-bg3;
|
||||
cite{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
}
|
||||
|
||||
dl dt{
|
||||
color: @gb-dm-fg2;
|
||||
}
|
||||
|
||||
.results tr:nth-child(2n+1), #article-list tr:nth-child(2n+1){
|
||||
background-color: @gb-dm-bg1;
|
||||
}
|
||||
|
||||
.results tr:nth-child(2n), #article-list tr:nth-child(2n){
|
||||
background-color: @gb-dm-bg3;
|
||||
}
|
||||
|
||||
.results th{
|
||||
background-color: @gb-dm-bg2;
|
||||
}
|
||||
|
||||
select[multiple], input[type="text"], input[type="password"], textarea, select{
|
||||
background-color: @gb-dm-bg2;
|
||||
border-color: @gb-dm-bg1;
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
#content{
|
||||
font-family: opendyslexic !important;
|
||||
background-color: @gb-dm-bg0 !important;
|
||||
|
|
83
NOSTOW/firefoxExtentions/browseroverrides/less/bbc.less
Normal file
83
NOSTOW/firefoxExtentions/browseroverrides/less/bbc.less
Normal file
|
@ -0,0 +1,83 @@
|
|||
@import "gruvbox-colours.less";
|
||||
|
||||
body{
|
||||
background-color: @gb-dm-bg0;
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
#orb-container, #page{
|
||||
background-color: @gb-dm-bg0;
|
||||
h1,h2,h3,h4,h5,h6,p,ul,ol,li{
|
||||
color: @gb-dm-fg0 !important;
|
||||
}
|
||||
a, a:visited{
|
||||
color: @gb-dm-dark-aqua;
|
||||
&:hover, &:active{
|
||||
color: @gb-dm-light-aqua;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.top-stories-promo{
|
||||
background-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
.top-stories-promo-story__title{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.features-and-analysis{
|
||||
background-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
|
||||
.container-heron{
|
||||
background-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
|
||||
.top-stories-container .hp-module__container, .local-news-container .hp-module__container, .uk-hero-promos-container .hp-module__container, .hero-promos-container .hp-module__container{
|
||||
background-color: @gb-dm-bg1 !important;
|
||||
}
|
||||
|
||||
.hp-module{
|
||||
background-color: @gb-dm-bg0;
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.hp-banner__text{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.top-story__wrapper{
|
||||
background-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
|
||||
.top-story{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.top-stories__title{
|
||||
color: @gb-dm-fg2;
|
||||
}
|
||||
|
||||
.dismissible-nations-links-container{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.hp-tv-radio__putty{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.nw-o-link-split__text{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.nw-c-promo-summary, .nw-c-timestamp{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.nw-c-nav__secondary-menuitem-container a{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.share-tools--event-tag{
|
||||
display: none !important;
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
@import "gruvbox-colours.less";
|
||||
|
||||
// Came from here https://github.com/codemirror/CodeMirror/blob/master/theme/gruvbox-dark.css
|
||||
.cm-s-gruvbox-dark.CodeMirror, .cm-s-gruvbox-dark .CodeMirror-gutters { background-color: @gb-dm-bg0; color: @gb-dm-fg3; }
|
||||
.cm-s-gruvbox-dark .CodeMirror-gutters {background: @gb-dm-bg0; border-right: 0px;}
|
||||
.cm-s-gruvbox-dark .CodeMirror-linenumber {color: @gb-dm-bg4;}
|
||||
.cm-s-gruvbox-dark .CodeMirror-cursor { border-left: 1px solid @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark div.CodeMirror-selected { background: @gb-dm-dark-gray; }
|
||||
.cm-s-gruvbox-dark span.cm-meta { color: @gb-dm-light-blue; }
|
||||
|
||||
.cm-s-gruvbox-dark span.cm-comment { color: @gb-dm-dark-gray; }
|
||||
.cm-s-gruvbox-dark span.cm-number, span.cm-atom { color: @gb-dm-light-purple; }
|
||||
.cm-s-gruvbox-dark span.cm-keyword { color: #f84934; }
|
||||
|
||||
.cm-s-gruvbox-dark span.cm-variable { color: @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark span.cm-variable-2 { color: @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark span.cm-variable-3, .cm-s-gruvbox-dark span.cm-type { color: #fabd2f; }
|
||||
.cm-s-gruvbox-dark span.cm-operator { color: @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark span.cm-callee { color: @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark span.cm-def { color: @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark span.cm-property { color: @gb-dm-fg1; }
|
||||
.cm-s-gruvbox-dark span.cm-string { color: @gb-dm-light-green; }
|
||||
.cm-s-gruvbox-dark span.cm-string-2 { color: @gb-dm-light-aqua; }
|
||||
.cm-s-gruvbox-dark span.cm-qualifier { color: @gb-dm-light-aqua; }
|
||||
.cm-s-gruvbox-dark span.cm-attribute { color: @gb-dm-light-aqua; }
|
||||
|
||||
.cm-s-gruvbox-dark .CodeMirror-activeline-background { background: @gb-lm-fg1; }
|
||||
.cm-s-gruvbox-dark .CodeMirror-matchingbracket { background: @gb-dm-dark-gray; color:@gb-dm-bg0 !important; }
|
||||
|
||||
.cm-s-gruvbox-dark span.cm-builtin { color: #fe8019; }
|
||||
.cm-s-gruvbox-dark span.cm-tag { color: #fe8019; }
|
||||
|
|
@ -67,6 +67,10 @@ a{
|
|||
}
|
||||
}
|
||||
|
||||
.bg-gray-light{
|
||||
background-color: @gb-dm-bg0-soft !important;
|
||||
}
|
||||
|
||||
.gh-header{
|
||||
background-color: @gb-dm-bg0;
|
||||
}
|
||||
|
|
100
NOSTOW/firefoxExtentions/browseroverrides/less/gitlab.less
Normal file
100
NOSTOW/firefoxExtentions/browseroverrides/less/gitlab.less
Normal file
|
@ -0,0 +1,100 @@
|
|||
@import "gruvbox-colours.less";
|
||||
|
||||
body{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
}
|
||||
|
||||
.content-wrapper .container-fluid{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
}
|
||||
|
||||
.layout-nav{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
li a{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
li.active a{
|
||||
color: @gb-dm-dark-aqua;
|
||||
border-color: @gb-dm-dark-aqua;
|
||||
}
|
||||
}
|
||||
.nav-links.sub-nav{
|
||||
&, .container-fluid{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
a, a:visited{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
}
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6, p{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.project-stats .nav > li > a{
|
||||
&, &:link, &:visited{
|
||||
color: @gb-dm-fg0;
|
||||
&:hover{
|
||||
color: @gb-dm-fg0;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
table.table tr th, .file-holder table tr th, .wiki table tr th, .md table tr th, ul.notes .note .note-body .note-text table tr th{
|
||||
background-color: @gb-dm-bg4;
|
||||
}
|
||||
|
||||
.tree-holder .tree-table tr{
|
||||
background-color: @gb-dm-bg1;
|
||||
td{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
&:nth-of-type(2n){
|
||||
background-color: @gb-dm-bg2;
|
||||
}
|
||||
&:hover{
|
||||
td{
|
||||
background-color: @gb-dm-bg3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tree-holder .tree-item .tree-item-file-name i, .tree-holder .tree-item .tree-item-file-name a{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.tree-holder .tree-commit .tree-commit-link{
|
||||
color: @gb-dm-light-aqua;
|
||||
}
|
||||
|
||||
.file-holder{
|
||||
border-color: @gb-dm-bg0-hard;
|
||||
.file-title{
|
||||
background-color: @gb-dm-bg1;
|
||||
color: @gb-dm-fg0;
|
||||
a:not(.btn){
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
}
|
||||
.file-content{
|
||||
background-color: @gb-dm-bg0;
|
||||
}
|
||||
}
|
||||
|
||||
.wiki{
|
||||
h1, h2, h3, h4, h5, h6, p, ul, ol, li{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
a, a:link, a:visited{
|
||||
color: @gb-dm-light-aqua;
|
||||
&:hover{
|
||||
color: @gb-dm-dark-aqua;
|
||||
}
|
||||
}
|
||||
p code, li code{
|
||||
background-color: @gb-dm-bg4;
|
||||
color: @gb-dm-fg0;
|
||||
border: 1px solid @gb-dm-bg3;
|
||||
}
|
||||
}
|
|
@ -1,13 +1,351 @@
|
|||
@import "gruvbox-colours.less";
|
||||
@import "./gruvbox-colours.less";
|
||||
@import "codemirror.less";
|
||||
|
||||
body,
|
||||
.content{
|
||||
font-family: opendyslexic;
|
||||
background-color: @gb-dm-bg0;
|
||||
color: @gb-dm-fg0;
|
||||
html{
|
||||
background: #fff - @gb-dm-bg0;
|
||||
filter: invert(100%);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6
|
||||
.h1, .h2, .h3, .h4, .h5, .h6{
|
||||
color: @gb-dm-fg0;
|
||||
body{
|
||||
background: #fff - @gb-dm-bg0;
|
||||
}
|
||||
|
||||
img,svg{
|
||||
filter: invert(100%);
|
||||
}
|
||||
|
||||
#vimvixen-console-frame{
|
||||
filter: invert(100%);
|
||||
}
|
||||
|
||||
//html
|
||||
//{
|
||||
// background: @gb-dm-bg0;
|
||||
//}
|
||||
//
|
||||
//
|
||||
// /*----- DEFAULT TEXT, BORDER & BACKGROUND COLORS -----*/
|
||||
//*
|
||||
//{
|
||||
// color: @gb-dm-fg0;
|
||||
// //text-shadow: 0 0 3px #000;
|
||||
// box-shadow: none;
|
||||
// background-color: transparent;
|
||||
// border-color: @gb-dm-fg4;
|
||||
// border-top-color: @gb-dm-fg4;
|
||||
// border-bottom-color: @gb-dm-fg4;
|
||||
// border-left-color: @gb-dm-fg4;
|
||||
// border-right-color: @gb-dm-fg4;
|
||||
// //font-family: opendyslexic;
|
||||
//}
|
||||
//
|
||||
//body,
|
||||
//.content,
|
||||
//#content,
|
||||
//main,
|
||||
//.main,
|
||||
//#main,
|
||||
//{
|
||||
// background: transparent !important;
|
||||
//}
|
||||
//
|
||||
//*:before, *:after
|
||||
//{
|
||||
// background-color: transparent;
|
||||
// border-color: @gb-dm-fg4;
|
||||
//}
|
||||
//
|
||||
//a, a *
|
||||
//{
|
||||
// color: #409B9B;
|
||||
// text-decoration: none;
|
||||
// text-shadow: none;
|
||||
// color: @gb-dm-dark-aqua;
|
||||
//}
|
||||
//
|
||||
//a:hover, a:hover *, a:visited:hover, a:visited:hover *, span[onclick]:hover, div[onclick]:hover, [role="link"]:hover, [role="link"]:hover *, [role="button"]:hover *, [role="menuitem"]:hover, [role="menuitem"]:hover *, .link:hover, .link:hover *
|
||||
//{
|
||||
// color: @gb-dm-light-aqua;
|
||||
//}
|
||||
//
|
||||
//a:visited, a:visited *
|
||||
//{
|
||||
// color: @gb-dm-light-purple;
|
||||
//}
|
||||
//
|
||||
//a.highlight, a.highlight *, a.active, a.active *, .selected, .selected *, [href="#"]
|
||||
//{
|
||||
// color: @gb-dm-fg0;
|
||||
// font-weight: bold;
|
||||
//}
|
||||
//
|
||||
//h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, strong, [id*="headline"], [class*="headline"], [id*="header"], [class*="header"], [class*="header"] td, .title
|
||||
//{
|
||||
// color: @gb-dm-fg0;
|
||||
//}
|
||||
//
|
||||
//a h1, a h2, a h3, a h4, a h5, a h6, h1 a, h2 a, h3 a, a strong, a[id*="headline"], a[class*="headline"], a[id*="header"], a[class*="header"]
|
||||
//{
|
||||
// text-decoration: underline;
|
||||
//}
|
||||
//
|
||||
//[class*="error"], [class*="alert"], code, span[onclick], div[onclick]
|
||||
//{
|
||||
// color: @gb-dm-dark-red;
|
||||
//}
|
||||
//
|
||||
//
|
||||
//::selection
|
||||
//{
|
||||
// background: @gb-lm-dark-orange;
|
||||
// //color: #000;
|
||||
//}
|
||||
//
|
||||
//:focus
|
||||
//{
|
||||
// outline: none;
|
||||
//}
|
||||
//
|
||||
//
|
||||
//.card{
|
||||
// background-color: @gb-dm-bg0-soft;
|
||||
//}
|
||||
//
|
||||
//.on-light{
|
||||
// background: transparent;
|
||||
//}
|
||||
//
|
||||
///*----- MENU & CO BACKGROUND-COLORS -----*/
|
||||
//div[style="display: block;"], div[role="navigation"]
|
||||
//{
|
||||
// background: fade(@gb-dm-bg0-hard, 50%);
|
||||
//}
|
||||
//
|
||||
//table
|
||||
//{
|
||||
// background: @gb-dm-bg2;
|
||||
// border-radius: 6px;
|
||||
//}
|
||||
//
|
||||
//table > tbody > tr:nth-child(even), table > tbody > tr > td:nth-child(even)
|
||||
//{
|
||||
// background-color: rgba(0,0,0,.2);
|
||||
//}
|
||||
//
|
||||
//iframe, embed, nav, label [onclick], nav ul, div[style*="position:"][style*="left:"][style*="visible"], div[style*="z-index:"][style*="left:"][style*="visible"], div[style*="-moz-user-select"], div[role="menu"], div[role="dialog"], span[class*="script"] div[class*=navigation], [id*="menu"], [id*="Menu"], [class*="dropdown"], [class*="popup"], [class="title"], ul[style*="display:"], ul[style*="visibility:"] ul, [id*="nav"] ul, [class*="nav"] ul, ul[class*="menu"], a[onclick][style*="display"], a[id*="ghosteryfirefox"], #ghostery-purple-bubble, #translator-popup, .menu, .tooltip, .hovercard, .vbmenu_popup
|
||||
//{
|
||||
// background: @gb-dm-bg0-soft;
|
||||
// border-radius: 5px;
|
||||
// box-shadow: 1px 1px 5px @gb-dm-bg0-hard;
|
||||
//}
|
||||
//
|
||||
//header, #header, footer, #footer
|
||||
//{
|
||||
// background: fade( @gb-dm-bg0-hard, 90%);
|
||||
// box-shadow: 0 0 5px #000;
|
||||
//}
|
||||
//
|
||||
//body > #dialog, body > .xenOverlay
|
||||
//{
|
||||
// background: rgba(19,19,19,.96);
|
||||
// background-clip: padding-box;
|
||||
// box-shadow: 0 0 15px #000, inset 0 0 0 1px rgba(200,200,200,.5), inset 0 0 5px #111;
|
||||
// border: 10px solid rgba(99,99,99,.7);
|
||||
// border-radius: 0;
|
||||
//}
|
||||
//
|
||||
//[id*="overlay"], [id*="lightbox"], blockquote
|
||||
//{
|
||||
// background-color: rgba(35,35,35,.9);
|
||||
// border-radius: 5px;
|
||||
//}
|
||||
//
|
||||
//pre, dl, .Message code
|
||||
//{
|
||||
// background-color: rgba(5,5,5,.5);
|
||||
//}
|
||||
//
|
||||
//
|
||||
///*----- DEFAULT BUTTONS, SEARCHBOXES & CO -----*/
|
||||
//input, select, button, [role="button"], a.button, a.submit, a.BigButton, a.TabLink, .install[onclick]
|
||||
//{
|
||||
// -moz-appearance: none;
|
||||
// -webkit-appearance: none;
|
||||
// transition: border-color 0.3s;
|
||||
// background: @gb-lm-bg4;
|
||||
// color: @gb-dm-fg0;
|
||||
// text-shadow: 0 0px #000;
|
||||
// border: 2px solid @gb-dm-fg4;
|
||||
// border-radius: 4px;
|
||||
// box-shadow: 0 0 2px fade(@gb-dm-bg0, 90%);
|
||||
//}
|
||||
//
|
||||
//a[href="javascript:;"], a[class*="button"]:not(:empty), a[id*="button"]:not(:empty), a[id*="Button"]:not(:empty), div[class*="button"][onclick]
|
||||
//{
|
||||
// transition: border-color 0.3s;
|
||||
// background: @gb-dm-bg4;
|
||||
// color: @gb-dm-fg0;
|
||||
// text-shadow: 0 1px @gb-dm-bg0;
|
||||
// border-color: #333;
|
||||
// box-shadow: 0 0 2px fade(@gb-dm-bg0, 90%);
|
||||
//}
|
||||
//
|
||||
//a[href="javascript:;"]:hover, a[class*="button"]:not(:empty):hover, a[id*="button"]:hover, a[id*="Button"]:not(:empty):hover, div[class*="button"][onclick]:hover
|
||||
//{
|
||||
// background: #151515;
|
||||
// color: #FFF;
|
||||
//}
|
||||
//
|
||||
//input *, select *, button *, a.button *, a.submit *
|
||||
//{
|
||||
// color: #BBB;
|
||||
// text-shadow: none;
|
||||
//}
|
||||
//
|
||||
//input:hover, input[type="button"]:hover, select:hover, button:hover, [role="button"]:hover, a.button:hover, a.submit:hover, a.BigButton:hover, a.TabLink:hover
|
||||
//{
|
||||
// border: 2px solid #555;
|
||||
// border-top-color: #555;
|
||||
// border-bottom-color: #555;
|
||||
// border-left-color: #555;
|
||||
// border-right-color: #555;
|
||||
//}
|
||||
//
|
||||
//input:focus, select:focus
|
||||
//{
|
||||
// box-shadow: 0 0 5px #077;
|
||||
//}
|
||||
//
|
||||
//input *:hover *
|
||||
//{
|
||||
// color: #F0F0F0;
|
||||
// text-shadow: 0 0 2px #FFF;
|
||||
//}
|
||||
//
|
||||
//input[disabled], select[disabled], button[disabled], input[disabled]:hover, select[disabled]:hover, button[disabled]:hover, input[disabled]:focus, select[disabled]:focus, button[disabled]:focus
|
||||
//{
|
||||
// opacity: 0.5;
|
||||
// border-color: #333;
|
||||
//}
|
||||
//
|
||||
///*
|
||||
//input[type="checkbox"], input[type="radio"] {
|
||||
//box-shadow: 0 0 0 2px #444, 0 0 2px 2px #000;
|
||||
//opacity: 0.7;
|
||||
//transition: box-shadow 0.2s, opacity 0.2s}
|
||||
//input[type="checkbox"]:not([disabled]):hover, input[type="radio"]:not([disabled]):hover {
|
||||
//opacity: 0.9}
|
||||
//input[type="checkbox"]:not([disabled]):active, input[type="radio"]:not([disabled]):active {
|
||||
//box-shadow: 0 0 0 2px #999, 0 0 2px 2px #000}
|
||||
//input[type="checkbox"]:checked, input[type="radio"]:checked {
|
||||
//box-shadow: 0 0 0 2px #077, 0 0 2px 2px #000}
|
||||
//input[type="checkbox"][disabled], input[type="radio"][disabled] {
|
||||
//opacity: 0.35}
|
||||
//*/
|
||||
//input[type="checkbox"]
|
||||
//{
|
||||
// border-radius: 1px;
|
||||
//}
|
||||
//
|
||||
//input[type="radio"], input[type="radio"]:focus
|
||||
//{
|
||||
// border-radius: 100%;
|
||||
//}
|
||||
//
|
||||
//input[type="checkbox"], input[type="radio"]
|
||||
//{
|
||||
// min-width: 12px;
|
||||
// min-height: 12px;
|
||||
//}
|
||||
//
|
||||
//input[type="checkbox"]:checked, input[type="radio"]:checked
|
||||
//{
|
||||
// border-color: #077;
|
||||
// box-shadow: 0 0 5px #077;
|
||||
//}
|
||||
//
|
||||
//select
|
||||
//{
|
||||
// padding-right: 15px;
|
||||
// background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAYAAABCxiV9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAeSURBVBhXY5g5c+Z/BiwALo6uAEMDTACXSWgSDAwA4jATh950E30AAAAASUVORK5CYII=) no-repeat right 4px center #060606;
|
||||
// transition: border-color 0.3s, background-position 0.3s;
|
||||
//}
|
||||
//
|
||||
//button:active, input[type="submit"]:active, input[type="button"]:active, a.button:active, a[class*="button"]:not(:empty):active, a.submit:active, a.BigButton:active, a.TabLink:active, .Active .TabLink
|
||||
//{
|
||||
// background: #292929;
|
||||
// color: #FFF;
|
||||
//}
|
||||
//
|
||||
//textarea
|
||||
//{
|
||||
// -moz-appearance: none;
|
||||
// -webkit-appearance: none;
|
||||
// background: rgba(0,0,0,.3);
|
||||
// border-radius: 3px;
|
||||
// border: 1px solid #000;
|
||||
// box-shadow: inset 0 0 8px #000;
|
||||
// transition: border-color, background, 0.3s;
|
||||
//}
|
||||
//
|
||||
//textarea, textarea *
|
||||
//{
|
||||
// color: #C8C8C8;
|
||||
// text-shadow: 0 0 1px gray;
|
||||
//}
|
||||
//
|
||||
//textarea:hover, textarea:focus:hover
|
||||
//{
|
||||
// border-color: #333;
|
||||
//}
|
||||
//
|
||||
//textarea:focus
|
||||
//{
|
||||
// background: rgba(0,0,0,.5);
|
||||
// border-color: #222;
|
||||
//}
|
||||
//
|
||||
//textarea:focus, textarea:focus > *
|
||||
//{
|
||||
// text-shadow: none;
|
||||
// box-shadow: none;
|
||||
//}
|
||||
//
|
||||
//option, optgroup
|
||||
//{
|
||||
// -moz-appearance: none;
|
||||
// -webkit-appearance: none;
|
||||
// background: none;
|
||||
// color: #666;
|
||||
//}
|
||||
//
|
||||
//optgroup
|
||||
//{
|
||||
// background: #222;
|
||||
// color: #DDD;
|
||||
//}
|
||||
//
|
||||
//option:not([disabled]):hover, option:focus, option:checked
|
||||
//{
|
||||
// background: linear-gradient(#333, #292929);
|
||||
// color: #DDD;
|
||||
//}
|
||||
//
|
||||
//
|
||||
///*----- IMAGE CHANGES -----*/
|
||||
//body, *:not(:empty):not(html):not(span):not(a):not(b):not(option):not(select):not(img):not([style="display: block;"]):not([onclick*="open"]):not([onclick*="s_objectID"]):not([class*="stars"]):not([id*="stars"]):not([id="rating"]):not([class="rating"]):not([class*="SPRITE"]):not([id*="SPRITE"]):not([class*="item"]):not([id*="item"]):not([class*="thumb"]):not([class*="icon"]):not([class*="photo"]):not(.view):not(.text):not([id*="lbImage"]):not([class*="cc-in"]):not([class*="gr-body"]):not([id*="watch"]):not(#globalsearch),
|
||||
//.r3_hm, .gmbutton2 b, .gtab-i, .ph, .bstab-iLft, .csb, #pagination div, [style*="sprite2.png"], #mw-head-base, #mw-page-base
|
||||
//{
|
||||
// background-image: none;
|
||||
//}
|
||||
//
|
||||
//img
|
||||
//{
|
||||
// opacity: .7;
|
||||
// transition: opacity .2s;
|
||||
//}
|
||||
//
|
||||
//img:hover, a:hover img, #mpiv-popup
|
||||
//{
|
||||
// opacity: 1;
|
||||
//}
|
||||
|
|
87
NOSTOW/firefoxExtentions/browseroverrides/less/wiki.less
Normal file
87
NOSTOW/firefoxExtentions/browseroverrides/less/wiki.less
Normal file
|
@ -0,0 +1,87 @@
|
|||
@import "gruvbox-colours.less";
|
||||
@import "codemirror.less";
|
||||
|
||||
body{
|
||||
font-family: opendyslexic;
|
||||
background-color: @gb-dm-bg0;
|
||||
color: @gb-dm-fg0;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6{
|
||||
color: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
.card{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
.entity-list-item:not(.no-hover):hover{
|
||||
background-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
}
|
||||
|
||||
.primary-background{
|
||||
background: @gb-dm-dark-blue !important;
|
||||
}
|
||||
|
||||
a, a:visited, button.text-button{
|
||||
color: @gb-dm-light-aqua;
|
||||
fill: @gb-dm-light-aqua;
|
||||
&.active, &:hover{
|
||||
color: @gb-dm-dark-aqua;
|
||||
fill: @gb-dm-dark-aqua;
|
||||
}
|
||||
}
|
||||
.button.primary, .button.primary:hover, .button.primary:active, .button.primary:focus{
|
||||
background-color: @gb-dm-light-aqua;
|
||||
border-color: @gb-dm-dark-aqua;
|
||||
color: @gb-dm-fg0;
|
||||
fill: @gb-dm-fg0;
|
||||
}
|
||||
|
||||
input[type="checkbox"]{
|
||||
//display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-o-appearance: none;
|
||||
appearance:none;
|
||||
background-color: @gb-dm-bg0-hard;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
line-height: 1em;
|
||||
color: @gb-dm-fg0;
|
||||
&::before{
|
||||
content:"";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
&:checked{
|
||||
background-color: @gb-dm-dark-aqua;
|
||||
&::before{
|
||||
content:"✔";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu{
|
||||
background-color: @gb-dm-bg0;
|
||||
border-color: @gb-dm-bg0-hard;
|
||||
a, button{
|
||||
color: @gb-dm-fg0;
|
||||
&:hover{
|
||||
background-color: @gb-dm-bg0-soft;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-sort-container .list-sort{
|
||||
border-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
.list-sort-container .list-sort-dir{
|
||||
border-color: @gb-dm-bg0-hard;
|
||||
}
|
||||
|
||||
.Codemirror, pre, #markdown-editor-input, .editor-toolbar, .code-base, code, span.code{
|
||||
font-family: Iosevka;
|
||||
}
|
|
@ -10,54 +10,88 @@
|
|||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://wiki.archlinux.org/*"],
|
||||
"css": [ "css/archwiki.css" ]
|
||||
"matches": ["*://*.archlinux.org/*"],
|
||||
"css": [ "css/archwiki.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://*.amazon.com/*","*://*.amazon.co.uk/*"],
|
||||
"css": [ "css/amazon.css" ]
|
||||
"css": [ "css/amazon.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://*.bbc.com/*","*://*.bbc.co.uk/*"],
|
||||
"css": [ "css/bbc.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://*.duckduckgo.com/*","*://*.duckduckgo.co.uk/*"],
|
||||
"css": [ "css/duckduckgo.css" ]
|
||||
"css": [ "css/duckduckgo.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://*.reddit.com/*"],
|
||||
"css": [ "css/reddit.css" ]
|
||||
"css": [ "css/reddit.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://*.wikipedia.org/*"],
|
||||
"css": [ "css/wikipedia.css" ]
|
||||
"css": [ "css/wikipedia.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://stackoverflow.com/*","*://*.stackoverflow.com/*"],
|
||||
"css": [ "css/stackoverflow.css" ]
|
||||
"css": [ "css/stackoverflow.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://youtube.com/*","*://*.youtube.com/*"],
|
||||
"css": [ "css/youtube.css" ]
|
||||
"css": [ "css/youtube.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://wiki.local.irmplc.com/*"],
|
||||
"css": [ "css/wiki.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://protonmail.com/*","*://*.protonmail.com/*"],
|
||||
"css": [ "css/protonmail.css" ]
|
||||
"css": [ "css/protonmail.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://github.com/*","*://*.github.com/*"],
|
||||
"css": [ "css/github.css" ]
|
||||
"css": [ "css/github.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://gitlab.irmtechies.net/*"],
|
||||
"css": [ "css/gitlab.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
|
||||
{
|
||||
"matches": ["*://*/*"],
|
||||
"exclude_matches": ["*://wiki.archlinux.org/*",
|
||||
"exclude_matches": ["*://*.archlinux.org/*",
|
||||
"*://*.amazon.com/*","*://*.amazon.co.uk/*",
|
||||
"*://*.bbc.com/*","*://*.bbc.co.uk/*",
|
||||
"*://*.duckduckgo.com/*","*://*.duckduckgo.co.uk/*",
|
||||
"*://*.reddit.com/*",
|
||||
"*://*.wikipedia.org/*",
|
||||
"*://stackoverflow.com/*","*://*.stackoverflow.com/*",
|
||||
"*://youtube.com/*","*://*.youtube.com/*",
|
||||
"*://wiki.local.irmplc.com/*",
|
||||
"*://protonmail.com/*","*://*.protonmail.com/*",
|
||||
"*://github.com/*","*://*.github.com/*"],
|
||||
"css": [ "css/global.css" ]
|
||||
"*://github.com/*","*://*.github.com/*",
|
||||
"*://gitlab.irmtechies.net/*"
|
||||
],
|
||||
"css": [ "css/global.css" ],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": ["*://*/*"],
|
||||
"js": [ "js/codemirror.js" ],
|
||||
"run_at": "document_start"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue