forked from reactplay/react-play
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.scss
103 lines (86 loc) · 1.8 KB
/
styles.scss
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
$select-component-width: 1000px;
$select-component-font-size: 25px;
$select-component-dropdown-max-height: 450px;
.multi-select-container {
display: flex;
justify-content: center;
}
#multi-select-component {
width: $select-component-width;
margin-top: 100px;
width: 100%;
height: max-content;
> * {
font-size: $select-component-font-size;
}
#selector {
border: 1px solid black;
border-radius: 5px;
padding: 10px;
#search {
display: flex;
justify-content: space-between;
align-items: center;
.icon-button {
cursor: pointer;
}
#search-input {
border: none;
outline: none;
padding: 5px 8px;
width: 90%;
background-color: transparent;
}
}
#selected-options {
display: flex;
align-items: center;
flex-wrap: wrap;
.multi-select-option {
background-color: aqua;
border-radius: 5px;
padding: 4px 8px;
margin-right: 5px;
margin-bottom: 5px;
display: flex;
align-items: center;
p {
margin-right: 5px;
}
img:hover {
cursor: pointer;
}
}
}
}
#options {
width: $select-component-width;
padding: 5px 10px;
border: 1px solid black;
border-top-color: white;
max-height: $select-component-dropdown-max-height;
overflow-y: scroll;
width: 100%;
&.closed {
display: none;
}
.multi-select-option {
padding: 4px;
margin: 4px;
cursor: pointer;
&.selected {
background-color: aqua;
border-radius: 5px;
}
}
.not-found {
padding: 4px;
margin: 4px;
cursor: pointer;
span {
font-style: italic;
font-weight: bold;
}
}
}
}