41 lines
833 B
SCSS
41 lines
833 B
SCSS
.color-demo {
|
|
cursor: pointer;
|
|
text-align: center;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
|
|
transition: all ease-in-out 150ms;
|
|
|
|
&.red {
|
|
background-color: $red;
|
|
box-shadow: 0px 0px 10px 0px rgba(darken($red, 10%), 0.5);
|
|
}
|
|
Ø &.blue {
|
|
background-color: $cyan;
|
|
box-shadow: 0px 0px 10px 0px rgba(darken($cyan, 10%), 0.5);
|
|
}
|
|
|
|
&.green {
|
|
background-color: $green;
|
|
box-shadow: 0px 0px 10px 0px rgba(darken($green, 10%), 0.5);
|
|
}
|
|
|
|
&.bg {
|
|
background-color: $background;
|
|
}
|
|
|
|
&.fg {
|
|
background-color: $foreground;
|
|
color: $background;
|
|
box-shadow: 0px 0px 10px 0px rgba($foreground, 0.5);
|
|
}
|
|
|
|
&:hover {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
.display-mode-icon {
|
|
font-size: 1.4rem;
|
|
text-align: center;
|
|
}
|