benivo-ui-library 1.7.37 → 1.7.39

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,163 @@
1
+ @arrow-button-color: #93979b;
2
+
3
+ .arrow-button {
4
+ position: absolute;
5
+ top: 50%;
6
+ .transform(translateY(-50%));
7
+ z-index: 2;
8
+ border: none;
9
+ background-color: @light-gray-bg;
10
+ cursor: pointer;
11
+ padding: 0;
12
+ width: 35px;
13
+ height: 70px;
14
+ font-size: 20px;
15
+
16
+ @media @md {
17
+ width: 57px;
18
+ height: 114px;
19
+ font-size: 30px;
20
+ }
21
+
22
+ &.disabled {
23
+ pointer-events: none;
24
+ opacity: 0.5;
25
+ }
26
+
27
+ &.blocked:not(.inactive) {
28
+ pointer-events: none;
29
+ opacity: 0.5;
30
+ }
31
+
32
+ &.has-tooltip {
33
+ position: absolute;
34
+ }
35
+
36
+ &.left-side {
37
+ left: 0;
38
+ padding-left: 6px;
39
+ .border-radius(0 60px 60px 0);
40
+ text-align: left;
41
+ .box-shadow(2px 2px 4px 0 rgba(0, 0, 0, 0.06));
42
+
43
+ @media @md {
44
+ padding-left: 12px;
45
+ }
46
+ }
47
+
48
+ &.right-side {
49
+ right: 0;
50
+ padding-right: 6px;
51
+ .border-radius(60px 0 0 60px);
52
+ text-align: right;
53
+ .box-shadow(-2px 2px 4px 0 rgba(0, 0, 0, 0.06));
54
+
55
+ @media @md {
56
+ padding-right: 12px;
57
+ }
58
+ }
59
+
60
+ span {
61
+ display: block;
62
+
63
+ &:before {
64
+ color: @arrow-button-color;
65
+ }
66
+ }
67
+
68
+ &.arrow-skeleton {
69
+ pointer-events: none;
70
+
71
+ span {
72
+
73
+ &:before {
74
+ color: #eeeeee;
75
+ }
76
+ }
77
+ }
78
+
79
+ &.animate-icon {
80
+ .icon {
81
+ @media screen and (min-width: 993px) {
82
+ -webkit-animation: bounceRight 2s infinite;
83
+ animation: bounceRight 2s infinite;
84
+ animation-delay: 15s;
85
+ }
86
+ }
87
+
88
+ &:hover {
89
+ .icon {
90
+ animation-delay: .1s;
91
+ }
92
+ }
93
+ }
94
+
95
+ .icon {
96
+ &.hide-by-animate {
97
+ transition: transform 500ms;
98
+ .transform(translateX(300%));
99
+ }
100
+ }
101
+
102
+ &.text-animation {
103
+ width: auto;
104
+ height: 54px;
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: flex-end;
108
+ .border-radius(100px 0 0 100px);
109
+ padding-left: 15px;
110
+
111
+ .text-wrapper {
112
+ font-size: 16px;
113
+ line-height: 24px;
114
+ margin-right: 40px;
115
+ }
116
+
117
+ &.last-btn {
118
+ .text-wrapper {
119
+ margin-right: 10px;
120
+ }
121
+ }
122
+
123
+ &.active {
124
+ &:hover {
125
+ background-color: @primary-color;
126
+ color: @white;
127
+
128
+ .icon:before {
129
+ color: @white;
130
+ }
131
+ }
132
+
133
+ @media @lg-max {
134
+ background-color: @primary-color;
135
+ color: @white;
136
+
137
+ .icon:before {
138
+ color: @white;
139
+ }
140
+ }
141
+ }
142
+
143
+ &.inactive {
144
+ opacity: 0.5;
145
+ }
146
+
147
+ &.submitted {
148
+ opacity: 1;
149
+
150
+ @media @lg {
151
+ .text-wrapper {
152
+ margin-right: 10px;
153
+ }
154
+ }
155
+ }
156
+
157
+ .icon-submitted {
158
+ &:before {
159
+ color: @primary-color;
160
+ }
161
+ }
162
+ }
163
+ }