Update main.css
This commit is contained in:
+7
-18
@@ -89,20 +89,18 @@ 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;
|
margin: 4px 0 !important; /* Fixierter Abstand nach deinem Wunsch */
|
||||||
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%;
|
||||||
line-height: 1.2;
|
|
||||||
transform: translateZ(0);
|
|
||||||
backface-visibility: hidden;
|
|
||||||
transition: background-color 0.2s ease, border-left 0.2s ease, padding-left 0.2s ease, filter 0.2s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary {
|
.primary {
|
||||||
@@ -110,14 +108,11 @@ button, input[type=submit] {
|
|||||||
color: var(--app-background) !important;
|
color: var(--app-background) !important;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: none;
|
border: none;
|
||||||
padding-left: 20px; /* Festes Padding */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary:hover {
|
.primary:hover {
|
||||||
filter: brightness(0.9);
|
filter: brightness(0.9);
|
||||||
border-left: 0px solid transparent !important;
|
transform: translateY(-2px);
|
||||||
padding-left: 20px !important;
|
|
||||||
transform: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary {
|
.secondary {
|
||||||
@@ -125,16 +120,13 @@ 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;
|
||||||
border-left: 1px solid var(--foreground); /* Startet mit normalem Rahmen */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary:hover {
|
.secondary:hover {
|
||||||
background: rgba(255,255,255,0.05);
|
background: rgba(255,255,255,0.05);
|
||||||
border-left: 6px solid var(--ztfr-purple) !important;
|
|
||||||
padding-left: 26px;
|
|
||||||
transform: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix für Button-Container (entfernt versteckte Gaps) */
|
||||||
.actions,
|
.actions,
|
||||||
.ClientView .actions,
|
.ClientView .actions,
|
||||||
.ClientListView .actions,
|
.ClientListView .actions,
|
||||||
@@ -142,17 +134,14 @@ 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 */
|
/* Entfernt den Abstand beim letzten Button in einer Gruppe für saubere Optik */
|
||||||
.actions > *:last-child {
|
.actions > *:last-child {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Input Felder */
|
/* Input Felder: Dunkel statt Weiß */
|
||||||
input[type='text'].large {
|
input[type='text'].large {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
|
|||||||
Reference in New Issue
Block a user