VolkerE has uploaded a new change for review.
https://gerrit.wikimedia.org/r/319958
Change subject: MediaWiki theme: Replace abandoned color from early palette
iteration
......................................................................
MediaWiki theme: Replace abandoned color from early palette iteration
Replacing abandoned color `#9aa0a7` from early iteration of the
overhauled color palette as it was too close to `#a2a9b1`.
Also removing several unused Less vars, but leaving `@border-dialog`
and `@border-menu` aliases in for future use.
Bug: T148267
Change-Id: I94a54b0b0cbc95f95cb8a53a02c199f6f28178ab
---
M src/themes/mediawiki/common.less
M src/themes/mediawiki/widgets.less
M src/themes/mediawiki/windows.less
3 files changed, 4 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/58/319958/1
diff --git a/src/themes/mediawiki/common.less b/src/themes/mediawiki/common.less
index affa2e9..aff7fe5 100644
--- a/src/themes/mediawiki/common.less
+++ b/src/themes/mediawiki/common.less
@@ -4,7 +4,6 @@
@background-color-default: #fff;
@background-color-default-hover: #eaecf0;
-@background-color-default-active: #9aa0a7;
@color-default: #222;
@color-default-hover: #444;
@@ -69,10 +68,10 @@
@border-default: @border-width-default solid @border-color-default;
@border-disabled: @border-width-default solid @border-color-disabled;
@border-disabled-filled: @border-width-default solid
@border-color-disabled-filled;
-@border-dialog: @border-width-default solid @border-color-dialog;
-@border-menu: @border-dialog;
+@border-dialog: @border-default;
+@border-menu: @border-default;
-@border-color-default: #9aa0a7;
+@border-color-default: #a2a9b1;
@border-color-default-hover: #a2a9b1;
@border-color-default-active: #72777d;
@border-color-default-focus: @color-progressive-focus;
@@ -81,7 +80,6 @@
@border-color-progressive-active: #859dcc; // equals `fade(
@color-progressive-active, 50% )`
@border-color-destructive-active: #b77c79; // equals `fade(
@color-destructive-active, 50% )`
@border-color-focus-inset: @color-default-light;
-@border-color-dialog: #a2a9b1;
@border-color-readonly: #c8ccd1;
@border-color-input-hover: @border-color-default-active;
diff --git a/src/themes/mediawiki/widgets.less
b/src/themes/mediawiki/widgets.less
index 8a89dcb..3753f7a 100644
--- a/src/themes/mediawiki/widgets.less
+++ b/src/themes/mediawiki/widgets.less
@@ -538,7 +538,6 @@
&.oo-ui-widget-enabled {
select:hover,
select:focus {
- border-color: @border-color-dialog;
outline: 0;
}
}
diff --git a/src/themes/mediawiki/windows.less
b/src/themes/mediawiki/windows.less
index 71ac46b..d0a1bea 100644
--- a/src/themes/mediawiki/windows.less
+++ b/src/themes/mediawiki/windows.less
@@ -9,7 +9,7 @@
.theme-oo-ui-messageDialog () {
&-content > .oo-ui-window-foot {
- outline: 1px solid #aaa;
+ outline: @border-dialog; // Using `@border-dialog` var here as
`outline` is `border` subsitute
}
&-title,
--
To view, visit https://gerrit.wikimedia.org/r/319958
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94a54b0b0cbc95f95cb8a53a02c199f6f28178ab
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits