-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathparsons.css
More file actions
139 lines (123 loc) · 2.51 KB
/
parsons.css
File metadata and controls
139 lines (123 loc) · 2.51 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/** Stylesheet for the puzzles */
html {
font-family: 'Montserrat', sans-serif;
}
.sortable-code {
position: static;
padding-left: 0px;
margin-left: 2%;
float: left;
}
#sortableTrash { width: 38%; }
#sortable { width: 56%; }
.sortable-code ul {
font-size: 120%;
font-family: monospace;
list-style: none;
background-color: #efefff;
padding-bottom: 10px;
padding-left: 0;
margin-left: 0;
border: 1px solid #efefff;;
}
.sortable-code ul:empty {
padding-bottom: 30px;
}
.sortable-code li, .sortable-code li:before, .sortable-code li:after {
box-sizing: content-box;
}
ul.output {
background-color: white;
}
.sortable-code li {
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius: 10px;
background-color:#EFEFEF;
border:1px solid lightgray;
padding:10px;
margin-top: 5px;
white-space: nowrap;
overflow: hidden;
cursor: move;
}
.sortable-code li:hover {
overflow: visible;
}
ul.incorrect {
border: 1px solid red;
background-color: #ffefef;
}
ul.correct {
background-color: #efffef;
background-color: #DFF2BF;
}
li.incorrectIndent {
border: 1px solid red;
border-left: 10px solid red;
}
li.correctIndent {
border: 1px solid green;
border-left: 10px solid green;
}
li.incorrectPosition, .testcase.fail, .testcase.error {
background-color: #FFBABA;
border:1px solid red;
}
li.correctPosition, .testcase.pass {
background-color: #DFF2BF;
border:1px solid green;
}
.testcase.pass {
color: green;
}
.testcase { padding: 10px; margin-bottom: 10px;}
.testcase .msg { font-weight: bold; }
.testcase .error { color: red;}
.testcase .feedback { font-weight: bolder;}
.testcase .fail .expected, .testcase .fail .actual {
color: red;
font-weight: bolder;
}
.testcase.fail {
color:red;
}
.testcase .output {
display: block;
white-space: pre;
background-color: #555555;
color: white;
font-size: 12px;
line-height: 15px;
margin: 5px;
padding: 5px;
}
/** For styling the toggleable elements */
.jsparson-toggle {
padding: 0 15px;
display: inline-block;
border: 1px dashed black;
z-index: 500;
cursor: pointer;
min-width: 10px;
min-height: 15px;
}
.jsparson-toggle:empty {
border-color: red;
}
.jsparson-toggle:empty:before {
content: "??";
display: block;
color: red;
}
body{
background-color: black;
color: white;
font-weight: bold;
}
body h2, body a {
color: #6559AF;
}
li{
color: black;
}