@vitrosoftware/common-ui-ts 1.1.102 → 1.1.104

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.
Files changed (61) hide show
  1. package/css/std/common.css +0 -15
  2. package/css/std/controls/action-handler/confirm-dialog.css +6 -0
  3. package/css/std/controls/activity-item/activity-item.css +0 -6
  4. package/css/std/controls/activity-item/activity-message.css +1 -1
  5. package/css/std/controls/activity-item/attached-file-list.css +51 -0
  6. package/css/std/controls/dialog/dialog.css +5 -5
  7. package/css/std/controls/file/file.css +94 -0
  8. package/css/std/controls/file/img/file-button-context.svg +6 -0
  9. package/css/std/controls/file-version-select/file-version-select.css +1 -0
  10. package/css/std/controls/heading/heading.css +7 -0
  11. package/css/std/controls/image-viewer/image-viewer.css +83 -0
  12. package/css/std/controls/image-viewer/img/context-button-white.svg +5 -0
  13. package/css/std/controls/image-viewer/img/image-viewer-close.svg +3 -0
  14. package/css/std/controls/image-viewer/page.css +19 -0
  15. package/css/std/controls/linear-progress/linear-progress.css +40 -0
  16. package/css/std/controls/message-input/attached-file.css +26 -0
  17. package/css/std/controls/message-input/img/attached-file-remove.svg +4 -0
  18. package/css/std/controls/message-input/message-input.css +42 -15
  19. package/css/std/controls/pdf-viewer/pdf-viewer-index.css +1 -1
  20. package/css/std/controls/pdf-viewer/viewer.css +1 -1
  21. package/css/std/controls/product-title/product-title.css +1 -0
  22. package/css/std/controls/scroll-view/img/scroll-view-next.svg +4 -0
  23. package/css/std/controls/scroll-view/img/scroll-view-prev.svg +4 -0
  24. package/css/std/controls/scroll-view/scroll-view.css +28 -0
  25. package/css/std/controls/tab-group/tab-group.css +13 -3
  26. package/css/std/controls/table-view/treegrid.css +20 -0
  27. package/dist/index.css +429 -49
  28. package/dist/index.js +615 -207
  29. package/dist/index.js.map +1 -1
  30. package/dist/src/controls/ActivityItem/ActivityMessage.d.ts +8 -0
  31. package/dist/src/controls/ActivityItem/AttachedFileList.d.ts +12 -0
  32. package/dist/src/controls/ActivityItem/AttachedFileListItem.d.ts +9 -0
  33. package/dist/src/controls/ActivityItem/ChangedValue.d.ts +1 -1
  34. package/dist/src/controls/Dialog/Dialog.d.ts +1 -0
  35. package/dist/src/controls/DropdownButton/DropdownButton.d.ts +1 -0
  36. package/dist/src/controls/File/File.d.ts +15 -0
  37. package/dist/src/controls/ImageViewer/ImageItem.d.ts +5 -0
  38. package/dist/src/controls/ImageViewer/ImageViewer.d.ts +9 -0
  39. package/dist/src/controls/ImageViewer/ImageViewerRef.d.ts +5 -0
  40. package/dist/src/controls/ImageViewer/Page.d.ts +7 -0
  41. package/dist/src/controls/LinearProgress/LinearProgress.d.ts +6 -0
  42. package/dist/src/controls/MessageInput/AttachedFile.d.ts +10 -0
  43. package/dist/src/controls/MessageInput/MessageInput.d.ts +5 -2
  44. package/dist/src/controls/MessageInput/MessageInputConstants.d.ts +3 -1
  45. package/dist/src/controls/ScrollView/ScrollView.d.ts +10 -0
  46. package/dist/src/controls/ScrollView/ScrollViewItem.d.ts +7 -0
  47. package/dist/src/controls/Sidebar/GroupItem.d.ts +1 -0
  48. package/dist/src/controls/Sidebar/LinkItem.d.ts +1 -0
  49. package/dist/src/controls/Sidebar/Section.d.ts +1 -0
  50. package/dist/src/controls/Sidebar/SectionList.d.ts +1 -0
  51. package/dist/src/controls/Sidebar/Sidebar.d.ts +1 -0
  52. package/dist/src/controls/TabGroup/OverflowButton.d.ts +1 -0
  53. package/dist/src/controls/TabGroup/TabGroup.d.ts +1 -0
  54. package/dist/src/controls/TabGroup/TabGroupComponent.d.ts +1 -0
  55. package/dist/src/controls/TabGroup/TabGroupHeader.d.ts +1 -0
  56. package/dist/src/controls/TableView/TableViewConstants.d.ts +3 -1
  57. package/dist/src/controls/View/View.d.ts +1 -0
  58. package/dist/src/index.d.ts +11 -0
  59. package/package.json +1 -1
  60. package/src/controls/BimViewer/js/bim-viewer.js +2 -2
  61. package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
