funky-framadate-front/src/app/features/administration/stepper/stepper.component.scss

242 lines
3.6 KiB
SCSS
Raw Normal View History

2021-11-07 14:52:49 +01:00
@import '../../../../styles/variables';
2021-12-01 18:22:21 +01:00
@import '../../../../styles/dev-utilities/helpers';
2021-11-30 11:17:44 +01:00
#creation_stepper {
2021-12-01 18:22:21 +01:00
@extend .fixed-box;
background: $white;
height: $stepper-nav-height;
2021-12-01 18:22:21 +01:00
a {
@extend .clickable;
2021-12-08 18:17:28 +01:00
&:hover {
color: $secondary_color;
}
}
2021-12-08 18:17:28 +01:00
2022-02-11 11:43:50 +01:00
.step-counter-text {
margin-top: -$stepper-progress-bar-height;
2022-02-11 11:43:50 +01:00
}
2022-03-01 11:02:17 +01:00
2022-02-09 14:27:22 +01:00
.title-section {
display: inline-block;
2022-02-11 11:43:50 +01:00
width: 50%;
2022-02-09 14:27:22 +01:00
float: left;
}
2022-02-10 14:50:05 +01:00
2022-02-09 14:27:22 +01:00
.step-title-poll {
2022-02-11 11:43:50 +01:00
max-width: 45ch;
2022-02-09 14:27:22 +01:00
text-overflow: ellipsis;
2022-03-01 11:02:17 +01:00
font-size: 0.85rem;
color: #767486;
margin-bottom: 0.7rem;
margin-top: -8px;
padding-left: 0;
display: block;
font-weight: bold;
2022-02-09 14:27:22 +01:00
}
2021-12-01 18:22:21 +01:00
.columns,
.column {
2022-02-09 14:27:22 +01:00
padding-top: 0;
2021-12-01 18:22:21 +01:00
padding-bottom: 0;
}
2022-02-09 14:27:22 +01:00
.columns {
padding-top: 1rem;
}
2021-11-30 11:17:44 +01:00
.step-bar-container {
margin: 0;
2021-12-09 11:21:41 +01:00
width: 100%;
position: relative;
2022-02-11 12:18:20 +01:00
top: 0;
2021-12-09 11:21:41 +01:00
display: block;
2021-11-30 11:17:44 +01:00
min-width: 1px;
height: $stepper-progress-bar-height;
background: $bar-progress-grey !important;
}
2021-11-30 11:17:44 +01:00
.step-bar-progress {
position: relative;
top: -$stepper-progress-bar-height;
2021-11-30 11:17:44 +01:00
left: 0;
height: $stepper-progress-bar-height;
2021-12-09 11:21:41 +01:00
display: block;
2021-11-30 11:17:44 +01:00
min-width: 1px;
background: $d-blue-700;
2021-11-16 16:23:32 +01:00
}
2021-11-30 11:17:44 +01:00
.shortcut {
padding: 1em;
margin: 1em;
display: inline-block;
text-align: center;
width: 4em;
&.is-active {
2021-11-17 15:16:47 +01:00
background: $font_color;
}
2021-12-08 18:17:28 +01:00
}
2021-11-30 11:17:44 +01:00
2021-12-13 16:18:24 +01:00
.nav-button {
2021-12-09 11:21:41 +01:00
margin-top: 0;
margin-right: 1em;
2022-02-15 14:48:50 +01:00
line-height: $stepper-nav-height;
height: $stepper-nav-height;
2021-12-08 18:17:28 +01:00
display: inline-block;
2021-12-09 15:27:36 +01:00
padding-left: 1em;
2022-02-09 14:27:22 +01:00
&:nth-last-of-type(1) {
margin-right: 0;
}
2022-02-09 14:27:22 +01:00
2021-12-13 16:18:24 +01:00
&app-language-selector {
padding-top: 1rem;
}
}
2022-02-09 14:27:22 +01:00
2022-02-10 14:50:05 +01:00
#close_stepper {
border-radius: 3em;
2022-03-01 11:02:17 +01:00
2022-02-10 14:50:05 +01:00
.title {
margin-top: 2rem;
font-size: 24px;
color: $d-primary-intense;
2021-11-30 11:17:44 +01:00
}
2022-02-09 14:27:22 +01:00
2022-02-10 14:50:05 +01:00
.description {
color: $font_color;
font-size: 1rem;
line-height: 1.25rem;
}
2021-12-17 12:13:34 +01:00
}
2021-11-30 17:37:23 +01:00
2021-12-01 18:22:21 +01:00
.step-info {
padding: 16px 10px;
width: 100%;
display: block;
background: $white;
2021-12-09 15:27:36 +01:00
height: $header-nav-inner-height;
2022-02-09 14:27:22 +01:00
.columns {
padding-top: 0;
}
2022-03-01 11:02:17 +01:00
i {
margin-left: 1ch;
}
2021-12-01 18:22:21 +01:00
}
2021-12-08 18:17:28 +01:00
2021-11-30 18:30:18 +01:00
h2 {
2022-02-11 11:43:50 +01:00
margin-bottom: 0;
2021-11-30 18:30:18 +01:00
}
.step-counter-text {
2022-02-09 14:47:51 +01:00
color: $d-primary-intense;
font-size: 1rem;
line-height: 1.25rem;
2021-11-30 18:30:18 +01:00
font-weight: 600;
2022-02-09 14:47:51 +01:00
display: block;
float: left;
width: 100%;
2021-11-30 17:37:23 +01:00
}
2021-12-08 18:17:28 +01:00
2021-12-17 15:04:13 +01:00
.top {
height: 2rem;
}
2022-02-09 14:27:22 +01:00
2022-02-10 14:50:05 +01:00
.cancel-button-stepper {
padding: 0 1rem;
height: auto;
border-color: $primary_color;
color: $primary_color;
}
.cancel-button-confirm {
color: $white !important;
background: $primary_color;
margin-left: 1rem;
margin-top: 0.75rem;
border-color: $primary_color !important;
padding: 10px 30px;
}
.cancel-button-reject-bottom {
color: $primary_color !important;
border-color: $primary_color !important;
margin-top: 0.75rem;
padding: 10px 30px;
&:hover {
color: $white;
background: $primary_color;
}
}
2022-03-01 11:02:17 +01:00
2021-12-17 12:13:34 +01:00
.cancel-button-reject {
background: none;
2021-12-17 17:47:57 +01:00
color: $primary_color;
2021-12-17 15:04:13 +01:00
margin-right: -1rem;
2022-02-10 14:50:05 +01:00
float: right;
2022-03-01 11:02:17 +01:00
2022-02-10 14:50:05 +01:00
.icon {
margin-left: 1rem;
height: 1rem;
width: 1rem;
margin-top: 0.15rem;
float: right;
2021-12-17 15:04:13 +01:00
}
2021-12-17 12:13:34 +01:00
}
2021-11-16 16:23:32 +01:00
}
2021-12-13 16:18:24 +01:00
.lang-selector-icon {
margin-top: 0.5rem;
display: inline-block;
}
2021-12-13 18:30:25 +01:00
2022-02-09 14:27:22 +01:00
.logo-home-link {
padding: 0;
}
2021-12-13 18:30:25 +01:00
.stepper-app-logo {
2022-02-11 11:43:50 +01:00
max-width: $logo-side;
max-height: $logo-side;
2022-02-09 14:27:22 +01:00
height: $logo-side;
width: $logo-side;
2021-12-13 18:30:25 +01:00
display: inline-block;
margin-right: 1rem;
border-radius: 100%;
2022-03-01 11:02:17 +01:00
&:hover {
background: $d-primary;
}
2021-12-13 18:30:25 +01:00
}
2022-02-09 14:27:22 +01:00
2021-12-17 12:13:34 +01:00
#display_cancel_popup_button {
min-width: 7em; // to adapt other lang without making the nav move
2022-02-09 14:27:22 +01:00
z-index: 10;
2021-12-17 12:13:34 +01:00
}
2022-02-11 11:43:50 +01:00
.menu-button {
border: 0;
color: $primary_color;
2022-03-01 11:02:17 +01:00
2022-02-11 11:43:50 +01:00
img {
margin-left: 1ch;
float: right;
}
}
2022-03-01 11:02:17 +01:00
2022-02-11 11:43:50 +01:00
#mobile_menu {
2022-02-11 12:18:20 +01:00
top: -4px;
2022-02-11 11:43:50 +01:00
width: 100%;
background: #fff;
padding: 0.75rem;
height: 100vh;
2022-03-01 11:02:17 +01:00
2022-02-11 12:18:20 +01:00
.cancel-button-stepper {
padding: 1rem 2rem;
}
2022-02-11 11:43:50 +01:00
}