mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 17:28:54 +00:00
bcfac603f0
* added storybook * added avatar component * added button story * added dropdown button story * removed unused ellipsis component * cleaned up modal path * reorganized enroll secrets table file * added flash story; removed unused persistent flash * added fleet ace story * added checkbox story * added dropdown story * added input story * fixed storybook build * fixed avatar * added input with icon story * added radio button story * added select targets dropdown story * added slider story * added tooltip story * added info banner story * removed unused loaders; added spinner story * added modal story * removed unused NumberPill * added pagination story * lint fixes * added documentation to run * modified documentation * fixed corelayout test * fixed format for date-fns * fixed date format that breaks tests * wait for page
119 lines
1.9 KiB
SCSS
119 lines
1.9 KiB
SCSS
.wrapper {
|
|
> div {
|
|
&.flash-message {
|
|
height: 50px;
|
|
min-height: 50px;
|
|
max-height: 50px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.flash-message {
|
|
@include position(fixed);
|
|
top: 80px;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: $core-white;
|
|
padding: $pad-small $pad-medium;
|
|
z-index: 999;
|
|
background-color: $core-vibrant-blue;
|
|
margin: auto;
|
|
border: 1px solid $ui-fleet-blue-15;
|
|
box-sizing: border-box;
|
|
box-shadow: 0px 7px 3px -5px rgba(25, 33, 71, 0.1);
|
|
border-radius: 8px;
|
|
|
|
&--success {
|
|
background-color: $ui-success;
|
|
.fleeticon {
|
|
color: $core-white;
|
|
}
|
|
}
|
|
|
|
&--error {
|
|
background-color: $ui-error;
|
|
.fleeticon {
|
|
color: $core-white;
|
|
}
|
|
}
|
|
|
|
&--warning-filled {
|
|
background-color: $ui-warning;
|
|
.fleeticon {
|
|
color: $core-fleet-black;
|
|
}
|
|
|
|
a {
|
|
font-size: $x-small;
|
|
color: $core-vibrant-blue;
|
|
font-weight: $bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
span {
|
|
margin-left: 15px;
|
|
margin-right: 15px;
|
|
font-size: $x-small;
|
|
color: $core-fleet-black;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
&__content {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
span {
|
|
margin-left: 15px;
|
|
margin-right: 15px;
|
|
font-size: $x-small;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fleeticon {
|
|
font-size: $small;
|
|
}
|
|
}
|
|
|
|
&__undo {
|
|
color: $core-white;
|
|
cursor: pointer;
|
|
font-size: $small;
|
|
text-decoration: underline;
|
|
text-transform: uppercase;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
&__remove {
|
|
height: auto;
|
|
cursor: pointer;
|
|
|
|
.fleeticon {
|
|
transition: color 150ms ease-in-out;
|
|
color: $core-white;
|
|
font-size: $small;
|
|
|
|
&:hover {
|
|
color: $core-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__ex {
|
|
text-decoration: none;
|
|
|
|
button {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
img {
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|