-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
114 lines (100 loc) · 2.77 KB
/
styles.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
body {
--color-light-gray: #ccc;
--color-white: #eee;
--color-christmas-red: #ce1036;
background:
radial-gradient(black 3px, transparent 4px),
radial-gradient(black 3px, transparent 4px),
linear-gradient(#fff 4px, transparent 0),
linear-gradient(45deg, transparent 74px, transparent 75px, #a4a4a4 75px, #a4a4a4 76px, transparent 77px, transparent 109px),
linear-gradient(-45deg, transparent 75px, transparent 76px, #a4a4a4 76px, #a4a4a4 77px, transparent 78px, transparent 109px),
#fff;
background-size: 109px 109px, 109px 109px,100% 6px, 109px 109px, 109px 109px;
background-position: 54px 55px, 0 0, 0 0, 0 0, 0 0;
color: var(--color-christmas-red);
font-family: sans-serif;
}
main {
min-height: calc(100vh - 3.2em);
margin: .8em;
padding: .8em;
background-color: #7bc11833;
border-radius: .8em;
}
button, .button {
display: inline-block;
min-width: 5em;
padding: .2em;
background: var(--color-christmas-red);
border: none;
border-radius: .2em;
color: var(--color-white);
font-size: 120%;
text-align: center;
font-family: inherit;
text-decoration: none;
}
button:hover, .button:hover, button:focus, .button:focus {
filter: brightness(80%);
}
textarea {
width: 100%;
height: 300px;
}
.sample-card {
width: 100%;
}
.main-flex-wrapper {
display: flex;
flex-flow: row wrap;
align-items: center;
}
.cardboard {
padding: .8em;
border: solid var(--color-christmas-red);
border-width: 0 1px;
}
.drawingCanvas {
--color-bg-1: var(--color-white);
--color-bg-2: #ddd;
max-width: 100%;
position: sticky;
top: 0;
background-color: var(--color-bg-1);
background-image:
linear-gradient(45deg, var(--color-bg-2) 25%, transparent 25%, transparent 75%, var(--color-bg-2) 75%, var(--color-bg-2)),
linear-gradient(45deg, var(--color-bg-2) 25%, transparent 25%, transparent 75%, var(--color-bg-2) 75%, var(--color-bg-2));
background-size: 60px 60px;
background-position: 0 0, 30px 30px;
border: 1px dashed var(--color-christmas-red);
}
.toolBox {
flex: 1 1 500px;
align-self: stretch;
margin: .8em;
padding: .8em;
background-color: var(--color-white);
border-radius: .4em;
}
.toolSet {
border: solid var(--color-christmas-red);
border-width: 1px 0;
}
.toolSet button {
margin: .4em;
}
.tab.is-selected {
padding: .4em;
background-color: var(--color-white);
border: 1px solid var(--color-christmas-red);
border-bottom-width: 0;
border-radius: .4em .4em 0 0;
color: var(--color-christmas-red);
}
.edit-controls {
padding: .8em .1em;
}
.edit-controls label {
display: inline-flex;
margin: .2em .8em;
}