ros.grant.common 2.0.1073 → 2.0.1077

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/GulpTasks/less.js CHANGED
@@ -15,6 +15,8 @@ module.exports = function (gulp, paths) {
15
15
  var excludeClientProjectPath = `!../RosGrant.${serviceNameWithCaptical}.Client/node_modules/**/*.less`;
16
16
 
17
17
  var stream = gulp.src([paths.nodeModules + 'slick-carousel/slick/slick.less',
18
+ paths.nodeModules + '@ng-select/ng-select/themes/default.theme.css',
19
+ paths.nodeModules + 'ngx-toastr/toastr.css',
18
20
  paths.nodeModules + 'pickmeup/css/pickmeup.css',
19
21
  paths.nodeModules + 'chosen-js/chosen.css',
20
22
  paths.nodeModules + 'fine-uploader/fine-uploader/fine-uploader-gallery.css',
@@ -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="M6 9L12 15L18 9" stroke="#282828" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>';
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>';
18
18
 
19
19
  worker.init = function () {
20
20
  if (!window.location.href.includes(REPORTS_MICROSERVICE_PATH)) {
@@ -4,7 +4,6 @@
4
4
  background: #fff;
5
5
  margin-bottom: 12px;
6
6
  font-size: 14px;
7
- line-height: 20px;
8
7
 
9
8
  &.open {
10
9
  .widget__content {
@@ -50,12 +49,12 @@
50
49
  }
51
50
 
52
51
  &__header {
53
- padding: 16px 24px;
52
+ padding: 8px 24px;
54
53
  cursor: pointer;
55
54
  position: relative;
56
55
 
57
- @media screen and (max-width: 768px) {
58
- padding: 16px;
56
+ @media screen and (max-width: 991px) {
57
+ padding: 8px 10px;
59
58
  }
60
59
 
61
60
  .trigger {
@@ -79,7 +78,7 @@
79
78
  justify-content: center;
80
79
  font-weight: bold;
81
80
  font-size: 14px;
82
- line-height: 20px;
81
+ line-height: 16px;
83
82
  font-family: 'PT Sans Caption', sans-serif;
84
83
 
85
84
  svg {
@@ -133,7 +132,7 @@
133
132
  }
134
133
 
135
134
  &_item {
136
- padding: 12px 0px;
135
+ padding: 10px 0px;
137
136
  border-bottom: 1px solid var(--Stroke);
138
137
  display: flex;
139
138
  align-items: center;
@@ -161,7 +160,15 @@
161
160
  }
162
161
 
163
162
  &:nth-child(2n+2) {
164
- padding-left: 12px;
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
+ }
165
172
  }
166
173
 
167
174
  &:nth-child(1),
@@ -277,8 +284,8 @@
277
284
  }
278
285
 
279
286
  .contact {
280
- line-height: 20px;
281
- font-size: 14px;
287
+ line-height: 1;
288
+ font-size: 12px;
282
289
 
283
290
  .widget__content_item {
284
291
  padding: 16px 0;
@@ -327,7 +334,7 @@
327
334
  }
328
335
 
329
336
  &-phone {
330
- width: 200px;
337
+ width: 190px;
331
338
  }
332
339
 
333
340
  .gray {
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
- "version": "2.0.1073",
2
+ "version": "2.0.1077",
3
3
  "name": "ros.grant.common",
4
4
  "private": false,
5
5
  "description": "Collection of static files used by RosGrant awesome team",
6
6
  "dependencies": {
7
7
  "@babel/core": "^7.8.4",
8
8
  "@babel/preset-env": "^7.8.4",
9
+ "@ng-select/ng-select": "^8.1.1",
9
10
  "@types/jquery": "^3.3.33",
10
11
  "autosize": "^4.0.2",
11
12
  "babel-core": "^6.26.3",
@@ -39,6 +40,7 @@
39
40
  "jquery-validation-unobtrusive": "^3.2.11",
40
41
  "less": "^3.11.1",
41
42
  "moment": "^2.24.0",
43
+ "ngx-toastr": "^13.1.0",
42
44
  "notifyjs-browser": "^0.4.2",
43
45
  "nouislider": "^14.5.0",
44
46
  "npm-check-updates": "^4.0.2",