funky-framadate-front/src/styles/partials/_responsive.scss

104 lines
1.5 KiB
SCSS
Raw Normal View History

2022-02-09 14:47:51 +01:00
@import '../variables';
2021-11-30 11:17:44 +01:00
// small screens
2022-02-09 14:27:22 +01:00
@media (max-width: 487px) {
2022-02-11 11:43:50 +01:00
.logo-home-link-img {
display: inline-block;
margin-top: 8px;
width: 50px;
padding: 8px !important;
}
.title-section {
width: 60%;
}
2022-02-11 10:59:02 +01:00
.is-hidden-smallest-screen {
display: none;
}
.is-visible-smallest-screen {
display: block;
}
2022-02-09 14:47:51 +01:00
.big-header {
height: $home-nav-height-small;
}
2022-02-09 14:27:22 +01:00
.step {
2022-02-09 14:47:51 +01:00
padding: $stepper-nav-height 0.25rem;
2022-02-09 14:27:22 +01:00
}
.bottom-step-buttons {
padding: 0;
.contained-in-main-column {
padding: 0.5rem;
}
}
#creation_stepper {
2022-02-11 10:59:02 +01:00
.logo-home-link {
padding: 0;
margin: 0;
img {
padding: 0;
margin: 0;
}
}
2022-02-09 14:27:22 +01:00
.step-info {
height: 4.5rem;
}
.cancel-button {
padding: 0.5rem 0.75rem;
min-width: 1em;
line-height: 1.5rem;
margin-top: 0;
}
}
2022-02-10 14:50:05 +01:00
.step-title-poll {
max-width: 18ch;
}
2022-02-09 14:27:22 +01:00
}
2022-02-11 10:59:02 +01:00
@media (min-width: 488px) {
.is-hidden-smallest-screen {
display: block;
}
.is-visible-smallest-screen {
display: none;
}
2021-11-30 11:17:44 +01:00
.feedback-container {
//position: fixed;
2021-11-30 11:17:44 +01:00
}
2021-12-14 11:22:23 +01:00
.p-datepicker {
.p-datepicker-calendar {
td {
width: $cell-size-desktop;
}
2022-02-09 14:27:22 +01:00
2021-12-14 11:22:23 +01:00
td span,
.p-ripple {
width: $cell-size-desktop;
height: $cell-size-desktop;
}
}
}
2021-11-30 11:17:44 +01:00
}
2022-02-09 14:27:22 +01:00
2021-11-30 11:17:44 +01:00
// wide screen like desktop
2020-04-21 10:50:26 +02:00
@media (min-width: $widescreen) {
2021-12-13 14:26:36 +01:00
.step {
padding: 6rem 0;
2021-12-13 14:26:36 +01:00
}
2020-04-21 10:50:26 +02:00
.date-choice > input:first-of-type {
2021-05-20 14:11:30 +02:00
width: 75%;
2020-04-21 10:50:26 +02:00
}
.date-choice .btn--primary,
.several-times {
margin-left: 1rem;
display: inline-block;
}
.time-choice {
2021-11-17 15:36:45 +01:00
padding: 1em;
2021-11-30 11:17:44 +01:00
2020-04-21 10:50:26 +02:00
input {
2021-05-20 14:11:30 +02:00
width: 80%;
2020-04-21 10:50:26 +02:00
}
}
}