-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDropDown.scss
More file actions
69 lines (62 loc) · 1.02 KB
/
DropDown.scss
File metadata and controls
69 lines (62 loc) · 1.02 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
.dropDownContainer {
box-shadow: $main-shadow;
border-radius: $main-border-radius;
background-color: $block-bg-color;
padding: 20px;
color: $text-dark-color;
position: absolute;
z-index: 5;
width: max-content;
right: 50%;
top: 110%;
transform: translate(50%);
@include for-mobile {
position: fixed;
top: 60px;
left: 0;
transform: translate(20%, 0);
}
td {
padding-top: 12px;
vertical-align: middle;
}
& {
right: 100%;
transform: translate(25%);
.dropDownRawEl.text {
margin-right: 5px;
}
}
&.addHost#addHost {
@include for-mobile {
padding: 12px;
position: fixed;
left: 0;
right: 0;
width: auto;
top: 0;
z-index: 150;
transform: none;
}
}
}
.emptyBox {
height: 28px;
width: 1px;
opacity: 0;
}
.dropDownRawEl.ico {
margin-right: 12px;
}
.dropDownRawEl.text {
margin-right: 26px;
font-size: $main-font-s;
}
.rowContainer {
margin-bottom: 20px;
}
.isFirst {
td {
padding-top: 0;
}
}