Skip to content

Commit

Permalink
Update header left and right to start and end
Browse files Browse the repository at this point in the history
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
  • Loading branch information
ahangarha committed Jan 10, 2024
1 parent eb56cd1 commit a5dfcab
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion core/css/header.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/header.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
bottom: 2px;
}

.header-right {
.header-end {
a:not(.button):focus-visible::after, div[role=button]:focus-visible::after {
bottom: 4px;
}
Expand Down Expand Up @@ -94,7 +94,7 @@
/* Header menu */
$header-menu-entry-height: 44px;

.header-right > div > .menu {
.header-end > div > .menu {
background-color: var(--color-main-background);
filter: drop-shadow(0 1px 5px var(--color-box-shadow));
border-radius: var(--border-radius-large);
Expand Down Expand Up @@ -152,25 +152,25 @@
flex-shrink: 0;
}

#header-left, .header-left,
#header-right, .header-right {
#header-start, .header-start,
#header-end, .header-end {
display: inline-flex;
align-items: center;
}

#header-left, .header-left {
#header-start, .header-start {
flex: 1 0;
white-space: nowrap;
min-width: 0;
}

#header-right, .header-right {
#header-end, .header-end {
justify-content: flex-end;
flex-shrink: 1;
}

/* Right header standard */
.header-right {
.header-end {
> div,
> form {
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion core/css/mobile.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/mobile.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/css/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@
}

@media only screen and (max-width: 480px) {
#header .header-right > div > .menu {
#header .header-end > div > .menu {
max-width: calc(100vw - 10px);
position: fixed;
&::after {
display: none !important;
}
}
/* Arrow directly child of menutoggle */
#header .header-right > div {
#header .header-end > div {
&.openedMenu {
&::after {
display: block;
Expand Down
Loading

0 comments on commit a5dfcab

Please sign in to comment.