Hold Fix
This commit is contained in:
1 parent
7e8a7d7210
commit
894b02597a
6 files changed
+33
-9
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ module.exports = {
|
|||||||
"typescript": {
|
"typescript": {
|
||||||
"ignoreBuildErrors": true,
|
"ignoreBuildErrors": true,
|
||||||
},
|
},
|
||||||
allowedDevOrigins: ['192.168.0.110', '10.8.0.23'],
|
allowedDevOrigins: ['192.168.0.110', '10.8.0.23', '10.145.37.176'],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default withSerwist(nextConfig);
|
export default withSerwist(nextConfig);
|
||||||
@@ -108,7 +108,9 @@ export default function ChargedButton({
|
|||||||
className={styles["charged-button-frame"]}
|
className={styles["charged-button-frame"]}
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
style={{ backgroundImage: whiteText ? "url(/buttons/Button_weiß.png)" : "url(/buttons/Button_leer.webp)" }}
|
style={{ backgroundImage: whiteText ? "url(/buttons/Button_weiß.png)" : "url(/buttons/Button_leer.webp)" }}
|
||||||
onContextMenu={() => false}
|
onContextMenu={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
@@ -119,7 +121,9 @@ export default function ChargedButton({
|
|||||||
clipPath: `inset(0 ${clipPercent}% 0 0)`,
|
clipPath: `inset(0 ${clipPercent}% 0 0)`,
|
||||||
WebkitClipPath: `inset(0 ${clipPercent}% 0 0)`,
|
WebkitClipPath: `inset(0 ${clipPercent}% 0 0)`,
|
||||||
}}
|
}}
|
||||||
onContextMenu={() => false}
|
onContextMenu={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span className={clsx(styles["charged-button-label"], "lancelot-regular", whiteText && styles["charged-button-label-whiteText"])}>{children}</span>
|
<span className={clsx(styles["charged-button-label"], "lancelot-regular", whiteText && styles["charged-button-label-whiteText"])}>{children}</span>
|
||||||
|
|||||||
@@ -34,6 +34,9 @@ export default function OldButton({children, long=true, red=true, disabled=false
|
|||||||
}
|
}
|
||||||
alt={"Button Background"}
|
alt={"Button Background"}
|
||||||
className={styles["image"]}
|
className={styles["image"]}
|
||||||
|
onContextMenu={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<span className={clsx(styles["label"], "lancelot-regular", disabled && styles["label-disabled"])}>
|
<span className={clsx(styles["label"], "lancelot-regular", disabled && styles["label-disabled"])}>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -15,8 +15,11 @@
|
|||||||
color: black;
|
color: black;
|
||||||
transition: box-shadow 120ms ease, transform 120ms ease, 150ms ease-out filter, 150ms ease-out color;
|
transition: box-shadow 120ms ease, transform 120ms ease, 150ms ease-out filter, 150ms ease-out color;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
user-select: none;
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: -moz-none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
--shadow: drop-shadow(0px 0px 4px #000a);
|
--shadow: drop-shadow(0px 0px 4px #000a);
|
||||||
filter: var(--shadow);
|
filter: var(--shadow);
|
||||||
}
|
}
|
||||||
@@ -61,9 +64,12 @@
|
|||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
|
||||||
-webkit-user-select: none; /* Safari */
|
-webkit-user-select: none; /* Safari */
|
||||||
-moz-user-select: none; /* Firefox */
|
-moz-user-select: -moz-none; /* Firefox */
|
||||||
-ms-user-select: none; /* IE10+/Edge */
|
-ms-user-select: none; /* IE10+/Edge */
|
||||||
user-select: none; /* Standard */
|
user-select: none; /* Standard */
|
||||||
|
-webkit-touch-callout: none; /* iOS Bild speichern Feature aus */
|
||||||
|
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
|
||||||
/*text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);*/
|
/*text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);*/
|
||||||
}
|
}
|
||||||
@@ -87,9 +93,12 @@
|
|||||||
color: white;
|
color: white;
|
||||||
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: -moz-none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
-webkit-touch-callout: none; /* iOS Bild speichern Feature aus */
|
||||||
|
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
|
||||||
will-change: clip-path;
|
will-change: clip-path;
|
||||||
}
|
}
|
||||||
@@ -10,15 +10,22 @@
|
|||||||
-webkit-filter: var(--shadow);
|
-webkit-filter: var(--shadow);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
filter: var(--shadow);
|
filter: var(--shadow);
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: -moz-none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 220px;
|
width: 220px;
|
||||||
-webkit-user-select: none; /* Safari */
|
-webkit-user-select: none; /* Safari */
|
||||||
-moz-user-select: none; /* Firefox */
|
-moz-user-select: -moz-none; /* Firefox */
|
||||||
-ms-user-select: none; /* IE10+/Edge */
|
-ms-user-select: none; /* IE10+/Edge */
|
||||||
user-select: none; /* Standard */
|
user-select: none; /* Standard */
|
||||||
|
-webkit-touch-callout: none; /* iOS Bild speichern Feature aus */
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
@@ -27,9 +34,10 @@
|
|||||||
transition: 150ms ease-out color;
|
transition: 150ms ease-out color;
|
||||||
color: white;
|
color: white;
|
||||||
-webkit-user-select: none; /* Safari */
|
-webkit-user-select: none; /* Safari */
|
||||||
-moz-user-select: none; /* Firefox */
|
-moz-user-select: -moz-none; /* Firefox */
|
||||||
-ms-user-select: none; /* IE10+/Edge */
|
-ms-user-select: none; /* IE10+/Edge */
|
||||||
user-select: none; /* Standard */
|
user-select: none; /* Standard */
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
|
||||||
p {
|
p {
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
|
|||||||
+1
-1
@@ -17,4 +17,4 @@ const isDev = process.env.NODE_ENV === "development";
|
|||||||
|
|
||||||
export const HTTP_SCHEME = isDev ? "http" : "https";
|
export const HTTP_SCHEME = isDev ? "http" : "https";
|
||||||
export const WS_SCHEME = isDev ? "ws" : "wss";
|
export const WS_SCHEME = isDev ? "ws" : "wss";
|
||||||
export const API_PREFIX = isDev ? "localhost:8080" : "api.excaliburs-erben.de";
|
export const API_PREFIX = isDev ? "192.168.0.110:8080" : "api.excaliburs-erben.de";
|
||||||
Reference in new issue
Block a user