benivo-ui-library 1.2.5

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.
@@ -0,0 +1,102 @@
1
+ .navigation-color-loop(@ruleset) when (length( @colors ) >= 1) {
2
+ @length: length(@colors);
3
+ .looper( 1 );
4
+ .looper( @index ) when ( @index <= @length ) and (length(extract( @colors, @index )) = 2) {
5
+ @navPair: extract(@colors, @index);
6
+ @navColorName: extract(@navPair, 1);
7
+ @navColorValue: extract(@navPair, 2);
8
+ @ruleset();
9
+ .looper( @index + 1 );
10
+ }
11
+ }
12
+
13
+ :root {
14
+ --swiper-navigation-size: 44px;
15
+ /*
16
+ --swiper-navigation-color: var(--swiper-theme-color);
17
+ */
18
+ }
19
+ .swiper-button-prev,
20
+ .swiper-button-next {
21
+ position: absolute;
22
+ top: 50%;
23
+ width: calc(var(--swiper-navigation-size) / 44 * 27);
24
+ height: var(--swiper-navigation-size);
25
+ margin-top: calc(-1 * var(--swiper-navigation-size) / 2);
26
+ z-index: 10;
27
+ cursor: pointer;
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ color: var(--swiper-navigation-color, var(--swiper-theme-color));
32
+
33
+ &.swiper-button-disabled {
34
+ opacity: 0.35;
35
+ cursor: auto;
36
+ pointer-events: none;
37
+ }
38
+
39
+ &:after {
40
+ font-family: swiper-icons;
41
+ font-size: var(--swiper-navigation-size);
42
+ text-transform: none !important;
43
+ letter-spacing: 0;
44
+ text-transform: none;
45
+ font-variant: initial;
46
+ line-height: 1;
47
+ }
48
+
49
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
50
+ width: 13px;
51
+ height: 8px;
52
+ background-position: center;
53
+ background-size: cover;
54
+ z-index: 11;
55
+ background-image: url("https://gpresource.blob.core.windows.net/assets/img/icons/arrow-up-gray.png");
56
+ }
57
+ }
58
+ .swiper-button-prev,
59
+ .swiper-container-rtl .swiper-button-next {
60
+ &:after {
61
+ content: 'prev';
62
+ }
63
+
64
+ left: 10px;
65
+ right: auto;
66
+
67
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
68
+ -webkit-transform: rotate(-90deg);
69
+ -moz-transform: rotate(-90deg);
70
+ -ms-transform: rotate(-90deg);
71
+ -o-transform: rotate(-90deg);
72
+ transform: rotate(-90deg);
73
+ }
74
+ }
75
+ .swiper-button-next,
76
+ .swiper-container-rtl .swiper-button-prev {
77
+ &:after {
78
+ content: 'next';
79
+ }
80
+
81
+ right: 10px;
82
+ left: auto;
83
+
84
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
85
+ -webkit-transform: rotate(90deg);
86
+ -moz-transform: rotate(90deg);
87
+ -ms-transform: rotate(90deg);
88
+ -o-transform: rotate(90deg);
89
+ transform: rotate(90deg);
90
+ }
91
+ }
92
+ .navigation-color-loop({
93
+ .swiper-button-prev,
94
+ .swiper-button-next {
95
+ &.swiper-button-@{navColorName} {
96
+ --swiper-navigation-color: @navColorValue;
97
+ }
98
+ }
99
+ });
100
+ .swiper-button-lock {
101
+ display: none;
102
+ }
@@ -0,0 +1,164 @@
1
+ .pagination-color-loop(@ruleset) when (length( @colors ) >= 1) {
2
+ @length: length(@colors);
3
+ .looper( 1 );
4
+ .looper( @index ) when ( @index <= @length ) and (length(extract( @colors, @index )) = 2) {
5
+ @paginationPair: extract(@colors, @index);
6
+ @paginationColorName: extract(@paginationPair, 1);
7
+ @paginationColorValue: extract(@paginationPair, 2);
8
+ @ruleset();
9
+ .looper( @index + 1 );
10
+ }
11
+ }
12
+
13
+ :root {
14
+ /*
15
+ --swiper-pagination-color: var(--swiper-theme-color);
16
+ */
17
+ }
18
+ .swiper-pagination {
19
+ position: absolute;
20
+ text-align: center;
21
+ transition: 300ms opacity;
22
+ transform: translate3d(0, 0, 0);
23
+ z-index: 10;
24
+ &.swiper-pagination-hidden {
25
+ opacity: 0;
26
+ }
27
+ }
28
+ /* Common Styles */
29
+ .swiper-pagination-fraction,
30
+ .swiper-pagination-custom,
31
+ .swiper-container-horizontal > .swiper-pagination-bullets {
32
+ bottom: 10px;
33
+ left: 0;
34
+ width: 100%;
35
+ }
36
+ /* Bullets */
37
+ .swiper-pagination-bullets-dynamic {
38
+ overflow: hidden;
39
+ font-size: 0;
40
+ .swiper-pagination-bullet {
41
+ transform: scale(0.33);
42
+ position: relative;
43
+ }
44
+ .swiper-pagination-bullet-active {
45
+ transform: scale(1);
46
+ }
47
+ .swiper-pagination-bullet-active-main {
48
+ transform: scale(1);
49
+ }
50
+ .swiper-pagination-bullet-active-prev {
51
+ transform: scale(0.66);
52
+ }
53
+ .swiper-pagination-bullet-active-prev-prev {
54
+ transform: scale(0.33);
55
+ }
56
+ .swiper-pagination-bullet-active-next {
57
+ transform: scale(0.66);
58
+ }
59
+ .swiper-pagination-bullet-active-next-next {
60
+ transform: scale(0.33);
61
+ }
62
+ }
63
+ .swiper-pagination-bullet {
64
+ width: 8px;
65
+ height: 8px;
66
+ display: inline-block;
67
+ border-radius: 100%;
68
+ background: #ced0da;
69
+
70
+ button& {
71
+ border: none;
72
+ margin: 0;
73
+ padding: 0;
74
+ box-shadow: none;
75
+ appearance: none;
76
+ }
77
+
78
+ .swiper-pagination-clickable & {
79
+ cursor: pointer;
80
+ }
81
+ }
82
+ .swiper-pagination-bullet-active {
83
+ opacity: 1;
84
+ background: var(--swiper-pagination-color, var(--swiper-theme-color));
85
+ }
86
+
87
+ .swiper-container-vertical {
88
+ > .swiper-pagination-bullets {
89
+ right: 10px;
90
+ top: 50%;
91
+ transform: translate3d(0px, -50%, 0);
92
+ .swiper-pagination-bullet {
93
+ margin: 6px 0;
94
+ display: block;
95
+ }
96
+ &.swiper-pagination-bullets-dynamic {
97
+ top: 50%;
98
+ transform: translateY(-50%);
99
+ width: 8px;
100
+ .swiper-pagination-bullet {
101
+ display: inline-block;
102
+ transition: 200ms transform, 200ms top;
103
+ }
104
+ }
105
+ }
106
+ }
107
+ .swiper-container-horizontal {
108
+ > .swiper-pagination-bullets {
109
+ .swiper-pagination-bullet {
110
+ margin: 0 4px;
111
+ }
112
+ &.swiper-pagination-bullets-dynamic {
113
+ left: 50%;
114
+ transform: translateX(-50%);
115
+ white-space: nowrap;
116
+ .swiper-pagination-bullet {
117
+ transition: 200ms transform, 200ms left;
118
+ }
119
+ }
120
+ }
121
+ &.swiper-container-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
122
+ transition: 200ms transform, 200ms right;
123
+ }
124
+ }
125
+ /* Progress */
126
+ .swiper-pagination-progressbar {
127
+ background: rgba(0, 0, 0, 0.25);
128
+ position: absolute;
129
+ .swiper-pagination-progressbar-fill {
130
+ background: var(--swiper-pagination-color, var(--swiper-theme-color));
131
+ position: absolute;
132
+ left: 0;
133
+ top: 0;
134
+ width: 100%;
135
+ height: 100%;
136
+ transform: scale(0);
137
+ transform-origin: left top;
138
+ }
139
+ .swiper-container-rtl & .swiper-pagination-progressbar-fill {
140
+ transform-origin: right top;
141
+ }
142
+ .swiper-container-horizontal > &,
143
+ .swiper-container-vertical > &.swiper-pagination-progressbar-opposite {
144
+ width: 100%;
145
+ height: 4px;
146
+ left: 0;
147
+ top: 0;
148
+ }
149
+ .swiper-container-vertical > &,
150
+ .swiper-container-horizontal > &.swiper-pagination-progressbar-opposite {
151
+ width: 4px;
152
+ height: 100%;
153
+ left: 0;
154
+ top: 0;
155
+ }
156
+ }
157
+ .pagination-color-loop({
158
+ .swiper-pagination-@{paginationColorName} {
159
+ --swiper-pagination-color: @paginationColorValue;
160
+ }
161
+ });
162
+ .swiper-pagination-lock {
163
+ display: none;
164
+ }
@@ -0,0 +1,38 @@
1
+ /* Scrollbar */
2
+ .swiper-scrollbar {
3
+ border-radius: 10px;
4
+ position: relative;
5
+ -ms-touch-action: none;
6
+ background: rgba(0, 0, 0, 0.1);
7
+ .swiper-container-horizontal > & {
8
+ position: absolute;
9
+ left: 1%;
10
+ bottom: 3px;
11
+ z-index: 50;
12
+ height: 5px;
13
+ width: 98%;
14
+ }
15
+ .swiper-container-vertical > & {
16
+ position: absolute;
17
+ right: 3px;
18
+ top: 1%;
19
+ z-index: 50;
20
+ width: 5px;
21
+ height: 98%;
22
+ }
23
+ }
24
+ .swiper-scrollbar-drag {
25
+ height: 100%;
26
+ width: 100%;
27
+ position: relative;
28
+ background: rgba(0, 0, 0, 0.5);
29
+ border-radius: 10px;
30
+ left: 0;
31
+ top: 0;
32
+ }
33
+ .swiper-scrollbar-cursor-drag {
34
+ cursor: move;
35
+ }
36
+ .swiper-scrollbar-lock {
37
+ display: none;
38
+ }
@@ -0,0 +1,5 @@
1
+ .swiper-container-thumbs {
2
+ .swiper-slide-thumb-active {
3
+ // Styles for active thumb slide
4
+ }
5
+ }
@@ -0,0 +1,20 @@
1
+ .swiper-zoom-container {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ text-align: center;
8
+
9
+ > img,
10
+ > svg,
11
+ > canvas {
12
+ max-width: 100%;
13
+ max-height: 100%;
14
+ object-fit: contain;
15
+ }
16
+ }
17
+
18
+ .swiper-slide-zoomed {
19
+ cursor: move;
20
+ }
package/swiper.less ADDED
@@ -0,0 +1,168 @@
1
+ //@themeColor: #007aff;
2
+ @themeColor: @primary-color;
3
+ @colors: white #ffffff, black #000000;
4
+
5
+ @font-face {
6
+ @fontBase64: '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';
7
+ font-family: 'swiper-icons';
8
+ src: url('data:application/font-woff;charset=utf-8;base64, @{fontBase64}') format('woff');
9
+ font-weight: 400;
10
+ font-style: normal;
11
+ }
12
+
13
+ :root {
14
+ --swiper-theme-color: @themeColor;
15
+ }
16
+
17
+ .swiper-container {
18
+ margin-left: auto;
19
+ margin-right: auto;
20
+ position: relative;
21
+ overflow: hidden;
22
+ list-style: none;
23
+ padding: 0;
24
+ /* Fix of Webkit flickering */
25
+ z-index: 1;
26
+ }
27
+
28
+ .swiper-container-vertical>.swiper-wrapper {
29
+ flex-direction: column;
30
+ }
31
+
32
+ .swiper-wrapper {
33
+ position: relative;
34
+ width: 100%;
35
+ height: 100%;
36
+ z-index: 1;
37
+ display: flex;
38
+ transition-property: transform;
39
+ box-sizing: content-box;
40
+ }
41
+
42
+ .swiper-container-android .swiper-slide,
43
+ .swiper-wrapper {
44
+ transform: translate3d(0px, 0, 0);
45
+ }
46
+
47
+ .swiper-container-multirow>.swiper-wrapper {
48
+ flex-wrap: wrap;
49
+ }
50
+
51
+ .swiper-container-multirow-column>.swiper-wrapper {
52
+ flex-wrap: wrap;
53
+ flex-direction: column;
54
+ }
55
+
56
+ .swiper-container-free-mode>.swiper-wrapper {
57
+ transition-timing-function: ease-out;
58
+ margin: 0 auto;
59
+ }
60
+
61
+ .swiper-slide {
62
+ flex-shrink: 0;
63
+ width: 100%;
64
+ height: 100%;
65
+ position: relative;
66
+ transition-property: transform;
67
+ }
68
+
69
+ .swiper-slide-invisible-blank {
70
+ visibility: hidden;
71
+ }
72
+
73
+ /* Auto Height */
74
+ .swiper-container-autoheight,
75
+ .swiper-container-autoheight .swiper-slide {
76
+ height: auto;
77
+ }
78
+
79
+ .swiper-container-autoheight .swiper-wrapper {
80
+ align-items: flex-start;
81
+ transition-property: transform, height;
82
+ }
83
+
84
+ /* 3D Effects */
85
+ .swiper-container-3d {
86
+ perspective: 1200px;
87
+
88
+ .swiper-wrapper,
89
+ .swiper-slide,
90
+ .swiper-slide-shadow-left,
91
+ .swiper-slide-shadow-right,
92
+ .swiper-slide-shadow-top,
93
+ .swiper-slide-shadow-bottom,
94
+ .swiper-cube-shadow {
95
+ transform-style: preserve-3d;
96
+ }
97
+
98
+ .swiper-slide-shadow-left,
99
+ .swiper-slide-shadow-right,
100
+ .swiper-slide-shadow-top,
101
+ .swiper-slide-shadow-bottom {
102
+ position: absolute;
103
+ left: 0;
104
+ top: 0;
105
+ width: 100%;
106
+ height: 100%;
107
+ pointer-events: none;
108
+ z-index: 10;
109
+ }
110
+
111
+ .swiper-slide-shadow-left {
112
+ background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
113
+ }
114
+
115
+ .swiper-slide-shadow-right {
116
+ background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
117
+ }
118
+
119
+ .swiper-slide-shadow-top {
120
+ background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
121
+ }
122
+
123
+ .swiper-slide-shadow-bottom {
124
+ background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
125
+ }
126
+ }
127
+
128
+ /* CSS Mode */
129
+ .swiper-container-css-mode {
130
+ >.swiper-wrapper {
131
+ overflow: auto;
132
+ scrollbar-width: none;
133
+ /* For Firefox */
134
+ -ms-overflow-style: none;
135
+
136
+ /* For Internet Explorer and Edge */
137
+ &::-webkit-scrollbar {
138
+ display: none;
139
+ }
140
+ }
141
+
142
+ >.swiper-wrapper>.swiper-slide {
143
+ scroll-snap-align: start start;
144
+ }
145
+ }
146
+
147
+ .swiper-container-horizontal.swiper-container-css-mode {
148
+ >.swiper-wrapper {
149
+ scroll-snap-type: x mandatory;
150
+ }
151
+ }
152
+
153
+ .swiper-container-vertical.swiper-container-css-mode {
154
+ >.swiper-wrapper {
155
+ scroll-snap-type: y mandatory;
156
+ }
157
+ }
158
+
159
+ @import "./swiper-a11y.less";
160
+ @import "./swiper-effect-cube.less";
161
+ @import "./swiper-effect-fade.less";
162
+ @import "./swiper-effect-flip.less";
163
+ @import "./swiper-lazy.less";
164
+ @import "./swiper-navigation.less";
165
+ @import "./swiper-pagination.less";
166
+ @import "./swiper-scrollbar.less";
167
+ @import "./swiper-thumb.less";
168
+ @import "./swiper-zoom.less";
package/tooltip.less ADDED
@@ -0,0 +1,168 @@
1
+ @tooltip-border-color: rgba(79, 90, 101, 0.27);
2
+ @tooltip-bg: @white;
3
+ @tooltip-border: solid 0.5px @tooltip-border-color;
4
+ @tooltip-box-shadow: 0 1px 4px 0 rgba(79, 90, 101, 0.3);
5
+ @tooltip-font-size: @small-font-size;
6
+
7
+ .tooltip {
8
+ background: @tooltip-bg;
9
+ border: @tooltip-border;
10
+ padding: @spacer;
11
+ font-size: @tooltip-font-size;
12
+ font-weight: @font-weight-normal;
13
+ width: 210px;
14
+ position: absolute;
15
+ z-index: 2;
16
+ right: 64px;
17
+ top: 18px;
18
+ .border-radius(@border-radius);
19
+ .box-shadow (@tooltip-box-shadow);
20
+ border-top-right-radius: 0;
21
+ visibility: hidden;
22
+ opacity: 0;
23
+ transition: visibility 0.35s, opacity 0.35s ease-in-out;
24
+
25
+ .tooltip-inner {
26
+ position: relative;
27
+
28
+ .triangle-box {
29
+ position: absolute;
30
+ right: -55px;
31
+ top: -16px;
32
+
33
+ .triangle-with-shadow {
34
+ width: 40px;
35
+ height: 40px;
36
+ position: relative;
37
+ overflow: hidden;
38
+
39
+ &:before, &:after {
40
+ content: "";
41
+ position: absolute;
42
+ width: 31px;
43
+ height: 85px;
44
+ background: @tooltip-bg;
45
+ border: @tooltip-border;
46
+ }
47
+
48
+ &:before {
49
+ transform: rotate(90deg);
50
+ top: -57px;
51
+ left: -37px;
52
+ z-index: 2;
53
+ }
54
+
55
+ &:after {
56
+ transform: rotate(38deg);
57
+ top: -34px;
58
+ left: -19px;
59
+ .box-shadow (@tooltip-box-shadow);
60
+ z-index: 1;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ &-right {
67
+ .border-radius(@border-radius);
68
+ border-top-left-radius: 0;
69
+ left: 64px;
70
+ right: unset;
71
+ top: 7px;
72
+
73
+ .tooltip-inner {
74
+ position: relative;
75
+
76
+ .triangle-box {
77
+ left: -55px;
78
+ right: unset;
79
+
80
+ .triangle-with-shadow {
81
+ &:before {
82
+ left: 42px;
83
+ }
84
+
85
+ &:after {
86
+ transform: rotate(148deg);
87
+ left: 21px;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+ &-bottom {
95
+ padding: 0;
96
+ top: inherit;
97
+ bottom: 25px;
98
+ right: 0;
99
+
100
+ .tooltip-inner {
101
+ padding: 1rem;
102
+
103
+ &:after {
104
+ content: '';
105
+ display: block;
106
+ width: 15px;
107
+ height: 15px;
108
+ position: absolute;
109
+ bottom: -7px;
110
+ right: 10px;
111
+ background-color: @tooltip-bg;
112
+ .box-shadow(-1px -1px 0 @tooltip-border-color);
113
+ .transform(rotate(-135deg));
114
+ }
115
+
116
+ .triangle-box {
117
+ display: none;
118
+ }
119
+ }
120
+ }
121
+
122
+ &-top {
123
+ padding: 0;
124
+ top: 25px;
125
+ right: 0;
126
+
127
+ .tooltip-inner {
128
+ padding: 1rem;
129
+
130
+ &:after {
131
+ content: '';
132
+ display: block;
133
+ width: 15px;
134
+ height: 15px;
135
+ position: absolute;
136
+ top: -7px;
137
+ right: 10px;
138
+ background-color: @tooltip-bg;
139
+ .box-shadow(-1px -1px 0 @tooltip-border-color);
140
+ .transform(rotate(45deg));
141
+ }
142
+
143
+ .triangle-box {
144
+ display: none;
145
+ }
146
+ }
147
+ }
148
+ }
149
+
150
+ .has-tooltip {
151
+ &.locked {
152
+ .info {
153
+ display: none;
154
+ }
155
+
156
+ &:hover {
157
+ .tooltip {
158
+ visibility: visible;
159
+ opacity: 1;
160
+ }
161
+ }
162
+ }
163
+
164
+ .info:hover ~ .tooltip {
165
+ visibility: visible;
166
+ opacity: 1;
167
+ }
168
+ }