mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:56:36 +08:00
de071fc1e8
No tests are written for now as we're still in a highly iterative stage
66 lines
1.1 KiB
SCSS
66 lines
1.1 KiB
SCSS
.new-user-wrapper {
|
|
.user-nav {
|
|
flex-direction: column;
|
|
|
|
> li {
|
|
width: 100%;
|
|
|
|
.d-icon {
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
&:not(:first-of-type) {
|
|
border-top: 1px solid var(--primary-low);
|
|
}
|
|
|
|
> a,
|
|
button {
|
|
padding: 1em 0.75em;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-nav-dropdown-list-item {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.user-nav-dropdown-chevron {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.user-nav-dropdown-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.user-nav-dropdown-submenu {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
top: 0;
|
|
box-shadow: none;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
|
|
padding: 0.5em 0 1em 1.65em;
|
|
|
|
li a {
|
|
box-sizing: border-box;
|
|
padding: 0.75em 1em;
|
|
width: 100%;
|
|
@include ellipsis;
|
|
}
|
|
}
|
|
|
|
#navigation-bar {
|
|
margin-top: 1em;
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
width: 100%;
|
|
overflow-x: scroll;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0.5em;
|
|
a {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|