[Pkg-mozext-commits] [adblock-plus] 03/87: Issue 1292 - Optimized first-run page share section for smaller screens
David Prévot
taffit at moszumanska.debian.org
Sat Apr 30 17:59:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 6de95bb903f269424af96cd432b9d984b105b5c0
Author: Thomas Greiner <thomas at adblockplus.org>
Date: Mon Dec 7 17:21:29 2015 +0100
Issue 1292 - Optimized first-run page share section for smaller screens
---
firstRun.html | 8 ++++----
skin/firstRun.css | 50 +++++++++++++++++++++++++-------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/firstRun.html b/firstRun.html
index e6f305e..d434fdc 100644
--- a/firstRun.html
+++ b/firstRun.html
@@ -43,11 +43,11 @@
<div id="content">
<section id="general">
- <div id="acceptable-ads-block">
+ <div id="acceptable-ads-block" class="block">
<h2 class="i18n_firstRun_acceptableAdsHeadline"></h2>
<p id="acceptable-ads-explanation" class="i18n_firstRun_acceptableAdsExplanation"></p>
</div>
- <div id="abb-promotion-block">
+ <div id="abb-promotion-block" class="block">
<h2 class="i18n_firstRun_abbPromotionHeadline"></h2>
<a href="https://adblockbrowser.org/?ref=frp">
<div>
@@ -65,12 +65,12 @@
<section id="share">
<h2 id="share-headline" class="i18n_firstRun_share_headline"></h2>
- <div id="donate-block">
+ <div class="block">
<a id="donate" class="i18n_firstRun_donate" target="_blank"></a>
<span id="donate-label" class="i18n_firstRun_donate_label"></span>
</div>
- <div id="share-block">
+ <div class="block">
<div id="share-general" class="share-buttons">
<a id="share-facebook" href="https://www.facebook.com/adblockplus" target="_blank" data-script="https://facebook.com/plugins/like.php?">
</a>
diff --git a/skin/firstRun.css b/skin/firstRun.css
index 580645e..99a5ad3 100644
--- a/skin/firstRun.css
+++ b/skin/firstRun.css
@@ -155,7 +155,7 @@ section
padding-right: 0px;
}
-#general > div
+#general > .block
{
display: table-cell;
width: 50%;
@@ -167,7 +167,7 @@ section
border-inline-start-width: 1px;
}
-#general > div:first-child
+#general > .block:first-child
{
border: none;
}
@@ -364,38 +364,30 @@ section > p
border-radius: 30px;
}
-#donate-block span, #share-block span
+#share > .block
{
- margin: 10px 20px;
-}
-
-#donate-block, #share-block
-{
- min-width: 250px;
display: inline-block;
vertical-align: top;
- padding: 5px 0 5px 0;
+ width: 49%;
+ padding: 5px 0px;
border: 1px dashed #37506d;
border-style: none dashed;
}
-#donate-block
+#share > .block:last-child
{
- width: 50%;
+ -webkit-border-start-style: none;
+ -moz-border-start-style: none;
}
-#share-block
+#share > .block > span
{
- width: 49%;
-
- -webkit-border-start-style: none;
- -moz-border-start-style: none;
+ margin: 10px 20px;
}
.share-buttons
{
margin-top: 6px;
- cursor: pointer;
vertical-align: top;
/* because inline block creates
* space if not captured with
@@ -661,24 +653,32 @@ footer
}
#general,
- #general > div
+ #general > .block,
+ #share > .block
{
display: block;
}
- #general > div
+ #general > .block
{
width: auto;
+ margin-left: 20px;
+ margin-right: 20px;
padding: 10px 0px;
border-width: 1px 0px 0px;
}
- #general > div,
- #can-do-more > h2,
- #can-do-more-content
+ #share > .block
{
- margin-left: 20px;
- margin-right: 20px;
+ width: auto;
+ padding: 20px 0px;
+ border-style: dashed none none;
+ }
+
+ #donate,
+ .share-buttons
+ {
+ margin-top: 10px;
}
#can-do-more,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list