-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_foundation-showcase.scss
More file actions
122 lines (100 loc) · 2.75 KB
/
_foundation-showcase.scss
File metadata and controls
122 lines (100 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/* ==========================================================================
#FOUNDATION SHOWCASE
========================================================================== */
.app-foundation-showcase__table-wrap {
margin-bottom: ofh-spacing(6);
overflow-x: auto;
}
.app-foundation-showcase__caption {
margin-bottom: ofh-spacing(3);
}
.app-foundation-showcase__table {
min-width: 680px;
code {
white-space: nowrap;
}
}
.app-foundation-showcase__row-heading {
min-width: 140px;
}
.app-foundation-showcase__preview-cell {
min-width: 240px;
}
.app-foundation-showcase__preview {
display: block;
margin-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
margin-top: 0 !important; /* stylelint-disable-line declaration-no-important */
}
.app-foundation-showcase__preview--html > * {
margin-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
margin-top: 0 !important; /* stylelint-disable-line declaration-no-important */
}
.app-foundation-showcase__preview--icon {
align-items: center;
display: inline-flex;
}
.app-foundation-showcase__inline-list {
display: inline-block;
padding-left: 20px;
}
.app-foundation-showcase__spacing-bars {
align-items: flex-end;
display: flex;
gap: ofh-spacing(2);
min-height: 72px;
}
.app-foundation-showcase__spacing-bar {
border-radius: 999px;
display: inline-block;
min-height: 2px;
width: 14px;
}
.app-foundation-showcase__spacing-bar--mobile {
background-color: $ofh-color-brand-blue-royal-3-main;
}
.app-foundation-showcase__spacing-bar--tablet {
background-color: $ofh-color-brand-blue-aqua-2;
}
.app-foundation-showcase__spacing-bar--desktop {
background-color: $ofh-color-brand-green-teal-2;
}
.app-foundation-showcase__width-track {
background-color: $ofh-color-background-neutral-grey;
border-radius: $ofh-radius-24;
max-width: 320px;
min-width: 180px;
overflow: hidden;
}
.app-foundation-showcase__width-fill {
background: linear-gradient(
90deg,
$ofh-color-brand-blue-royal-2 0%,
$ofh-color-brand-blue-aqua-2 100%
);
display: block;
height: ofh-spacing(5);
}
.app-foundation-showcase__colour-group + .app-foundation-showcase__colour-group {
margin-top: ofh-spacing(7);
}
.app-foundation-showcase__cards {
display: grid;
gap: ofh-spacing(5);
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
list-style: none;
margin: 0;
padding: 0;
}
.app-foundation-showcase__card {
background-color: $ofh-color-background-neutral-grey;
border: 1px solid $ofh-color-border-primary;
border-radius: $ofh-radius-16;
height: 100%;
padding: ofh-spacing(5);
}
.app-foundation-showcase__card-title {
margin-bottom: ofh-spacing(3);
}
.app-foundation-showcase__card-summary {
margin-bottom: 0;
}