Jdlrobson has uploaded a new change for review.

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

Change subject: Align heading and content with search placeholder text.
......................................................................

Align heading and content with search placeholder text.

Search input has a tiny bit of left padding so that when search results
show there is space between image and title. Let's apply this padding to
heading and text so they line up with it too.

Change-Id: Iece59b1c07a0cccdacc5bf431466c5ec4b3386e2
---
A resources/mobile.startup/cooks.sh
M resources/skins.minerva.tablet.styles/common.less
2 files changed, 17 insertions(+), 2 deletions(-)


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

diff --git a/resources/mobile.startup/cooks.sh 
b/resources/mobile.startup/cooks.sh
new file mode 100755
index 0000000..076fad9
--- /dev/null
+++ b/resources/mobile.startup/cooks.sh
@@ -0,0 +1,15 @@
+echo 'Too few cooks spoil the open source broth...'
+# todo convert '3 author Reedy' => 'Reedy 3'
+## (.*) author (.*)
+## $2\t$1
+# todo lowercase usernames to avoid dupes
+
+# check $1 - default to entire repository?
+echo 'authors:'
+git ls-tree -r -z --name-only HEAD $1 | xargs -0 -n1 git blame \
+--line-porcelain HEAD |grep  "^author "|sort|uniq -c|sort -nr
+
+echo 'commiters:'
+git ls-tree -r -z --name-only HEAD $1 | xargs -0 -n1 git blame \
+--line-porcelain HEAD |grep  "^committer "|sort|uniq -c|sort -nr
+
diff --git a/resources/skins.minerva.tablet.styles/common.less 
b/resources/skins.minerva.tablet.styles/common.less
index 9dd33e7..d032153 100644
--- a/resources/skins.minerva.tablet.styles/common.less
+++ b/resources/skins.minerva.tablet.styles/common.less
@@ -15,7 +15,7 @@
        // FIXME: remove the .stable .pre-content selector when cache clears
        .stable .pre-content,
        .heading-holder {
-               padding: 20px @contentPaddingTablet 0 @contentPaddingTablet;
+               padding: 20px @contentPaddingTablet 0 ( @contentPaddingTablet + 
@headerTitlePaddingH );
        }
 
        // FIXME: remove the .stable .pre-content selector when cache clears
@@ -60,7 +60,7 @@
        }
 
        .content {
-               padding: @contentTopPadding @contentPaddingTablet 0;
+               padding: @contentTopPadding @contentPaddingTablet 0 ( 
@contentPaddingTablet + @headerTitlePaddingH );
                // Classes added by thumbnails
                // e.g. [[File:Scholars mate 
animation.gif|frame|left|"[[Scholar's mate]]"]]
                // We use @noflip because we still want .tleft to be on the 
left and

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

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

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

Reply via email to