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%;
|
||||
}
|
||||
|
||||
/* BUTTONS: Statisch, stabilisiert und mit festen 4px Margin */
|
||||
.primary, .secondary {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
@@ -100,22 +101,23 @@ button, input[type=submit] {
|
||||
letter-spacing: 1px;
|
||||
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);
|
||||
will-change: background-color;
|
||||
backface-visibility: hidden;
|
||||
perspective: 1000px;
|
||||
|
||||
vertical-align: middle;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.primary {
|
||||
background: var(--foreground);
|
||||
color: var(--app-background) !important;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
transform: none !important;
|
||||
border: 1px solid var(--foreground);
|
||||
}
|
||||
|
||||
.primary:hover {
|
||||
@@ -128,7 +130,6 @@ button, input[type=submit] {
|
||||
color: var(--foreground);
|
||||
border: 1px solid var(--foreground);
|
||||
border-radius: 4px;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.secondary:hover {
|
||||
@@ -136,7 +137,7 @@ button, input[type=submit] {
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
/* Fix für Button-Container (entfernt versteckte Gaps) */
|
||||
/* Fix für Button-Container (entfernt versteckte Gaps und stabilisiert Layout) */
|
||||
.actions,
|
||||
.ClientView .actions,
|
||||
.ClientListView .actions,
|
||||
@@ -144,14 +145,17 @@ button, input[type=submit] {
|
||||
display: flex !important;
|
||||
flex-direction: column !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 {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Input Felder: Dunkel statt Weiß */
|
||||
/* Input Felder */
|
||||
input[type='text'].large {
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
|
||||
Reference in New Issue
Block a user