@@ -86,22 +86,7 @@ html, body {
86
86
  display: flex;
87
87
  }
88
88
 
89
- :global(.vitro-title.vitro-border-bottom) {
90
- border-bottom: 1px solid #E4E6EC;
91
- margin-right: 12px;
92
- margin-bottom: 0;
93
- padding-bottom: 12px;
94
- }
95
-
96
89
  @media (max-width: 800px) {
97
- :global(.vitro-title) {
98
- padding-bottom: 8px;
99
- font-size: 18px;
100
- line-height: 27px;
101
- margin: 0;
102
- margin-right: 12px;
103
- }
104
-
105
90
  :global(.pane) > :global(.vitro-flex) {
106
91
  flex-direction: column;
107
92
  align-items: flex-start;
@@ -22,4 +22,10 @@
22
22
  height: 88px;
23
23
  padding: 24px 20px;
24
24
  border-bottom: none;
25
+ }
26
+
27
+ @media (max-width: 800px) {
28
+ .vitro-confirm-dialog {
29
+ width: 100% !important;
30
+ }
25
31
  }
@@ -64,12 +64,6 @@
64
64
  overflow-wrap: anywhere;
65
65
  }
66
66
 
67
- .vitro-message img {
68
- max-width: calc(100% - 20px);
69
- display: block;
70
- margin: 4px 0;
71
- }
72
-
73
67
  .vitro-flex {
74
68
  display: flex;
75
69
  }
@@ -43,7 +43,7 @@
43
43
 
44
44
  .vitro-message {
45
45
  font-family: 'InterRegular' !important;
46
- white-space: normal;
46
+ white-space: pre-wrap;
47
47
  }
48
48
 
49
49
  .vitro-field-name {
@@ -0,0 +1,51 @@
1
+ .vitro-file-list-container {
2
+ display: flex;
3
+ padding: 4px 6px;
4
+ grid-gap: 8px 12px;
5
+ flex-wrap: wrap;
6
+ }
7
+
8
+ .vitro-overflow-button {
9
+ width: fit-content;
10
+ height: fit-content;
11
+ position: relative;
12
+ }
13
+
14
+ .vitro-item-count {
15
+ background: rgba(192, 202, 213, 0.7);
16
+ width: 100%;
17
+ height: 100%;
18
+ border-radius: 4px;
19
+ position: absolute;
20
+ z-index: 1;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ cursor: pointer;
25
+ }
26
+
27
+ .vitro-item-count > div {
28
+ width: 36px;
29
+ height: 36px;
30
+ background-color: #fff;
31
+ border-radius: 50%;
32
+ font-size: 14px;
33
+ color: #222D44;
34
+ line-height: 130%;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ }
39
+
40
+ @media (max-width: 800px) {
41
+ .vitro-overflow-button,
42
+ .vitro-file {
43
+ width: calc(100% / 2 - 12px);
44
+ max-width: 142px;
45
+ }
46
+
47
+ .vitro-overflow-button .vitro-file {
48
+ width: 100%;
49
+ }
50
+ }
51
+
@@ -5,7 +5,7 @@
5
5
  right: 0;
6
6
  top: 0;
7
7
  bottom: 0;
8
- z-index: 1002;
8
+ z-index: 300;
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: center;
@@ -60,11 +60,11 @@
60
60
  transition: max-height 0.5s ease;
61
61
  }
62
62
 
