Files
stacjownik/src/styles/JournalSection.scss
T

81 lines
1.1 KiB
SCSS

@import 'responsive.scss';
@import 'animations.scss';
//Styles
.list_wrapper {
overflow-y: auto;
height: 90vh;
min-height: 550px;
padding-right: 0.2em;
}
.journal-list {
position: relative;
}
.journal_wrapper {
max-width: 1350px;
width: 100%;
margin: 0 auto;
padding: 1em 0;
}
.journal_warning {
text-align: center;
font-size: 1.3em;
&.error {
background-color: var(--clr-error);
}
}
.schedule-dates > * {
margin-right: 0.25em;
}
.journal_item,
.journal_warning {
background-color: #1a1a1a;
padding: 1em;
margin-bottom: 1em;
}
.journal_top-bar {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.5em;
position: relative;
margin-bottom: 0.5em;
}
.btn--load-data {
padding: 0.5em 1em;
display: flex;
margin: 0 auto;
font-size: 1.2em;
}
@include smallScreen() {
.list_wrapper {
font-size: 1.1em;
}
.journal_top-bar {
justify-content: center;
flex-wrap: wrap;
}
}
@media (orientation: landscape) {
.list_wrapper {
font-size: 1em;
}
}