1 line
1.0 KiB
CSS
1 line
1.0 KiB
CSS
.category-nav{flex:1}.category-nav ul{display:flex;flex-direction:column;gap:4px;margin:0;padding-left:0}.category-nav ul:first-of-type{padding-bottom:20px;position:relative}.category-nav ul:first-of-type:after{background-image:linear-gradient(to right,transparent,var(--color-border),transparent);bottom:10px;content:"";height:1px;left:13px;position:absolute;right:13px}.category-nav ul li{border-radius:var(--radius-base,4px);list-style:none;margin:0 13px 1px;padding:0 6px;transition:all .25s ease}.category-nav ul li.active{background:var(--color-bg-hover)}.category-nav ul li.active a,.category-nav ul li.active a svg{color:var(--color-font)}.category-nav ul li:hover{background:var(--color-bg-hover)}.category-nav ul li a{align-items:center;color:var(--color-font-1);display:flex;height:27px;justify-content:center;text-decoration:none}.category-nav ul li a svg{color:var(--color-font-2);height:20px;width:20px}.category-nav ul li a>div{flex:1;font-size:calc(var(--font-size)*.9);max-width:100%;padding-left:10px}.category-nav .nav-items li a div{font-size:14px} |