fleet/frontend/components/StackedWhiteBoxes/_styles.scss
noahtalerman c2700ee5c6
Align Fleet UI colors with Figma components (#615)
- This if the 1st PR as part of the of the Align components in Fleet UI with design system in Figma #539
- These changes replace all the color variables in /styles/var/colors.scss with new colors and naming convention used in Figma.
2021-04-09 12:04:11 -07:00

68 lines
1.1 KiB
SCSS

.stacked-white-boxes {
@include position(absolute, null null null 50%);
transition: opacity 300ms ease-in;
margin: 40px 0 0 -262px;
width: 516px;
&--loading {
opacity: 0;
}
&--loaded {
opacity: 1;
}
&--leaving {
opacity: 0;
}
&__box {
background-color: $core-white;
border-radius: 10px;
min-height: 360px;
box-sizing: border-box;
padding: 40px;
font-weight: 300;
&-text {
color: $core-fleet-black;
font-size: $small;
margin: 40px 0 24px;
}
}
&__header {
width: 100%;
&-text {
font-size: $large;
font-weight: 300;
color: $core-fleet-black;
line-height: 32px;
margin-top: 0;
margin-bottom: 0;
}
}
&__back {
text-align: right;
width: 100%;
&-link {
transition: color 150ms ease-in-out;
color: $core-fleet-blue;
text-decoration: none;
position: absolute;
top: 10px;
right: 15px;
cursor: pointer;
font-weight: bold;
font-size: 30px;
&:hover {
color: $core-vibrant-blue;
}
}
}
}