ros.grant.common 2.0.1129 → 2.0.1132

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.
Binary file
@@ -5,7 +5,6 @@
5
5
 
6
6
  &.small-size {
7
7
  .tabs-underline_tabs__item {
8
-
9
8
  a,
10
9
  span {
11
10
  font-size: 14px;
@@ -37,10 +36,8 @@
37
36
  }
38
37
 
39
38
  &.active {
40
-
41
39
  a,
42
40
  span {
43
- font-weight: bold;
44
41
  color: var(--Main2);
45
42
  }
46
43
 
@@ -225,7 +225,7 @@
225
225
  line-height: 120%;
226
226
  cursor: pointer;
227
227
  padding: 7px 10px;
228
- margin: 2px 3.5px;
228
+ margin: 4px;
229
229
  position: relative;
230
230
 
231
231
  @media screen and (max-width: 768px) {
@@ -1,59 +1,14 @@
1
1
  .employee-panel {
2
+ border-top: 1px solid var(--Stroke);
3
+
2
4
  &__item {
3
5
  margin-bottom: 16px;
4
- box-shadow: 0px 2px 10px rgba(58, 58, 58, 0.1);
5
-
6
- &_header {
7
- display: flex;
8
- align-items: center;
9
- justify-content: space-between;
10
- min-height: 48px;
11
- font-weight: 600;
12
- font-size: 18px;
13
- line-height: 160%;
14
- padding: 5px 24px;
15
- border-bottom: 1px solid var(--Stroke);
16
- cursor: pointer;
17
-
18
- span {
19
- width: 20px;
20
- height: 20px;
21
- display: flex;
22
- align-items: center;
23
- justify-content: center;
24
- line-height: 0;
25
- transition: 0.2s;
26
- }
27
-
28
- &.is-open {
29
- span {
30
- transform: rotate(180deg);
31
- }
32
- }
33
- }
34
6
 
35
7
  &_body {
36
- padding: 24px;
37
- padding-bottom: 0;
38
-
39
- &_item {
40
- margin: 0 -24px;
41
-
42
- @media (max-width: 991px) {
43
- margin: 0 -20px;
44
- }
45
-
46
- @media (max-width: 768px) {
47
- margin: 0 -16px;
48
- }
49
-
50
- &.gray {
8
+ &_item {
9
+ &.disabled{
51
10
  background: var(--Bg1);
52
- }
53
-
54
- &.accent {
55
- background: var(--Bg2);
56
- }
11
+ }
57
12
 
58
13
  .header {
59
14
  display: flex;
@@ -61,11 +16,11 @@
61
16
  justify-content: space-between;
62
17
  font-weight: 600;
63
18
  font-size: 14px;
64
- padding: 2px 24px;
19
+ padding: 2px 8px;
65
20
  min-height: 48px;
66
21
  margin-bottom: 16px;
67
- border-top: 1px solid var(--Stroke);
68
- border-bottom: 1px solid var(--Stroke);
22
+ border-top: 1px solid var(--Bg1);
23
+ border-bottom: 1px solid var(--Bg1);
69
24
 
70
25
  .tag {
71
26
  font-weight: normal;
@@ -77,52 +32,52 @@
77
32
  color: var(--Main2);
78
33
  padding: 12px 9px;
79
34
  }
80
- }
35
+ }
81
36
 
82
37
  &.good {
83
38
  .body {
84
39
  &:after {
40
+ background: var(--Green);
85
41
  content: '';
86
42
  position: absolute;
87
- top: -63px;
88
- left: 0;
89
- height: calc(~'100% + 78px');
43
+ top: -64px;
44
+ left: -8px;
45
+ height: calc(100% + 65px);
90
46
  width: 8px;
91
- background: var(--Green);
92
47
  }
93
- }
48
+ }
94
49
  }
95
50
 
96
51
  &.normal {
97
52
  .body {
98
53
  &:after {
54
+ background: var(--Yellow);
99
55
  content: '';
100
56
  position: absolute;
101
- top: -63px;
102
- left: 0;
103
- height: calc(~'100% + 78px');
57
+ top: -64px;
58
+ left: -8px;
59
+ height: calc(100% + 65px);
104
60
  width: 8px;
105
- background: var(--Yellow);
106
61
  }
107
- }
62
+ }
108
63
  }
109
64
 
110
65
  &.bad {
111
66
  .body {
112
67
  &:after {
68
+ background: var(--Red);
113
69
  content: '';
114
70
  position: absolute;
115
- top: -63px;
116
- left: 0;
117
- height: calc(~'100% + 78px');
71
+ top: -64px;
72
+ left: -8px;
73
+ height: calc(100% + 65px);
118
74
  width: 8px;
119
- background: var(--Red);
120
75
  }
121
76
  }
122
77
  }
123
78
 
124
79
  .body {
125
- padding: 0 24px;
80
+ padding: 8px;
126
81
  position: relative;
127
82
  }
128
83
  }
@@ -132,8 +87,9 @@
132
87
  display: flex;
133
88
  align-items: center;
134
89
  justify-content: space-between;
135
- padding: 8px 24px;
136
- border-top: 1px solid var(--Stroke);
90
+ padding: 12px 8px;
91
+ border-bottom: 1px solid var(--Bg1);
92
+ border-top: 1px solid var(--Bg1);
137
93
 
138
94
  div {
139
95
  display: flex;
@@ -206,59 +162,16 @@
206
162
  stroke: #fff;
207
163
  }
208
164
  }
209
- }
210
-
211
- .select {
212
- display: flex;
213
- align-items: center;
214
- justify-content: space-between;
215
- width: 100%;
216
-
217
- &.open {
218
- .select__body {
219
- display: block;
220
- }
221
- }
222
-
223
- .trigger {
224
- display: flex;
225
- align-items: center;
226
- cursor: pointer;
227
-
228
- span {
229
- margin-right: 10px;
230
- }
231
- }
232
-
233
- &__body {
234
- position: absolute;
235
- width: 100%;
236
- top: calc(~'100% + 5px');
237
- left: 0;
238
- background: #fff;
239
- box-shadow: 0px 8px 16px rgba(59, 67, 87, 0.0978475),
240
- 0px 0px 1px rgba(10, 31, 68, 0.08);
241
- border-radius: 4px;
242
- z-index: 3;
243
-
244
- &_item {
245
- min-height: 48px;
246
- padding: 5px 16px;
247
- color: #000;
248
- display: flex;
249
- align-items: center;
250
- border-bottom: 1px solid var(--Stroke);
251
- cursor: pointer;
252
-
253
- &:last-child {
254
- border-bottom: none;
255
- }
256
- }
257
- }
258
- }
165
+ }
259
166
  }
260
167
  }
