Skip to content

Commit 6de8385

Browse files
authored
Merge pull request #3 from AnnulusGames/fix-uss-field-disabled
Fix: Invalid uss pseudo-states
2 parents 5c64dbe + aab2c48 commit 6de8385

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/DebugUI/Assets/DebugUI/Package Resources/Debug UI.uss

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@
119119
color: rgb(255, 255, 255);
120120
}
121121

122+
.unity-base-text-field__input:disabled {
123+
background-color: rgba(105, 105, 133, 0.8);
124+
}
125+
122126
.unity-base-text-field {
123127
padding-top: 1px;
124128
padding-bottom: 1px;
@@ -142,14 +146,6 @@
142146
border-bottom-color: rgb(29, 132, 191);
143147
}
144148

145-
.unity-base-text-field:disable > .unity-base-text-field__input {
146-
border-left-color: rgba(255, 255, 255, 0);
147-
border-right-color: rgba(255, 255, 255, 0);
148-
border-top-color: rgba(255, 255, 255, 0);
149-
border-bottom-color: rgba(255, 255, 255, 0);
150-
background-color: rgb(105, 105, 133);
151-
}
152-
153149
.unity-foldout__toggle {
154150
margin-top: 0;
155151
margin-right: 0;

0 commit comments

Comments
 (0)