-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathstroke-width.component.module.css
More file actions
75 lines (66 loc) · 1.25 KB
/
stroke-width.component.module.css
File metadata and controls
75 lines (66 loc) · 1.25 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
.container {
display: flex;
gap: 0.5em;
align-items: center;
padding: var(--space-xs) var(--space-md);
border-bottom: 1px solid var(--primary-300);
position: relative;
}
.container p {
flex: 1;
}
.strokeSelector {
width: 95px;
font-family: sans-serif;
font-size: var(--fs-xs);
user-select: none;
position: relative;
}
.selected {
border: 1px solid #767676;
padding: var(--space-xs) var(--space-s);
display: flex;
align-items: center;
gap: var(--space-s);
cursor: pointer;
background: white;
border-radius: 2px;
color: black;
}
.arrowIcon {
margin-left: auto;
transition: transform 0.2s ease;
color: #333;
}
.arrowIcon.open {
transform: rotate(180deg);
}
.dropdown {
position: absolute;
top: 100%;
right: 0;
left: 0;
margin-top: var(--space-xs);
background-color: white;
border: 1px solid #767676;
border-radius: 2px;
z-index: 100;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.dropdownItem {
padding: var(--space-s);
display: flex;
align-items: center;
gap: var(--space-s);
font-size: var(--fs-xs);
cursor: pointer;
color: black;
}
.dropdownItem:hover {
background-color: var(--primary-100);
color: var(--text-color);
}
.linePreview {
width: 25px;
background-color: black;
}