261
168
 
169
+ &__contacts-item{
170
+ &.selected, &:hover{
171
+ background: var(--Bg2);
172
+ }
173
+ }
174
+
262
175
  .contacts {
263
176
  background: var(--Bg1);
264
177
  box-shadow: inset 0px 1px 1px rgba(57, 52, 66, 0.05);
@@ -370,16 +283,8 @@
370
283
  &_body {
371
284
  display: none;
372
285
  padding: 16px;
373
- border-top: 1px solid var(--Stroke);
374
- }
375
-
376
- &.gray {
377
- background: var(--Disabled);
378
- }
379
-
380
- &.accent {
381
- background: var(--Bg2);
382
- }
286
+ border-top: 1px solid var(--Stroke);
287
+ }
383
288
  }
384
289
  }
385
290
 
@@ -412,46 +317,7 @@
412
317
  }
413
318
  }
414
319
 
415
- label {
416
- font-size: 14px;
417
- margin-bottom: 8px;
418
- display: block;
419
-
420
- &.gray {
421
- color: var(--Secondary);
422
- }
423
- }
424
-
425
320
  p {
426
- font-size: 14px;
427
- line-height: 16px;
428
- margin-bottom: 16px;
429
-
430
- span {
431
- font-weight: bold;
432
-
433
- &.green {
434
- color: var(--Green);
435
- }
436
-
437
- &.yellow {
438
- color: var(--Yellow);
439
- }
440
-
441
- &.red {
442
- color: var(--Red);
443
- }
444
- }
445
-
446
- &.small {
447
- font-size: 12px;
448
- font-weight: normal;
449
- }
450
-
451
- &.gray {
452
- color: var(--Secondary);
453
- }
454
-
455
321
  &.balls {
456
322
  position: relative;
457
323
  padding-left: 24px;
@@ -489,11 +355,6 @@
489
355
  }
490
356
  }
491
357
 
