From d1b647fe54fc65d8ff427be43af408f108033cf8 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 5 Oct 2011 17:17:09 +0200 Subject: [PATCH] Fixing CSS --- main/css/academica/default.css | 18 +------------- main/css/baby_orange/default.css | 18 +------------- main/css/chamilo_orange/print.css | 28 ---------------------- main/css/chamilo_red/print.css | 28 ---------------------- main/css/cool_blue/default.css | 21 ----------------- main/css/corporate/default.css | 17 -------------- main/css/cosmic_campus/default.css | 31 +------------------------ main/css/delicious_bordeaux/default.css | 17 -------------- main/css/dokeos_blue/default.css | 17 -------------- main/css/dokeos_classic/default.css | 17 -------------- main/css/dokeos_classic_2D/default.css | 17 -------------- main/css/empire_green/default.css | 17 -------------- main/css/fruity_orange/default.css | 17 -------------- main/css/medical/default.css | 17 -------------- main/css/medical/images/default.css | 16 ------------- main/css/public_admin/default.css | 17 -------------- main/css/royal_purple/default.css | 17 -------------- main/css/silver_line/default.css | 8 ------- main/css/sober_brown/default.css | 23 ------------------ main/css/steel_grey/default.css | 17 -------------- main/css/tasty_olive/default.css | 17 -------------- 21 files changed, 3 insertions(+), 392 deletions(-) mode change 100755 => 100644 main/css/academica/default.css mode change 100755 => 100644 main/css/baby_orange/default.css mode change 100755 => 100644 main/css/chamilo_orange/print.css mode change 100755 => 100644 main/css/cosmic_campus/default.css mode change 100755 => 100644 main/css/medical/images/default.css diff --git a/main/css/academica/default.css b/main/css/academica/default.css old mode 100755 new mode 100644 index b137f39e41..3c0c5b8ffa --- a/main/css/academica/default.css +++ b/main/css/academica/default.css @@ -491,23 +491,7 @@ form div.row { border: 1px solid #bbb; font-weight: bold; } -form div.row div.label { - float: left; - width: 18%; - text-align: right; -} -form div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] form div.row div.label, [dir=rtl] form div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] form div.row div.label, [dir=ltr] form div.row div.formw { - float: right; - text-align: left; -} + form span.form_required { color: #f00; } diff --git a/main/css/baby_orange/default.css b/main/css/baby_orange/default.css old mode 100755 new mode 100644 index cb08bced33..67c17f5308 --- a/main/css/baby_orange/default.css +++ b/main/css/baby_orange/default.css @@ -477,23 +477,7 @@ form div.row { border: 1px solid #bbb; font-weight: bold; } -form div.row div.label { - float: left; - width: 18%; - text-align: right; -} -form div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] form div.row div.label, [dir=rtl] form div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] form div.row div.label, [dir=ltr] form div.row div.formw { - float: right; - text-align: left; -} + form span.form_required { color: #f00; } diff --git a/main/css/chamilo_orange/print.css b/main/css/chamilo_orange/print.css old mode 100755 new mode 100644 index 557cdc1e90..28e186e132 --- a/main/css/chamilo_orange/print.css +++ b/main/css/chamilo_orange/print.css @@ -630,34 +630,6 @@ a.nobold:hover { /***************************************************** * FORM STYLES * *****************************************************/ -div.row { - clear: both; - padding-top: 5px; -} -div.row div.form_header { - white-space: nowrap; - padding: 2px; - background-color: #E5EDF9; - border: 1px solid #4271B5; -} -div.row div.label { - display: inline; - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - display: inline; - width: 80%; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/chamilo_red/print.css b/main/css/chamilo_red/print.css index 557cdc1e90..28e186e132 100644 --- a/main/css/chamilo_red/print.css +++ b/main/css/chamilo_red/print.css @@ -630,34 +630,6 @@ a.nobold:hover { /***************************************************** * FORM STYLES * *****************************************************/ -div.row { - clear: both; - padding-top: 5px; -} -div.row div.form_header { - white-space: nowrap; - padding: 2px; - background-color: #E5EDF9; - border: 1px solid #4271B5; -} -div.row div.label { - display: inline; - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - display: inline; - width: 80%; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/cool_blue/default.css b/main/css/cool_blue/default.css index 2ae27f66fb..69b982c67f 100644 --- a/main/css/cool_blue/default.css +++ b/main/css/cool_blue/default.css @@ -1214,10 +1214,6 @@ a.nobold:hover { /***************************************************** * FORM STYLES * *****************************************************/ -div.row { - clear: both; - padding-top: 8px; -} div.row div.form_header { white-space: nowrap; padding: 2px; @@ -1227,23 +1223,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/corporate/default.css b/main/css/corporate/default.css index 4548e32aff..426eeeed18 100644 --- a/main/css/corporate/default.css +++ b/main/css/corporate/default.css @@ -502,23 +502,6 @@ form div.row { border: 1px solid #bbb; font-weight: bold; } -form div.row div.label { - float: left; - width: 18%; - text-align: right; -} -form div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] form div.row div.label, [dir=rtl] form div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] form div.row div.label, [dir=ltr] form div.row div.formw { - float: right; - text-align: left; -} form span.form_required { color: #f00; } diff --git a/main/css/cosmic_campus/default.css b/main/css/cosmic_campus/default.css old mode 100755 new mode 100644 index 84b41748d9..4bb48dcc9a --- a/main/css/cosmic_campus/default.css +++ b/main/css/cosmic_campus/default.css @@ -493,36 +493,7 @@ ul#navigation .student-connect a { border-color:#bbb; } /* form styles */ -.form { -} -form div.row { - clear: both; - padding-top: 5px; -} -.form_header { - white-space: nowrap; - padding: 2px; - background-color: #f0f0f0; - border: 1px solid #bbb; - font-weight: bold; -} -form div.row div.label { - float: left; - width: 18%; - text-align: right; -} -form div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] form div.row div.label, [dir=rtl] form div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] form div.row div.label, [dir=ltr] form div.row div.formw { - float: right; - text-align: left; -} + form span.form_required { color: #f00; } diff --git a/main/css/delicious_bordeaux/default.css b/main/css/delicious_bordeaux/default.css index 2d70935359..2949acea1d 100644 --- a/main/css/delicious_bordeaux/default.css +++ b/main/css/delicious_bordeaux/default.css @@ -1231,23 +1231,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/dokeos_blue/default.css b/main/css/dokeos_blue/default.css index 9e0f0160c9..7fb7dd0a3e 100644 --- a/main/css/dokeos_blue/default.css +++ b/main/css/dokeos_blue/default.css @@ -1232,23 +1232,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/dokeos_classic/default.css b/main/css/dokeos_classic/default.css index 58bda20d98..49830fc27e 100644 --- a/main/css/dokeos_classic/default.css +++ b/main/css/dokeos_classic/default.css @@ -1045,23 +1045,6 @@ div.row div.form_header { background-color: #E5EDF9; border: 1px solid #4271B5; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/dokeos_classic_2D/default.css b/main/css/dokeos_classic_2D/default.css index 2254e0ac02..e232813e51 100644 --- a/main/css/dokeos_classic_2D/default.css +++ b/main/css/dokeos_classic_2D/default.css @@ -1036,23 +1036,6 @@ div.row div.form_header { padding: 2px; white-space: nowrap; } -div.row div.label { - float: left; - text-align: right; - width: 14%; -} -div.row div.formw { - width: 83%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/empire_green/default.css b/main/css/empire_green/default.css index 62739da0bf..50912f6f05 100644 --- a/main/css/empire_green/default.css +++ b/main/css/empire_green/default.css @@ -1233,23 +1233,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/fruity_orange/default.css b/main/css/fruity_orange/default.css index 06e0266f70..a1415046f5 100644 --- a/main/css/fruity_orange/default.css +++ b/main/css/fruity_orange/default.css @@ -1233,23 +1233,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/medical/default.css b/main/css/medical/default.css index 045a8c1188..4ba706f4a1 100644 --- a/main/css/medical/default.css +++ b/main/css/medical/default.css @@ -1329,23 +1329,6 @@ div.row div.form_header { background-color: #f0f0f0; border: 1px solid #bbb; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/medical/images/default.css b/main/css/medical/images/default.css old mode 100755 new mode 100644 index 679e0c3256..d878563f0e --- a/main/css/medical/images/default.css +++ b/main/css/medical/images/default.css @@ -843,22 +843,6 @@ div.row div.form_header { background-color: #f0f0f0; border: 1px solid #bbb; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/public_admin/default.css b/main/css/public_admin/default.css index 045dc692e3..fa157e4790 100644 --- a/main/css/public_admin/default.css +++ b/main/css/public_admin/default.css @@ -1090,23 +1090,6 @@ div.row div.form_header { background-color: #f0f0f0; border: 1px solid #bbb; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/royal_purple/default.css b/main/css/royal_purple/default.css index dba2cb4ee4..d28fa9dfa8 100644 --- a/main/css/royal_purple/default.css +++ b/main/css/royal_purple/default.css @@ -1228,23 +1228,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/silver_line/default.css b/main/css/silver_line/default.css index 9a81c9cc25..eaaf1c4de4 100644 --- a/main/css/silver_line/default.css +++ b/main/css/silver_line/default.css @@ -810,14 +810,6 @@ div.row div.label { * html .row .formw input { margin-left: -1em; } -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} /* Specific forms: profile,add course,advanced search,advanced course search,etc.. */ #add_course, #profile, #advanced_course_search, #advanced_search, #category, #course_user_import, #export_users, #update_course, #user_add, #user_import { border: 1px solid #ddd; diff --git a/main/css/sober_brown/default.css b/main/css/sober_brown/default.css index 87c17dd24f..026bc614fd 100644 --- a/main/css/sober_brown/default.css +++ b/main/css/sober_brown/default.css @@ -1056,29 +1056,6 @@ div.row { clear: both; padding-top: 5px; } -div.row div.form_header { - white-space: nowrap; - padding: 2px; - background-color: #f0f0f0; - border: 1px solid #bbb; -} -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/steel_grey/default.css b/main/css/steel_grey/default.css index c9d122a827..36325adbba 100644 --- a/main/css/steel_grey/default.css +++ b/main/css/steel_grey/default.css @@ -1231,23 +1231,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; } diff --git a/main/css/tasty_olive/default.css b/main/css/tasty_olive/default.css index 089b9293a1..b82ae1c428 100644 --- a/main/css/tasty_olive/default.css +++ b/main/css/tasty_olive/default.css @@ -1232,23 +1232,6 @@ div.row div.form_header { color: #FFFFFF; font-weight: bold; } -div.row div.label { - float: left; - width: 18%; - text-align: right; -} -div.row div.formw { - width: 80%; - float:left; -} -[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw { - float: left; - text-align: right; -} -[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw { - float: right; - text-align: left; -} span.form_required { color: #f00; }