-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (72 loc) · 1.4 KB
/
style.css
File metadata and controls
72 lines (72 loc) · 1.4 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
body {
--label-width: 22mm;
--label-height: 12mm;
--label-border-radius: 2mm;
--logo-brand-font-size: 6pt;
--logo-filament-font-size: 5pt;
--label-logo-size: 6mm;
}
.brand-list-item,
.type-list-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
padding: 5px;
border-radius: 4px;
background: #f8f9fa;
}
.type-list-item::before {
content: "•";
font-size: 20px;
line-height: 1;
}
.brand-logo-small {
width: 30px;
height: 30px;
object-fit: contain;
}
.logo-text {
font-weight: bold;
align-self: center;
margin-right: 20px;
}
.label-container {
border: 0.5mm dashed black;
border-radius: var(--label-border-radius, 2mm);
width: var(--label-width, 22mm);
height: var(--label-height, 12mm);
display: grid;
grid-template-columns: 1fr var(--label-logo-size, 8mm);
padding: 0.5mm;
background: white;
}
#label-preview {
width: 80vw;
height: 30vw;
display: flex;
justify-content: center;
align-items: center;
}
.label-brand {
font-size: var(--logo-brand-font-size, 6pt);
font-weight: bold;
}
.label-filamenttype {
font-size: var(--logo-filament-font-size, 5pt);
}
.label-filamentname {
font-size: var(--logo-filament-font-size, 5pt);
}
.label-logo {
width: var(--label-logo-size, 8mm);
height: var(--label-logo-size, 8mm);
object-fit: contain;
}
.label-text {
display: flex;
flex-direction: column;
}
.label-spacer {
flex-grow: 1;
}