-
Notifications
You must be signed in to change notification settings - Fork 76
/
_catalog-content.scss
48 lines (44 loc) · 1.03 KB
/
_catalog-content.scss
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
@import '~carbon-components/scss/globals/scss/vars';
@import '../../globals/vars';
.#{$iot-prefix}--sample-tile {
display: flex;
flex-flow: row nowrap;
align-items: center;
min-height: 6rem;
height: 100%;
overflow: hidden;
}
.#{$iot-prefix}--sample-tile-icon {
background-color: #dfe3e6;
height: 100px;
width: 100px;
min-height: 100px;
min-width: 100px;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.#{$iot-prefix}--sample-tile-title {
color: $link-01;
text-overflow: ellipsis;
white-space: nowrap;
overflow-x: hidden;
padding-bottom: 0.5rem;
max-width: calc(100vw - 20rem);
@media screen and (min-width: $two-pane) {
max-width: calc(100vw / 2 - 15rem);
}
@media screen and (min-width: $three-pane) {
max-width: calc(100vw / 3 - 15rem);
}
}
.#{$iot-prefix}--sample-tile-contents {
display: flex;
flex-flow: column nowrap;
padding: 0 $spacing-05;
align-self: flex-start;
}
.#{$iot-prefix}--sample-tile-description {
font-size: $typography-01;
}