@revikornmann/muka-ui 0.59.0 → 0.60.0
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/dist/cjs/components/PhotoUploader/PhotoUploader.css +21 -0
- package/dist/esm/components/PhotoUploader/PhotoUploader.css +21 -0
- package/dist/styles/components/PhotoUploader.css +21 -0
- package/dist/styles/index.css +1414 -1393
- package/dist/styles/muka-dark.css +1414 -1393
- package/dist/styles/muka-light.css +1414 -1393
- package/dist/styles/wireframe-dark.css +1414 -1393
- package/dist/styles/wireframe-light.css +1414 -1393
- package/package.json +1 -1
|
@@ -74,6 +74,27 @@
|
|
|
74
74
|
color: var(--color-text-default-default);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/*
|
|
78
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
79
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
80
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
81
|
+
* its drop zone.
|
|
82
|
+
*/
|
|
83
|
+
@media (hover: none) and (pointer: coarse) {
|
|
84
|
+
.muka-photo-uploader__dropzone {
|
|
85
|
+
align-items: flex-start;
|
|
86
|
+
padding: 0;
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
border: none;
|
|
89
|
+
border-radius: 0;
|
|
90
|
+
cursor: default;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.muka-photo-uploader__dropzone-text {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
77
98
|
/* ─── Disabled ────────────────────────────────────────── */
|
|
78
99
|
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
79
100
|
cursor: not-allowed;
|
|
@@ -74,6 +74,27 @@
|
|
|
74
74
|
color: var(--color-text-default-default);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/*
|
|
78
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
79
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
80
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
81
|
+
* its drop zone.
|
|
82
|
+
*/
|
|
83
|
+
@media (hover: none) and (pointer: coarse) {
|
|
84
|
+
.muka-photo-uploader__dropzone {
|
|
85
|
+
align-items: flex-start;
|
|
86
|
+
padding: 0;
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
border: none;
|
|
89
|
+
border-radius: 0;
|
|
90
|
+
cursor: default;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.muka-photo-uploader__dropzone-text {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
77
98
|
/* ─── Disabled ────────────────────────────────────────── */
|
|
78
99
|
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
79
100
|
cursor: not-allowed;
|
|
@@ -74,6 +74,27 @@
|
|
|
74
74
|
color: var(--color-text-default-default);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/*
|
|
78
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
79
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
80
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
81
|
+
* its drop zone.
|
|
82
|
+
*/
|
|
83
|
+
@media (hover: none) and (pointer: coarse) {
|
|
84
|
+
.muka-photo-uploader__dropzone {
|
|
85
|
+
align-items: flex-start;
|
|
86
|
+
padding: 0;
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
border: none;
|
|
89
|
+
border-radius: 0;
|
|
90
|
+
cursor: default;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.muka-photo-uploader__dropzone-text {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
77
98
|
/* ─── Disabled ────────────────────────────────────────── */
|
|
78
99
|
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
79
100
|
cursor: not-allowed;
|