-
Notifications
You must be signed in to change notification settings - Fork 5
/
styles.css
executable file
·96 lines (85 loc) · 2.28 KB
/
styles.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
95
96
/**
* CSS style-sheet for Ace-inline-filter
*/
/* Div containing button and run output */
div[class='filter-ace-inline-ui-area'] {
padding-bottom: 12px;
}
/* Standard output display box*/
div[class='filter-ace-inline-output-display'] {
background-color: #eff;
padding: 5px 10px 5px;
vertical-align: middle;
margin-bottom: 10px;
margin-top: 6px;
}
/* Output display box for HTML*/
div[class='filter-ace-inline-output-html'] {
background-color: #eff;
padding: 5px 10px 5px;
vertical-align: middle;
margin-bottom: 0;
margin-top: 6px;
}
/* Output display box for HTML rendered*/
div[class='filter-ace-inline-html'] {
background-color: #eff;
padding: 5px;
margin-bottom: 10px;
}
/* Output display box for sandbox execution errors*/
div[class='filter-ace-inline-output-error'] {
background-color: #ffd;
padding: 5px 10px 5px;
vertical-align: middle;
margin-bottom: 10px;
}
/* Output display box for user input errors*/
div[class='filter-ace-inline-output-user'] {
border: 1px solid red;
background-color: #faa;
padding: 5px 10px 5px;
vertical-align: middle;
margin-bottom: 10px;
}
/* Inner pre-class containing text*/
pre[class='filter-ace-inline-output-text'] {
overflow-wrap: break-word;
white-space: pre-wrap;
width: 100%;
overflow: auto;
max-height: 600px;
margin-top: 0;
margin-bottom: 0;
}
/* Execution button*/
button[class='btn-ace-inline-execution'] {
margin-bottom: 12px;
padding: 2px 8px;
}
/* Changes box for files */
div[class='filter-ace-inline-files'] {
margin-bottom: 0;
margin-top: 8px;
background-color: #ffd;
overflow-wrap: break-word;
white-space: pre-wrap;
width: 100%;
}
/* Changes box for files which do not upload */
div[class='filter-ace-inline-file-error'] {
margin-bottom: 0;
margin-top: 8px;
background-color: #faa;
overflow-wrap: break-word;
white-space: pre-wrap;
width: 100%;
}
/* Use a grey background colour for read-only
Ace-inline divs. Overrides Ace's default,
and grunt objects to the use of !important,
hence the clumsy selector.
*/
div[class*="ace_editor"][class*="readonly"] {
background-color: #f4f4f4;
}