-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path_grid.scss
More file actions
84 lines (70 loc) · 1.17 KB
/
_grid.scss
File metadata and controls
84 lines (70 loc) · 1.17 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
@use "../../variables" as *;
// Grid : rows and columns.
.cld-row {
margin: 0;
clear: both;
display: flex;
&.align {
&-center {
align-items: center;
}
}
@media only screen and (max-width: $size-small) {
flex-direction: column-reverse;
}
}
.cld-column {
width: 100%;
box-sizing: border-box;
padding: 0 0 0 $size-padding-column;
&.column-min-w-50,
&.column-video_settings {
min-width: 50%;
}
@media only screen and (min-width: $size-small) {
&.column-45 {
width: 45%;
}
&.column-55 {
width: 55%;
}
&:last-child{
padding-right: $size-padding-column;
}
}
@media only screen and (max-width: $size-small) {
min-width: 100%;
.cld-info-text {
text-align: center;
}
}
@media only screen and (max-width: $size-large) {
&.tabbed-content {
display: none;
&.is-active {
display: block;
}
}
}
& &{
padding: 0;
margin-right: 16px;
&:last-child{
margin-left: auto;
margin-right: 0;
}
}
}
.cld-center {
&-column {
&.cld-info-text {
padding-left: 2em;
font-weight: bolder;
font-size: $size-panel-title;
.description {
font-size: $size-panel-subtitle;
padding-top: 8px;
}
}
}
}