tweb-i2p/src/scss/partials/_sidebar.scss
Eduard Kuzmenko ce9c19964d Fix RTL
Fix corner buttons size
2021-05-05 18:05:21 +04:00

65 lines
1.2 KiB
SCSS

/*
* https://github.com/morethanwords/tweb
* Copyright (C) 2019-2021 Eduard Kuzmenko
* https://github.com/morethanwords/tweb/blob/master/LICENSE
*/
.sidebar {
&-header {
background-color: var(--surface-color);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1rem;
min-height: 56px;
flex: 0 0 auto;
user-select: none;
cursor: default;
@include respond-to(handhelds) {
padding: 7.5px 8px;
}
/* //position: sticky !important;
position: sticky !important;
top: 0;
z-index: 1; */
&__title {
flex: 1;
font-weight: 500;
padding-left: 24px;
font-size: 20px;
color: var(--primary-text-color);
}
.btn-icon + .btn-icon {
margin-left: .5rem;
}
}
&-close-button {
overflow: inherit !important;
width: 40px;
height: 40px;
}
&-content {
width: 100%;
max-height: 100%;
height: 100%;
overflow: hidden;
display: flex; /* idk why but need */
position: relative;
flex: 1 1 auto;
/* @include respond-to(handhelds) {
margin-top: 60px;
} */
/* > div {
width: 100%;
} */
}
}