Mercurial > nebulaweb3
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/assets/scss/components/_site-map.scss Sat May 31 09:21:51 2025 +0800 @@ -0,0 +1,82 @@ +// main: ../style.scss +/******************************** +********************************* +Site Map +********************************* +*********************************/ + +.sitemap { + position: relative; + + i { + font-size: em(18); + vertical-align: top; + top: 2px; + } + + a { + color: #7c8d96; + &:hover { + color: $color-scheme; + } + } + + ul { + margin-left: em(15); + } + + + li { + position: relative; + padding-left: em(40); + padding-top: em(3); + + &.menu-item-has-children { + > ul { + margin-top: em(10); + margin-left: em(25); + } + } + + &::before { + content: ""; + position: absolute; + left: em(7); + top: em(-12); + height: em(25); + width: em(35); + border-bottom: rem(1) solid #ddd; + border-left: rem(1) solid #ddd; + } + + } + + body.rtl & { + li { + padding-left: 0; + padding-right: em(40); + &:before { + left: auto; + right: 0; + border-left: 0; + border-right: 1px solid $theme-border-color; + } + } + } +} + +.sitemap-default, +.sitemap-right { + a { + margin-left: em(10); + } +} + +.sitemap-right { + strong { + color: $color-scheme; + text-transform: uppercase; + font-size: em(15); + font-weight: 500; + } +}