/
NavDropdown.scss
executable file
·96 lines (84 loc) · 2.05 KB
/
NavDropdown.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
.component {
height: 100%;
width: 100%;
> div {
height: 100%;
width: 100%;
}
.optionLabel {
&.hasNotification {
&:before {
background: var(--theme-button-attention-background-color);
border-radius: 50%;
content: '';
display: inline-block;
height: 8px;
margin-right: 8px;
width: 8px;
}
}
}
&.hasNotification {
:global {
.SimpleOptions_option:first-child span {
&:before {
background: var(--theme-button-attention-background-color);
border-radius: 50%;
content: '';
display: inline-block;
height: 8px;
margin-right: 8px;
width: 8px;
}
}
}
}
:global {
.NavButton_component {
cursor: default;
}
.SimpleBubble_root:not(.SimpleBubble_transparent) {
.SimpleBubble_bubble {
border: none;
border-radius: 3px;
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12);
right: 15px;
top: -5px;
white-space: nowrap;
width: auto !important;
.SimpleOptions_ul {
background-color: var(--theme-nav-dropdown-item-background-color);
border-radius: 4px;
.SimpleOptions_option {
background: none;
font-size: 13px;
padding: 5px 10px;
text-align: right;
&.SimpleOptions_selectedOption {
font-family: var(--rp-theme-font-bold);
}
&.SimpleOptions_highlightedOption:hover {
background-color: var(
--theme-nav-dropdown-item-background-color-hover
);
}
}
.ScrollbarsCustom-Wrapper,
.ScrollbarsCustom-Scroller {
position: initial !important;
}
}
}
}
.OptionsOverrides_options {
margin-top: 0;
}
}
&:hover {
:global {
.NavButton_normal .NavButton_container {
background-color: var(--theme-nav-item-background-color-hover);
}
}
}
}