File tree Expand file tree Collapse file tree 2 files changed +22
-13
lines changed Expand file tree Collapse file tree 2 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 81
81
}
82
82
83
83
@media (max-width : 767px ) {
84
- li {
85
- border-radius : 100px ;
86
- }
87
84
a {
88
85
padding : 0.75rem 1.25rem ;
89
86
justify-content : left ;
Original file line number Diff line number Diff line change 91
91
</ul >
92
92
</div >
93
93
<div id =" secondary-navigation" >
94
- <button on:click ={() => (modals .settings = ! modals .settings )} aria-label =" Settings" >
95
- <Cog size =" 20px" color =" var(--surface-six)" />
96
- </button >
94
+ <span class:selected ={modals .settings }>
95
+ <button on:click ={() => (modals .settings = ! modals .settings )} aria-label =" Settings" >
96
+ <Cog size ="20px" color ={modals .settings ? ' var(--primary)' : ' var(--surface-six)' } />
97
+ </button >
98
+ </span >
97
99
</div >
98
100
</div >
99
101
</div >
119
121
<SessionExpiredModal bind:loginOpen ={modals .login } />
120
122
121
123
<style lang =" scss" >
124
+ #secondary-navigation {
125
+ display : flex ;
126
+
127
+ span {
128
+ border-radius : 10px ;
129
+ padding : 10px 16px ;
130
+
131
+ & :hover {
132
+ background-color : var (--surface-three );
133
+ }
134
+
135
+ & .selected {
136
+ background-color : var (--tertiary );
137
+ }
138
+ }
139
+ }
140
+
122
141
#logo {
123
142
padding : 0.5rem ;
124
143
}
149
168
background-color : var (--surface-eight );
150
169
}
151
170
152
- #main-navigation ,
153
- #secondary-navigation {
154
- align-items : center ;
155
- display : flex ;
156
- gap : 2rem ;
157
- }
158
-
159
171
img {
160
172
height : 22px ;
161
173
}
You can’t perform that action at this time.
0 commit comments