Prtksxna has uploaded a new change for review.
https://gerrit.wikimedia.org/r/186140
Change subject: Update colors for the selected state in ComboBox and Dropdown
......................................................................
Update colors for the selected state in ComboBox and Dropdown
Change-Id: I4079d19e4f37b9785eed195a5e1f035424a0d03b
---
M src/themes/mediawiki/widgets.less
1 file changed, 23 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/40/186140/1
diff --git a/src/themes/mediawiki/widgets.less
b/src/themes/mediawiki/widgets.less
index a9bf05b..33a8f10 100644
--- a/src/themes/mediawiki/widgets.less
+++ b/src/themes/mediawiki/widgets.less
@@ -155,6 +155,15 @@
.oo-ui-selectWidget {
border-top-color: #fff;
+
+ .oo-ui-optionWidget-selected {
+ background: @highlight;
+ color: #fff;
+
+ .oo-ui-iconElement-icon {
+ display: none;
+ }
+ }
}
}
@@ -437,6 +446,19 @@
}
}
}
+
+ .oo-ui-menuSelectWidget {
+ border-top-color: #fff;
+
+ .oo-ui-optionWidget-selected {
+ background: @highlight;
+ color: #fff;
+
+ .oo-ui-iconElement-icon {
+ display: none;
+ }
+ }
+ }
}
.theme-oo-ui-labelWidget () {}
@@ -464,7 +486,7 @@
}
.theme-oo-ui-decoratedOptionWidget () {
- padding: 0.5em 2em 0.5em 3em;
+ padding: 0.5em 1em;
.oo-ui-iconElement-icon,
.oo-ui-indicatorElement-indicator {
--
To view, visit https://gerrit.wikimedia.org/r/186140
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4079d19e4f37b9785eed195a5e1f035424a0d03b
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits