sfc-utils 1.3.65 → 1.3.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@
3
3
 
4
4
  :root {
5
5
  --img-bottom-padding-ratio: "56.25%";
6
+ --img-height-viewport: "56.25vw";
6
7
  }
7
8
 
8
9
  .c-force-aspect-ratio {
@@ -30,6 +31,39 @@
30
31
  }
31
32
  }
32
33
 
34
+ .c-img-slideshow-side-by-side {
35
+ object-fit: cover;
36
+ width: 100%;
37
+ height: calc(50vw * 2/3);
38
+ padding: @s16;
39
+
40
+ @media (max-width: @lg) {
41
+ height: calc(100vw*2/3);
42
+ }
43
+ }
44
+
45
+ .c-img-slideshow-side-by-side-portrait {
46
+ object-fit: cover;
47
+ width: 100%;
48
+ height: calc(90vh);
49
+ min-width: 400px;
50
+ min-height: 600px;
51
+ padding: @s16;
52
+
53
+ @media (max-width: @lg) {
54
+ height: calc(90vh - 37px);
55
+ width: calc(90vh*2/3);
56
+ min-height: unset;
57
+ min-width: unset;
58
+ }
59
+
60
+ @media @mobile {
61
+ width: 90vw;
62
+ height: calc(90vw*3/2);
63
+ padding: 0;
64
+ }
65
+ }
66
+
33
67
  .c-img {
34
68
  display: block;
35
69
  position: relative;
@@ -50,6 +84,41 @@
50
84
  }
51
85
  }
52
86
 
87
+ .c-container-side-by-side {
88
+ height: 100%;
89
+ }
90
+
91
+ .c-img-side-by-side {
92
+ object-fit: cover;
93
+ width: 50vw;
94
+ height: var(--img-height-viewport);
95
+
96
+ @media (max-width: @lg) {
97
+ width: 100vw;
98
+ height: calc(100vw*2/3);
99
+ }
100
+ }
101
+
102
+ .c-container-side-by-side-portrait {
103
+ float: left;
104
+ height: 100%;
105
+ }
106
+
107
+ .c-img-side-by-side-portrait {
108
+ object-fit: cover;
109
+ width: calc(90vh * 2/3);
110
+ height: 100%;
111
+ min-width: 400px;
112
+ min-height: 600px;
113
+
114
+ @media (max-width: @lg) {
115
+ width: 100vw;
116
+ height: auto;
117
+ min-height: unset;
118
+ min-width: unset;
119
+ }
120
+ }
121
+
53
122
  .c-fig-hidden-when-desktop {
54
123
  display: none;
55
124
 
@@ -57,4 +126,20 @@
57
126
  display: block;
58
127
  padding-left: @s8;
59
128
  }
129
+ }
130
+
131
+ .c-large-padding-left {
132
+ padding: @s16 @s8 @s16 @s32;
133
+
134
+ @media (max-width: @lg) {
135
+ padding: @s16;
136
+ }
137
+ }
138
+
139
+ .c-large-padding-right {
140
+ padding: @s16 @s32 @s16 @s8;
141
+
142
+ @media (max-width: @lg) {
143
+ padding: @s16;
144
+ }
60
145
  }