-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
136 lines (116 loc) · 2.05 KB
/
style.css
File metadata and controls
136 lines (116 loc) · 2.05 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
html,
body {
margin: 0px;
height: 100%;
}
#sidebar {
grid-area: sidebar;
overflow-y: scroll;
}
#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;
user-select: none;
}
.colourPalette {
grid-area: colourP;
display: flex;
flex-direction: grid;
flex-flow: wrap;
}
.options {
grid-area: options;
padding: 15px;
}
.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;
}
/* my addition to the code start */
#colour-picker{
grid-area: colourP;
}
#stamp-spread-size {
display: none;
}
#stamp-spread-size-label {
display: none;
}
#stamps{
display: flex;
max-width: 40%;
margin: 0 auto;
justify-content: space-between;
user-select: none;
}
/* layers gui start inspiration taken from w3 school https://www.w3schools.com/howto/howto_css_dropdown.asp*/
#layers-menu{
display: inline-block;
position:relative;
}
#layers-menu-content{
display: none;
right: 0;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.layers-menu-elements{
background-color: #444;
display: inline-flex;
}
.layers-menu-elements button{
color: black;
padding: 10px 16px;
text-decoration: none;
}
#new-layer-button{
order: -2;
}
#delete-layer-button{
order: -1;
}
#layers-menu-content .layers-menu-elements button:hover{background-color: #f1f1f1;}
#layers-menu:hover #layers-menu-content{display: grid;}
/* layers gui end */
/* my addition to the code end */