2024-08-26 18:17:51 +00:00
|
|
|
// Allows for centering flash message for short and long, wrapped messages
|
|
|
|
|
.flash-message-container {
|
2021-06-18 18:54:50 +00:00
|
|
|
@include position(fixed);
|
|
|
|
|
top: 80px;
|
2024-08-26 18:17:51 +00:00
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
display: flex;
|
2025-02-28 13:45:33 +00:00
|
|
|
flex-direction: column;
|
|
|
|
|
gap: $pad-small;
|
2024-08-26 18:17:51 +00:00
|
|
|
justify-content: center;
|
2025-02-28 13:45:33 +00:00
|
|
|
align-items: center;
|
2024-08-26 18:17:51 +00:00
|
|
|
z-index: 999;
|
2024-10-16 18:22:03 +00:00
|
|
|
pointer-events: none;
|
2024-08-26 18:17:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.flash-message {
|
2019-01-03 20:46:55 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2021-07-08 17:55:26 +00:00
|
|
|
color: $core-white;
|
2021-06-25 15:55:47 +00:00
|
|
|
padding: $pad-small $pad-medium;
|
2021-09-28 20:30:36 +00:00
|
|
|
z-index: 999;
|
2021-07-08 17:55:26 +00:00
|
|
|
background-color: $core-vibrant-blue;
|
2023-01-05 15:23:27 +00:00
|
|
|
border: 1px solid $ui-fleet-black-10;
|
2021-06-18 18:54:50 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
box-shadow: 0px 7px 3px -5px rgba(25, 33, 71, 0.1);
|
|
|
|
|
border-radius: 8px;
|
2024-08-26 18:17:51 +00:00
|
|
|
max-width: calc(100% - 64px); // Same horizontal margin as .main-content
|
2024-10-16 18:22:03 +00:00
|
|
|
pointer-events: auto;
|
2016-12-29 20:27:43 +00:00
|
|
|
|
2016-11-03 19:40:54 +00:00
|
|
|
&--success {
|
2021-07-08 17:55:26 +00:00
|
|
|
background-color: $ui-success;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&--error {
|
2021-07-08 17:55:26 +00:00
|
|
|
background-color: $ui-error;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
2021-08-30 19:52:13 +00:00
|
|
|
&--warning-filled {
|
|
|
|
|
background-color: $ui-warning;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
font-size: $x-small;
|
|
|
|
|
color: $core-fleet-black;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-05 18:08:19 +00:00
|
|
|
&__content {
|
2021-06-25 15:55:47 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2016-11-03 19:40:54 +00:00
|
|
|
|
2017-01-05 18:08:19 +00:00
|
|
|
span {
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
margin-right: 15px;
|
2021-08-30 19:52:13 +00:00
|
|
|
font-size: $x-small;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
2021-06-07 01:56:30 +00:00
|
|
|
.fleeticon {
|
2021-06-07 19:48:52 +00:00
|
|
|
font-size: $small;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
2022-04-04 18:53:14 +00:00
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
}
|
2024-08-23 15:20:36 +00:00
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__undo {
|
2021-07-08 17:55:26 +00:00
|
|
|
color: $core-white;
|
2016-11-03 19:40:54 +00:00
|
|
|
cursor: pointer;
|
2021-04-30 21:32:50 +00:00
|
|
|
font-size: $small;
|
2017-01-05 18:08:19 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
|
text-transform: uppercase;
|
2021-06-25 15:55:47 +00:00
|
|
|
margin-right: 15px;
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
2017-01-05 18:08:19 +00:00
|
|
|
&__remove {
|
2021-06-25 15:55:47 +00:00
|
|
|
height: auto;
|
2017-01-05 18:08:19 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
2021-06-07 01:56:30 +00:00
|
|
|
.fleeticon {
|
2019-01-03 20:46:55 +00:00
|
|
|
transition: color 150ms ease-in-out;
|
2021-07-08 17:55:26 +00:00
|
|
|
color: $core-white;
|
2021-06-07 19:48:52 +00:00
|
|
|
font-size: $small;
|
2017-01-05 18:08:19 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-white;
|
2017-01-05 18:08:19 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-06-07 19:48:52 +00:00
|
|
|
|
|
|
|
|
&__ex {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
2021-06-25 15:55:47 +00:00
|
|
|
button {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2021-06-07 19:48:52 +00:00
|
|
|
}
|
|
|
|
|
}
|
2017-01-05 18:08:19 +00:00
|
|
|
}
|