Preview: http://dashboards.webkom.co/react/airframe
This commit is contained in:
Tomasz Owczarczyk
2019-08-15 00:54:44 +02:00
parent f975443095
commit 37092d1d6c
626 changed files with 56691 additions and 0 deletions

52
app/components/Card/Card.scss Executable file
View File

@@ -0,0 +1,52 @@
@import "../../styles/variables";
.custom-card {
&--border-dash,
&--border-dot,
&--border {
@each $name, $color in $dashboard-colors {
&.custom-card--color-#{$name} {
border-color: $color
}
}
}
&--side-border {
border-left-width: 2px;
@each $name, $color in $dashboard-colors {
&.custom-card--color-#{$name} {
border-left-color: $color
}
}
}
&--background {
color: map-get($dashboard-colors, 'white');
@each $name, $color in $dashboard-colors {
&.custom-card--color-#{$name} {
background-color: $color;
}
}
}
&--border-dash {
border-style: dashed;
border-width: 2px;
}
&--border-dot {
border-style: dotted;
border-width: 2px;
}
&--shadow {
box-shadow: 0 1px 2px 0 rgba(31, 45, 61, 0.07);
}
&--none {
border: none;
background: none;
}
}