-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
94 lines (71 loc) · 2.43 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
body {
margin: 1em;
font-family: sans-serif;
}
#json-container {
display: none;
}
#json {
width: 100%;
height: 400px;
}
#flex-container {
display: flex;
}
#rich-text {
width: 65%;
height: 425px;
border: 1px solid black;
cursor: text;
overflow: scroll;
resize: both;
/* in Chrome, must have display: inline-block for contenteditable=true to prevent it from adding <div> <p> and <span> when you type. This fixes GitHub bug #23 double enter when hitting enter at end of file and #24 hitting backspace at end does not work*/
display: inline-block;
line-height: 1.3;
}
#definition {
width: 35%;
height: 425px;
border: 1px solid black;
overflow: scroll;
resize: both;
}
/* color ideas: https://encycolorpedia.com/websafe */
/* PRE PARSING DIRECTIVES */
.uboPreParsingDirective {background-color: #C586AB}
.agHint {background-color: #C586AB}
/* COMMENTS */
.comment {background-color: #6A9955}
/* DOMAINS */
.hosts {background-color: black; color: white;}
.domain {background-color: #CE9178}
.exception {background-color: #D4D4D4}
.domainRegEx {background-color: navy; color: white;}
.exceptionRegEx {background-color: yellow}
/* SELECTORS */
.option {background-color: lightblue}
.selector {background-color: #DCDCAA}
.agStyling {background-color: #DCDCAA}
.selectorException {background-color: limegreen}
.agStylingException {background-color: limegreen}
.htmlFilter {background-color: orange}
.htmlFilterException {background-color: blue; color: white;}
.abpExtendedSelector {background-color: rgba(112, 55, 16, 0.808); color: white;}
.agExtendedSelector {background-color: rgba(112, 55, 16, 0.808); color: white;}
.agAdvancedStyling {background-color: rgba(112, 55, 16, 0.808); color: white;}
.agExtendedSelectorException {background-color: maroon; color: white;}
.agAdvancedStylingException {background-color: maroon; color: white;}
/* ACTION OPERATORS */
.actionOperator {background-color: gold}
.agActionOperator {background-color: gold}
/* SCRIPTS */
.uboScriptlet {background-color: pink}
.abpSnippet {background-color: pink}
.agJSRule {background-color: pink}
.uboScriptletException {background-color: aqua}
.agJSException {background-color: aqua}
/* WHITESPACE */
.whitespaceFront {background-color: #569CD6; color: white;}
.whitespaceBack {background-color: #569CD6; color: white;}
/* ERRORS */
.error {background-color: red !important; color: black;}