Refactor button styles and layout adjustments
Updated button styles for improved layout and transitions.
This commit is contained in:
+15
-11
@@ -89,6 +89,7 @@ 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;
|
||||||
@@ -100,22 +101,23 @@ button, input[type=submit] {
|
|||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
transition: background-color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
|
line-height: 1.2;
|
||||||
|
transition: background-color 0.1s linear, filter 0.1s linear, opacity 0.1s linear;
|
||||||
|
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
font-smooth: never;
|
||||||
|
|
||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
|
will-change: background-color;
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
perspective: 1000px;
|
|
||||||
|
|
||||||
vertical-align: middle;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary {
|
.primary {
|
||||||
background: var(--foreground);
|
background: var(--foreground);
|
||||||
color: var(--app-background) !important;
|
color: var(--app-background) !important;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: none;
|
border: 1px solid var(--foreground);
|
||||||
transform: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary:hover {
|
.primary:hover {
|
||||||
@@ -128,7 +130,6 @@ 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 {
|
||||||
@@ -136,7 +137,7 @@ button, input[type=submit] {
|
|||||||
transform: none !important;
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix für Button-Container (entfernt versteckte Gaps) */
|
/* Fix für Button-Container (entfernt versteckte Gaps und stabilisiert Layout) */
|
||||||
.actions,
|
.actions,
|
||||||
.ClientView .actions,
|
.ClientView .actions,
|
||||||
.ClientListView .actions,
|
.ClientListView .actions,
|
||||||
@@ -144,14 +145,17 @@ button, input[type=submit] {
|
|||||||
display: flex !important;
|
display: flex !important;
|
||||||
flex-direction: column !important;
|
flex-direction: column !important;
|
||||||
gap: 0px !important;
|
gap: 0px !important;
|
||||||
|
align-items: stretch;
|
||||||
|
justify-content: flex-start;
|
||||||
|
backface-visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Entfernt den Abstand beim letzten Button in einer Gruppe für saubere Optik */
|
/* Entfernt den Abstand beim letzten Button in einer Gruppe */
|
||||||
.actions > *:last-child {
|
.actions > *:last-child {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Input Felder: Dunkel statt Weiß */
|
/* Input Felder */
|
||||||
input[type='text'].large {
|
input[type='text'].large {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
|
|||||||
Reference in New Issue
Block a user