-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (135 loc) · 2.24 KB
/
style.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
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
html,
body {
margin: 0px;
height: 100%;
}
#sidebar {
grid-area: sidebar;
overflow-y: scroll;
}
.hide {
position: absolute;
top: -9999px;
left: -9999px;
}
#content {
grid-area: content;
}
.header {
grid-area: header;
font-family: Helvetica, sans-serif;
}
.footer {
grid-area: footer;
}
.sideBarItem {
max-height: 50px;
max-width: 50px;
padding: 5px;
}
.sideBarItem img {
max-height: 50px;
max-width: 50px;
}
#initOpt {
grid-area: colourP;
display: flex;
flex-direction: grid;
flex-flow: wrap;
}
#options {
grid-area: options;
padding: 0px;
}
.colourSwatches {
box-sizing: border-box;
width: 40px;
height: 40px;
max-height: 40px;
max-width: 40px;
margin: 5px;
}
.wrapper {
display: grid;
height: 100%;
grid-template-columns: 70px 230px minmax(500px, 1fr);
grid-template-rows: 35px minmax(500px, 1fr) 160px;
grid-template-areas:
"header header header"
"sidebar content content"
"colourP colourP options";
background-color: #fff;
color: #444;
}
.box {
background-color: #444;
color: #fff;
font-size: 150%;
}
.header {
background-color: #999;
}
@media (max-width: 200px) {
.horizontal > .component-area {
display: none;
}
}
@media (max-height: 340px) {
.vertical > .component-area {
display: none;
}
}
@media (max-height: 359px) {
.vertical > .status-area {
display: none !important;
}
}
.component-area,
.tool-window .window-titlebar {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.tool-window .window-titlebar {
direction: ltr;
text-align: start;
}
.status-area,
.component-area {
display: flex;
flex: 0 0 auto;
}
.selection,
.textbox,
.helper-layer {
z-index: 3;
}
.component-area {
/* for measuring offsetTop/offsetLeft of component elements */
/* (makes it relative to this element) */
position: relative;
}
.horizontal .component-area {
flex-direction: column;
}
.canvas-area {
flex: 1;
display: block !important;
position: relative;
overflow: auto;
padding: 3px;
direction: ltr /*rtl:ignore*/;
}
/* .p5Canvas {
position: absolute;
z-index: 2;
} */
/* #textToolInput {
background-color: grey;
} */
input {
color: green;
background-color: white;
border-color: white
}