[tor-commits] r25014: {website} download, js, and css patches from jeremy. (in website/trunk: css download/en js)
Andrew Lewman
andrew at torproject.org
Sun Sep 4 14:04:31 UTC 2011
Author: phobos
Date: 2011-09-04 14:04:31 +0000 (Sun, 04 Sep 2011)
New Revision: 25014
Modified:
website/trunk/css/layout-rtl.css
website/trunk/css/layout.css
website/trunk/download/en/download.wml
website/trunk/js/dlpage01.js
website/trunk/js/jquery.accordion.min.js
Log:
download, js, and css patches from jeremy.
Modified: website/trunk/css/layout-rtl.css
===================================================================
--- website/trunk/css/layout-rtl.css 2011-09-04 13:57:09 UTC (rev 25013)
+++ website/trunk/css/layout-rtl.css 2011-09-04 14:04:31 UTC (rev 25014)
@@ -231,10 +231,26 @@
}
.accordionButton {
- padding-left: 0;
- padding-right: 10px;
+ padding-left: 0px;
+ padding-right: 30px;
}
+.on:before {
+ left: 0px;
+ right: 10px;
+ }
+
+.off:before {
+ left: 0px;
+ right: 14px;
+ border-left: none;
+ border-right: 7px solid #FFFFFF;
+ }
+
+.accordionContent .fauxhead {
+ width: 707px;
+ }
+
.package p {
padding-left: 0px;
padding-right: 10px;
Modified: website/trunk/css/layout.css
===================================================================
--- website/trunk/css/layout.css 2011-09-04 13:57:09 UTC (rev 25013)
+++ website/trunk/css/layout.css 2011-09-04 14:04:31 UTC (rev 25014)
@@ -498,11 +498,9 @@
background: url("../images/table-title.jpg") repeat-x left bottom #885CA4;
color: #FFFFFF;
margin: 0;
- padding-left: 10px;
font-size: 1.1em;
font-weight: bold;
height: 32px;
- width: 700px;
float: left;
_float: none; /* Float works in all browsers but IE6 */
border: 1px solid #FFFFFF;
@@ -514,13 +512,42 @@
-moz-border-radius-topright: 7px;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
+ position: relative;
+ padding-left: 30px;
+ width: 680px;
}
.accordionButton:hover {
text-shadow: 1px 1px 0px rgba(17, 17, 17, 1);
}
-.accordionContent {
+.on:before,
+.off:before {
+ position: absolute;
+ content: '';
+ height: 0px;
+ width: 0px;
+ font-size:0px;
+ line-height:0px;
+ }
+
+.on:before {
+ top: 14px;
+ left: 10px;
+ border-left:7px solid transparent;
+ border-right:7px solid transparent;
+ border-top:7px solid #FFFFFF;
+ }
+
+.off:before {
+ top: 9px;
+ left: 14px;
+ border-bottom:7px solid transparent; /* left arrow slant */
+ border-top:7px solid transparent; /* right arrow slant */
+ border-left:7px solid #FFFFFF; /* bottom, add background color here */
+ }
+
+ .accordionContent {
width: 708px;
float: left;
_float: none; /* Float works in all browsers but IE6 */
Modified: website/trunk/download/en/download.wml
===================================================================
--- website/trunk/download/en/download.wml 2011-09-04 13:57:09 UTC (rev 25013)
+++ website/trunk/download/en/download.wml 2011-09-04 14:04:31 UTC (rev 25014)
@@ -22,7 +22,7 @@
<!-- END TEASER WARNING -->
<!-- START DOWNLOADS -->
<!-- START WINDOWS -->
- <div id="windows" style="border-top: 0px;" class="accordionButton">
+ <div id="windows" style="border-top: 0px;" class="accordionButton on">
<span class="windows24">Microsoft Windows</span>
</div>
<div class="accordionContent">
@@ -114,7 +114,7 @@
</div>
<!-- END WINDOWS -->
<!-- START OS X -->
- <div id="apple" class="accordionButton">
+ <div id="apple" class="accordionButton on">
<span class="mac24">Apple OS X</span></div>
<div class="accordionContent">
<div class="fauxhead"></div>
@@ -163,7 +163,7 @@
</div>
<!-- END OS X -->
<!-- START UNIX -->
- <div id="linux" class="accordionButton">
+ <div id="linux" class="accordionButton on">
<span class="linux24">Linux, BSD, & Unix</span></div>
<div class="accordionContent">
<div class="fauxhead"></div>
@@ -196,7 +196,7 @@
</div>
<!-- END UNIX -->
<!-- START SMARTPHONES -->
- <div id="smartphone" class="accordionButton">
+ <div id="smartphone" class="accordionButton on">
<span class="smartphone24">Tor for Smartphones</span></div>
<div class="accordionContent">
<div class="fauxhead"></div>
@@ -230,7 +230,7 @@
</div>
<!-- END SMARTPHONES -->
<!-- BEGIN SOURCE -->
- <div class="accordionButton">
+ <div class="accordionButton on">
<span class="sourcecode24">Source Code</span></div>
<div class="accordionContent">
<div class="fauxhead"></div>
Modified: website/trunk/js/dlpage01.js
===================================================================
(Binary files differ)
Modified: website/trunk/js/jquery.accordion.min.js
===================================================================
(Binary files differ)
More information about the tor-commits
mailing list