[tor-commits] r26465: {website} change the layout of the donation boxes per ticket 10264. (in website/trunk: css images)

Andrew Lewman andrew at torproject.org
Tue Dec 10 15:54:24 UTC 2013


Author: phobos
Date: 2013-12-10 15:54:24 +0000 (Tue, 10 Dec 2013)
New Revision: 26465

Added:
   website/trunk/images/select.png
   website/trunk/images/top_bg.png
Modified:
   website/trunk/css/layout.css
Log:
change the layout of the donation boxes per ticket 10264.


Modified: website/trunk/css/layout.css
===================================================================
--- website/trunk/css/layout.css	2013-12-10 07:59:39 UTC (rev 26464)
+++ website/trunk/css/layout.css	2013-12-10 15:54:24 UTC (rev 26465)
@@ -971,8 +971,8 @@
 	float: none;
 	text-align: center;
 	color: #222222;
-	border: 2px solid #cbcbaf;
-	background-color: #ffffed;
+	border: none;
+    background: #F0DBFA;
 	padding: 20px 20px;
 	width: 163px;
 	margin: 0px 0px 0px 10px;
@@ -988,16 +988,26 @@
 		}
 
 	.dbox h2 {
-		background: url() top left transparent;
+		background: url('../images/top_bg.png') no-repeat;
 		color: #23300E;
-		padding:0px 0px 15px 0px;
+		padding:13px 0px 15px 0px;
+        position: relative;
+        top: -33px;
+        width: 190px;
+        color: white;
+        font-family: Helvetica, Arial, sans-serif;
+        font-size: 15px;
+        font-weight: normal;
+        height: 35px;
+        margin-bottom: -20px;
+        margin-left: -6px;
 		}
 
 	.dbox input ,
 	.dbox select {
 	   background-color: #fefff7;
 	   color: #23300E;
-	   border:2px solid #CCCFB8;
+	   border:2px solid #BAB8BD;
 	   -webkit-border-radius: 5px;
 	   -moz-border-radius: 5px;
 	   border-radius: 5px;
@@ -1007,11 +1017,8 @@
 
 		.dbox input:focus ,
 		.dbox select:focus {
-		  -moz-box-shadow: 0px 0px 4px #cbcbaf;
-		  -webkit-box-shadow: 0px 0px 4px #cbcbaf;
- 		  box-shadow: 0px 0px 4px #cbcbaf;
- 		  border:2px solid #cbcbaf;
-		  background-color: #FFFFFF;
+		        outline:none;
+		        border:2px solid #BAB8BD;      
 		  }
 
 		.dbox input.radio {
@@ -1080,14 +1087,13 @@
   float: none;
   width: 177px;
   margin: 0px 5px 20px 5px;
+  border:1px solid #785688;
   }
 
-.dbox.dl h2 {
-  padding: 0;
-  }
 
+
 .dbox.dl input.amount {
-  width: 110px;
+  width: 87px;
   }
 
 .dbox.donate {
@@ -1275,3 +1281,8 @@
   display: block;
 }
 /* End hide from IE-mac */
+
+.dbox.dl p:last-child a{color:#000; text-decoration:none;}
+.dbox.dl select{
+width: 70px;
+-webkit-appearance: none;-moz-appearance: none;outline-inset:1px;}

Added: website/trunk/images/select.png
===================================================================
(Binary files differ)


Property changes on: website/trunk/images/select.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Added: website/trunk/images/top_bg.png
===================================================================
(Binary files differ)


Property changes on: website/trunk/images/top_bg.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the tor-commits mailing list