Update button styles for consistency and effects
Enhanced button styles with improved transitions and transformations.
This commit is contained in:
+14
-3
@@ -89,18 +89,25 @@ button, input[type=submit] {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BUTTONS: Überall konsistent 4px Margin */
|
|
||||||
.primary, .secondary {
|
.primary, .secondary {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 14px 20px;
|
padding: 14px 20px;
|
||||||
margin: 4px 0 !important; /* Fixierter Abstand nach deinem Wunsch */
|
margin: 4px 0 !important;
|
||||||
display: block;
|
display: block;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
transition: all 0.2s ease;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
transition: background-color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
|
||||||
|
|
||||||
|
transform: translateZ(0);
|
||||||
|
backface-visibility: hidden;
|
||||||
|
perspective: 1000px;
|
||||||
|
|
||||||
|
vertical-align: middle;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary {
|
.primary {
|
||||||
@@ -108,10 +115,12 @@ button, input[type=submit] {
|
|||||||
color: var(--app-background) !important;
|
color: var(--app-background) !important;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: none;
|
border: none;
|
||||||
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary:hover {
|
.primary:hover {
|
||||||
filter: brightness(0.9);
|
filter: brightness(0.9);
|
||||||
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary {
|
.secondary {
|
||||||
@@ -119,10 +128,12 @@ button, input[type=submit] {
|
|||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
border: 1px solid var(--foreground);
|
border: 1px solid var(--foreground);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
transform: translateZ(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary:hover {
|
.secondary:hover {
|
||||||
background: rgba(255,255,255,0.05);
|
background: rgba(255,255,255,0.05);
|
||||||
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix für Button-Container (entfernt versteckte Gaps) */
|
/* Fix für Button-Container (entfernt versteckte Gaps) */
|
||||||
|
|||||||
Reference in New Issue
Block a user