@alfalab/core-components-gallery 7.1.8 → 7.1.9
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.
- package/components/bottom-button/index.css +5 -5
- package/components/bottom-button/index.module.css.js +1 -1
- package/components/buttons/index.css +5 -5
- package/components/buttons/index.module.css.js +1 -1
- package/components/header/index.css +1 -1
- package/components/header/index.module.css.js +1 -1
- package/components/header-info-block/index.css +4 -4
- package/components/header-info-block/index.module.css.js +1 -1
- package/components/header-mobile/index.css +6 -6
- package/components/header-mobile/index.module.css.js +1 -1
- package/components/image-preview/index.css +17 -17
- package/components/image-preview/index.module.css.js +1 -1
- package/components/image-viewer/index.css +148 -124
- package/components/image-viewer/index.module.css.js +1 -1
- package/components/image-viewer/index.module.css.js.map +1 -1
- package/components/image-viewer/video/index.css +7 -7
- package/components/image-viewer/video/index.module.css.js +1 -1
- package/components/info-bar/index.css +3 -3
- package/components/info-bar/index.module.css.js +1 -1
- package/components/navigation-bar/index.css +8 -8
- package/components/navigation-bar/index.module.css.js +1 -1
- package/components/subtitles/index.css +3 -3
- package/components/subtitles/index.module.css.js +1 -1
- package/cssm/components/image-viewer/index.module.css +147 -123
- package/esm/components/bottom-button/index.css +5 -5
- package/esm/components/bottom-button/index.module.css.js +1 -1
- package/esm/components/buttons/index.css +5 -5
- package/esm/components/buttons/index.module.css.js +1 -1
- package/esm/components/header/index.css +1 -1
- package/esm/components/header/index.module.css.js +1 -1
- package/esm/components/header-info-block/index.css +4 -4
- package/esm/components/header-info-block/index.module.css.js +1 -1
- package/esm/components/header-mobile/index.css +6 -6
- package/esm/components/header-mobile/index.module.css.js +1 -1
- package/esm/components/image-preview/index.css +17 -17
- package/esm/components/image-preview/index.module.css.js +1 -1
- package/esm/components/image-viewer/index.css +148 -124
- package/esm/components/image-viewer/index.module.css.js +1 -1
- package/esm/components/image-viewer/index.module.css.js.map +1 -1
- package/esm/components/image-viewer/video/index.css +7 -7
- package/esm/components/image-viewer/video/index.module.css.js +1 -1
- package/esm/components/info-bar/index.css +3 -3
- package/esm/components/info-bar/index.module.css.js +1 -1
- package/esm/components/navigation-bar/index.css +8 -8
- package/esm/components/navigation-bar/index.module.css.js +1 -1
- package/esm/components/subtitles/index.css +3 -3
- package/esm/components/subtitles/index.module.css.js +1 -1
- package/esm/index.css +9 -9
- package/esm/index.module.css.js +1 -1
- package/index.css +9 -9
- package/index.module.css.js +1 -1
- package/modern/components/bottom-button/index.css +5 -5
- package/modern/components/bottom-button/index.module.css.js +1 -1
- package/modern/components/buttons/index.css +5 -5
- package/modern/components/buttons/index.module.css.js +1 -1
- package/modern/components/header/index.css +1 -1
- package/modern/components/header/index.module.css.js +1 -1
- package/modern/components/header-info-block/index.css +4 -4
- package/modern/components/header-info-block/index.module.css.js +1 -1
- package/modern/components/header-mobile/index.css +6 -6
- package/modern/components/header-mobile/index.module.css.js +1 -1
- package/modern/components/image-preview/index.css +17 -17
- package/modern/components/image-preview/index.module.css.js +1 -1
- package/modern/components/image-viewer/index.css +148 -124
- package/modern/components/image-viewer/index.module.css.js +1 -1
- package/modern/components/image-viewer/index.module.css.js.map +1 -1
- package/modern/components/image-viewer/video/index.css +7 -7
- package/modern/components/image-viewer/video/index.module.css.js +1 -1
- package/modern/components/info-bar/index.css +3 -3
- package/modern/components/info-bar/index.module.css.js +1 -1
- package/modern/components/navigation-bar/index.css +8 -8
- package/modern/components/navigation-bar/index.module.css.js +1 -1
- package/modern/components/subtitles/index.css +3 -3
- package/modern/components/subtitles/index.module.css.js +1 -1
- package/modern/index.css +9 -9
- package/modern/index.module.css.js +1 -1
- package/moderncssm/components/image-viewer/index.module.css +125 -125
- package/package.json +10 -10
- package/src/components/image-viewer/index.module.css +120 -120
|
@@ -68,155 +68,155 @@
|
|
|
68
68
|
opacity: 0;
|
|
69
69
|
z-index: -1000;
|
|
70
70
|
}
|
|
71
|
-
}
|
|
72
71
|
|
|
73
|
-
.swiper {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
.swiper {
|
|
73
|
+
display: flex;
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 100%;
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
/* 168px - высота хэдера и футера */
|
|
78
|
+
max-height: calc(100vh - 168px);
|
|
79
|
+
padding: var(--gap-32) var(--gap-16);
|
|
80
|
+
box-sizing: border-box;
|
|
82
81
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
&.mobile {
|
|
83
|
+
max-height: calc(100vh - 210px);
|
|
84
|
+
}
|
|
86
85
|
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
&.mobileVideo {
|
|
87
|
+
max-height: 100vh;
|
|
88
|
+
}
|
|
89
89
|
}
|
|
90
|
-
}
|
|
91
90
|
|
|
92
|
-
.singleSlideContainer {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
91
|
+
.singleSlideContainer {
|
|
92
|
+
display: flex;
|
|
93
|
+
width: 100%;
|
|
94
|
+
height: 100%;
|
|
96
95
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
max-height: calc(100vh - 80px);
|
|
97
|
+
padding: var(--gap-32);
|
|
98
|
+
box-sizing: border-box;
|
|
100
99
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
&.mobile {
|
|
101
|
+
max-height: calc(100vh - 174px);
|
|
102
|
+
padding: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.mobileVideo {
|
|
106
|
+
max-height: 100vh;
|
|
107
|
+
}
|
|
104
108
|
}
|
|
105
109
|
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
.hidden {
|
|
111
|
+
display: none;
|
|
108
112
|
}
|
|
109
|
-
}
|
|
110
113
|
|
|
111
|
-
.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
.slide {
|
|
115
|
+
position: relative;
|
|
116
|
+
display: flex;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
align-items: center;
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: 100%;
|
|
121
|
+
}
|
|
114
122
|
|
|
115
|
-
.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
align-items: center;
|
|
120
|
-
width: 100%;
|
|
121
|
-
height: 100%;
|
|
122
|
-
}
|
|
123
|
+
.slideLoading {
|
|
124
|
+
background-color: var(--color-static-neutral-translucent-100-inverted);
|
|
125
|
+
border-radius: var(--border-radius-8);
|
|
126
|
+
}
|
|
123
127
|
|
|
124
|
-
.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
+
.spinner {
|
|
129
|
+
position: absolute;
|
|
130
|
+
color: var(--color-static-neutral-translucent-1300-inverted);
|
|
131
|
+
}
|
|
128
132
|
|
|
129
|
-
.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
.image {
|
|
134
|
+
width: 0;
|
|
135
|
+
height: 0;
|
|
136
|
+
user-select: none;
|
|
137
|
+
border-radius: var(--border-radius-8);
|
|
133
138
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
border-radius: var(--border-radius-8);
|
|
139
|
+
&.mobile {
|
|
140
|
+
border-radius: var(--border-radius-0);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
139
143
|
|
|
140
|
-
|
|
141
|
-
|
|
144
|
+
.smallImage {
|
|
145
|
+
position: relative;
|
|
146
|
+
width: auto;
|
|
147
|
+
height: auto;
|
|
148
|
+
user-select: none;
|
|
142
149
|
}
|
|
143
|
-
}
|
|
144
150
|
|
|
145
|
-
.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
user-select: none;
|
|
150
|
-
}
|
|
151
|
+
.verticalImageFit {
|
|
152
|
+
width: auto;
|
|
153
|
+
height: 100%;
|
|
154
|
+
}
|
|
151
155
|
|
|
152
|
-
.
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
+
.horizontalImageFit {
|
|
157
|
+
width: 100%;
|
|
158
|
+
height: auto;
|
|
159
|
+
}
|
|
156
160
|
|
|
157
|
-
.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
.arrow {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
justify-content: center;
|
|
165
|
+
align-items: center;
|
|
166
|
+
flex-shrink: 0;
|
|
167
|
+
width: 96px;
|
|
168
|
+
height: 100%;
|
|
169
|
+
cursor: pointer;
|
|
170
|
+
color: var(--color-static-neutral-translucent-1300-inverted);
|
|
171
|
+
transition: background-color 0.15s ease-in-out;
|
|
172
|
+
outline: none;
|
|
161
173
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
justify-content: center;
|
|
166
|
-
align-items: center;
|
|
167
|
-
flex-shrink: 0;
|
|
168
|
-
width: 96px;
|
|
169
|
-
height: 100%;
|
|
170
|
-
cursor: pointer;
|
|
171
|
-
color: var(--color-static-neutral-translucent-1300-inverted);
|
|
172
|
-
transition: background-color 0.15s ease-in-out;
|
|
173
|
-
outline: none;
|
|
174
|
+
&:hover {
|
|
175
|
+
background-color: var(--color-static-neutral-0-inverted-hover);
|
|
176
|
+
}
|
|
174
177
|
|
|
175
|
-
|
|
176
|
-
|
|
178
|
+
&:active {
|
|
179
|
+
background-color: var(--color-static-neutral-0-inverted-press);
|
|
180
|
+
}
|
|
177
181
|
}
|
|
178
182
|
|
|
179
|
-
|
|
180
|
-
|
|
183
|
+
.focused {
|
|
184
|
+
@mixin focus-outline;
|
|
181
185
|
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.focused {
|
|
185
|
-
@mixin focus-outline;
|
|
186
|
-
}
|
|
187
186
|
|
|
188
|
-
.placeholder {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
187
|
+
.placeholder {
|
|
188
|
+
display: flex;
|
|
189
|
+
justify-content: center;
|
|
190
|
+
align-items: center;
|
|
191
|
+
width: 100%;
|
|
192
|
+
height: 100%;
|
|
193
|
+
border-radius: var(--border-radius-8);
|
|
194
|
+
background-color: var(--color-static-neutral-300-inverted);
|
|
195
|
+
}
|
|
197
196
|
|
|
198
|
-
.brokenImgWrapper {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
197
|
+
.brokenImgWrapper {
|
|
198
|
+
position: relative;
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-direction: column;
|
|
201
|
+
align-items: center;
|
|
202
|
+
width: 150px;
|
|
203
|
+
text-align: center;
|
|
204
|
+
}
|
|
206
205
|
|
|
207
|
-
.brokenImgIcon {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
206
|
+
.brokenImgIcon {
|
|
207
|
+
width: 80px;
|
|
208
|
+
height: 80px;
|
|
209
|
+
margin-bottom: var(--gap-4);
|
|
210
|
+
}
|
|
212
211
|
|
|
213
|
-
.fullScreenImage {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
212
|
+
.fullScreenImage {
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: auto;
|
|
215
|
+
background-color: var(--color-light-base-bg-primary);
|
|
216
|
+
}
|
|
218
217
|
|
|
219
|
-
.fullScreenVideo {
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
.fullScreenVideo {
|
|
219
|
+
width: calc(100% - 192px);
|
|
220
|
+
max-height: calc(100vh - 82px);
|
|
221
|
+
}
|
|
222
222
|
}
|