/css -> /sass
This commit is contained in:
parent
a9d3e14b66
commit
383f0223e7
30 changed files with 574 additions and 550 deletions
|
|
@ -1,41 +0,0 @@
|
|||
.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;
|
||||
}
|
||||
Loading…
Reference in a new issue