-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebex.css
120 lines (104 loc) · 2.46 KB
/
webex.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
:root {
--incorrect: #983E82;
--incorrect_alpha: #edaddd;
--correct: #59935B;
--correct_alpha: #c0edc2;
--highlight: #467AAC;
}
.webex-check {}
.webex-box {
border: 2px solid var(--highlight);
padding: 0.5em 0.25em;
margin: 1em 0;
border-radius: .25em;
background-color: rgba(127, 127, 127, 0.05);
}
.webex-total_correct {
margin-left: 1em;
}
.unchecked .webex-total_correct {
display: none;
}
.unchecked .webex-incorrect,
.unchecked .webex-correct {
border: 2px dotted grey !important;
background-color: white !important;
}
/* styles for webex-solveme */
.webex-select, input.webex-solveme,
.unchecked .webex-radiogroup label.webex-incorrect,
.unchecked .webex-radiogroup label.webex-correct{
border: 2px dotted grey;
background-color: white;
border-radius: 0.25em;
}
.webex-incorrect,
input.webex-solveme.webex-incorrect,
.webex-radiogroup label.webex-incorrect {
border: 2px dotted var(--incorrect);
background-color: var(--incorrect_alpha);
color: black;
border-radius: 0.25em;
}
.webex-correct,
input.webex-solveme.webex-correct,
.webex-radiogroup label.webex-correct {
border: 2px solid var(--correct);
background-color: var(--correct_alpha);
color: black;
border-radius: 0.25em;
}
.unchecked .webex-incorrect span::before,
.unchecked .webex-incorrect + .webex-icon::after,
.unchecked .webex-correct span::before,
.unchecked .webex-correct + .webex-icon::after {
content: " ";
}
.webex-incorrect span::before,
.webex-incorrect + .webex-icon::after {
content: "\274C ";
}
.webex-correct span::before,
.webex-correct + .webex-icon::after {
content: "\2705 ";
}
/* styles for hidden solutions */
.webex-solution {
height: 2.5em;
overflow-y: hidden;
padding: 0.5em;
margin-bottom: 10px;
}
.webex-solution.open {
height: auto;
border: 2px solid var(--highlight);
border-radius: 5px;
}
.webex-solution button, .webex-check-button {
height: 2em;
margin-bottom: 0.5em;
border-radius: 0.5em;
background-color: var(--highlight);
color: white;
padding: 0 0.5em;
}
.webex-solution pre.sourceCode {
border-color: var(--correct);
}
.webex-radiogroup label {
margin-left: 2em;
text-indent: -1em;
padding-left: 0.5em;
font-weight: 400;
display: block;
border: 2px solid rgba(255, 255, 255, 0);
background-color: inherit;
border-radius: 0.25em;
}
.webex-radiogroup label input {
position: relative;
left: -1em;
}
.webex-radiogroup {
margin: 1em 0;
}