-
Notifications
You must be signed in to change notification settings - Fork 0
/
teststyle.css
99 lines (84 loc) · 2.04 KB
/
teststyle.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
html, body {
padding: 0;
margin: 0;
}
#container {
margin: 0;
height:calc(100vh - 48px);
display: -ms-grid;
display: grid;
-ms-grid-columns: 30% 70%;
-ms-grid-rows: 50% 50%;
grid-template-columns: 70% 30%;
grid-template-rows: 50% 50%;
grid-template-areas:
"blockly frameSite"
"blockly testDiv";
}
#blocklyArea {grid-area: blockly; -ms-grid-row:1;-ms-grid-column:1; -ms-grid-row-span:4;}
#frameSite {grid-area: frameSite; border: 5px solid #ccc; -ms-grid-row:10;-ms-grid-column:0;margin: 1px}
#testDiv {grid-area: testDiv; border: 5px solid #ccc; -ms-grid-row:10;-ms-grid-column:0; margin: 1px;}
#instructions{
height:calc(100% - 48px);
overflow: auto;
font-size: 1.2em;
padding-left: 0.5em;
}
.list{
margin-bottom: .5em;
}
#output{
width: 100%;
height: calc(100% - 48px)
}
header{
display: flex;
flex-direction: row;
justify-content: space-around;
padding: 10px;
background-color: #dddddd;
margin-bottom: 1px;
display: none;
}
#site-name{
font-size: 2em;
}
i{
font-size: 2em;
padding-left: 2em;
}
/* Begin code from https://www.w3schools.com/howto/howto_js_tabs.asp */
/* Style the tab */
.tab, .testTab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons that are used to open the tab content */
.tab button, .testTab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 1em;
font-weight: bold;
}
/* Change background color of buttons on hover */
.tab button:hover, .testTab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active, .testTab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
/* End code from https://www.w3schools.com/howto/howto_js_tabs.asp */