Update main.css
This commit is contained in:
+10
-11
@@ -89,7 +89,6 @@ button, input[type=submit] {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BUTTONS: Statisch, stabilisiert und mit festen 4px Margin */
|
|
||||||
.primary, .secondary {
|
.primary, .secondary {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -101,15 +100,11 @@ button, input[type=submit] {
|
|||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
line-height: 1.2;
|
border-left: 0px solid var(--ztfr-purple);
|
||||||
transition: background-color 0.1s linear, filter 0.1s linear, opacity 0.1s linear;
|
|
||||||
|
|
||||||
-webkit-font-smoothing: antialiased;
|
transition: background-color 0.2s ease, border-left 0.2s ease, padding-left 0.2s ease, filter 0.2s ease;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
font-smooth: never;
|
|
||||||
|
|
||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
will-change: background-color;
|
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -117,12 +112,15 @@ button, input[type=submit] {
|
|||||||
background: var(--foreground);
|
background: var(--foreground);
|
||||||
color: var(--app-background) !important;
|
color: var(--app-background) !important;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid var(--foreground);
|
border-top: none;
|
||||||
|
border-right: none;
|
||||||
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary:hover {
|
.primary:hover {
|
||||||
filter: brightness(0.9);
|
filter: brightness(0.9);
|
||||||
transform: none !important;
|
border-left: 6px solid var(--ztfr-purple) !important;
|
||||||
|
padding-left: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary {
|
.secondary {
|
||||||
@@ -134,7 +132,8 @@ button, input[type=submit] {
|
|||||||
|
|
||||||
.secondary:hover {
|
.secondary:hover {
|
||||||
background: rgba(255,255,255,0.05);
|
background: rgba(255,255,255,0.05);
|
||||||
transform: none !important;
|
border-left: 6px solid var(--ztfr-purple) !important;
|
||||||
|
padding-left: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix für Button-Container (entfernt versteckte Gaps und stabilisiert Layout) */
|
/* Fix für Button-Container (entfernt versteckte Gaps und stabilisiert Layout) */
|
||||||
|
|||||||
Reference in New Issue
Block a user