1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +02:00

bbarea help tag style (temporary) corrections, more to come

This commit is contained in:
secretr
2010-02-08 18:30:30 +00:00
parent 0162658ea5
commit 53f7a7d3db
3 changed files with 21 additions and 9 deletions

View File

@@ -9,8 +9,8 @@
* *
* *
* $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $ * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $
* $Revision: 1.17 $ * $Revision: 1.18 $
* $Date: 2010-01-09 15:06:37 $ * $Date: 2010-02-08 18:30:21 $
* $Author: secretr $ * $Author: secretr $
*/ */
@@ -138,7 +138,7 @@ class bbcode_shortcodes
$bbcode_helpactive = TRUE; $bbcode_helpactive = TRUE;
//FIXME - better bb help //FIXME - better bb help
return "<input id='{$bbcode_helptag}' class='tbox helpbox{$bbcode_helpsize}' type='text' name='{$bbcode_helptag}' size='90' readonly='readonly' />"; return "<input id='{$bbcode_helptag}' class='helpbox{$bbcode_helpsize}' type='text' name='{$bbcode_helptag}' size='90' readonly='readonly' />";
} }
function sc_bb_preimagedir($parm) function sc_bb_preimagedir($parm)

View File

@@ -118,7 +118,7 @@ pre {
/* Form elements */ /* Form elements */
input.input-text, input.input-text,
textarea, textarea,
select, .tbox, .helpbox { select, .tbox {
border-width:1px; border-width:1px;
border-style:solid; border-style:solid;
border-color:#aaa #c8c8c8 #c8c8c8 #aaa; border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
@@ -126,6 +126,11 @@ select, .tbox, .helpbox {
font:12px arial, helvetica, sans-serif; font:12px arial, helvetica, sans-serif;
} }
.helpbox {
border: 0px;
font: 12px arial, helvetica, sans-serif;
}
input[disabled='disabled'], input[disabled='disabled'],
textarea[disabled='disabled'], textarea[disabled='disabled'],
select[disabled='disabled'], select[disabled='disabled'],
@@ -147,9 +152,9 @@ label { cursor: pointer; }
.checkbox { margin-right: 5px; } .checkbox { margin-right: 5px; }
/* BBcode textareas */ /* BBcode textareas */
div.bbarea.large, .tbox.large, .tbox.helpbox.large { width: 95% !important; } div.bbarea.large, .tbox.large, .helpbox.large { width: 95% !important; }
div.bbarea.medium, .tbox.medium, .tbox.helpbox.medium { width: 60% !important; } div.bbarea.medium, .tbox.medium, .helpbox.medium { width: 60% !important; }
div.bbarea.small, .tbox.small, .tbox.helpbox.small { width: 250px !important; } div.bbarea.small, .tbox.small, .helpbox.small { width: 250px !important; }
.check-block { /* see administration newspost.php */ .check-block { /* see administration newspost.php */
padding: 2px 0px; padding: 2px 0px;

View File

@@ -121,6 +121,7 @@ ul {
.helpbox { .helpbox {
border: 0px; border: 0px;
font: 12px arial, helvetica, sans-serif;
} }
/* Theme Specific Classes */ /* Theme Specific Classes */
@@ -425,7 +426,7 @@ img.edit { margin-right: 5px }
/* Form elements */ /* Form elements */
input.input-text, input.input-text,
textarea, textarea,
select, .tbox, .helpbox { select, .tbox {
border-width:1px; border-width:1px;
border-style:solid; border-style:solid;
border-color:#aaa #c8c8c8 #c8c8c8 #aaa; border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
@@ -445,7 +446,7 @@ select[disabled='disabled'],
option { padding-right: 10px;} option { padding-right: 10px;}
input.input-text, textarea, .tbox, .helpbox { padding:2px; } input.input-text, textarea, .tbox, .helpbox { padding:2px; }
.tbox.large { width: 95% !important; }
select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ } select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
.select.order { width: 40px !important; } .select.order { width: 40px !important; }
.select.time-offset { width: 60px !important; } .select.time-offset { width: 60px !important; }
@@ -453,6 +454,12 @@ input.radio { margin-right: 3px; }
label { cursor: pointer; } label { cursor: pointer; }
.checkbox { margin-right: 5px; } .checkbox { margin-right: 5px; }
/* BBcode textareas */
div.bbarea.large, .tbox.large, .helpbox.large { width: 95% !important; }
div.bbarea.medium, .tbox.medium, .helpbox.medium { width: 60% !important; }
div.bbarea.small, .tbox.small, .helpbox.small { width: 250px !important; }
.check-block { /* see administration newspost.php */ .check-block { /* see administration newspost.php */
padding: 2px 0px; padding: 2px 0px;
border-width:1px; border-width:1px;