From 12a37e227f35dbcb4d350b50dc4847edebe7d2eb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 20 Mar 2009 00:16:22 -0400 Subject: [PATCH] Add font styling to form input elements and create a .button class for styling links as buttons * Decorator.css.php --- CHANGES | 4 ++++ Decorator.css.php | 31 +++++++++++++++++++++++++++---- version.php | 2 +- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index b413b8d..f5afae8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3.2.3 +=================== +- Change: More BSDecorator styling updates, creating a .button class to style button links + 3.2.2 =================== - New: Added BSTemplate::__toString() to evaluate the template diff --git a/Decorator.css.php b/Decorator.css.php index fae1096..523a574 100644 --- a/Decorator.css.php +++ b/Decorator.css.php @@ -161,6 +161,7 @@ fieldset dl dd border-style: solid; float: left; + width: 40%; } /* Submit row items */ @@ -179,8 +180,11 @@ fieldset dl dd /*******************************************************************/ /* Give the input elements some styling */ -input, select, textarea +input, select, textarea, .button { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 12px; + border-width: 1px; border-style: solid; border-color: rgb(123, 170, 90); @@ -190,6 +194,25 @@ input, select, textarea background-color: rgb(237, 245, 230); } +input[type="button"], input[type="submit"], input[type="reset"], .button +{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 14px; + font-weight: bold; +} + +textarea, input[type="text"], input[type="password"] +{ + width: 100%; +} + +textarea +{ + min-height: 50px; + max-height: 400px; + height: auto; +} + /*******************************************************************/ /* Tables */ /*******************************************************************/ @@ -236,17 +259,17 @@ thead color: rgb(62, 76, 49); } - .headings td + .headings td, tbody td { text-align: center; } - .headings td:last-child + .headings td:last-child, tbody td:last-child { text-align: right; } - .headings td:first-child + .headings td:first-child, tbody td:first-child { text-align: left; } diff --git a/version.php b/version.php index 83043fe..fb1b9d8 100644 --- a/version.php +++ b/version.php @@ -22,6 +22,6 @@ /** * ISSO version */ -define('ISSO_VERSION', '3.2.2'); +define('ISSO_VERSION', '3.2.3'); ?> \ No newline at end of file -- 2.22.5