63
- @media (max-width: 800px) {
64
- .vitro-dialog {
65
- z-index: 10001 !important;
66
- }
63
+ .vitro-display-none {
64
+ display: none;
65
+ }
67
66
 
67
+ @media (max-width: 800px) {
68
68
  .vitro-dialog > div {
69
69
  min-width: unset;
70
70
  max-width: calc(100% - 16px);
@@ -0,0 +1,94 @@
1
+ .vitro-file {
2
+ border-radius: 4px;
3
+ height: 80px;
4
+ width: 142px;
5
+ display: flex;
6
+ justify-content: center;
7
+ flex-direction: column;
8
+ align-items: center;
9
+ padding: 8px;
10
+ position: relative;
11
+ box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1), 0px 0px 2px 0px rgba(0, 0, 0, 0.12);
12
+ }
13
+
14
+ .vitro-preview {
15
+ padding: 0 !important;
16
+ }
17
+
18
+ .vitro-preview-container {
19
+ max-width: 100%;
20
+ max-height: 100%;
21
+ min-width: 36px;
22
+ min-height: 36px;
23
+ width: auto;
24
+ height: auto;
25
+ cursor: pointer;
26
+ }
27
+
28
+ .vitro-preview .vitro-preview-container {
29
+ width: 100%;
30
+ height: 100%;
31
+ overflow: hidden;
32
+ border-radius: 4px;
33
+ }
34
+
35
+ .vitro-preview .vitro-preview-container img {
36
+ width: 100%;
37
+ height: 100%;
38
+ object-fit: cover;
39
+ }
40
+
41
+ .vitro-flex {
42
+ display: flex;
43
+ align-items: center;
44
+ grid-gap: 4px;
45
+ margin-top: 4px;
46
+ width: 100%;
47
+ }
48
+
49
+ .vitro-flex > div {
50
+ display: flex;
51
+ flex-direction: column;
52
+ overflow: hidden;
53
+ }
54
+
55
+ .vitro-image {
56
+ width: 24px;
57
+ height: 24px;
58
+ flex-shrink: 0;
59
+ }
60
+
61
+ .vitro-file-name {
62
+ color: #222D44;
63
+ font-size: 11px;
64
+ line-height: 145%;
65
+ overflow: hidden;
66
+ white-space: nowrap;
67
+ text-overflow: ellipsis;
68
+ display: block;
69
+ }
70
+
71
+ .vitro-file-size {
72
+ color: #6C757D;
73
+ font-size: 10px;
74
+ line-height: 145%;
75
+ }
76
+
77
+ .vitro-dropdown-button {
78
+ position: absolute;
79
+ top: 4px;
80
+ right: 4px;
81
+ border-radius: 50%;
82
+ width: 24px;
83
+ height: 24px;
84
+ background-color: #E9ECEF;
85
+ }
86
+
87
+ .vitro-dropdown-button :global(.dropdown-menu) {
88
+ width: 185px;
89
+ min-width: 185px;
90
+ }
91
+
92
+ .vitro-dropdown-button :global(.btn) > span {
93
+ background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/file/img/file-button-context.svg');
94
+ }
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="24" height="24" rx="12" fill="#E9ECEF"/>
3
+ <circle cx="12" cy="6.5" r="1.5" fill="#4A556C"/>
4
+ <circle cx="12" cy="12" r="1.5" fill="#4A556C"/>
5
+ <circle cx="12" cy="17.5" r="1.5" fill="#4A556C"/>
6
+ </svg>
@@ -150,6 +150,7 @@
150
150
  padding: 4px;
151
151
  text-align: center;
152
152
  overflow: hidden;
153
+ flex-shrink: 0;
153
154
  }
154
155
 
155
156
  .vitro-file-version-item .vitro-version-name {
@@ -46,4 +46,11 @@
46
46
  font-weight: unset;
47
47
  margin-top: 0;
48
48
  margin-bottom: 0;
49
+ }
50
+
51
+ :global(.vitro-border-bottom) {
52
+ border-bottom: 1px solid #E4E6EC;
53
+ margin-right: 12px;
54
+ margin-bottom: 0;
55
+ padding-bottom: 12px;
49
56
  }
@@ -0,0 +1,83 @@
1
+ .vitro-image-viewer {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ z-index: 200;
8
+ }
9
+
10
+ .vitro-header {
11
+ width: 100%;
12
+ position: absolute;
13
+ left: 0;
14
+ top: 0;
15
+ z-index: 1;
16
+ padding: 20px;
17
+ display: flex;
18
+ justify-content: space-between;
19
+ }
20
+
21
+ .vitro-button-close {
22
+ width: 32px;
23
+ height: 32px;
24
+ background: transparent;
25
+ outline: none;
26
+ border: none;
27
+ background-repeat: no-repeat;
28
+ background-size: 100%;
29
+ background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/image-viewer/img/image-viewer-close.svg');
30
+ }
31
+
32
+ .vitro-scroll-view {
33
+ background-color: #212529 !important;
34
+ padding: 79px 0;
35
+ }
36
+
37
+ .vitro-scroll-view :global(.k-scrollview-prev) {
38
+ left: 20px !important;
39
+ }
40
+
41
+ .vitro-scroll-view :global(.k-scrollview-next) {
42
+ right: 20px !important;
43
+ }
44
+
45
+ .vitro-dropdown-button :global(.btn),
46
+ .vitro-dropdown-button :global(.btn):hover,
47
+ .vitro-dropdown-button :global(.btn):focus,
48
+ .vitro-dropdown-button :global(.btn):active,
49
+ .vitro-dropdown-button :global(.btn) > span {
50
+ width: 32px;
51
+ height: 32px;
52
+ }
53
+
54
+ .vitro-dropdown-button :global(.btn) > span {
55
+ background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/image-viewer/img/context-button-white.svg');
56
+ }
57
+
58
+ .vitro-pager {
59
+ width: 60px;
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: center;
63
+ color: #fff;
64
+ font-size: 20px;
65
+ line-height: 24px;
66
+ position: absolute;
67
+ bottom: 28px;
68
+ left: calc(50% - 30px);
69
+ }
70
+
71
+ @media (max-width: 800px) {
72
+ .vitro-image-viewer {
73
+ z-index: 301;
74
+ }
75
+
76
+ .vitro-scroll-view :global(.k-scrollview-prev) {
77
+ left: 0 !important;
78
+ }
79
+
80
+ .vitro-scroll-view :global(.k-scrollview-next) {
81
+ right: 0 !important;
82
+ }
83
+ }
@@ -0,0 +1,5 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="16" cy="8.66675" r="2" fill="white"/>
3
+ <circle cx="16" cy="16" r="2" fill="white"/>
4
+ <circle cx="16" cy="23.3333" r="2" fill="white"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.01044 22.9918L16.0011 16.0012L22.9918 22.9918M22.9918 9.0105L15.9998 16.0012L9.01044 9.0105" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,19 @@
1
+ .vitro-image-container {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ padding: 0 60px;
8
+ }
9
+
10
+ .vitro-image-container img {
11
+ max-height: 100%;
12
+ max-width: 100%;
13
+ }
14
+
15
+ @media (max-width: 800px) {
16
+ .vitro-image-container {
17
+ padding: 0;
18
+ }
19
+ }
@@ -0,0 +1,40 @@
1
+ .vitro-linear-progress {
2
+ height: 2px;
3
+ position: relative;
4
+ overflow: hidden;
5
+ }
6
+
7
+ .vitro-bar {
8
+ width: 22%;
9
+ height: 2px;
10
+ background-color: #326AD6;
11
+ animation: progress 2.7s ease-in-out infinite;
12
+ position: absolute;
13
+ left: 0;
14
+ }
15
+
16
+ @keyframes progress {
17
+ 0% {
18
+ transform: scaleX(1);
19
+ transform-origin: bottom left;
20
+ left: 0;
21
+ }
22
+ 25% {
23
+ transform: scaleX(1.75);
24
+ transform-origin: bottom left;
25
+ }
26
+ 50% {
27
+ transform-origin: bottom left;
28
+ transform: scaleX(1);
29
+ left: 78%;
30
+ }
31
+ 75% {
32
+ transform: scaleX(1.75);
33
+ transform-origin: bottom right;
34
+ }
35
+ 100% {
36
+ transform: scaleX(1);
37
+ transform-origin: bottom right;
38
+ left: 0;
39
+ }
40
+ }
@@ -0,0 +1,26 @@
1
+ .vitro-attached-file-container {
2
+ position: relative;
3
+ }
4
+
5
+ .vitro-attached-file {
6
+ width: 80px;
7
+ height: 80px;
8
+ padding: 4px;
9
+ align-items: flex-start;
10
+ }
11
+
12
+ .vitro-button-remove {
13
+ width: 16px;
14
+ height: 16px;
15
+ background-size: 100%;
16
+ background-repeat: no-repeat;
17
+ background-color: #E9ECEF;
18
+ border: none;
19
+ border-radius: 50%;
20
+ outline: none;
21
+ position: absolute;
22
+ z-index: 1;
23
+ top: 4px;
24
+ right: 4px;
25
+ background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/message-input/img/attached-file-remove.svg');
26
+ }
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="16" height="16" rx="8" fill="#E9ECEF"/>
3
+ <path d="M4.50525 11.4959L8.00058 8.00052L11.4959 11.4959M11.4959 4.50519L7.99992 8.00052L4.50525 4.50519" stroke="#D13438" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -1,30 +1,20 @@
1
1
  .vitro-message-input {
2
2
  display: flex;
3
3
  position: absolute;
4
- width: calc(100% - 32px);
5
- max-width: calc(100% - 32px);
6
- bottom: 0;
4
+ width: calc(100%);
7
5
  align-items: flex-end;
8
- background: #fff;
9
6
  bottom: 1px;
7
+ z-index: 2;
10
8
  }
11
9
 
12
10
  .vitro-message-input .vitro-control {
13
- cursor: text;
14
- width: 100%;
11
+ width: calc(100% - 48px);
15
12
  position: relative;
16
13
  border-radius: 4px;
17
14
  border: 1px solid #C0CAD5;
18
15
  min-height: 36px;
19
- display: flex;
20
- justify-content: space-between;
21
- align-items: center;
22
16
  word-break: break-all;
23
- }
24
-
25
- .vitro-message-input :global(.ps) > div:first-child {
26
- padding: 0;
27
- padding: 6px 16px 6px 8px !important;
17
+ background-color: #fff;
28
18
  }
29
19
 
30
20
  .vitro-message-input :global(.ps__rail-y) {
@@ -42,6 +32,7 @@
42
32
  }
43
33
 
44
34
  .vitro-placeholder {
35
+ display: block;
45
36
  color: #8E98A3;
46
37
  font-weight: unset;
47
38
  font-size: 12px;
@@ -50,6 +41,7 @@
50
41
  text-overflow: ellipsis;
51
42
  overflow: hidden;
52
43
  user-select: none;
44
+ white-space: nowrap;
53
45
  }
54
46
 
55
47
  .vitro-button-add-file {
@@ -57,6 +49,7 @@
57
49
  width: 24px;
58
50
  min-width: 24px;
59
51
  min-height: 24px;
52
+ margin-right: 7px;
60
53
  background-color: #fff;
61
54
  border: none;
62
55
  outline: none;
@@ -66,7 +59,9 @@
66
59
  background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/message-input/img/paperclip.svg');
67
60
  }
68
61
 
69
- .vitro-button-send {
62
+ .vitro-button-send,
63
+ .vitro-button-send:hover,
64
+ .vitro-button-send:active {
70
65
  height: 36px;
71
66
  width: 36px;
72
67
  min-width: 36px;
@@ -90,4 +85,36 @@
90
85
  background-color: none;
91
86
  border: none;
92
87
  outline: none;
88
+ }
89
+
90
+ .vitro-display-none {
91
+ display: none;
92
+ }
93
+
94
+ .vitro-attached-file-list {
95
+ display: flex;
96
+ flex-direction: column;
97
+ align-items: center;
98
+ }
99
+
100
+ .vitro-attached-file-list::after {
101
+ content: '';
102
+ display: block;
103
+ height: 1px;
104
+ background: #E9ECEF;
105
+ width: calc(100% - 16px);
106
+ }
107
+
108
+ .vitro-attached-file-list :global(.ps) {
109
+ max-height: 97px;
110
+ padding: 6px 8px 10px 8px;
111
+ }
112
+
113
+ .vitro-attached-file-list :global(.ps) > div:first-child {
114
+ grid-gap: 12px;
115
+ }
116
+
117
+ .vitro-flex :global(.ps) > div:first-child {
118
+ padding: 10px 16px 10px 8px !important;
119
+ min-height: 36px;
93
120
  }
@@ -3347,7 +3347,7 @@ body.swal2-no-backdrop .swal2-shown {
3347
3347
  content: "";
3348
3348
  width: 100%;
3349
3349
  height: 100%;
3350
- background: url("img/loading.svg") center no-repeat;
3350
+ background: url("img/preloader.svg") center no-repeat;
3351
3351
  display: none;
3352
3352
  /* Using a delay with background-image doesn't work,
3353
3353
  consequently we use the display. */
@@ -1221,7 +1221,7 @@
1221
1221
  content: "";
1222
1222
  width: 100%;
1223
1223
  height: 100%;
1224
- background: url("img/loading.svg") center no-repeat;
1224
+ background: url("img/preloader.svg") center no-repeat;
1225
1225
  display: none;
1226
1226
  /* Using a delay with background-image doesn't work,
1227
1227
  consequently we use the display. */
@@ -6,6 +6,7 @@
6
6
 
7
7
  .vitro-product-title img {
8
8
  max-height: 25px;
9
+ min-height: 25px;
9
10
  margin: 0px 32px;
10
11
  }
11
12
 
@@ -0,0 +1,4 @@
1
+ <svg width="32" height="60" viewBox="0 0 32 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="60" height="32" transform="matrix(4.37114e-08 1 1 -4.37114e-08 0 0)" fill="#212529" fill-opacity="0.5"/>
3
+ <path d="M12 40L22 30L12 20" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="32" height="60" viewBox="0 0 32 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="60" height="32" transform="translate(32) rotate(90)" fill="#212529" fill-opacity="0.5"/>
3
+ <path d="M20 40L10 30L20 20" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,28 @@
1
+ .vitro-scroll-view {
2
+ width: 100%;
3
+ height: 100%;
4
+ }
5
+
6
+ .vitro-scroll-view :global(.k-scrollview-next),
7
+ .vitro-scroll-view :global(.k-scrollview-prev) {
8
+ height: 60px;
9
+ width: 32px;
10
+ }
11
+
12
+ .vitro-scroll-view :global(.k-i-arrowhead-e::before) {
13
+ content: url('@vitrosoftware/common-ui-ts/css/std/controls/scroll-view/img/scroll-view-next.svg');
14
+ }
15
+
16
+ .vitro-scroll-view :global(.k-i-arrowhead-w::before) {
17
+ content: url('@vitrosoftware/common-ui-ts/css/std/controls/scroll-view/img/scroll-view-prev.svg');
18
+ }
19
+
20
+ .vitro-scroll-view :global(.k-scrollview-nav) :global(.k-link) {
21
+ border-color: #E4E6EC !important;
22
+ background-color: #E4E6EC !important;
23
+ }
24
+
25
+ .vitro-scroll-view :global(.k-scrollview-nav) :global(.k-link.k-primary) {
26
+ border-color: #2A63F6 !important;
27
+ background-color: #2A63F6 !important;
28
+ }
@@ -7,6 +7,7 @@
7
7
  .vitro-tab :global(.nav) {
8
8
  align-items: center;
9
9
  justify-content: center;
10
+ flex-wrap: nowrap;
10
11
  }
11
12
 
12
13
  .vitro-tab > :global(.vitro-content) {
@@ -47,8 +48,10 @@
47
48
  padding: 8px 12px;
48
49
  }
49
50
 
50
- .vitro-tab :global(.nav) :global(.dropdown-item):hover {
51
+ .vitro-tab :global(.nav) :global(.dropdown-item):hover,
52
+ .vitro-tab :global(.nav) :global(.dropdown-item):active {
51
53
  background: #F3F8FF;
54
+ color: #222D44;
52
55
  }
53
56
 
54
57
  .vitro-tab :global(.nav) :global(.dropdown-item):first-child {
@@ -66,6 +69,7 @@
66
69
  .vitro-tab :global(.nav) > div.vitro-item {
67
70
  flex-grow: 1;
68
71
  text-align: center;
72
+ overflow: hidden;
69
73
  }
70
74
 
71
75
  .vitro-tab :global(.nav) > div :global(.nav-link) {
@@ -86,8 +90,9 @@
86
90
  }
87
91
 
88
92
  .vitro-tab :global(.nav) > div :global(.nav-item) a span {
89
- display: inline-flex;
90
- align-items: center;
93
+ white-space: nowrap;
94
+ overflow: hidden;
95
+ text-overflow: ellipsis;
91
96
  }
92
97
 
93
98
  .vitro-tab :global(.nav) > div .active span {
@@ -109,6 +114,11 @@
109
114
  align-items: flex-start;
110
115
  }
111
116
 
117
+ .vitro-tab :global(.nav) > .vitro-dropdown-button :global(.dropdown-menu) {
118
+ width: 241px;
119
+ min-width: unset;
120
+ }
121
+
112
122
  .vitro-tab :global(.nav) > div :global(.nav-item).active a {
113
123
  color: #3274E0 !important;
114
124
  border-bottom: 2px solid #3274E0;