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