Files
stacjownik/src/styles/JournalSection.scss
T

86 lines
1.2 KiB
SCSS

@import 'responsive.scss';
// Animations
.warning {
&-enter-from,
&-leave-to {
opacity: 0;
}
&-enter-active {
transition: all 150ms 100ms ease-out;
}
&-leave-active {
transition: all 150ms 100ms ease-out;
}
}
//Styles
.list_wrapper {
overflow-y: scroll;
height: 90vh;
min-height: 550px;
padding-right: 0.2em;
}
.journal_wrapper {
max-width: 1350px;
width: 100%;
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;
}
.btn--load-data {
padding: 0.5em 1em;
display: flex;
margin: 0 auto;
font-size: 1.2em;
}
@include smallScreen() {
.list_wrapper {
font-size: 1.25em;
}
.journal_top-bar {
justify-content: center;
flex-wrap: wrap;
}
}
@media (orientation: landscape) {
.list_wrapper {
font-size: 1em;
}
}