From 6050893058fe60ddf99ecc4b35b0bbef373ace45 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 19 Feb 2011 14:00:12 +0000 Subject: [PATCH] + add the new grid style useing yui3.2 grid. --- www/theme/default/style.css | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 94999bb077..d7fab86e99 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -12,8 +12,37 @@ body {padding-bottom:30px; color:#000;} .g {margin-left:10px; margin-right:10px} +.side-left-1 {padding-left:160px} +.side-left-2 {padding-left:180px} +.side-left-3 {padding-left:240px} +.side-left-4 {padding-left:300px} +.side-left-5 {padding-left:336px} + +.side-right-1 {padding-right:160px} +.side-right-2 {padding-right:180px} +.side-right-3 {padding-right:240px} +.side-right-4 {padding-right:300px} +.side-right-5 {padding-right:336px} + +.side-left-1 .sidebar {width:160px; margin-left:-160px} +.side-left-2 .sidebar {width:180px; margin-left:-180px} +.side-left-3 .sidebar {width:240px; margin-left:-240px} +.side-left-4 .sidebar {width:300px; margin-left:-300px} +.side-left-5 .sidebar {width:336px; margin-left:-336px} + +.side-right-1 .sidebar {width:160px; margin-right:-160px} +.side-right-2 .sidebar {width:180px; margin-right:-180px} +.side-right-3 .sidebar {width:240px; margin-right:-240px} +.side-right-4 .sidebar {width:300px; margin-right:-300px} +.side-right-5 .sidebar {width:336px; margin-right:-336px} + +.side-left-1 .cont, .side-left-2 .cont, .side-left-3 .cont, .side-left-4 .cont, .side-left-5 .cont {margin-left:10px} +.side-right-1 .cont, .side-right-2 .cont, .side-right-3 .cont, .side-right-4 .cont, .side-right-5 .cont {margin-right:10px} + +.mainbar {width:100%} + /*-----------------------FIELDSET SETTING----------------------------*/ -fieldset {border:1px solid #b3c8dc; padding:8px 10px 8px 10px; margin-bottom:8px; color:#333;} +fieldset {border:1px solid #efefef; padding:8px 10px 8px 10px; margin-bottom:8px; color:#333;} legend {font-weight:bold;} fieldset table {border:none} fieldset .table-1 {margin:0;} @@ -127,6 +156,7 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table .w-p80 {width: 80%} .w-p85 {width: 85%} .w-p90 {width: 90%} +.w-p99 {width: 99%} .w-p100 {width: 100%} .w-20px {width:20px}