mirror of https://gitlab.com/tildes/tildes.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
996 B
67 lines
996 B
// Copyright (c) 2018 Tildes contributors <code@tildes.net>
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#sidebar {
|
|
p {
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.logged-in-user-info {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-controls .btn {
|
|
width: auto;
|
|
}
|
|
|
|
.form-search {
|
|
margin-top: 0;
|
|
|
|
.btn {
|
|
width: auto;
|
|
}
|
|
|
|
.form-input {
|
|
max-width: unset;
|
|
}
|
|
}
|
|
|
|
.nav .btn-link {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.sidebar-controls {
|
|
display: flex;
|
|
|
|
@media (min-width: $show-sidebar-width) {
|
|
display: none;
|
|
}
|
|
|
|
margin: -0.4rem;
|
|
margin-bottom: 0.4rem;
|
|
padding: 0.2rem 0.4rem;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.is-sidebar-displayed {
|
|
@media (max-width: $show-sidebar-width) {
|
|
display: block !important;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
|
|
min-width: 0 !important;
|
|
max-width: 90vw;
|
|
z-index: 1000;
|
|
min-height: 100vh;
|
|
height: 100%;
|
|
|
|
border-left: 3px double;
|
|
}
|
|
}
|