Trevor Parscal has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/210305

Change subject: Add a powerful default text color for tools
......................................................................

Add a powerful default text color for tools

Since they are <a> tags, it's often going to be the case where those tags are 
styled, and CSS selectors with tag names in them are quite powerful.

Change-Id: I98a2fc1aa24c7e6df7650ac10ae86cb6b695c17b
---
M src/themes/mediawiki/tools.less
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/05/210305/1

diff --git a/src/themes/mediawiki/tools.less b/src/themes/mediawiki/tools.less
index 3e3d9ec..fa5d6dd 100644
--- a/src/themes/mediawiki/tools.less
+++ b/src/themes/mediawiki/tools.less
@@ -114,6 +114,10 @@
                        background-color: @oo-ui-toolbar-normal-hover;
                }
 
+               > a.oo-ui-tool-link .oo-ui-tool-title {
+                       color: @oo-ui-toolbar-bar-text;
+               }
+
                &.oo-ui-tool-active {
                        &.oo-ui-widget-enabled {
                                border-color: rgba(0,0,0,0.2);
@@ -156,7 +160,7 @@
        }
 
        &.oo-ui-widget-disabled > .oo-ui-toolGroup-tools > .oo-ui-tool {
-               > .oo-ui-tool-link {
+               > a.oo-ui-tool-link {
                        .oo-ui-tool-title {
                                color: #ccc;
                        }

-- 
To view, visit https://gerrit.wikimedia.org/r/210305
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I98a2fc1aa24c7e6df7650ac10ae86cb6b695c17b
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to