LinksGroup.module.scss
2.71 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
@import '../../../styles/app';
.headerLink {
overflow-x: hidden;
@media (min-width: map_get($grid-breakpoints, lg)) and (min-height: $screen-lg-height), (max-width: map_get($grid-breakpoints, md) - 1px) {
font-size: 13px;
}
a {
display: block;
color: #a6b2c1;
text-decoration: none;
cursor: pointer;
&:hover {
text-decoration: none;
color: inherit;
}
}
&:last-child > a {
border-bottom: 1px solid $sidebar-item-border-color;
}
> a {
position: relative;
align-items: center;
padding-left: 50px;
line-height: 35px;
border-top: 1px solid $sidebar-item-border-color;
&:hover {
background-color: var(--sidebar-item-hover-bg-color);
}
> i {
margin-right: 7px;
}
@media (min-width: map_get($grid-breakpoints, lg)) and (min-height: $screen-lg-height), (max-width: map_get($grid-breakpoints, md) - 1px) {
line-height: 55px;
}
}
.icon {
font-size: $font-size-larger;
display: block;
position: absolute;
top: 3px;
left: 11px;
width: 28px;
height: 28px;
line-height: 28px;
text-align: center;
opacity: .7;
@media (min-width: map_get($grid-breakpoints, lg)) and (min-height: $screen-lg-height), (max-width: map_get($grid-breakpoints, md) - 1px) {
top: 12px;
}
}
.badge {
float: right;
line-height: 8px;
margin-top: 9px;
margin-right: 15px;
@media (min-width: map_get($grid-breakpoints, lg)) and (min-height: $screen-lg-height), (max-width: map_get($grid-breakpoints, md) - 1px) {
margin-top: 16px;
}
}
a.headerLinkActive {
color: $sidebar-item-active-color;
font-weight: $font-weight-normal;
&:hover {
color: $sidebar-item-active-color;
}
.icon {
border-radius: 50%;
background-color: $sidebar-item-active-color;
opacity: 1;
i {
color: var(--sidebar-bg-color);
}
}
}
}
.headerLabel {
font-weight: 600;
}
.collapsed .caret {
transform: rotate(-90deg);
}
.caret {
display: flex;
align-items: center;
margin-left: auto;
margin-right: 15px;
@include transition(transform 0.3s ease-in-out);
}
.panel {
border: none;
box-shadow: none;
margin: 0;
border-radius: 0;
background-color: var(--sidebar-panel-bg-color);
a.headerLinkActive {
font-weight: $font-weight-semi-bold;
color: var(--sidebar-color);
&:hover {
color: var(--sidebar-color);
}
}
ul {
background: var(--sidebar-action-bg);
padding: $spacer;
li {
list-style: none;
}
a {
padding: 10px 20px 10px 26px;
font-size: $font-size-mini;
&:hover {
background-color: var(--sidebar-item-hover-bg-color);
}
}
}
}