Dbrant has uploaded a new change for review.

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

Change subject: Tweak styling of collapsed infoboxes.
......................................................................

Tweak styling of collapsed infoboxes.

Also removed some unused stuff.

Change-Id: Id8b883fb4947be45dc65d5f8c81fa83591b00a52
---
M images/table_collapse.png
M images/table_expand.png
M styles/android.less
M styles/night.less
M styles/tables.less
5 files changed, 9 insertions(+), 25 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileApp 
refs/changes/19/179919/1

diff --git a/images/table_collapse.png b/images/table_collapse.png
index cdf731a..86f59ee 100644
--- a/images/table_collapse.png
+++ b/images/table_collapse.png
Binary files differ
diff --git a/images/table_expand.png b/images/table_expand.png
index cdda8ea..f94b525 100644
--- a/images/table_expand.png
+++ b/images/table_expand.png
Binary files differ
diff --git a/styles/android.less b/styles/android.less
index 431f6e6..cc027a5 100644
--- a/styles/android.less
+++ b/styles/android.less
@@ -1,7 +1,3 @@
-body {
-       padding-top: 48px;
-}
-
 /* Loading animation in pure CSS
    Thanks to http://dabblet.com/gist/7708654 */
 .loading {
@@ -24,14 +20,4 @@
     margin: 8px auto;
     height: 24px;
     width: 24px;
-}
-
-/* Last updated info */
-#attribution {
-  border-top: 1px solid #ccc;
-  padding: 8px;
-  text-align: center;
-  color: #888;
-  font-size: 80%;
-  clear: both;
 }
diff --git a/styles/night.less b/styles/night.less
index 49c603c..17181e0 100644
--- a/styles/night.less
+++ b/styles/night.less
@@ -29,7 +29,6 @@
 }
 
 .app_table_collapsed_container {
-    border: solid 1px #505050;
     background-color: #202020;
 }
 
@@ -38,6 +37,5 @@
 }
 
 .app_table_collapsed_bottom {
-    border: solid 1px #505050;
     background-color: #202020;
 }
diff --git a/styles/tables.less b/styles/tables.less
index 17ada49..b1b3045 100644
--- a/styles/tables.less
+++ b/styles/tables.less
@@ -6,22 +6,22 @@
 
 .app_table_collapsed_container {
     width: 100%;
-    margin-top: 10px;
+    margin-top: 14px;
     padding-left: 12px;
     padding-right: 48px;
     padding-top: 12px;
     padding-bottom: 12px;
-    line-height: 100%;
-    border: solid 1px #b0b0b0;
+    line-height: 120%;
     background-color: #f0f0f0;
     background-repeat: no-repeat;
     background-position: 95% 50%;
-    background-size: 20px 20px;
+    background-size: 16px 16px;
+    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.12), 0px 1px 5px 0px 
rgba(0,0,0,0.24);
 }
 
 .app_table_collapsed_open {
     border-radius: 2px 2px 2px 2px;
-    margin-bottom: 10px;
+    margin-bottom: 14px;
     /* @embed */
     background-image: url( '../images/table_expand.png' );
 }
@@ -44,16 +44,16 @@
     width: 100%;
     color: #808080;
     margin-top: 0px;
-    margin-bottom: 10px;
+    margin-bottom: 14px;
     padding-left: 12px;
     padding-right: 48px;
     padding-top: 12px;
     padding-bottom: 12px;
-    line-height: 100%;
-    border: solid 1px #b0b0b0;
+    line-height: 120%;
     border-radius: 0px 0px 2px 2px;
     background-color: #f0f0f0;
     background-repeat: no-repeat;
     background-position: 95% 50%;
-    background-size: 20px 20px;
+    background-size: 16px 16px;
+    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.12), 0px 1px 5px 0px 
rgba(0,0,0,0.24);
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8b883fb4947be45dc65d5f8c81fa83591b00a52
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileApp
Gerrit-Branch: master
Gerrit-Owner: Dbrant <dbr...@wikimedia.org>

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

Reply via email to