Mercurial > nebulaweb3
comparison default/assets/scss/components/_site-map.scss @ 0:1d038bc9b3d2 default tip
Up:default
author | Liny <dev@neowd.com> |
---|---|
date | Sat, 31 May 2025 09:21:51 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1d038bc9b3d2 |
---|---|
1 // main: ../style.scss | |
2 /******************************** | |
3 ********************************* | |
4 Site Map | |
5 ********************************* | |
6 *********************************/ | |
7 | |
8 .sitemap { | |
9 position: relative; | |
10 | |
11 i { | |
12 font-size: em(18); | |
13 vertical-align: top; | |
14 top: 2px; | |
15 } | |
16 | |
17 a { | |
18 color: #7c8d96; | |
19 &:hover { | |
20 color: $color-scheme; | |
21 } | |
22 } | |
23 | |
24 ul { | |
25 margin-left: em(15); | |
26 } | |
27 | |
28 | |
29 li { | |
30 position: relative; | |
31 padding-left: em(40); | |
32 padding-top: em(3); | |
33 | |
34 &.menu-item-has-children { | |
35 > ul { | |
36 margin-top: em(10); | |
37 margin-left: em(25); | |
38 } | |
39 } | |
40 | |
41 &::before { | |
42 content: ""; | |
43 position: absolute; | |
44 left: em(7); | |
45 top: em(-12); | |
46 height: em(25); | |
47 width: em(35); | |
48 border-bottom: rem(1) solid #ddd; | |
49 border-left: rem(1) solid #ddd; | |
50 } | |
51 | |
52 } | |
53 | |
54 body.rtl & { | |
55 li { | |
56 padding-left: 0; | |
57 padding-right: em(40); | |
58 &:before { | |
59 left: auto; | |
60 right: 0; | |
61 border-left: 0; | |
62 border-right: 1px solid $theme-border-color; | |
63 } | |
64 } | |
65 } | |
66 } | |
67 | |
68 .sitemap-default, | |
69 .sitemap-right { | |
70 a { | |
71 margin-left: em(10); | |
72 } | |
73 } | |
74 | |
75 .sitemap-right { | |
76 strong { | |
77 color: $color-scheme; | |
78 text-transform: uppercase; | |
79 font-size: em(15); | |
80 font-weight: 500; | |
81 } | |
82 } |