ros.grant.common 2.0.1072 → 2.0.1073

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
@@ -14,7 +14,7 @@ $(document).ready(function () {
14
14
  const WIDGET_OPENED_TRIGGER_WORD = 'Свернуть';
15
15
  const REPORTS_MICROSERVICE_PATH = '/reports/';
16
16
  const REPORTS_MICROSERVICE_TIMEOUT_BEFORE_INIT_IN_MS = 3000;
17
- const ARROW_SVG = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 14L12 10L16 14" stroke="#3A3A3A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>';
17
+ const ARROW_SVG = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="#282828" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>';
18
18
 
19
19
  worker.init = function () {
20
20
  if (!window.location.href.includes(REPORTS_MICROSERVICE_PATH)) {
@@ -4,6 +4,7 @@
4
4
  background: #fff;
5
5
  margin-bottom: 12px;
6
6
  font-size: 14px;
7
+ line-height: 20px;
7
8
 
8
9
  &.open {
9
10
  .widget__content {
@@ -49,12 +50,12 @@
49
50
  }
50
51
 
51
52
  &__header {
52
- padding: 8px 24px;
53
+ padding: 16px 24px;
53
54
  cursor: pointer;
54
55
  position: relative;
55
56
 
56
- @media screen and (max-width: 991px) {
57
- padding: 8px 10px;
57
+ @media screen and (max-width: 768px) {
58
+ padding: 16px;
58
59
  }
59
60
 
60
61
  .trigger {
@@ -78,7 +79,7 @@
78
79
  justify-content: center;
79
80
  font-weight: bold;
80
81
  font-size: 14px;
81
- line-height: 16px;
82
+ line-height: 20px;
82
83
  font-family: 'PT Sans Caption', sans-serif;
83
84
 
84
85
  svg {
@@ -132,7 +133,7 @@
132
133
  }
133
134
 
134
135
  &_item {
135
- padding: 10px 0px;
136
+ padding: 12px 0px;
136
137
  border-bottom: 1px solid var(--Stroke);
137
138
  display: flex;
138
139
  align-items: center;
@@ -160,15 +161,7 @@
160
161
  }
161
162
 
162
163
  &:nth-child(2n+2) {
163
- padding-left: 24px;
164
-
165
- @media screen and (max-width: 991px) {
166
- padding-left: 16px;
167
- }
168
-
169
- @media screen and (max-width: 768px) {
170
- padding-left: 10px;
171
- }
164
+ padding-left: 12px;
172
165
  }
173
166
 
174
167
  &:nth-child(1),
@@ -284,8 +277,8 @@
284
277
  }
285
278
 
286
279
  .contact {
287
- line-height: 1;
288
- font-size: 12px;
280
+ line-height: 20px;
281
+ font-size: 14px;
289
282
 
290
283
  .widget__content_item {
291
284
  padding: 16px 0;
@@ -334,7 +327,7 @@
334
327
  }
335
328
 
336
329
  &-phone {
337
- width: 190px;
330
+ width: 200px;
338
331
  }
339
332
 
340
333
  .gray {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1072",
2
+ "version": "2.0.1073",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "description": "Collection of static files used by RosGrant awesome team",