[Fusionforge-commits] r18433 - in trunk/src/www/themes: css funky/css

Marc-Etienne VARGENAU vargenau at fusionforge.org
Sun Nov 10 21:24:57 CET 2013


Author: vargenau
Date: 2013-11-10 21:24:57 +0100 (Sun, 10 Nov 2013)
New Revision: 18433

Modified:
   trunk/src/www/themes/css/fusionforge.css
   trunk/src/www/themes/funky/css/theme.css
Log:
Optimize CSS

Modified: trunk/src/www/themes/css/fusionforge.css
===================================================================
--- trunk/src/www/themes/css/fusionforge.css	2013-11-10 20:14:12 UTC (rev 18432)
+++ trunk/src/www/themes/css/fusionforge.css	2013-11-10 20:24:57 UTC (rev 18433)
@@ -373,13 +373,10 @@
 	border: 1px solid #d7d7d7;
 	border-collapse: collapse;
 	border-spacing: 0;
-	margin: 0;
 	padding: 0;
-	margin-top: 1em;
 	empty-cells: show;
 	width: 50%;
-	margin-left: 25%;
-	margin-right: 25%;
+	margin: 1em 25% 0;
 }
 table.progress_legend {
 	width: 50%;
@@ -785,8 +782,7 @@
 	font-weight: bold;
 	background-color: #ffc0cb; /* pink */
 	border: 2px solid red;
-	padding: 0.5em;
-	padding-left: 1.5em;
+	padding: 0.5em 0.5em 0.5em 1.5em;
 }
 
 #ffErrors .error {
@@ -908,8 +904,8 @@
 
 #ff-mw-wrapper {
 	position: relative;	/* so MW can position absolutely */
-		top: -1em;	/* undo div#maindiv */
-		left: -1em;	/* undo div#maindiv */
+	top: -1em;	/* undo div#maindiv */
+	left: -1em;	/* undo div#maindiv */
 	margin-right: -2em;
 	background: #f9f9f9 url(mw-headbg.jpg) 0 0 no-repeat;
 }

Modified: trunk/src/www/themes/funky/css/theme.css
===================================================================
--- trunk/src/www/themes/funky/css/theme.css	2013-11-10 20:14:12 UTC (rev 18432)
+++ trunk/src/www/themes/funky/css/theme.css	2013-11-10 20:24:57 UTC (rev 18433)
@@ -309,7 +309,6 @@
 	text-align:center;
 	vertical-align: middle;
 	height: 20px;
-	margin: 0;
 	border-bottom: 0;
 	border-top-left-radius: 6px;
 	border-top-right-radius: 6px;
@@ -321,8 +320,7 @@
 	line-height: 17px;
 	color: black;
 	text-shadow: 1px 1px #B2BFD9;
-	margin-left: 2px;
-	margin-right: 2px;
+	margin: 0 2px;
 	-webkit-transition-property: background-color, color, height, shadow;
 	-webkit-transition-duration: 0.3s;
 	-moz-transition-property: background-color, color, height, shadow;
@@ -561,8 +559,7 @@
 .box-content {
 	border-bottom: 1px solid #E2E3E4;
 	margin: 0;
-	padding: 8px;
-	padding-left: 18px;
+	padding: 8px 8px 8px 18px;
 }
 
 .box-content p {
@@ -705,10 +702,7 @@
 	font-size: small;
 	font-weight: normal;
 	color: black;
-	margin-bottom: 3px;
-	margin-top: 2px;
-	margin-right: 3px;
-	margin-left: 3px;
+	margin: 2px 3px 3px;
 }
 
 .warning_msg, .warning, .tips, .important {
@@ -722,10 +716,7 @@
 	text-align: left;
 	font-weight: normal;
 	font-size: small;
-	margin-bottom: 3px;
-	margin-top: 2px;
-	margin-right: 3px;
-	margin-left: 3px;
+	margin: 2px 3px 3px;
 }
 
 .feedback {
@@ -739,10 +730,7 @@
 	text-align: left;
 	font-weight: normal;
 	font-size: small;
-	margin-bottom: 3px;
-	margin-top: 2px;
-	margin-right: 3px;
-	margin-left: 3px;
+	margin: 2px 3px 3px;
 }
 
 p.information {
@@ -756,10 +744,7 @@
 	text-align: left;
 	font-weight: normal;
 	font-size: small;
-	margin-bottom: 3px;
-	margin-top: 2px;
-	margin-right: 3px;
-	margin-left: 3px;
+	margin: 2px 3px 3px;
 }
 
 #ffErrors {
@@ -771,27 +756,19 @@
 	-moz-border-radius: 6px;
 	text-shadow: 1px 1px #ff7c73;
 	color: black;
-	margin-bottom: 3px;
-	margin-top: 2px;
-	margin-right: 3px;
-	margin-left: 3px;
+	margin: 2px 3px 3px;
 }
 
 #ffErrors .error {
-	border-width: 1px;
-	border-style: solid;
 	background-color: #ff4940; /* red */
-	border-color: red; /* red */
+	border: 1px solid red;
 	padding: 7px;
 	border-radius: 6px;
 	-webkit-border-radius: 6px;
 	-moz-border-radius: 6px;
 	text-shadow: 1px 1px #ff7c73;
 	color: black;
-	margin-bottom: 3px;
-	margin-top: 2px;
-	margin-right: 3px;
-	margin-left: 3px;
+	margin: 2px 3px 3px;
 }
 
 
@@ -836,8 +813,7 @@
 	border-radius: 0.5em 0.5em 0 0;
 	color: white;
 	background: #34b234;
-	padding: 3px;
-	padding-left: 10px;
+	padding: 3px 3px 3px 10px;
 }
 
 .info-box:nth-child(4n) h2 {




More information about the Fusionforge-commits mailing list