Skip to content

Commit a9a7320

Browse files
committed
Change folders
1 parent 7da92fa commit a9a7320

23 files changed

+336
-336
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
@use 'sass:math';
2+
$cardBorderColor: $gray-40;
3+
$cardBorderSize: 1px;
4+
$cardShadow: $shadowSmall;
5+
6+
$includeHtml: false !default;
7+
8+
@if ($includeHtml) {
9+
.sg-card {
10+
@include component();
11+
display: inline-flex;
12+
align-items: flex-start;
13+
flex-wrap: wrap;
14+
border-radius: var(--border-radius-xs);
15+
border: $cardBorderColor solid $cardBorderSize;
16+
overflow: hidden;
17+
background-color: $white;
18+
19+
&--transparent {
20+
background-color: transparent;
21+
}
22+
23+
&--full {
24+
width: 100%;
25+
26+
.sg-card__hole {
27+
width: 100%;
28+
}
29+
}
30+
31+
&--vertical {
32+
flex-direction: row;
33+
34+
.sg-card__hole {
35+
align-self: stretch;
36+
flex: 1;
37+
}
38+
}
39+
40+
&--with-shadow {
41+
box-shadow: $cardShadow;
42+
}
43+
44+
&--no-border {
45+
border: none;
46+
}
47+
48+
&--centered {
49+
.sg-card__hole {
50+
display: flex;
51+
flex-wrap: wrap;
52+
align-items: center;
53+
justify-content: center;
54+
}
55+
}
56+
57+
&--padding-small {
58+
.sg-card__hole {
59+
padding: gutter(math.div(2, 3));
60+
}
61+
}
62+
63+
&--padding-normal {
64+
.sg-card__hole {
65+
padding: gutter(1);
66+
}
67+
}
68+
69+
&--padding-large {
70+
.sg-card__hole {
71+
padding: gutter(math.div(4, 3));
72+
}
73+
}
74+
75+
&--padding-xlarge {
76+
.sg-card__hole {
77+
padding: gutter(math.div(8, 3));
78+
}
79+
}
80+
81+
&__hole {
82+
width: 100%;
83+
84+
&--blue-40 {
85+
background-color: $blue-40;
86+
}
87+
88+
&--blue-30 {
89+
background-color: $blue-30;
90+
}
91+
92+
&--blue-20 {
93+
background-color: $blue-20;
94+
}
95+
96+
&--indigo-40 {
97+
background-color: $indigo-40;
98+
}
99+
100+
&--indigo-30 {
101+
background-color: $indigo-30;
102+
}
103+
104+
&--indigo-20 {
105+
background-color: $indigo-20;
106+
}
107+
108+
&--green-40 {
109+
background-color: $green-40;
110+
}
111+
112+
&--green-30 {
113+
background-color: $green-30;
114+
}
115+
116+
&--green-20 {
117+
background-color: $green-20;
118+
}
119+
120+
&--yellow-40 {
121+
background-color: $yellow-40;
122+
}
123+
124+
&--yellow-30 {
125+
background-color: $yellow-30;
126+
}
127+
128+
&--yellow-20 {
129+
background-color: $yellow-20;
130+
}
131+
132+
&--gray-70 {
133+
background-color: $gray-70;
134+
}
135+
136+
&--gray-50 {
137+
background-color: $gray-50;
138+
}
139+
140+
&--gray-40 {
141+
background-color: $gray-40;
142+
}
143+
144+
&--gray-20 {
145+
background-color: $gray-20;
146+
}
147+
148+
&--gray-10 {
149+
background-color: $gray-10;
150+
}
151+
}
152+
}
153+
}
File renamed without changes.

0 commit comments

Comments
 (0)