discourse/app/assets/stylesheets/mobile/new-user.scss

70 lines
1.1 KiB
SCSS

.new-user-wrapper {
.user-navigation {
width: 100%;
.nav-pills {
margin: 0.5em 0;
overflow-x: auto;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
}
.user-navigation-secondary {
font-size: var(--font-up-1);
.nav-pills {
flex-wrap: nowrap;
li {
flex: 1 0 auto;
}
}
}
.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 {
flex-wrap: nowrap;
}
.navigation-controls {
margin-top: 1em;
}
}
.new-user-content-wrapper {
.user-content {
margin-top: 2em;
}
}