Files
stacjownik/src/styles/JournalSection.scss
T

68 lines
933 B
SCSS

@import 'responsive.scss';
// Animations
.warning {
&-enter-from,
&-leave-to {
opacity: 0;
}
&-enter-active {
transition: all 150ms ease-out;
}
&-leave-active {
transition: all 150ms ease-out;
}
}
//Styles
.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: #202020;
padding: 1em;
margin: 1em 0;
}
.journal_top-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
button.btn {
padding: 0.5em 0.7em;
}
@include smallScreen() {
.journal-wrapper {
font-size: 1.25em;
}
.journal_top-bar {
justify-content: center;
flex-wrap: wrap;
}
}