3
3
margin-left : 2vw ;
4
4
}
5
5
6
- div # App {
7
- display : grid;
8
- width : 100 % ;
9
- height : 100 % ;
10
- /* the app will have two columns, one for input
11
- one for output, left and right */
12
- grid-template-columns : repeat ( 2 , 1 fr ) ;
13
- grid-template-rows : 15 vh 1 vh 75 vh ;
14
- grid-gap : 1 rem ;
15
- }
6
+ . headers-grid {
7
+ display : grid;
8
+ grid-template-columns : 3 fr 2 fr 7 fr ;
9
+ grid-template-rows : 90 px ;
10
+ gap : 10 px ;
11
+ font-family : "Helvetica Neue" , serif;
12
+ width : 100 % ;
13
+ height : 100 % ;
14
+ margin : auto ;
15
+ }
16
16
17
- div # summary-section {
18
- display : grid;
19
- grid-row : 1 ;
20
- grid-template-rows : 35% 65% ;
21
- width : 100% ;
22
- font-size : 1vw ;
23
- grid-gap : 1vw ;
24
- }
17
+ .headers-grid-item {
18
+ background-color : # dfd8ec ;
19
+ padding : 5px 10px ;
20
+ border-radius : 4px ;
21
+ border : none;
22
+ display : grid;
23
+ align-items : center;
24
+ justify-content : center;
25
+ height : 100% ;
26
+ }
25
27
26
- div # summary-section p {
27
- font-size : .9vw ;
28
- }
28
+ # description-cell {
29
+ grid-column : 3 ;
30
+ display : grid;
31
+ }
29
32
30
- div # toolbar-section {
31
- display : grid;
32
- grid-row : 2 ;
33
- grid-column : 1 / span 2 ;
34
- grid-template-columns : repeat (8 , 1fr );
35
- }
33
+ div # App {
34
+ padding-top : 5px ;
35
+ display : grid;
36
+ width : 100% ;
37
+ height : 100% ;
38
+ grid-template-columns : repeat (2 , 1fr );
39
+ grid-template-rows : 1fr 18fr ;
40
+ grid-gap : 1rem ;
41
+ resize : both;
42
+ overflow : hidden;
43
+ }
44
+
45
+ div # toolbar-section {
46
+ padding-top : 30px ;
47
+ display : grid;
48
+ grid-row : 1 ;
49
+ grid-column : 1 / span 2 ;
50
+ grid-template-columns : 2fr 2fr 6fr ;
51
+ grid-gap : 1rem ;
52
+ align-items : center;
53
+ }
36
54
37
55
# toolbar-section # run-code-btn {
38
56
grid-column : 1 ;
57
+ height : 40px ;
39
58
}
40
59
41
60
# toolbar-section # share-code-btn {
42
- grid-column : 3 ;
61
+ grid-column : 2 ;
62
+ height : 40px ;
43
63
}
44
64
45
65
/* input pane */
46
66
div # input-section {
47
67
display : grid;
48
68
grid-column : 1 ;
49
- grid-row : 3 ;
69
+ grid-row : 2 ;
50
70
overflow : hidden;
51
71
}
52
72
53
73
# input-section # cell {
54
74
display : grid;
55
- grid-template-rows : 6 % 94 % ;
75
+ grid-template-rows : 4 % 96 % ;
56
76
overflow : hidden;
57
77
}
58
78
59
79
# input-section # cell # input-cell-title {
60
80
height : 100% ;
61
81
grid-row : 1 ;
82
+ font-weight : bold;
83
+ font-family : "Helvetica Neue" , serif;
62
84
}
63
85
64
86
# input-section # cell # container-program {
@@ -69,9 +91,8 @@ div#App {
69
91
div # output-section {
70
92
display : grid;
71
93
grid-column : 2 ;
72
- grid-row : 3 ;
73
- grid-template-rows : 50% 50% ;
74
- overflow : hidden;
94
+ grid-row : 2 ;
95
+ grid-template-rows : 30% 60% ;
75
96
}
76
97
77
98
/* event pane */
@@ -87,6 +108,8 @@ div#App {
87
108
# output-section # event-cell # event-cell-title {
88
109
display : grid;
89
110
grid-row : 1 ;
111
+ font-weight : bold;
112
+ font-family : "Helvetica Neue" , serif;
90
113
}
91
114
92
115
# output-section # event-cell # container-event {
@@ -98,14 +121,17 @@ div#App {
98
121
/* output pane */
99
122
# output-section # output-cell {
100
123
display : grid;
101
- grid-template-rows : 12 % 88 % ;
124
+ grid-template-rows : 6 % 94 % ;
102
125
grid-row : 2 ;
103
126
height : 100% ;
104
127
}
105
128
106
129
# output-section # output-cell # output-cell-title {
107
130
display : grid;
108
131
grid-row : 1 ;
132
+ font-weight : bold;
133
+ font-family : "Helvetica Neue" , serif;
134
+ height : 50px ;
109
135
}
110
136
111
137
# output-section # output-cell # container-output {
@@ -120,39 +146,41 @@ div#App {
120
146
Segoe UI Symbol, Noto Color Emoji;
121
147
}
122
148
123
- .btn-primary {
124
- display : inline-block;
125
- outline : 0 ;
126
- border : none;
127
- cursor : pointer;
128
- border-radius : 4px ;
129
- font-size : 13px ;
130
- height : 30px ;
131
- background-color : # 9147ff ;
132
- color : white;
133
- padding : 0 20px ;
134
- }
149
+ /* BUTTONS */
150
+ .btn {
151
+ display : inline-block;
152
+ outline : 0 ;
153
+ border : none;
154
+ cursor : pointer;
155
+ border-radius : 8px ;
156
+ font-size : 13px ;
157
+ height : 30px ;
158
+ padding : 0 20px ;
159
+ }
135
160
136
- .btn-primary : hover {
137
- background-color : # 772ce8 ;
138
- }
161
+ .btn : active {
162
+ box-shadow : 0 4px # 666 ;
163
+ transform : translateY (2px );
164
+ }
139
165
140
- .btn-secondary {
141
- display : inline-block;
142
- outline : 0 ;
143
- border : none;
144
- cursor : pointer;
145
- border-radius : 4px ;
146
- font-size : 13px ;
147
- height : 30px ;
148
- background-color : # 0000001a ;
149
- color : # 000000 ;
150
- padding : 0 20px ;
151
- }
166
+ .btn-primary {
167
+ background-color : # 9147ff ;
168
+ color : white;
169
+ }
152
170
153
- .btn-secondary : hover {
154
- background-color : # dcdcdc ;
155
- }
171
+ .btn-primary : hover {
172
+ background-color : # 6a1ae1 ;
173
+ }
174
+
175
+ .btn-secondary {
176
+ background-color : # 0000001a ;
177
+ color : # 000000 ;
178
+ }
179
+
180
+ .btn-secondary : hover {
181
+ background-color : # c0bdbd ;
182
+ }
183
+ /* END OF BUTTONS */
156
184
157
185
/* Portrait and Landscape */
158
186
@media only screen
@@ -164,27 +192,13 @@ div#App {
164
192
height : 100% ;
165
193
/* the app will have multiple rows
166
194
stacking each section on top of each other */
167
- grid-template-rows : 20vh 25 vh 10vh 50vh ;
195
+ grid-template-rows : 20vh 10vh 50vh ;
168
196
grid-template-columns : 100% ;
169
197
}
170
198
171
- div # summary-section {
172
- display : grid;
173
- grid-row : 1 ;
174
- grid-template-rows : 20% 80% ;
175
- width : 100% ;
176
- font-size : 1.5vh ;
177
- grid-gap : 2vw ;
178
- }
179
-
180
- div # summary-section p {
181
- grid-row : 2 ;
182
- font-size : 2vh ;
183
- }
184
-
185
199
div # toolbar-section {
186
200
display : grid;
187
- grid-row : 3 ;
201
+ grid-row : 1 ;
188
202
grid-column : 1 ;
189
203
grid-template-columns : 100% ;
190
204
grid-template-rows : repeat (2 , 1fr );
0 commit comments