-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): ♻️ clean up various menu styles
- Loading branch information
1 parent
0aa6172
commit 4f7e3a4
Showing
6 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
resources/skins.citizen.styles/components/ContentSidebar.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
.citizen-body-sidebar { | ||
@media ( min-width: @min-width-breakpoint-desktop ) { | ||
display: flex; | ||
flex-direction: column; | ||
grid-area: sidebar; | ||
gap: var( --space-xs ); | ||
padding-left: var( --space-xs ); | ||
margin-top: var( --space-sm ); // align with first paragraph | ||
// Avoid padding clipping | ||
margin-left: ~'calc( var( --space-xs ) * -1 )'; | ||
} | ||
|
||
.citizen-menu__heading, | ||
.citizen-menu .mw-list-item a { | ||
padding-right: var( --space-xs ); | ||
padding-left: var( --space-xs ); | ||
} | ||
|
||
.citizen-menu .mw-list-item a { | ||
border-radius: var( --border-radius--small ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,11 @@ | |
} | ||
} | ||
} | ||
|
||
ul { | ||
margin: 0; | ||
list-style: none; | ||
} | ||
} | ||
|
||
// FIXME: This should not be here | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,11 +73,6 @@ | |
} | ||
} | ||
|
||
ul { | ||
margin: 0; | ||
list-style: none; | ||
} | ||
|
||
li { | ||
margin: 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters