SamanthaNguyen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334746 )

Change subject: Organize CSS properties and general CSS cleanup per coding 
conventions
......................................................................

Organize CSS properties and general CSS cleanup per coding conventions

Change-Id: Ic4f936275dd61ee3bf67f3e0363337efe96af64f
---
M extension.json
M resources/css/ImageRating.css
2 files changed, 56 insertions(+), 56 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ImageRating 
refs/changes/46/334746/1

diff --git a/extension.json b/extension.json
index e1f888a..d629b96 100644
--- a/extension.json
+++ b/extension.json
@@ -1,6 +1,6 @@
 {
        "name": "ImageRating",
-       "version": "2.0",
+       "version": "2.1",
        "author": [
                "Aaron Wright",
                "David Pean",
@@ -58,4 +58,4 @@
                }
        },
        "manifest_version": 1
-}
\ No newline at end of file
+}
diff --git a/resources/css/ImageRating.css b/resources/css/ImageRating.css
index 41221ea..4d4566a 100644
--- a/resources/css/ImageRating.css
+++ b/resources/css/ImageRating.css
@@ -1,14 +1,14 @@
 /* CSS for the ImageRating extension */
 .image-rating-row {
        border-bottom: 1px solid #dcdcdc;
-       padding: 0px 0px 20px 0px;
-       margin: 0px 0px 20px 0px;
+       padding: 0 0 20px 0;
+       margin: 0 0 20px 0;
        width: 65%;
 }
 
 .image-rating-row-bottom {
-       padding: 0px 0px 0px 0px;
-       margin: 0px 0px 20px 0px;
+       padding: 0 0 0 0;
+       margin: 0 0 20px 0;
        width: 65%;
 }
 
@@ -18,12 +18,12 @@
 }
 
 .image-for-rating img {
-       padding: 3px;
        border: 1px solid #dcdcdc;
+       padding: 3px;
 }
 
 .image-rating-bar {
-       margin: 5px 0px 0px 0px;
+       margin: 5px 0 0 0;
 }
 
 .image-rating-score {
@@ -32,26 +32,26 @@
 
 .image-rating-menu {
        float: right;
-       margin: 15px 0px 0px 0px;
+       margin: 15px 0 0 0;
        width: 180px;
 }
 
 .image-rating-menu h2 {
-       color: #333333;
-       font-size: 16px;
-       font-weight: bold;
-       padding: 0px 0px 3px 0px;
        border-bottom: 1px solid #dcdcdc;
-       margin: 0px 0px 10px 0px !important;
+       color: #333;
+       font-size: 16px;
+       font-weight: 700;
+       padding: 0 0 3px 0;
+       margin: 0 0 10px 0 !important;
 }
 
 .image-rating-menu p {
-       margin: 0px 0px 3px 0px !important;
+       margin: 0 0 3px 0 !important;
 }
 
 .image-rating-menu a {
+       font-weight: 700;
        text-decoration: none;
-       font-weight: bold;
 }
 
 .image-categories-container {
@@ -60,47 +60,47 @@
 }
 
 .image-categories-container h2 {
+       border-bottom: 0;
+       color: #333;
        font-size: 14px;
-       font-weight: bold;
-       color: #333333;
-       border-bottom: none;
-       margin: 0px 0px 5px 0px;
+       font-weight: 700;
+       margin: 0 0 5px 0;
 }
 
 .category-button {
        border-top: 1px solid #dcdcdc;
-       cursor: pointer;
-       float: left;
-       font-size: 11px;
-       margin: 0px 5px 5px 0px;
-       padding: 5px;
+       border-right: 2px solid #666;
+       border-bottom: 2px solid #666;
        border-left: 1px solid #dcdcdc;
-       border-right: 2px solid #666666;
-       border-bottom: 2px solid #666666;
-       color: #002BB8;
-       font-weight: bold;
+       color: #002bb8;
+       font-size: 11px;
+       font-weight: 700;
+       float: left;
+       padding: 5px;
+       margin: 0 5px 5px 0;
+       cursor: pointer;
 }
 
 .category-button:hover {
-       background-color: #FFFCA9;
+       background-color: #fffca9;
 }
 
 .image-categories-add {
-       margin: 10px 0px 0px 0px;
+       margin: 10px 0 0 0;
        font-size: 11px;
 }
 
 .featured-image {
-       background-color: #F2F4F7;
+       background-color: #f2f4f7;
        border: 1px solid #dcdcdc;
-       margin: 15px 0px 20px 0px;
-       padding: 5px;
        width: 65%;
+       padding: 5px;
+       margin: 15px 0 20px 0;
 }
 
 .featured-image h2 {
-       color: #333333;
-       margin: 0px 0px 10px 0px !important;
+       color: #333;
+       margin: 0 0 10px 0 !important;
 }
 
 .featured-image-container {
@@ -123,13 +123,13 @@
 }
 
 .featured-image-submitted p {
-       margin: 0px 0px 2px 0px !important;
+       margin: 0 0 2px 0 !important;
 }
 
 .featured-image-submitted a {
-       text-decoration: none;
        font-size: 16px;
-       font-weight: bold;
+       font-weight: 700;
+       text-decoration: none;
 }
 
 .featured-image-submitted img {
@@ -137,17 +137,17 @@
 }
 
 .rate-image-navigation {
-       font-weight: bold;
+       font-weight: 700;
 }
 
 .image-ratings {
-       padding: 15px 0px 0px 0px;
+       padding: 15px 0 0 0;
 }
 
 .image-ratings h2 {
-       border-bottom: none;
-       margin: 0px 0px 10px 0px !important;
-       padding: 0px;
+       border-bottom: 0;
+       margin: 0 0 10px 0 !important;
+       padding: 0;
 }
 
 /* Featured Image */
@@ -156,18 +156,18 @@
 }
 
 .featured-image-container-main {
-       margin: 0px 20px 0px 0px;
        float: left;
+       margin: 0 20px 0 0;
 }
 
 .featured-image-container-main img {
-       background-color: #ffffff;
-       padding: 3px;
+       background-color: #fff;
        border: 1px solid #dcdcdc;
+       padding: 3px;
 }
 
 .featured-image-container-main p {
-       margin: 0px !important;
+       margin: 0 !important;
 }
 
 .featured-image-user-main {
@@ -175,23 +175,23 @@
 }
 
 .featured-image-submitted-main {
-       margin: 0px 0px 10px 0px;
+       margin: 0 0 10px 0;
 }
 
 .featured-image-submitted-main p {
-       margin: 0px 0px 3px 0px !important;
-       color: #999999;
-       font-weight: bold;
+       color: #999;
+       font-weight: 700;
+       margin: 0 0 3px 0 !important;
 }
 
 .featured-image-submitted-main a {
-       text-decoration: none;
-       font-weight: bold;
        font-size: 14px;
+       font-weight: 700;
+       text-decoration: none;
 }
 
 .featured-image-submitted-main img {
        border: 1px solid #dcdcdc;
        vertical-align: middle;
-       margin: 0px 3px 0px 0px;
-}
\ No newline at end of file
+       margin: 0 3px 0 0;
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4f936275dd61ee3bf67f3e0363337efe96af64f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ImageRating
Gerrit-Branch: master
Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to