Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/customize-facebook.raw

Issue 6021528219025408: Issue #1170 More progress migrating adblockplus.org to our CMS. (Closed)
Patch Set: Created Sept. 1, 2014, 10:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pages/customizations.raw ('k') | pages/customize-youtube.raw » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/customize-facebook.raw
===================================================================
--- a/pages/customize-facebook.raw
+++ b/pages/customize-facebook.raw
@@ -1,20 +1,21 @@
<head>
+<link href="https://adblockplus.org/favicon.ico" rel="shortcut icon">
<meta content="Vmd_7o1-HUK_EzTSzR7pvGE5wAXBzNtsGnTaZFHG2NA" name="google-site-verification">
<style type="text/css">
@font-face {
- /* Copyright (c) 2013, TYPE TOGETHER
- * (http://www.type-together.com/Crete),
- * with Reserved Font Name &quot;Crete Rounded&quot;
- * Licensed under SIL Open Font License, 1.1
+ /* Copyright (c) 2013, TYPE TOGETHER
+ * (http://www.type-together.com/Crete),
+ * with Reserved Font Name "Crete Rounded"
+ * Licensed under SIL Open Font License, 1.1
* (http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web)
*/
font-family: 'CreteRound';
font-style: normal;
src: url(/fonts/CreteRoundRegular.otf);
- src: local ('Ø'),
+ src: local ('Ø'),
/*local ('Ø') forces using no local font called CreteRound*/
- url(/fonts/CreteRoundRegular.otf) format('otf');
+ url(/fonts/CreteRoundRegular.otf) format('otf');
}
*
@@ -74,8 +75,8 @@
padding: 16px 0 14px 0;
border: 1px #968d81;
border-style: dashed none;
- /* border parallel fix - 957px is the value
- * closest to 960px(page width) which makes
+ /* border parallel fix - 957px is the value
+ * closest to 960px(page width) which makes
* the dashed border parallel
*/
max-width: 957px;
@@ -91,7 +92,7 @@
font-weight: 600;
}
-h2
+h2
{
font-size: 23px;
font-weight: lighter;
@@ -100,7 +101,7 @@
text-align: center;
}
-h3
+h3
{
font-size: 22px;
color: #7F776B;
@@ -118,7 +119,7 @@
padding: 40px 100px;
}
-section &gt; p
+section > p
{
margin: 15px 0 0 0;
}
@@ -136,28 +137,28 @@
#blocking-list
{
- max-width: 960px;
+ max-width: 960px;
padding: 40px 0px 40px 0px;
border-style: solid none;
border-width: 4px;
border-color: #968d81;
}
-#blocking-list &gt; h2
+#blocking-list > h2
{
margin: 0 100px;
}
-#blocking-list &gt; ul
+#blocking-list > ul
{
min-height: 140px;
margin: 0 80px 0 80px;
font-size: 0px;
- /* hides appearing spacings because of
+ /* hides appearing spacings because of
* using display: inline-block*/
}
-#blocking-list &gt; ul &gt; li
+#blocking-list > ul > li
{
width: 244px;
display: inline-block;
@@ -167,14 +168,14 @@
text-align: center;
}
-#blocking-list &gt; ul &gt; li &gt; h2
+#blocking-list > ul > li > h2
{
- margin: 0 0 20px 0;
+ margin: 0 0 20px 0;
line-height: 26px;
color: #7f776b;
}
-#blocking-list &gt; ul &gt; li &gt; h2 &gt; span
+#blocking-list > ul > li > h2 > span
{
text-decoration: underline;
}
@@ -271,13 +272,13 @@
color: #fff;
font-size: 18px;
text-align: center;
-
+
}
#share
{
background-image: url(/images/customize-facebook/background-share.png?a=show);
- padding: 50px 100px 40px 100px;
+ padding: 50px 100px 40px 100px;
max-width: 760px;
text-align: center;
}
@@ -288,12 +289,12 @@
margin: 0 0 30px 0;
}
-#share h2 &gt; a
+#share h2 > a
{
color: #fff;
}
-#share &gt; a
+#share > a
{
width: 96px;
height: 29px;
@@ -303,12 +304,12 @@
background-position: 0 0;
}
-#share &gt; a:hover
+#share > a:hover
{
background-position: 0 38px;
}
-#share &gt; a:active
+#share > a:active
{
-moz-box-shadow: 0px 0px 0px 1px #8ca7c4;
-webkit-box-shadow: 0px 0px 0px 1px #8ca7c4;
@@ -354,7 +355,7 @@
display: block;
background-image: url(/images/customize-facebook/abp-icon-big.png?a=show);
background-repeat: no-repeat;
- margin: 40px auto 0 auto;
+ margin: 40px auto 0 auto;
}
#download-layer h3
@@ -428,17 +429,17 @@
.tooltip span {
z-index: 10;
- display: none;
+ display: none;
padding: 14px 20px;
margin: 24px 50px 0px -160px;
- max-width: 640px;
+ max-width: 640px;
line-height: 16px;
}
.tooltip:hover span{
- display:inline;
- position:absolute;
- background: rgb(0, 0, 0);
+ display:inline;
+ position:absolute;
+ background: rgb(0, 0, 0);
/* Fall-back for browsers that don't support rgba */
background: rgba(0, 0, 0, .9);
}
@@ -453,7 +454,7 @@
height: 9px;
background-position: 0 9px;
}
-
+
/*CSS3 extras*/
.tooltip span
{
@@ -477,32 +478,32 @@
function downloadLayerToggle()
{
- document.getElementById(&quot;download-layer&quot;).classList.toggle(&quot;invisible&quot;);
+ document.getElementById("download-layer").classList.toggle("invisible");
};
function hideOverlayAndRefresh()
{
downloadButtonClicked = true;
- document.getElementById(&quot;download-layer&quot;).classList.toggle(&quot;invisible&quot;);
+ document.getElementById("download-layer").classList.toggle("invisible");
};
/*check if abp is already installed*/
-window.addEventListener(&quot;click&quot;, function(ev)
+window.addEventListener("click", function(ev)
{
- if (!(ev.target instanceof HTMLAnchorElement) || !(ev.target.classList.contains(&quot;block-button&quot;)))
- return;
+ if (!(ev.target instanceof HTMLAnchorElement) || !(ev.target.classList.contains("block-button")))
+ return;
if (ev.button == 2)
return;
ev.preventDefault();
downloadLayerToggle();
}, false);
-window.addEventListener(&quot;DOMContentLoaded&quot;, function()
+window.addEventListener("DOMContentLoaded", function()
{
- document.getElementById(&quot;download-button&quot;).addEventListener(&quot;click&quot;, hideOverlayAndRefresh, false);
+ document.getElementById("download-button").addEventListener("click", hideOverlayAndRefresh, false);
}, false);
-window.addEventListener(&quot;focus&quot;, function()
+window.addEventListener("focus", function()
{
if (downloadButtonClicked)
{
@@ -522,7 +523,7 @@
<a href="https://adblockplus.org/" id="download-button" target="blank">$s2$</a>
<span>$s3$</span>
<iframe allowfullscreen="true" frameborder="0" height="239" src="https://www.youtube-nocookie.com/embed/pVYtzF5SemU?html5=1&amp;autohide=1&amp;enablejsapi=1&amp;controls=2&amp;fs=1&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;theme=light" width="425"></iframe>
-
+
</section>
</div>
@@ -549,7 +550,7 @@
<h4>$s12$</h4>
$s13$
<h4>$s14$</h4>
- $s15$
+ $s15$
<h4>$s16$</h4>
$s17$<br>
$s18$<br>
@@ -561,25 +562,25 @@
<a class="block-button" href="abp:subscribe?location=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Ffb_annoyances_full.txt&amp;title=facebook%20annoyances%20blocker">$s20$</a>
</li>
<li id="recommended-pages">
- <h2>$s21$ <span>$s22$</span> $s23$
+ <h2>$s8$ <span>$s22$</span> $s23$
<br>
<span class="tooltip">
- $s24$
+ $s11$
<span>
<div class="callout"></div>
- <h4>$s25$</h4>
- $s26$
+ <h4>$s12$</h4>
+ $s13$
</span>
</span>
</h2>
<div class="unwanted-element-screenshot"></div>
- <a class="block-button" href="abp:subscribe?location=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Ffb_annoyances_sidebar.txt&amp;title=facebook%20sidebar%20blocker">$s27$</a>
+ <a class="block-button" href="abp:subscribe?location=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Ffb_annoyances_sidebar.txt&amp;title=facebook%20sidebar%20blocker">$s20$</a>
</li>
<li id="people-you-may-know">
- <h2>$s28$ <span>$s29$</span> $s30$
- <br>
+ <h2>$s8$ <span>$s22$</span> $s30$
+ <br>
<span class="tooltip">
- $s31$
+ $s11$
<span>
<div class="callout"></div>
<h4>$s32$</h4>
@@ -588,8 +589,8 @@
</span>
</h2>
<div class="unwanted-element-screenshot"></div>
- <a class="block-button" href="abp:subscribe?location=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Ffb_annoyances_newsfeed.txt&amp;title=facebook%20news%20feed%20annoyances%20blocker">$s34$</a>
+ <a class="block-button" href="abp:subscribe?location=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Ffb_annoyances_newsfeed.txt&amp;title=facebook%20news%20feed%20annoyances%20blocker">$s20$</a>
</li>
- </ul>
+ </ul>
</section>
<footer>$s35$ <a href="https://www.facebook.com/photo.php?fbid=607813585926732&amp;set=p.607813585926732" target="_blank">$s36$</a></footer>
« no previous file with comments | « pages/customizations.raw ('k') | pages/customize-youtube.raw » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld