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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
body {
padding-top: 50px;
}
#title {
color: whitesmoke;
margin-left: 5px;
}
.block {
border-right: 1px solid #e5e5e5;
border-bottom: 1px solid #e5e5e5;
padding: 0;
min-height: 4em;
}
.block-label {
color: grey;
position: absolute;
z-index: 60;
opacity: .7;
right: 1em;
bottom: 0.25em;
margin: 0;
width: 150px;
text-transform: uppercase;
font-size: large;
text-align: right;
}
/* block-toolbar */
#block-toolbar {
position: absolute;
width:100%;
margin-bottom: 0px;
border: 0;
}
/**** animations *****/
.transition, .quadrants > * > .block {
-moz-transition: all 1s ease;
-webkit-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
}
/***** responsiveness *****/
/* lg */
@media (min-width: 1200px) {
html, body, #gui, #block-row {
height: 100%;
}
/* default for all quadrants (no focus anywhere) */
.quadrants > * > .block {
overflow: auto;
min-height: 100%; height: 100%;
}
/* focus on 1st block */
.quadrants.block1 > * > .block { min-width: 22%; width: 22%; }
.quadrants.block1 > * > .block.block1 { min-width: 34%; width: 34%; }
/* focus on 2nd block */
.quadrants.block2 > * > .block { min-width: 22%; width: 22%; }
.quadrants.block2 > * > .block.block2 { min-width: 34%; width: 34%; }
/* focus on 3rd block */
.quadrants.block3 > * > .block { min-width: 22%; width: 22%; }
.quadrants.block3 > * > .block.block3 { min-width: 34%; width: 34%; }
/* focus on 4th block */
.quadrants.block4 > * > .block { min-width: 22%; width: 22%; }
.quadrants.block4 > * > .block.block4 { min-width: 34%; width: 34%; }
}
/* md */
@media (min-width: 992px) and (max-width: 1199px) {
html, body, #gui, #block-row {
height: 100%;
}
/* default for all quadrants (no focus anywhere) */
.quadrants > * > .block {
overflow: auto;
min-height: 50%; height: 50%;
}
/* focus on 1st block */
.quadrants.block1 > * > .block1 { min-height: 60%; height: 60%; min-width: 60%; width: 60%; }
.quadrants.block1 > * > .block2 { min-height: 60%; height: 60%; min-width: 40%; width: 40%; }
.quadrants.block1 > * > .block3 { min-height: 40%; height: 40%; min-width: 60%; width: 60%; }
.quadrants.block1 > * > .block4 { min-height: 40%; height: 40%; min-width: 40%; width: 40%; }
/* focus on 2nd block */
.quadrants.block2 > * > .block1 { min-height: 60%; height: 60%; min-width: 40%; width: 40%; }
.quadrants.block2 > * > .block2 { min-height: 60%; height: 60%; min-width: 60%; width: 60%; }
.quadrants.block2 > * > .block3 { min-height: 40%; height: 40%; min-width: 40%; width: 40%; }
.quadrants.block2 > * > .block4 { min-height: 40%; height: 40%; min-width: 60%; width: 60%; }
/* focus on 3rd block */
.quadrants.block3 > * > .block1 { min-height: 40%; height: 40%; min-width: 60%; width: 60%; }
.quadrants.block3 > * > .block2 { min-height: 40%; height: 40%; min-width: 40%; width: 40%; }
.quadrants.block3 > * > .block3 { min-height: 60%; height: 60%; min-width: 60%; width: 60%; }
.quadrants.block3 > * > .block4 { min-height: 60%; height: 60%; min-width: 40%; width: 40%; }
/* focus on 4th block */
.quadrants.block4 > * > .block1 { min-height: 40%; height: 40%; min-width: 40%; width: 40%; }
.quadrants.block4 > * > .block2 { min-height: 40%; height: 40%; min-width: 60%; width: 60%; }
.quadrants.block4 > * > .block3 { min-height: 60%; height: 60%; min-width: 40%; width: 40%; }
.quadrants.block4 > * > .block4 { min-height: 60%; height: 60%; min-width: 60%; width: 60%; }
}
/* sm */
@media (min-width: 768px) and (max-width: 991px) {
}
/* xs */
@media (max-width: 767px) {
}
/***** blocks *****/
/* description */
.block > .description {
padding: 0.5em;
}
/* info */
.block > .hints {
padding: 0.5em;
}
/* code_editor */
.block > .code_editor {
min-height: 100%;
height: 100%;
padding-top: 50px;
padding-right: 0;
padding-left: 0;
padding-bottom: 0;
}
/* console */
.block > .console {
background: black;
font-size: 14px;
height: 100%;
overflow-y: auto;
padding: 0;
}
/* codeq hints */
/* the highlighted part of the text, used in pop-up and drop-down hints */
.editor-mark {
background-color: #e7c3c3;
}
/* the pop-up window, it is already absolutely positioned and its and positioning properties controlled from CodeMirror */
.editor-popup {
background: #245269;
color: #e7c3c3;
border: 1px solid black;
}
/***** helpers *****/
/* webkit-scrollbar */
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
|