@vitrosoftware/common-ui-ts 1.1.15 → 1.1.17
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/css/common.css +1 -1
- package/css/std/controls/action-handler/action-handler.css +14 -3
- package/css/std/controls/avatar/avatar.css +3 -0
- package/css/std/controls/command-menu/command-menu-dropdown-button.css +9 -4
- package/css/std/controls/dropdown-button/dropdown-button.css +126 -0
- package/css/std/controls/issue-tile/issue-tile-footer.css +31 -0
- package/css/std/controls/issue-tile/issue-tile-header.css +62 -0
- package/css/std/controls/issue-tile/issue-tile.css +24 -0
- package/css/std/controls/lookup-picker/lookup-picker.css +3 -5
- package/css/std/controls/pdf-viewer/compare-side-by-side.css +260 -0
- package/css/std/controls/pdf-viewer/compare.css +504 -0
- package/css/std/controls/pdf-viewer/custom.css +339 -0
- package/css/std/controls/pdf-viewer/debugger.css +113 -0
- package/css/std/controls/pdf-viewer/form.css +133 -0
- package/css/std/controls/pdf-viewer/img/close-compare-viewer.png +0 -0
- package/css/std/controls/pdf-viewer/img/close-compare-viewer_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/compare-overlay.png +0 -0
- package/css/std/controls/pdf-viewer/img/compare-side-by-side.png +0 -0
- package/css/std/controls/pdf-viewer/img/delete-active.png +0 -0
- package/css/std/controls/pdf-viewer/img/delete.png +0 -0
- package/css/std/controls/pdf-viewer/img/dlg-compare-ico.png +0 -0
- package/css/std/controls/pdf-viewer/img/do-compare.png +0 -0
- package/css/std/controls/pdf-viewer/img/draw-annotation.png +0 -0
- package/css/std/controls/pdf-viewer/img/finish-align.png +0 -0
- package/css/std/controls/pdf-viewer/img/finish-align_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/fit-to-view.png +0 -0
- package/css/std/controls/pdf-viewer/img/fit-to-view_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/hide-annotation.png +0 -0
- package/css/std/controls/pdf-viewer/img/hide-colors.png +0 -0
- package/css/std/controls/pdf-viewer/img/hide-colors_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/layer-unvisible.png +0 -0
- package/css/std/controls/pdf-viewer/img/layer-visible.png +0 -0
- package/css/std/controls/pdf-viewer/img/overlay.png +0 -0
- package/css/std/controls/pdf-viewer/img/overlay_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/pan.png +0 -0
- package/css/std/controls/pdf-viewer/img/pan_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/panel-visibility.png +0 -0
- package/css/std/controls/pdf-viewer/img/panel-visibility_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/show-annotation.png +0 -0
- package/css/std/controls/pdf-viewer/img/side-by-side.png +0 -0
- package/css/std/controls/pdf-viewer/img/side-by-side_active.png +0 -0
- package/css/std/controls/pdf-viewer/img/sidebar-notes-toggle.png +0 -0
- package/css/std/controls/pdf-viewer/img/zoom.png +0 -0
- package/css/std/controls/pdf-viewer/img/zoom_active.png +0 -0
- package/css/std/controls/pdf-viewer/pdf-viewer.css +676 -0
- package/css/std/controls/pdf-viewer/print.css +52 -0
- package/css/std/controls/pdf-viewer/sketchpad.css +16 -0
- package/css/std/controls/pdf-viewer/viewer-theme.css +82 -0
- package/css/std/controls/pdf-viewer/viewer.css +3066 -0
- package/css/std/controls/pdf-viewer/zoom.css +14 -0
- package/css/std/controls/table-view/treegrid.css +121 -2
- package/dist/constants/Ctrl.d.ts +2 -0
- package/dist/controls/ActionHandler/ActionHandler.d.ts +1 -1
- package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +1 -0
- package/dist/controls/Avatar/Avatar.d.ts +1 -0
- package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +1 -1
- package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +1 -1
- package/dist/controls/DropdownButton/DropdownButton.d.ts +11 -0
- package/dist/controls/DropdownButton/DropdownItem.d.ts +11 -0
- package/dist/controls/IssueTile/IssueTile.d.ts +26 -0
- package/dist/controls/IssueTile/IssueTileConstants.d.ts +3 -0
- package/dist/controls/IssueTile/IssueTileFooter.d.ts +8 -0
- package/dist/controls/IssueTile/IssueTileHeader.d.ts +18 -0
- package/dist/controls/PdfViewer/PdfViewerContext.d.ts +6 -0
- package/dist/controls/TableView/TableViewConstants.d.ts +7 -1
- package/dist/controls/TelerikUploader/TelerikUploader.d.ts +2 -0
- package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +2 -1
- package/dist/index.css +296 -35
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1487 -384
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1486 -384
- package/dist/index.modern.js.map +1 -1
- package/lib/third-party.js +0 -178024
- package/package.json +3 -3
- package/src/controls/PdfViewer/js/pdf-viewer.js +329 -7
package/css/common.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-contextMenu/jquery.contextMenu.min.css');
|
|
7
7
|
@import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-svg/jquery.svg.css');
|
|
8
8
|
@import url('@vitrosoftware/common-ui-ts/css/third-party/sweetalert2/sweetalert2.css');
|
|
9
|
-
@import url('@vitrosoftware/common-ui-ts/css/
|
|
9
|
+
@import url('@vitrosoftware/common-ui-ts/css/std/controls/pdf-viewer/pdf-viewer.css');
|
|
10
10
|
|
|
11
11
|
:global(.vitro-opacity-low) {
|
|
12
12
|
opacity: .3;
|
|
@@ -92,6 +92,12 @@
|
|
|
92
92
|
overflow: hidden;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
.vitro-action-handler-dialog-confirm {
|
|
96
|
+
top: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
box-sizing: border-box !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
95
101
|
.vitro-content-container {
|
|
96
102
|
padding: 16px;
|
|
97
103
|
flex: 1 1;
|
|
@@ -125,6 +131,7 @@
|
|
|
125
131
|
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
|
|
126
132
|
display: flex;
|
|
127
133
|
flex-direction: column;
|
|
134
|
+
box-sizing: border-box;
|
|
128
135
|
}
|
|
129
136
|
|
|
130
137
|
.vitro-action-handler-dialog {
|
|
@@ -168,12 +175,16 @@
|
|
|
168
175
|
}
|
|
169
176
|
|
|
170
177
|
.vitro-small {
|
|
178
|
+
display: inline-block;
|
|
171
179
|
color: #4A556C;
|
|
172
180
|
font-size: 14px;
|
|
173
181
|
line-height: 150% !important;
|
|
174
|
-
|
|
175
|
-
flex: 1 1;
|
|
182
|
+
padding-left: 59px;
|
|
176
183
|
margin-top: -5px;
|
|
184
|
+
max-width: 100%;
|
|
185
|
+
white-space: nowrap;
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
text-overflow: ellipsis;
|
|
177
188
|
}
|
|
178
189
|
|
|
179
190
|
.vitro-button-close {
|
|
@@ -191,8 +202,8 @@
|
|
|
191
202
|
.vitro-success .vitro-button-close,
|
|
192
203
|
.vitro-warning .vitro-button-close,
|
|
193
204
|
.vitro-error .vitro-button-close {
|
|
194
|
-
/* close.svg URL-encoder for SVG */
|
|
195
205
|
margin-left: 8px;
|
|
206
|
+
/* close.svg URL-encoder for SVG */
|
|
196
207
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='iconoir:cancel'%3E%3Cpath id='Vector' d='M6.75781 17.2438L12.0008 12.0008L17.2438 17.2438M17.2438 6.75781L11.9998 12.0008L6.75781 6.75781' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
|
|
197
208
|
}
|
|
198
209
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
position: absolute;
|
|
38
38
|
z-index: 1150;
|
|
39
39
|
top: calc(100% + 6px);
|
|
40
|
-
|
|
40
|
+
left: -20px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.vitro-dropdown-button-container :global(.dropdown-toggle):after,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
background-size: 100%;
|
|
55
55
|
background-repeat: no-repeat;
|
|
56
56
|
position: absolute;
|
|
57
|
-
|
|
57
|
+
left: 24px;
|
|
58
58
|
top: -11px;
|
|
59
59
|
/* dropdown-arrow.svg URL-encoder for SVG */
|
|
60
60
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.31554 1.65838L0.382812 11H15.6249L9.69214 1.65838C8.90651 0.421336 7.10117 0.421335 6.31554 1.65838Z' fill='white'/%3E%3C/svg%3E%0A");
|
|
@@ -64,8 +64,12 @@
|
|
|
64
64
|
left: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.vitro-dropdown-button-container:
|
|
68
|
-
|
|
67
|
+
.vitro-dropdown-button-container:last-child :global(.dropdown-menu) {
|
|
68
|
+
right: -20px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.vitro-dropdown-button-container:last-child :global(.dropdown-menu::before) {
|
|
72
|
+
right: 25px;
|
|
69
73
|
}
|
|
70
74
|
|
|
71
75
|
.vitro-dropdown-button-container :global(.dropdown-item) {
|
|
@@ -87,6 +91,7 @@
|
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.vitro-dropdown-button-container :global(.dropdown-item):hover,
|
|
94
|
+
.vitro-dropdown-button-container :global(.dropdown-item):focus,
|
|
90
95
|
.vitro-dropdown-button-container :global(.dropdown-item):active {
|
|
91
96
|
background: #F3F8FF;
|
|
92
97
|
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
.vitro-dropdown-button {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
font-family: 'InterRegular';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.vitro-dropdown-button button,
|
|
8
|
+
.vitro-dropdown-button button:hover,
|
|
9
|
+
.vitro-dropdown-button button:active,
|
|
10
|
+
.vitro-dropdown-button button:focus {
|
|
11
|
+
padding: 0 !important;
|
|
12
|
+
margin: 0 !important;
|
|
13
|
+
background-color: transparent !important;
|
|
14
|
+
border: none;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
outline: none;
|
|
19
|
+
box-shadow: none !important;
|
|
20
|
+
color: #E0E0E0;
|
|
21
|
+
font-family: inherit !important;
|
|
22
|
+
font-size: inherit !important;
|
|
23
|
+
font-weight: normal !important;
|
|
24
|
+
width: 24px;
|
|
25
|
+
height: 24px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.vitro-dropdown-button button::after {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.vitro-dropdown-icon {
|
|
33
|
+
height: 24px;
|
|
34
|
+
width: 24px;
|
|
35
|
+
background-size: 100%;
|
|
36
|
+
background-position: center;
|
|
37
|
+
background-repeat: no-repeat;
|
|
38
|
+
/* more.svg URL-encoder for SVG */
|
|
39
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 23 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11.5' cy='6' r='1.5' fill='%23222D44'/%3E%3Ccircle cx='11.5' cy='12' r='1.5' fill='%23222D44'/%3E%3Ccircle cx='11.5' cy='18' r='1.5' fill='%23222D44'/%3E%3C/svg%3E%0A");
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vitro-dropdown-button .vitro-text {
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.vitro-dropdown-button-item-overflow {
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
display: flex;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
color: #4A556C;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.vitro-icon {
|
|
55
|
+
width: 20px;
|
|
56
|
+
height: 20px;
|
|
57
|
+
background-size: 20px;
|
|
58
|
+
margin-right: 12px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.vitro-dropdown-button :global(.dropdown-menu) {
|
|
62
|
+
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
|
|
63
|
+
background: #fff;
|
|
64
|
+
border-radius: 4px;
|
|
65
|
+
border: none !important;
|
|
66
|
+
outline: none;
|
|
67
|
+
min-width: 241px;
|
|
68
|
+
width: -moz-fit-content;
|
|
69
|
+
width: -webkit-fit-content;
|
|
70
|
+
width: fit-content;
|
|
71
|
+
font-size: 14px;
|
|
72
|
+
padding: 0px;
|
|
73
|
+
font-weight: 400;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
-webkit-transform: none !important;
|
|
76
|
+
transform: none !important;
|
|
77
|
+
position: absolute;
|
|
78
|
+
z-index: 1150;
|
|
79
|
+
top: calc(100% + 6px) !important;
|
|
80
|
+
right: -4px !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.vitro-dropdown-button :global(.dropdown-menu)::before {
|
|
84
|
+
content: '';
|
|
85
|
+
display: block;
|
|
86
|
+
height: 11px;
|
|
87
|
+
width: 16px;
|
|
88
|
+
background-position: center;
|
|
89
|
+
background-size: 100%;
|
|
90
|
+
background-repeat: no-repeat;
|
|
91
|
+
position: absolute;
|
|
92
|
+
right: 8px;
|
|
93
|
+
top: -11px;
|
|
94
|
+
background-image: url(data:image/svg+xml,%3Csvg viewBox=%270 0 16 11%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M6.31554 1.65838L0.382812 11H15.6249L9.69214 1.65838C8.90651 0.421336 7.10117 0.421335 6.31554 1.65838Z%27 fill=%27white%27/%3E%3C/svg%3E%0A);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.vitro-dropdown-button :global(.dropdown-item) {
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
height: 37px;
|
|
101
|
+
padding: 8px 12px;
|
|
102
|
+
border: none;
|
|
103
|
+
box-shadow: none;
|
|
104
|
+
outline: none;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.vitro-dropdown-button :global(.dropdown-item):first-child {
|
|
109
|
+
border-radius: 4px 4px 0 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.vitro-dropdown-button :global(.dropdown-item):last-child {
|
|
113
|
+
border-radius: 0 0 4px 4px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.vitro-dropdown-button :global(.dropdown-menu) :global(.dropdown-item):hover,
|
|
117
|
+
.vitro-dropdown-button :global(.dropdown-menu) :global(.dropdown-item):focus,
|
|
118
|
+
.vitro-dropdown-button :global(.dropdown-menu) :global(.dropdown-item):active {
|
|
119
|
+
background: #F3F8FF;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.dropdown-item:global(.dropdown-item-empty) {
|
|
123
|
+
background: #fff;
|
|
124
|
+
color: #bdbdbd;
|
|
125
|
+
cursor: default;
|
|
126
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.vitro-issue-tile-footer {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
margin-top: 6px;
|
|
6
|
+
padding-bottom: 20px;
|
|
7
|
+
border-bottom: 1px solid #E4E6EC;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.vitro-issue-tile-status {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.vitro-status-color {
|
|
16
|
+
margin-right: 8px;
|
|
17
|
+
width: 8px;
|
|
18
|
+
height: 8px;
|
|
19
|
+
border-radius: 50%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.vitro-button-more {
|
|
23
|
+
width: 20px;
|
|
24
|
+
height: 20px;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
background-size: 100%;
|
|
27
|
+
background-position: center;
|
|
28
|
+
background-repeat: no-repeat;
|
|
29
|
+
/* more-detail.svg URL-encoder for SVG */
|
|
30
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon_line/maximize'%3E%3Cpath id='Vector' d='M7.62169 16.6641H3.33594M3.33594 16.6641V12.3783M3.33594 16.6641L8.33596 11.6641' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M12.4974 3.33594H16.664M16.664 3.33594V7.5026M16.664 3.33594L11.6641 8.33594' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A") !important;
|
|
31
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.vitro-issue-tile-header {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
margin-bottom: 22px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.vitro-link {
|
|
8
|
+
padding: 4px 8px;
|
|
9
|
+
background: rgba(228, 230, 236, 0.50);
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
line-height: 16px;
|
|
12
|
+
color: #326AD6;
|
|
13
|
+
border-radius: 4px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.vitro-user-info {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
margin-left: 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.vitro-user-info::after {
|
|
23
|
+
content: '';
|
|
24
|
+
display: block;
|
|
25
|
+
width: 4px;
|
|
26
|
+
height: 4px;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
background: #4A556C;
|
|
29
|
+
margin-left: 16px;
|
|
30
|
+
margin-right: 16px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vitro-user-info > div:last-child {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.vitro-avatar {
|
|
39
|
+
width: 28px;
|
|
40
|
+
height: 28px;
|
|
41
|
+
min-width: 28px;
|
|
42
|
+
line-height: 28px;
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
margin-right: 8px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.vitro-user-info > div span:last-child {
|
|
48
|
+
color: #4A556C;
|
|
49
|
+
font-size: 11px;
|
|
50
|
+
line-height: 11px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.vitro-user-info > div span:first-child {
|
|
54
|
+
color: #222D44;
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
line-height: 14px;
|
|
57
|
+
margin-bottom: 3px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.vitro-dropdown-button {
|
|
61
|
+
margin-left: auto;
|
|
62
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.vitro-issue-tile {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
width: 100%;
|
|
4
|
+
padding: 20px 16px 0 16px;
|
|
5
|
+
box-sizing: border-box !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.vitro-control {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.vitro-control textarea {
|
|
14
|
+
box-sizing: border-box !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.vitro-issue-tile:global(.vitro-active) {
|
|
18
|
+
background: #F3F8FF;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.vitro-issue-tile:global(.vitro-active) .vitro-control div,
|
|
22
|
+
.vitro-issue-tile:global(.vitro-active) .vitro-control textarea {
|
|
23
|
+
background: #F3F8FF;
|
|
24
|
+
}
|
|
@@ -76,12 +76,10 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.vitro-button-copy {
|
|
79
|
-
height:
|
|
80
|
-
width:
|
|
79
|
+
height: 24px;
|
|
80
|
+
width: 20px;
|
|
81
81
|
display: inline-block;
|
|
82
|
-
|
|
83
|
-
right: 8px;
|
|
84
|
-
top: calc(50% - 8px);
|
|
82
|
+
right: 0;
|
|
85
83
|
/* copy.svg URL-encoder for SVG */
|
|
86
84
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='copy-icon'%3E%3Cpath id='Vector' d='M4.33594 4.14517V3.27214C4.33594 2.0877 4.75567 1.66797 5.9401 1.66797H12.7318C13.9162 1.66797 14.3359 2.0877 14.3359 3.27214V10.0638C14.3359 11.2482 13.9162 11.668 12.7318 11.668H11.8414' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M10.0599 4.33203H3.26823C2.0838 4.33203 1.66406 4.75176 1.66406 5.9362V12.7279C1.66406 13.9123 2.0838 14.332 3.26823 14.332H10.0599C11.2443 14.332 11.6641 13.9123 11.6641 12.7279V5.9362C11.6641 4.75176 11.2443 4.33203 10.0599 4.33203Z' stroke='%238E98A3' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
|
|
87
85
|
background-repeat: no-repeat;
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
.pixelcompare-wrapper.pixelcompare-horizontal {
|
|
2
|
+
height: 100% !important;
|
|
3
|
+
}
|
|
4
|
+
.pixelcompare-horizontal .pixelcompare-handle:before, .pixelcompare-horizontal .pixelcompare-handle:after, .pixelcompare-vertical .pixelcompare-handle:before, .pixelcompare-vertical .pixelcompare-handle:after {
|
|
5
|
+
content: "";
|
|
6
|
+
display: block;
|
|
7
|
+
background: #fff;
|
|
8
|
+
position: absolute;
|
|
9
|
+
z-index: 30;
|
|
10
|
+
}
|
|
11
|
+
img.pixelcompare-before, img.pixelcompare-after {
|
|
12
|
+
height: 100%;
|
|
13
|
+
object-fit: cover;
|
|
14
|
+
-webkit-user-select: none;
|
|
15
|
+
-khtml-user-select: none;
|
|
16
|
+
-moz-user-select: none;
|
|
17
|
+
-o-user-select: none;
|
|
18
|
+
user-select: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pixelcompare-before-label, .pixelcompare-after-label, .pixelcompare-overlay {
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pixelcompare-before-label, .pixelcompare-after-label, .pixelcompare-overlay {
|
|
29
|
+
transition-duration: 0.5s;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.pixelcompare-before-label, .pixelcompare-after-label {
|
|
33
|
+
transition-property: opacity;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.pixelcompare-horizontal .pixelcompare-before-label:before, .pixelcompare-horizontal .pixelcompare-after-label:before {
|
|
37
|
+
top: 50%;
|
|
38
|
+
margin-top: -19px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pixelcompare-vertical .pixelcompare-before-label:before, .pixelcompare-vertical .pixelcompare-after-label:before {
|
|
42
|
+
left: 50%;
|
|
43
|
+
margin-left: -45px;
|
|
44
|
+
text-align: center;
|
|
45
|
+
width: 90px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.pixelcompare-left-arrow, .pixelcompare-right-arrow, .pixelcompare-up-arrow, .pixelcompare-down-arrow {
|
|
49
|
+
width: 0;
|
|
50
|
+
height: 0;
|
|
51
|
+
border: 6px inset transparent;
|
|
52
|
+
position: absolute;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.pixelcompare-left-arrow, .pixelcompare-right-arrow {
|
|
56
|
+
top: 50%;
|
|
57
|
+
margin-top: -6px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pixelcompare-up-arrow, .pixelcompare-down-arrow {
|
|
61
|
+
left: 50%;
|
|
62
|
+
margin-left: -6px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.pixelcompare-container {
|
|
66
|
+
box-sizing: content-box;
|
|
67
|
+
z-index: 0;
|
|
68
|
+
height: 100%;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
position: relative;
|
|
71
|
+
-webkit-user-select: none;
|
|
72
|
+
-khtml-user-select: none;
|
|
73
|
+
-moz-user-select: none;
|
|
74
|
+
-o-user-select: none;
|
|
75
|
+
user-select: none;
|
|
76
|
+
}
|
|
77
|
+
.pixelcompare-container img {
|
|
78
|
+
max-width: 100%;
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 0;
|
|
81
|
+
display: block;
|
|
82
|
+
}
|
|
83
|
+
/* .pixelcompare-container.active .pixelcompare-overlay,
|
|
84
|
+
.pixelcompare-container.active :hover.pixelcompare-overlay {
|
|
85
|
+
background: transparent;
|
|
86
|
+
} */
|
|
87
|
+
.pixelcompare-container.active .pixelcompare-overlay .pixelcompare-before-label,
|
|
88
|
+
.pixelcompare-container.active .pixelcompare-overlay .pixelcompare-after-label,
|
|
89
|
+
.pixelcompare-container.active :hover.pixelcompare-overlay .pixelcompare-before-label,
|
|
90
|
+
.pixelcompare-container.active :hover.pixelcompare-overlay .pixelcompare-after-label {
|
|
91
|
+
opacity: 0;
|
|
92
|
+
}
|
|
93
|
+
.pixelcompare-container * {
|
|
94
|
+
box-sizing: content-box;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pixelcompare-before-label {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
.pixelcompare-before-label:before {
|
|
101
|
+
content: attr(data-content);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.pixelcompare-after-label {
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
.pixelcompare-after-label:before {
|
|
108
|
+
content: attr(data-content);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.pixelcompare-horizontal .pixelcompare-before-label:before {
|
|
112
|
+
left: 10px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.pixelcompare-horizontal .pixelcompare-after-label:before {
|
|
116
|
+
right: 10px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.pixelcompare-vertical .pixelcompare-before-label:before {
|
|
120
|
+
top: 10px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.pixelcompare-vertical .pixelcompare-after-label:before {
|
|
124
|
+
bottom: 10px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.pixelcompare-overlay {
|
|
128
|
+
transition-property: background;
|
|
129
|
+
background: transparent;
|
|
130
|
+
z-index: 25;
|
|
131
|
+
}
|
|
132
|
+
.pixelcompare-overlay:hover,
|
|
133
|
+
.pixelcompare-container.active .pixelcompare-overlay,
|
|
134
|
+
.pixelcompare-handle:hover + .pixelcompare-overlay {
|
|
135
|
+
background: rgba(0, 0, 0, 0.5);
|
|
136
|
+
}
|
|
137
|
+
.pixelcompare-overlay:hover .pixelcompare-after-label {
|
|
138
|
+
opacity: 1;
|
|
139
|
+
}
|
|
140
|
+
.pixelcompare-overlay:hover .pixelcompare-before-label {
|
|
141
|
+
opacity: 1;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.pixelcompare-before {
|
|
145
|
+
z-index: 20;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.pixelcompare-after {
|
|
149
|
+
z-index: 10;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.pixelcompare-vertical .pixelcompare-handle {
|
|
153
|
+
background-color: rgba(247, 237, 237, 0.71);
|
|
154
|
+
height: 20px;
|
|
155
|
+
width: 65px;
|
|
156
|
+
position: absolute;
|
|
157
|
+
left: 50%;
|
|
158
|
+
top: 50%;
|
|
159
|
+
margin-left: -19px;
|
|
160
|
+
margin-top: -10px;
|
|
161
|
+
border-radius: 1000px;
|
|
162
|
+
box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
|
|
163
|
+
z-index: 40;
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.pixelcompare-horizontal .pixelcompare-handle {
|
|
168
|
+
/*background-color: rgba(247, 237, 237, 0.71);*/
|
|
169
|
+
/*height: 65px;*/
|
|
170
|
+
height: 100%;
|
|
171
|
+
width: 20px;
|
|
172
|
+
position: absolute;
|
|
173
|
+
left: calc(50% - 10px);
|
|
174
|
+
top: 0;
|
|
175
|
+
bottom: 0;
|
|
176
|
+
/*margin-top: -19px;*/
|
|
177
|
+
/*margin-left: -10px;*/
|
|
178
|
+
border-radius: 0;
|
|
179
|
+
/*box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);*/
|
|
180
|
+
box-shadow: none;
|
|
181
|
+
z-index: 40;
|
|
182
|
+
/*cursor: pointer;*/
|
|
183
|
+
cursor: col-resize;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.pixelcompare-horizontal .pixelcompare-handle:before {
|
|
187
|
+
bottom: 0;
|
|
188
|
+
top: 0;
|
|
189
|
+
left: -1px;
|
|
190
|
+
/*bottom: 50%;*/
|
|
191
|
+
/*height: 799px;*/
|
|
192
|
+
height: 100%;
|
|
193
|
+
/*margin-bottom: 33px;*/
|
|
194
|
+
/*margin-left: 10px;*/
|
|
195
|
+
background: none;
|
|
196
|
+
position: absolute;
|
|
197
|
+
z-index: 999;
|
|
198
|
+
/*border-right: 1px dashed rgba(255, 255, 255, 0.5);*/
|
|
199
|
+
border-right: 2px solid #74A9E5;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/*.pixelcompare-horizontal .pixelcompare-handle:after {*/
|
|
203
|
+
/* top: 50%;*/
|
|
204
|
+
/* height: 257px;*/
|
|
205
|
+
/* margin-top: 33px;*/
|
|
206
|
+
/* margin-left: 10px;*/
|
|
207
|
+
/* background: none;*/
|
|
208
|
+
/* position: absolute;*/
|
|
209
|
+
/* z-index: 999;*/
|
|
210
|
+
/* !*border-right: 1px dashed rgba(255, 255, 255, 0.5);*!*/
|
|
211
|
+
/* border-right: 2px solid #74A9E5;*/
|
|
212
|
+
/*}*/
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
.pixelcompare-vertical .pixelcompare-handle:before {
|
|
216
|
+
margin-top: 10px;
|
|
217
|
+
margin-left: 11px;
|
|
218
|
+
width: 100vw;
|
|
219
|
+
background: none;
|
|
220
|
+
position: absolute;
|
|
221
|
+
z-index: 999;
|
|
222
|
+
border-top: 2px dashed rgba(255, 255, 255, 0.5);
|
|
223
|
+
right: 50%;
|
|
224
|
+
margin-right: 33px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.pixelcompare-vertical .pixelcompare-handle:after {
|
|
228
|
+
margin-top: 10px;
|
|
229
|
+
width: 100vw;
|
|
230
|
+
background: none;
|
|
231
|
+
position: absolute;
|
|
232
|
+
z-index: 999;
|
|
233
|
+
border-top: 1px dashed rgba(255, 255, 255, 0.5);
|
|
234
|
+
left: 50%;
|
|
235
|
+
margin-left: 33px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.pixelcompare-left-arrow {
|
|
239
|
+
border-right: 6px solid rgba(247, 237, 237, 0.71);
|
|
240
|
+
left: calc(50% - 26px);
|
|
241
|
+
/*margin-left: -13px;*/
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.pixelcompare-right-arrow {
|
|
245
|
+
border-left: 6px solid rgba(247, 237, 237, 0.71);
|
|
246
|
+
right: calc(50% - 6px);
|
|
247
|
+
/*margin-right: -13px; */
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.pixelcompare-up-arrow {
|
|
251
|
+
border-bottom: 6px solid rgba(247, 237, 237, 0.71);
|
|
252
|
+
top: 50%;
|
|
253
|
+
margin-top: -13px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.pixelcompare-down-arrow {
|
|
257
|
+
border-top: 6px solid rgba(247, 237, 237, 0.71);
|
|
258
|
+
bottom: 50%;
|
|
259
|
+
margin-bottom: -13px;
|
|
260
|
+
}
|