Kaldari has uploaded a new change for review.

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


Change subject: Fixing Thank button styling
......................................................................

Fixing Thank button styling

Bug: 55596
Change-Id: I4f2431717868b2a9c257e5804b5ab1a01db01f8e
---
M less/specials/mobilediff.less
1 file changed, 16 insertions(+), 29 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/22/89122/1

diff --git a/less/specials/mobilediff.less b/less/specials/mobilediff.less
index ac7b728..616a09a 100644
--- a/less/specials/mobilediff.less
+++ b/less/specials/mobilediff.less
@@ -183,39 +183,26 @@
        }
 }
 
-/* Need .content to match the button selectors in ui.css */
-.content {
+.mw-mf-diffview {
        .mw-mf-action-button {
                float: right;
                border: 1px #25A260 solid;
                background-color: #27AA65;
-               background-image: -moz-linear-gradient(top, #2EC977 0, #27AA65 
100%);
-               background-image: -webkit-gradient(linear, left top, left 
bottom, color-stop(0, #2EC977), color-stop(100%, #27AA65));
-               background-image: -webkit-linear-gradient(top, #2EC977 0, 
#27AA65 100%);
-               background-image: linear-gradient(#2EC977 0, #27AA65 100%);
-       }
-       .mw-mf-action-button:hover {
-               background-color: #2EC977;
-               background-image: -moz-linear-gradient(top, #3ED384 0, #2EC977 
100%);
-               background-image: -webkit-gradient(linear, left top, left 
bottom, color-stop(0, #3ED384), color-stop(100%, #2EC977));
-               background-image: -webkit-linear-gradient(top, #3ED384 0, 
#2EC977 100%);
-               background-image: linear-gradient(#3ED384 0, #2EC977 100%);
-       }
-       .mw-mf-action-button:active {
-               background-color: #249E5E;
-               background-image: -moz-linear-gradient(top, #31B570 0, #249E5E 
100%);
-               background-image: -webkit-gradient(linear, left top, left 
bottom, color-stop(0, #31B570), color-stop(100%, #249E5E));
-               background-image: -webkit-linear-gradient(top, #31B570 0, 
#249E5E 100%);
-               background-image: linear-gradient(#31B570 0, #249E5E 100%);
-       }
-       .mw-mf-action-button:disabled {
-               color: white;
-               border: 1px #80D1A7 solid;
-               background-color: #80D1A7;
-               background-image: -moz-linear-gradient(top, #90DEB5 0, #80D1A7 
100%);
-               background-image: -webkit-gradient(linear, left top, left 
bottom, color-stop(0, #90DEB5), color-stop(100%, #80D1A7));
-               background-image: -webkit-linear-gradient(top, #90DEB5 0, 
#80D1A7 100%);
-               background-image: linear-gradient(#90DEB5 0, #80D1A7 100%);
+               .vertical-gradient( #2EC977, #27AA65 );
+               &:hover {
+                       background-color: #2EC977;
+                       .vertical-gradient( #3ED384, #2EC977 );
+               }
+               &:active {
+                       background-color: #249E5E;
+                       .vertical-gradient( #31B570, #249E5E );
+               }
+               &:disabled {
+                       color: white;
+                       border: 1px #80D1A7 solid;
+                       background-color: #80D1A7;
+                       .vertical-gradient( #90DEB5, #80D1A7 );
+               }
        }
        .mw-mf-action-button-icon {
                display: inline-block;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f2431717868b2a9c257e5804b5ab1a01db01f8e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>

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

Reply via email to