Bmansurov has uploaded a new change for review.
https://gerrit.wikimedia.org/r/164488
Change subject: WIP: Standardize grey colors
......................................................................
WIP: Standardize grey colors
Bug: 65381
Change-Id: I0c8ea46b3d368bf59b50e9859953793708eba1ab
---
M less/common.less
M less/content/hacks.less
M less/content/main.less
M less/footer.less
M less/mainmenu.less
M less/modules/NotificationsOverlay.less
M less/modules/editor/editor.less
M less/modules/toc/toc.less
M less/pagelist.less
M less/specials/mobilediff.less
M less/specials/userlogin.less
M less/ui.less
12 files changed, 21 insertions(+), 21 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/88/164488/1
diff --git a/less/common.less b/less/common.less
index a8a7679..a8d91d2 100644
--- a/less/common.less
+++ b/less/common.less
@@ -39,7 +39,7 @@
font-style: italic;
color: #706E6E;
text-decoration: underline;
- border: dotted 1px #CCC;
+ border: dotted 1px @colorGray12;
padding: 10px;
display: inline-block;
}
@@ -77,7 +77,7 @@
input:not([type=submit]), textarea {
background: #fff;
- border: 1px solid #ccc;
+ border: 1px solid @colorGray12;
border-radius: 3px;
padding: 5px;
}
diff --git a/less/content/hacks.less b/less/content/hacks.less
index dcd6328..d8a0319 100644
--- a/less/content/hacks.less
+++ b/less/content/hacks.less
@@ -59,7 +59,7 @@
margin-right: 0 !important;
&.infobox {
- background: #f9f9f9;
+ background: @colorGray15;
text-align: center !important;
}
}
diff --git a/less/content/main.less b/less/content/main.less
index 57602b4..82ab20e 100644
--- a/less/content/main.less
+++ b/less/content/main.less
@@ -113,7 +113,7 @@
}
.thumbborder {
- border: 1px solid #ccc;
+ border: 1px solid @colorGray12;
}
// Full-size images
@@ -331,7 +331,7 @@
pre {
padding: 1em;
font-family: monospace;
- border: solid 1px #CCC;
+ border: solid 1px @colorGray12;
white-space: pre-wrap;
}
diff --git a/less/footer.less b/less/footer.less
index 8f06feb..7784004 100644
--- a/less/footer.less
+++ b/less/footer.less
@@ -9,7 +9,7 @@
#footer {
padding: 2em @contentMargin 1.5em @contentMargin;
margin: 2em auto 0 auto;
- border-top: 1px solid #aaa;
+ border-top: 1px solid @colorGray10;
font-size: 0.9em;
clear: both;
@@ -39,7 +39,7 @@
&.footer-places li {
display: inline;
padding: 0 8px;
- border-right: 1px solid #aaa;
+ border-right: 1px solid @colorGray10;
&:last-child {
border: none;
diff --git a/less/mainmenu.less b/less/mainmenu.less
index af27823..da9b7af 100644
--- a/less/mainmenu.less
+++ b/less/mainmenu.less
@@ -138,7 +138,7 @@
border: none;
a {
- color: #ccc;
+ color: @colorGray12;
border: none;
padding: .7em 12px;
margin-left: 0;
diff --git a/less/modules/NotificationsOverlay.less
b/less/modules/NotificationsOverlay.less
index 6d5e90b..2ffe50b 100644
--- a/less/modules/NotificationsOverlay.less
+++ b/less/modules/NotificationsOverlay.less
@@ -46,13 +46,13 @@
.mw-echo-notification {
padding: 1.2em 1em 1em;
- border-bottom: 1px solid #eee;
+ border-bottom: 1px solid @colorGray14;
// FIXME: ARgghghghg more grays - think of the children!
background: #F8F8F8;
&:hover {
// FIXME: Yet another gray..
- background-color: #F9F9F9;
+ background-color: @colorGray15;
}
}
diff --git a/less/modules/editor/editor.less b/less/modules/editor/editor.less
index 633a208..9874cf8 100644
--- a/less/modules/editor/editor.less
+++ b/less/modules/editor/editor.less
@@ -35,7 +35,7 @@
.message {
margin: 0 0 .7em;
padding: 0 0 .3em;
- border-bottom: 1px solid #ccc;
+ border-bottom: 1px solid @colorGray12;
color: #707070;
p {
diff --git a/less/modules/toc/toc.less b/less/modules/toc/toc.less
index d53885b..e9e7796 100644
--- a/less/modules/toc/toc.less
+++ b/less/modules/toc/toc.less
@@ -9,7 +9,7 @@
.client-js .toc-mobile {
// FIXME: Use predefined colors?
- background-color: #f9f9f9;
+ background-color: @colorGray15;
border: solid 1px @grayLightest;
font-size: 1.3em;
float: left;
diff --git a/less/pagelist.less b/less/pagelist.less
index 5434f29..246771b 100644
--- a/less/pagelist.less
+++ b/less/pagelist.less
@@ -75,7 +75,7 @@
overflow: hidden;
li {
- color: #666;
+ color: @colorGray6;
position: relative;
border-bottom: solid 1px @grayLightest;
padding: @itemPaddingV @contentMargin;
@@ -85,13 +85,13 @@
> a {
display: block;
- color: #666;
+ color: @colorGray6;
&:active,
&:hover,
&:visited {
text-decoration: none;
- color: #666;
+ color: @colorGray6;
}
}
}
diff --git a/less/specials/mobilediff.less b/less/specials/mobilediff.less
index 66667df..d78c99d 100644
--- a/less/specials/mobilediff.less
+++ b/less/specials/mobilediff.less
@@ -71,14 +71,14 @@
display: inline-block;
text-align: left;
margin-top: 1.2em;
- color: #333;
+ color: @colorGray3;
line-height: 1;
/* the edit count number */
div {
text-align: center;
font-size: 1.85em;
- color: #888;
+ color: @colorGray8;
}
}
}
diff --git a/less/specials/userlogin.less b/less/specials/userlogin.less
index d2a8adb..58978bc 100644
--- a/less/specials/userlogin.less
+++ b/less/specials/userlogin.less
@@ -28,8 +28,8 @@
}
.headmsg {
- background-color: #eee;
- border: 1px solid #ccc;
+ background-color: @colorGray14;
+ border: 1px solid @colorGray12;
color: #252525;
padding: 0.5em 1em;
margin: 1em 0;
diff --git a/less/ui.less b/less/ui.less
index b9a61ee..59cb706 100644
--- a/less/ui.less
+++ b/less/ui.less
@@ -16,9 +16,9 @@
background-color: #F3F3F3;
padding: 5px @contentMargin;
display: block;
- color: #666;
+ color: @colorGray6;
a {
- color: #666;
+ color: @colorGray6;
// If browser supports
&:nth-child(2) {
font-weight: bold;
--
To view, visit https://gerrit.wikimedia.org/r/164488
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c8ea46b3d368bf59b50e9859953793708eba1ab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits