feat: new paint job
This commit is contained in:
parent
320e8e7589
commit
88361c95bf
2 changed files with 36 additions and 10 deletions
|
@ -77,13 +77,22 @@ export default {
|
||||||
align-content: center;
|
align-content: center;
|
||||||
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border: 0.25em solid $bg-color-warning;
|
border: 0.25em solid $sebin-secondary;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|
||||||
z-index: 9002;
|
z-index: 9002;
|
||||||
|
|
||||||
background-color: $bg-color-dark;
|
@include theme(light) {
|
||||||
|
@include radial-background($bg-color-light, $bg-color-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
@include theme(dark) {
|
||||||
|
@include radial-background(
|
||||||
|
darken($bg-color-light, 20%),
|
||||||
|
darken($bg-color-dark, 5%)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
flex: 0 1 100%;
|
flex: 0 1 100%;
|
||||||
|
@ -103,11 +112,11 @@ export default {
|
||||||
margin: 0.75em 0;
|
margin: 0.75em 0;
|
||||||
|
|
||||||
&.positive {
|
&.positive {
|
||||||
@include button($btn-color-positive);
|
@include button(darken($sebin-eyes, 10%));
|
||||||
}
|
}
|
||||||
|
|
||||||
&.negative {
|
&.negative {
|
||||||
@include button($btn-color-negative);
|
@include button(darken($bg-color-lighter, 20%));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -25,12 +25,34 @@ export default {
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "@/scss/_variables.scss";
|
@import "@/scss/_variables.scss";
|
||||||
|
@import "@/scss/_mixins.scss";
|
||||||
|
|
||||||
.quickfacts {
|
.quickfacts {
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
box-shadow: 0.125em 0.125em 0.5em rgba(#000, 0.7);
|
||||||
|
|
||||||
|
background: radial-gradient(
|
||||||
|
circle at bottom right,
|
||||||
|
$bg-color-lighter 5%,
|
||||||
|
transparent 50%
|
||||||
|
),
|
||||||
|
radial-gradient(circle at top left, $bg-color-light 5%, $bg-color-dark 100%);
|
||||||
|
|
||||||
|
@include theme(dark) {
|
||||||
|
background: radial-gradient(
|
||||||
|
circle at bottom right,
|
||||||
|
darken($bg-color-lighter, 30%) 5%,
|
||||||
|
transparent 50%
|
||||||
|
),
|
||||||
|
radial-gradient(
|
||||||
|
circle at top left,
|
||||||
|
darken($bg-color-light, 10%) 5%,
|
||||||
|
darken($bg-color-dark, 10%) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -55,18 +77,14 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.open & {
|
&.open & {
|
||||||
&__head {
|
|
||||||
background-color: $bg-color-light;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__list {
|
&__list {
|
||||||
max-height: 25em;
|
max-height: 25em;
|
||||||
|
border-top: 0.125em solid $sebin-secondary;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__head {
|
&__head {
|
||||||
background-color: $bg-color-dark;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0.75rem 1.5rem;
|
padding: 0.75rem 1.5rem;
|
||||||
|
@ -75,7 +93,6 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
&__list {
|
&__list {
|
||||||
background-color: rgba($bg-color-dark, 0.5);
|
|
||||||
max-height: 0em;
|
max-height: 0em;
|
||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
transition: 0.3s all ease-in-out;
|
transition: 0.3s all ease-in-out;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue