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

Unified Diff: head.html

Issue 5137220793008128: Issue 628 - Removed overflow mechanism on manifesto page (Closed)
Patch Set: Created July 28, 2014, 9:16 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 | « dataroads.png ('k') | unwatchme.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: head.html
===================================================================
--- a/head.html
+++ b/head.html
@@ -219,8 +219,7 @@
margin-top: 6px;
}
-#join-org strong,
-#supporters-overflow a
+#join-org strong
{
font-weight: normal;
font-size: 15px;
@@ -228,46 +227,6 @@
text-decoration: underline;
}
-#supporters-overflow
-{
- margin-bottom: 20px;
-}
-
-#supporters-overflow .sprite
-{
- display: inline-block;
- width: 9px;
- height: 5px;
- vertical-align: middle;
- background-image: url(/images/manifesto/icon-arrow.png?a=show);
- background-position: 0px -6px;
-}
-
-#supporters-overflow.collapsed .sprite
-{
- background-position: 0px 0px;
-}
-
-#supporters-overflow .supporter
-{
- width: auto;
- font-size: 20px;
- margin: 10px 10px 10px 0px;
-}
-
-#supporters-overflow.collapsed #supporters-overflow-less,
-#supporters-overflow #supporters-overflow-more,
-#supporters-overflow.collapsed .supporter
-{
- display: none;
-}
-
-#supporters-overflow.collapsed #supporters-overflow-more,
-#supporters-overflow #supporters-overflow-less
-{
- display: inline;
-}
-
#social button
{
width: 100%;
@@ -546,11 +505,6 @@
{
fetchNumberOfSignees();
- var showSupporters = document.getElementById("supporters-overflow-more");
- var hideSupporters = document.getElementById("supporters-overflow-less");
- addListener(showSupporters, "click", toggleSupporters, false);
- addListener(hideSupporters, "click", toggleSupporters, false);
-
var readmore = document.getElementById("readmore");
addListener(readmore, "click", function(ev)
{
@@ -578,20 +532,6 @@
+ "&url=http%3A%2F%2Facceptableads.org%2F";
}, false);
-function toggleSupporters(ev)
-{
- var supportersOverflow = document.getElementById("supporters-overflow");
- var classes = supportersOverflow.className.split(" ");
- if (classes.indexOf("collapsed") > -1)
- classes.splice(classes.indexOf("collapsed"), 1);
- else
- classes.push("collapsed");
- supportersOverflow.className = classes.join(" ");
-
- ev.preventDefault();
- ev.stopPropagation();
-}
-
function checkCollapse()
{
if (document.documentElement.offsetWidth < 500)
« no previous file with comments | « dataroads.png ('k') | unwatchme.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld