blob: 60b2f3b713fb49732b16f861fbd8668fbe238888 (
plain)
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
|
// Menus
.menu {
background: #fff;
border-radius: @border-radius;
display: block;
margin: 0;
min-width: @control-min-width;
padding: .8rem;
.shadow;
text-align: left;
transform: translateY(.5rem);
z-index: 999;
.menu-item {
border-radius: @border-radius;
display: block;
line-height: 2.4rem;
margin-top: 0;
padding: .3rem .8rem;
text-decoration: none;
user-select: none;
a {
border-radius: @border-radius;
color: inherit;
display: block;
margin: -.3rem -.8rem;
padding: .3rem .8rem;
text-decoration: none;
&:focus,
&:hover {
color: @core-link-color;
}
&:active,
&.active {
background: @core-secondary-color;
color: darken(@core-link-color, 5%);
}
}
}
.menu-header {
color: lighten(@body-font-color, 60%);
display: block;
font-size: 1.2rem;
line-height: 1.8rem;
margin-top: 0;
padding: .2rem .8rem;
&::after {
border-bottom: .1rem solid @core-border-color;
content: "";
display: block;
height: .1rem;
transform: translateY(-1rem);
width: 100%;
}
.menu-header-text {
background: #fff;
display: inline-block;
margin-left: -.6rem;
padding: 0 .6rem;
position: relative;
z-index: 99;
}
}
}
|