We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d58224a commit 6ad1b06Copy full SHA for 6ad1b06
style/mobile/components/upload/_index.less
@@ -14,12 +14,31 @@
14
height: @upload-height;
15
border-radius: @upload-radius;
16
overflow: hidden;
17
+ transition: all @anim-duration-base ease-in-out;
18
19
&--add {
20
font-size: @upload-add-icon-font-size;
21
background: @upload-background;
22
color: @upload-add-color;
23
}
24
+
25
+ &--dragging {
26
+ opacity: 0.9;
27
+ transform: scale(1.05);
28
+ box-shadow: @shadow-2;
29
+ }
30
31
+ &--drag-over::before {
32
+ content: '';
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ width: 100%;
37
+ height: 100%;
38
+ box-shadow: inset 0 0 0 1px @brand-color;
39
+ border-radius: @upload-radius;
40
+ z-index: 1;
41
42
43
44
&__add-icon {
0 commit comments