File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ /* Clean, contemporary design with subtle animations */
2+ .md-sidebar--primary {
3+ background : # f6f6f8 ;
4+ border-right : 1px solid # c3cbdb ;
5+ }
6+
7+ [data-md-color-scheme = "slate" ] .md-sidebar--primary {
8+ background : # 1a1b26 ;
9+ border-right : 1px solid # 2f3241 ;
10+ }
11+
12+ .md-nav__item {
13+ margin : 2px 12px ;
14+ position : relative;
15+ }
16+
17+ .md-nav__link {
18+ border-radius : 6px ;
19+ padding : 5px 5px ;
20+ transition : all 0.2s cubic-bezier (0.4 , 0 , 0.2 , 1 );
21+ display : flex;
22+ align-items : center;
23+ gap : 8px ;
24+ }
25+
26+ /* Add subtle dot indicator */
27+ .md-nav__link ::before {
28+ content : '' ;
29+ width : 6px ;
30+ height : 6px ;
31+ border-radius : 50% ;
32+ background : transparent;
33+ transition : all 0.3s ease;
34+ }
35+
36+ .md-nav__link : hover ::before {
37+ background : # 6366f1 ;
38+ box-shadow : 0 0 8px rgba (99 , 102 , 241 , 0.6 );
39+ }
40+
41+ .md-nav__link : hover {
42+ background : rgba (99 , 102 , 241 , 0.08 );
43+ padding-left : 18px ;
44+ }
45+
46+ .md-nav__link--active {
47+ background : rgba (99 , 102 , 241 , 0.12 );
48+ color : # 2a2ca8 !important ;
49+ font-weight : 600 ;
50+ padding-left : 18px ;
51+ }
52+
53+ .md-nav__link--active ::before {
54+ background : # 8190d4 ;
55+ box-shadow : 0 0 12px rgba (109 , 156 , 231 , 0.8 );
56+ animation : pulse 2s infinite;
57+ }
58+
59+ @keyframes pulse {
60+ 0% , 100% { opacity : 1 ; }
61+ 50% { opacity : 0.4 ; }
62+ }
Original file line number Diff line number Diff line change @@ -124,3 +124,4 @@ extra_css:
124124 - stylesheets/extra.css
125125 - stylesheets/cards.css
126126 - stylesheets/colors.css
127+ - stylesheets/side_bar_menu.css
You can’t perform that action at this time.
0 commit comments