#14 Update Roll Dialog
+ Hintergrundfarbe für ausgewählte Spezialisierung & Würfel + Maximale Anzahl an Spezialisierungen festgelt + Setting
This commit was merged in pull request #34.
This commit is contained in:
1 parent
e8caa591c4
commit
3406f2134c
6 files changed
+79
-72
No files matched your search
+6
-16
@@ -59,22 +59,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Container für die gesamte Reihe */
|
||||
.segmented-button-row {
|
||||
display: inline-flex;
|
||||
overflow: hidden;
|
||||
overflow: visible;
|
||||
height: 32px;
|
||||
white-space: nowrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* Einzelnes Segment */
|
||||
.segmented-button {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* Versteckt den echten Radio-Button, behält aber die Tastatur-Navigation */
|
||||
.segmented-button input[type="radio"] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
@@ -82,7 +82,6 @@
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* Inhalt des Segments (Layout & Abstände) */
|
||||
.segmented-button__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -96,19 +95,11 @@
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* --- ZUSTÄNDE --- */
|
||||
|
||||
/* Selektiert (Selected State) */
|
||||
.segmented-button input[type="radio"]:checked + .segmented-button__content {
|
||||
// background-color: #e8def8; /* M3 Secondary Container Color */
|
||||
text-shadow: 0 0 10px var(--M6-text-brown) !important;
|
||||
color: #1d192b; /* M3 On-Secondary Container Text */
|
||||
.icon {
|
||||
text-shadow: 0 0 10px var(--M6-text-brown) !important;
|
||||
}
|
||||
background-color: var(--M6-background-brown);
|
||||
color: #1d192b;
|
||||
}
|
||||
|
||||
/* Hover-Effekt */
|
||||
.segmented-button:hover .segmented-button__content {
|
||||
background-color: rgba(73, 69, 79, 0.08);
|
||||
}
|
||||
@@ -116,7 +107,6 @@
|
||||
background-color: rgba(232, 222, 248, 0.85);
|
||||
}
|
||||
|
||||
/* Tastatur-Fokus (Barrierefreiheit) */
|
||||
.segmented-button input[type="radio"]:focus-visible + .segmented-button__content {
|
||||
outline: 2px solid #6750a4;
|
||||
outline-offset: -2px;
|
||||
|
||||
Reference in new issue
Block a user