492
- .line {
493
- border-bottom: 1px solid var(--Stroke);
494
- margin-bottom: 16px;
495
- }
496
-
497
358
  .file {
498
359
  display: flex;
499
360
  align-items: center;
@@ -524,11 +385,40 @@
524
385
  }
525
386
  }
526
387
 
527
- .in-border {
528
- border-top: 1px solid var(--Stroke);
529
- border-bottom: 1px solid var(--Stroke);
530
- padding: 12px 0;
531
- margin-bottom: 10px;
388
+ .select {
389
+ &__body {
390
+ position: absolute;
391
+ width: 100%;
392
+ top: calc(~'100% + 5px');
393
+ left: 0;
394
+ background: #fff;
395
+ box-shadow: 0px 8px 16px rgba(59, 67, 87, 0.0978475),
396
+ 0px 0px 1px rgba(10, 31, 68, 0.08);
397
+ border-radius: 4px;
398
+ z-index: 3;
399
+
400
+ &_item {
401
+ min-height: 40px;
402
+ padding: 5px 10px;
403
+ color: #000;
404
+ display: flex;
405
+ align-items: center;
406
+ border-bottom: 1px solid var(--Stroke);
407
+ cursor: pointer;
408
+
409
+ &:last-child {
410
+ border-bottom: none;
411
+ }
412
+ }
413
+ }
414
+ }
415
+
416
+ .border-bottom{
417
+ border-bottom: 1px solid var(--Bg1);
418
+ }
419
+
420
+ .border-top{
421
+ border-top: 1px solid var(--Bg1);
532
422
  }
533
423
  }
534
424
 
@@ -537,7 +427,6 @@
537
427
  top: 0;
538
428
  right: 0;
539
429
  height: 100vh;
540
- padding: 16px 24px;
541
430
  max-width: 600px;
542
431
  width: 100%;
543
432
  overflow-y: auto;
@@ -548,87 +437,6 @@
548
437
  transform: translateX(100%);
549
438
  box-shadow: -4px 0px 10px rgba(57, 52, 66, 0.15);
550
439
 
