@morozeckiy/dd-lib 0.9.8 → 0.9.10

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.
@@ -1,402 +1,402 @@
1
- @use '../scss/mixins' as *;
2
- @use '../scss/fonts' as *;
3
- @use '../scss/vars' as *;
4
- @use '../scss/grid' as *;
5
-
6
- html {
7
- font-family: 'ALS_Sirius', Roboto, Helvetica, Arial, san-serif, serif; /* 1 */
8
- -ms-text-size-adjust: 100%; /* 2 */
9
- -webkit-text-size-adjust: 100%; /* 2 */
10
- }
11
-
12
- .root-container {
13
- min-height: calc(100vh - var(--header-height));
14
- //overflow: hidden; //выпадашка поиска в подписка гор воды закатывается под футер
15
- }
16
-
17
- .main-width {
18
- width: 100%;
19
- max-width: var(--main-body-width);
20
- margin: 0 auto;
21
- }
22
-
23
- .g-container {
24
- max-width: var(--main-body-width);
25
- margin: 0 auto;
26
-
27
- @include below($mini-desktop) {
28
- padding-left: var(--side-padding);
29
- padding-right: var(--side-padding);
30
- }
31
-
32
- @include below($mobile) {
33
- padding-left: var(--side-padding-mobile);
34
- padding-right: var(--side-padding-mobile);
35
- }
36
- }
37
-
38
- .g-overlay {
39
- position: fixed;
40
- top: 0;
41
- left: 0;
42
- z-index: 1000;
43
- width: 100%;
44
- height: 100%;
45
- background: #251c2cb2;
46
- backdrop-filter: blur(10px);
47
- -webkit-backdrop-filter: blur(10px);
48
- }
49
-
50
- .g-table {
51
- border: 1px solid var(--gray-color-200);
52
- border-radius: 24px;
53
- overflow: hidden;
54
-
55
- @include below($tablet) {
56
- border: none;
57
- border-radius: 0;
58
- }
59
-
60
- &__body {
61
- overflow: auto;
62
- }
63
-
64
- &__header,
65
- &__item {
66
- display: flex;
67
- padding: 12px 20px;
68
- font-size: 14px;
69
- line-height: 24px;
70
- color: var(--light-black-color);
71
-
72
- &:not(:last-child) {
73
- border-bottom: 1px solid var(--gray-color-200);
74
-
75
- @include below($tablet) {
76
- margin-bottom: 16px;
77
- }
78
- }
79
-
80
- @include below($tablet) {
81
- position: relative;
82
- display: block;
83
- padding: 16px;
84
- border-radius: 24px;
85
- border: 1px solid var(--disabled-bgc);
86
- background-color: var(--gray-color-300);
87
- }
88
- }
89
-
90
- &__header {
91
- color: var(--second-gray-color);
92
- background-color: var(--gray-bgc-2);
93
- }
94
-
95
- &__cell {
96
- &.numb {
97
- width: 5%;
98
-
99
- @include below($tablet) {
100
- display: inline-flex;
101
- margin-bottom: 8px;
102
- padding: 0 8px;
103
- border-radius: 10px;
104
- width: auto;
105
- height: 32px;
106
- line-height: 32px;
107
- background-color: var(--disabled-color);
108
- color: var(--white-color);
109
- }
110
- }
111
- }
112
- }
113
-
114
- .half-width {
115
- width: 50%;
116
- }
117
-
118
-
119
- .full-width {
120
- width: 100%;
121
- }
122
-
123
- .full-height {
124
- height: 100%;
125
- }
126
-
127
- .full-size {
128
- height: 100%;
129
- width: 100%;
130
- }
131
-
132
- .pos-relative {
133
- position: relative;
134
- }
135
-
136
- .pos-absolute {
137
- position: absolute;
138
- }
139
-
140
- .d-block {
141
- display: block;
142
- }
143
-
144
- .d-inline-flex {
145
- display: inline-flex;
146
- }
147
-
148
- .d-flex {
149
- display: flex;
150
-
151
- &.f-1 {
152
- flex: 1;
153
- }
154
- }
155
-
156
- .d-grid {
157
- display: grid;
158
- }
159
-
160
- .flex-column {
161
- display: flex;
162
- flex-direction: column;
163
- }
164
-
165
- .flex-gap-column {
166
- display: flex;
167
- flex-direction: column;
168
- gap: 8px;
169
- }
170
-
171
- .align-center {
172
- align-items: center;
173
- }
174
-
175
- .align-start {
176
- align-items: flex-start;
177
- }
178
-
179
- .align-end {
180
- align-items: flex-end;
181
- }
182
-
183
- .justify-between {
184
- justify-content: space-between;
185
- }
186
-
187
- .justify-end {
188
- justify-content: flex-end;
189
- }
190
-
191
- .justify-start {
192
- justify-content: flex-start;
193
- }
194
-
195
- .justify-around {
196
- justify-content: space-around;
197
- }
198
-
199
- .justify-center {
200
- justify-content: center;
201
- }
202
-
203
- .flex-wrap {
204
- flex-wrap: wrap;
205
- }
206
-
207
- .fixed {
208
- position: fixed;
209
- }
210
-
211
- ::-webkit-scrollbar {
212
- width: 4px;
213
- margin-bottom: 15px;
214
- }
215
-
216
- ::-webkit-scrollbar-track {
217
- background-color: var(--input-gray-bgc);
218
- margin-bottom: 15px;
219
- }
220
-
221
- ::-webkit-scrollbar-thumb {
222
- background-color: rgba(130, 129, 129, 0.47);
223
- border-radius: 20px;
224
- }
225
-
226
- .gray-svg {
227
- filter: contrast(0);
228
- }
229
-
230
- .opacity-3 {
231
- opacity: 0.3;
232
- }
233
-
234
- .black-svg {
235
- svg path {
236
- stroke: var(--light-black-color);
237
- }
238
- }
239
-
240
- .disabled {
241
- pointer-events: none;
242
- cursor: auto;
243
- }
244
-
245
- .bg-center,
246
- .bg-contain,
247
- .bg-cover {
248
- background-repeat: no-repeat;
249
- background-position: center;
250
- }
251
-
252
- .bg-contain {
253
- background-size: contain;
254
- }
255
-
256
- .bg-cover {
257
- background-size: cover;
258
- }
259
-
260
- .empty-photo {
261
- background: url('../images/svg/user-empty.svg') no-repeat center;
262
- width: 100px;
263
- height: 100px;
264
- }
265
-
266
- .photo-img {
267
- width: 100%;
268
- height: 100%;
269
- border-radius: 50%;
270
- object-fit: cover;
271
- }
272
-
273
- .cdk-overlay-pane {
274
- &.right {
275
- margin-left: 8px;
276
- }
277
-
278
- &.left {
279
- margin-right: 8px;
280
- }
281
-
282
- &.top {
283
- margin-bottom: 16px;
284
- }
285
-
286
- &.bottom {
287
- margin-top: 16px;
288
- }
289
-
290
- &.toast-top {
291
- margin-top: -20px;
292
- }
293
- }
294
-
295
- .column-tablet {
296
- @include below($tablet) {
297
- flex-direction: column;
298
- align-items: baseline;
299
- }
300
- }
301
-
302
- .show-tablet {
303
- display: none !important;
304
-
305
- @include below($tablet) {
306
- display: block !important;
307
- }
308
- }
309
-
310
- .column-mobile {
311
- @include below($mobile) {
312
- flex-direction: column;
313
- align-items: baseline;
314
- }
315
- }
316
-
317
- .show-mobile {
318
- display: none !important;
319
-
320
- @include below($mobile) {
321
- display: block !important;
322
- }
323
- }
324
-
325
- .tablet-flex {
326
- @include below($tablet) {
327
- display: flex !important;
328
- }
329
- }
330
-
331
- .mobile-flex {
332
- @include below($mobile) {
333
- display: flex !important;
334
- }
335
- }
336
-
337
- .hide-tablet {
338
- @include below($tablet) {
339
- display: none !important;
340
- }
341
- }
342
-
343
- .hide-mobile {
344
- @include below($mobile) {
345
- display: none !important;
346
- }
347
- }
348
-
349
- .cup {
350
- cursor: pointer;
351
- }
352
-
353
- .dd-default-table {
354
- border-radius: 24px;
355
- border: 1px solid var(--shared-bgc);
356
- overflow: auto;
357
-
358
- &__header {
359
- padding: 12px 20px;
360
- display: flex;
361
- background-color: var(--gray-bgc-2);
362
- color: var(--second-gray-color);
363
- font-size: 14px;
364
- font-weight: 400;
365
- line-height: 24px;
366
- text-align: left;
367
- }
368
-
369
- &__item {
370
- padding: 12px 20px;
371
- display: flex;
372
- }
373
- }
374
-
375
- .dd-default-table-cell {
376
- &:nth-child(1) {
377
- width: 5%;
378
- }
379
-
380
- &:nth-child(2) {
381
- width: 35%;
382
- }
383
-
384
- &:nth-child(3) {
385
- width: 30%;
386
- }
387
-
388
- &:nth-child(4) {
389
- width: 30%;
390
- }
391
- }
392
-
393
- @include offsets('');
394
- @include grid('', $col-count);
395
-
396
- @include below($tablet) {
397
- @include offsets('t-');
398
- }
399
-
400
- @include below($mobile) {
401
- @include offsets('m-');
402
- }
1
+ @use '../scss/mixins' as *;
2
+ @use '../scss/fonts' as *;
3
+ @use '../scss/vars' as *;
4
+ @use '../scss/grid' as *;
5
+
6
+ html {
7
+ font-family: 'ALS_Sirius', Roboto, Helvetica, Arial, san-serif, serif; /* 1 */
8
+ -ms-text-size-adjust: 100%; /* 2 */
9
+ -webkit-text-size-adjust: 100%; /* 2 */
10
+ }
11
+
12
+ .root-container {
13
+ min-height: calc(100vh - var(--header-height));
14
+ //overflow: hidden; //выпадашка поиска в подписка гор воды закатывается под футер
15
+ }
16
+
17
+ .main-width {
18
+ width: 100%;
19
+ max-width: var(--main-body-width);
20
+ margin: 0 auto;
21
+ }
22
+
23
+ .g-container {
24
+ max-width: var(--main-body-width);
25
+ margin: 0 auto;
26
+
27
+ @include below($mini-desktop) {
28
+ padding-left: var(--side-padding);
29
+ padding-right: var(--side-padding);
30
+ }
31
+
32
+ @include below($mobile) {
33
+ padding-left: var(--side-padding-mobile);
34
+ padding-right: var(--side-padding-mobile);
35
+ }
36
+ }
37
+
38
+ .g-overlay {
39
+ position: fixed;
40
+ top: 0;
41
+ left: 0;
42
+ z-index: 1000;
43
+ width: 100%;
44
+ height: 100%;
45
+ background: #251c2cb2;
46
+ backdrop-filter: blur(10px);
47
+ -webkit-backdrop-filter: blur(10px);
48
+ }
49
+
50
+ .g-table {
51
+ border: 1px solid var(--gray-color-200);
52
+ border-radius: 24px;
53
+ overflow: hidden;
54
+
55
+ @include below($tablet) {
56
+ border: none;
57
+ border-radius: 0;
58
+ }
59
+
60
+ &__body {
61
+ overflow: auto;
62
+ }
63
+
64
+ &__header,
65
+ &__item {
66
+ display: flex;
67
+ padding: 12px 20px;
68
+ font-size: 14px;
69
+ line-height: 24px;
70
+ color: var(--light-black-color);
71
+
72
+ &:not(:last-child) {
73
+ border-bottom: 1px solid var(--gray-color-200);
74
+
75
+ @include below($tablet) {
76
+ margin-bottom: 16px;
77
+ }
78
+ }
79
+
80
+ @include below($tablet) {
81
+ position: relative;
82
+ display: block;
83
+ padding: 16px;
84
+ border-radius: 24px;
85
+ border: 1px solid var(--disabled-bgc);
86
+ background-color: var(--gray-color-300);
87
+ }
88
+ }
89
+
90
+ &__header {
91
+ color: var(--second-gray-color);
92
+ background-color: var(--gray-bgc-2);
93
+ }
94
+
95
+ &__cell {
96
+ &.numb {
97
+ width: 5%;
98
+
99
+ @include below($tablet) {
100
+ display: inline-flex;
101
+ margin-bottom: 8px;
102
+ padding: 0 8px;
103
+ border-radius: 10px;
104
+ width: auto;
105
+ height: 32px;
106
+ line-height: 32px;
107
+ background-color: var(--disabled-color);
108
+ color: var(--white-color);
109
+ }
110
+ }
111
+ }
112
+ }
113
+
114
+ .half-width {
115
+ width: 50%;
116
+ }
117
+
118
+
119
+ .full-width {
120
+ width: 100%;
121
+ }
122
+
123
+ .full-height {
124
+ height: 100%;
125
+ }
126
+
127
+ .full-size {
128
+ height: 100%;
129
+ width: 100%;
130
+ }
131
+
132
+ .pos-relative {
133
+ position: relative;
134
+ }
135
+
136
+ .pos-absolute {
137
+ position: absolute;
138
+ }
139
+
140
+ .d-block {
141
+ display: block;
142
+ }
143
+
144
+ .d-inline-flex {
145
+ display: inline-flex;
146
+ }
147
+
148
+ .d-flex {
149
+ display: flex;
150
+
151
+ &.f-1 {
152
+ flex: 1;
153
+ }
154
+ }
155
+
156
+ .d-grid {
157
+ display: grid;
158
+ }
159
+
160
+ .flex-column {
161
+ display: flex;
162
+ flex-direction: column;
163
+ }
164
+
165
+ .flex-gap-column {
166
+ display: flex;
167
+ flex-direction: column;
168
+ gap: 8px;
169
+ }
170
+
171
+ .align-center {
172
+ align-items: center;
173
+ }
174
+
175
+ .align-start {
176
+ align-items: flex-start;
177
+ }
178
+
179
+ .align-end {
180
+ align-items: flex-end;
181
+ }
182
+
183
+ .justify-between {
184
+ justify-content: space-between;
185
+ }
186
+
187
+ .justify-end {
188
+ justify-content: flex-end;
189
+ }
190
+
191
+ .justify-start {
192
+ justify-content: flex-start;
193
+ }
194
+
195
+ .justify-around {
196
+ justify-content: space-around;
197
+ }
198
+
199
+ .justify-center {
200
+ justify-content: center;
201
+ }
202
+
203
+ .flex-wrap {
204
+ flex-wrap: wrap;
205
+ }
206
+
207
+ .fixed {
208
+ position: fixed;
209
+ }
210
+
211
+ ::-webkit-scrollbar {
212
+ width: 4px;
213
+ margin-bottom: 15px;
214
+ }
215
+
216
+ ::-webkit-scrollbar-track {
217
+ background-color: var(--input-gray-bgc);
218
+ margin-bottom: 15px;
219
+ }
220
+
221
+ ::-webkit-scrollbar-thumb {
222
+ background-color: rgba(130, 129, 129, 0.47);
223
+ border-radius: 20px;
224
+ }
225
+
226
+ .gray-svg {
227
+ filter: contrast(0);
228
+ }
229
+
230
+ .opacity-3 {
231
+ opacity: 0.3;
232
+ }
233
+
234
+ .black-svg {
235
+ svg path {
236
+ stroke: var(--light-black-color);
237
+ }
238
+ }
239
+
240
+ .disabled {
241
+ pointer-events: none;
242
+ cursor: auto;
243
+ }
244
+
245
+ .bg-center,
246
+ .bg-contain,
247
+ .bg-cover {
248
+ background-repeat: no-repeat;
249
+ background-position: center;
250
+ }
251
+
252
+ .bg-contain {
253
+ background-size: contain;
254
+ }
255
+
256
+ .bg-cover {
257
+ background-size: cover;
258
+ }
259
+
260
+ .empty-photo {
261
+ background: url('../images/svg/user-empty.svg') no-repeat center;
262
+ width: 100px;
263
+ height: 100px;
264
+ }
265
+
266
+ .photo-img {
267
+ width: 100%;
268
+ height: 100%;
269
+ border-radius: 50%;
270
+ object-fit: cover;
271
+ }
272
+
273
+ .cdk-overlay-pane {
274
+ &.right {
275
+ margin-left: 8px;
276
+ }
277
+
278
+ &.left {
279
+ margin-right: 8px;
280
+ }
281
+
282
+ &.top {
283
+ margin-bottom: 16px;
284
+ }
285
+
286
+ &.bottom {
287
+ margin-top: 16px;
288
+ }
289
+
290
+ &.toast-top {
291
+ margin-top: -20px;
292
+ }
293
+ }
294
+
295
+ .column-tablet {
296
+ @include below($tablet) {
297
+ flex-direction: column;
298
+ align-items: baseline;
299
+ }
300
+ }
301
+
302
+ .show-tablet {
303
+ display: none !important;
304
+
305
+ @include below($tablet) {
306
+ display: block !important;
307
+ }
308
+ }
309
+
310
+ .column-mobile {
311
+ @include below($mobile) {
312
+ flex-direction: column;
313
+ align-items: baseline;
314
+ }
315
+ }
316
+
317
+ .show-mobile {
318
+ display: none !important;
319
+
320
+ @include below($mobile) {
321
+ display: block !important;
322
+ }
323
+ }
324
+
325
+ .tablet-flex {
326
+ @include below($tablet) {
327
+ display: flex !important;
328
+ }
329
+ }
330
+
331
+ .mobile-flex {
332
+ @include below($mobile) {
333
+ display: flex !important;
334
+ }
335
+ }
336
+
337
+ .hide-tablet {
338
+ @include below($tablet) {
339
+ display: none !important;
340
+ }
341
+ }
342
+
343
+ .hide-mobile {
344
+ @include below($mobile) {
345
+ display: none !important;
346
+ }
347
+ }
348
+
349
+ .cup {
350
+ cursor: pointer;
351
+ }
352
+
353
+ .dd-default-table {
354
+ border-radius: 24px;
355
+ border: 1px solid var(--shared-bgc);
356
+ overflow: auto;
357
+
358
+ &__header {
359
+ padding: 12px 20px;
360
+ display: flex;
361
+ background-color: var(--gray-bgc-2);
362
+ color: var(--second-gray-color);
363
+ font-size: 14px;
364
+ font-weight: 400;
365
+ line-height: 24px;
366
+ text-align: left;
367
+ }
368
+
369
+ &__item {
370
+ padding: 12px 20px;
371
+ display: flex;
372
+ }
373
+ }
374
+
375
+ .dd-default-table-cell {
376
+ &:nth-child(1) {
377
+ width: 5%;
378
+ }
379
+
380
+ &:nth-child(2) {
381
+ width: 35%;
382
+ }
383
+
384
+ &:nth-child(3) {
385
+ width: 30%;
386
+ }
387
+
388
+ &:nth-child(4) {
389
+ width: 30%;
390
+ }
391
+ }
392
+
393
+ @include offsets('');
394
+ @include grid('', $col-count);
395
+
396
+ @include below($tablet) {
397
+ @include offsets('t-');
398
+ }
399
+
400
+ @include below($mobile) {
401
+ @include offsets('m-');
402
+ }