@skroz/frontend 0.0.8 → 0.0.9
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/package.json +2 -2
- package/src/styles/auth.less +26 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skroz/frontend",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "98cfc3037eb87dc194c34e9a703263e34ca5141d"
|
|
50
50
|
}
|
package/src/styles/auth.less
CHANGED
|
@@ -136,18 +136,37 @@
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.contrast-button {
|
|
140
|
-
background: linear-gradient(
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
.contrast-button.ant-btn {
|
|
140
|
+
background-image: linear-gradient(90deg, @contrast-color, @contrast-gradient-color, @contrast-color) !important;
|
|
141
|
+
background-color: transparent !important;
|
|
142
|
+
background-size: 200% 100% !important;
|
|
143
|
+
animation: contrastGradientShift 6s ease-in-out infinite !important;
|
|
144
|
+
border: 0 !important;
|
|
145
|
+
color: @white-text-color !important;
|
|
143
146
|
|
|
144
147
|
&:hover,
|
|
145
148
|
&:not(:disabled):not(.ant-btn-disabled):hover,
|
|
146
149
|
&:not(:disabled):not(.ant-btn-disabled):active,
|
|
147
150
|
&:focus {
|
|
148
|
-
background: linear-gradient(
|
|
149
|
-
color:
|
|
150
|
-
|
|
151
|
+
background-image: linear-gradient(90deg, @contrast-color, @contrast-gradient-color, @contrast-color) !important;
|
|
152
|
+
background-color: transparent !important;
|
|
153
|
+
background-size: 200% 100% !important;
|
|
154
|
+
color: @white-text-color !important;
|
|
155
|
+
opacity: 0.9;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@keyframes contrastGradientShift {
|
|
160
|
+
0% {
|
|
161
|
+
background-position: 0% 50%;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
50% {
|
|
165
|
+
background-position: 100% 50%;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
100% {
|
|
169
|
+
background-position: 0% 50%;
|
|
151
170
|
}
|
|
152
171
|
}
|
|
153
172
|
|