551
- @media (max-width: 991px) {
552
- padding: 16px 20px;
553
- }
554
-
555
- @media (max-width: 768px) {
556
- padding: 16px;
557
- }
558
-
559
- .title {
560
- display: block;
561
- margin-bottom: 16px;
562
- }
563
-
564
- .close {
565
- position: absolute;
566
- top: 25px;
567
- right: 24px;
568
- cursor: pointer;
569
- opacity: 1;
570
- }
571
-
572
- .no-indent {
573
- margin: 0 -24px;
574
-
575
- @media (max-width: 991px) {
576
- margin: 0 -20px;
577
- }
578
-
579
- @media (max-width: 768px) {
580
- margin: 0 -16px;
581
- }
582
- }
583
-
584
- &-menu {
585
- background: #fff;
586
- box-shadow: 0px 2px 10px rgba(58, 58, 58, 0.1);
587
- padding: 0 16px;
588
- margin: 0 -24px;
589
- margin-bottom: 16px;
590
- min-height: 48px;
591
- display: flex;
592
- overflow-x: auto;
593
- overflow-y: hidden;
594
- z-index: 1;
595
-
596
- &.stiky {
597
- position: sticky;
598
- top: -16px;
599
- }
600
-
601
- &__item {
602
- display: flex;
603
- align-items: center;
604
- justify-content: center;
605
- text-align: center;
606
- margin: 0 8px;
607
- color: var(--Main1);
608
- position: relative;
609
-
610
- &:after {
611
- content: '';
612
- height: 2px;
613
- width: 100%;
614
- background: var(--Main2);
615
- position: absolute;
616
- bottom: 0;
617
- transform: scaleX(0);
618
- transition: 0.2s;
619
- }
620
-
621
- &.active {
622
- color: var(--Main2);
623
- font-weight: 600;
624
-
625
- &:after {
626
- transform: scaleX(1);
627
- }
628
- }
629
- }
630
- }
631
-
632
440
  &-visible {
633
441
  overflow: hidden;
634
442
 
@@ -1,65 +1,63 @@
1
- body {
2
- .page-wrapper {
3
- .myrtex-ui-link {
4
- font-family: 'PT Sans', sans-serif;
5
- font-style: normal;
6
- font-weight: 400;
7
- font-size: 14px;
8
- line-height: 143%;
9
- // подчеркивание
10
- text-decoration: none;
11
- background-image: linear-gradient(transparent, transparent);
12
- background-repeat: no-repeat;
13
- background-size: 100% 0;
14
- background-position: 0 100%;
15
- transition: .2s;
16
-
17
- //Primary-link
18
- &-primary {
19
- color: var(--myrtex-ui-primary-link);
20
-
21
- &:hover {
22
- color: var(--myrtex-ui-primary-link-hover);
23
- text-decoration: underline;
24
- }
25
-
26
- &:visited {
27
- color: var(--myrtex-ui-primary-link-visited);
28
- }
1
+ .page-wrapper {
2
+ .myrtex-ui-link {
3
+ font-family: 'PT Sans', sans-serif;
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ font-size: 14px;
7
+ line-height: 143%;
8
+ // подчеркивание
9
+ text-decoration: none;
10
+ background-image: linear-gradient(transparent, transparent);
11
+ background-repeat: no-repeat;
12
+ background-size: 100% 0;
13
+ background-position: 0 100%;
14
+ transition: .2s;
15
+
16
+ //Primary-link
17
+ &-primary {
18
+ color: var(--myrtex-ui-primary-link);
19
+
20
+ &:hover {
21
+ color: var(--myrtex-ui-primary-link-hover);
22
+ text-decoration: underline;
29
23
  }
30
-
31
- //System-nav-link
32
- &-nav {
33
- color: var(--Main2);
34
-
35
- &:hover {
36
- background-size: 100% 1px;
37
- background-image: linear-gradient(var(--Main2) 0, var(--Main2) 100%);
38
- }
39
-
40
- //System-nav-link-monochrome
41
- &-monochrome {
42
- color: var(--Main1);
43
- background-size: 100% 1px;
44
- background-image: linear-gradient(var(--Stroke) 0, var(--Stroke) 100%);
45
-
46
- &:hover {
47
- background-image: linear-gradient(var(--Main1) 0, var(--Main1) 100%);
48
- }
49
- }
24
+
25
+ &:visited {
26
+ color: var(--myrtex-ui-primary-link-visited);
27
+ }
28
+ }
29
+
30
+ //System-nav-link
31
+ &-nav {
32
+ color: var(--Main2);
33
+
34
+ &:hover {
35
+ background-size: 100% 1px;
36
+ background-image: linear-gradient(var(--Main2) 0, var(--Main2) 100%);
50
37
  }
51
-
52
- //Pseudo-link
53
- &-pseudo {
54
- color: var(--Main2);
55
- background-size: 10px 1px;
56
- background-image: linear-gradient(90deg, var(--Stroke) 0%, var(--Stroke) 33%, transparent 33%, transparent 66%, var(--Stroke) 66%, var(--Stroke) 100%);
57
- background-repeat: repeat-x;
58
-
38
+
39
+ //System-nav-link-monochrome
40
+ &-monochrome {
41
+ color: var(--Main1);
42
+ background-size: 100% 1px;
43
+ background-image: linear-gradient(var(--Stroke) 0, var(--Stroke) 100%);
44
+
59
45
  &:hover {
60
- background-image: linear-gradient(90deg, var(--Main2) 0%, var(--Main2) 33%, transparent 33%, transparent 66%, var(--Main2) 66%, var(--Main2) 100%);
46
+ background-image: linear-gradient(var(--Main1) 0, var(--Main1) 100%);
61
47
  }
62
48
  }
63
49
  }
50
+
51
+ //Pseudo-link
52
+ &-pseudo {
53
+ color: var(--Main2);
54
+ background-size: 10px 1px;
55
+ background-image: linear-gradient(90deg, var(--Stroke) 0%, var(--Stroke) 33%, transparent 33%, transparent 66%, var(--Stroke) 66%, var(--Stroke) 100%);
56
+ background-repeat: repeat-x;
57
+
58
+ &:hover {
59
+ background-image: linear-gradient(90deg, var(--Main2) 0%, var(--Main2) 33%, transparent 33%, transparent 66%, var(--Main2) 66%, var(--Main2) 100%);
60
+ }
61
+ }
64
62
  }
65
63
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1129",
2
+ "version": "2.0.1132",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "description": "Collection of static files used by RosGrant awesome team",