Author: amal Date: Wed Nov 26 21:44:29 2008 New Revision: 25024 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=25024
Log: Added table row styles Added: trunk/wsas/java/carbon/styles/src/main/resources/web/admin/images/submit-button-bg.gif (contents, props changed) Modified: trunk/wsas/java/carbon/styles/src/main/resources/web/admin/css/main.css trunk/wsas/java/carbon/styles/src/main/resources/web/admin/images/menu_header.gif Modified: trunk/wsas/java/carbon/styles/src/main/resources/web/admin/css/main.css URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/carbon/styles/src/main/resources/web/admin/css/main.css?rev=25024&r1=25023&r2=25024&view=diff ============================================================================== --- trunk/wsas/java/carbon/styles/src/main/resources/web/admin/css/main.css (original) +++ trunk/wsas/java/carbon/styles/src/main/resources/web/admin/css/main.css Wed Nov 26 21:44:29 2008 @@ -110,6 +110,10 @@ } div#menu ul.main li.menu-header { +background-image: url(../images/menu_header.gif); +border-top: 0px; +border-bottom: 0px; +height: 24px; } div#menu ul.main li a.menu-default { @@ -165,42 +169,11 @@ /* ---- login styles ----- */ -div#middle div#loginbox { - background-color: #0067B1; - border: solid 1px #fff; - color: #fff; -} - -div#middle div#loginbox h2 { - color: #fff; - border-bottom: solid 1px #fff; -} - -div#middle div#loginbox input { -} - -div#middle div#loginbox label { -} - -div#middle div#loginbox input[type=submit] { -} - -div#middle div#loginbox P{ -} - -div#middle div#loginbox a { -} - -div#middle div#loginbox a:hover { -} /* --------------- table styles -------------------- */ .tableOddRow{background-color: white;} .tableEvenRow{background-color: #E0E5F3;} -.chkBox { -} - .button{ background-image:url(../images/button_center.gif); border:solid 1px #6e6e6e; @@ -369,16 +342,6 @@ padding: 0.25em 0; } -div#formset label, - div#formset span.label { - margin-right: 0.5em; - padding-right: 0.5em; - width: 10em; - display: block; - float: left; - text-align: right; - position: relative; -} div#formset label.error, div#formset span.error { @@ -485,13 +448,7 @@ padding: 0; } */ - /* Neutralize styling: - Elements with a vertical margin: */ - h1, h2, h3, h4, h5, h6, p, pre, - blockquote, ol, dl, address { - margin: 0 0 0px; - padding: 5px 0 0; - } + /* Apply left margin: Only to the few elements that need it: */ @@ -954,33 +911,6 @@ margin-left: 31em; } - - /* Tables - --------------------------------------------------------------------------------- */ - - /* table { - margin-bottom: 1em; - margin-right: 1em; - border-collapse: collapse; - } - - table th, - table td{ - padding: 3px 15px; - font-size: 80%; - } - - table thead th { - text-align: left; - vertical-align: middle; - padding: 0 15px; - } - - table td { - text-align: left; - vertical-align: middle; - } */ - /* Table: styled */ table.styled thead th { @@ -991,34 +921,7 @@ text-align:left; } - table.styledLeft { - border-collapse: collapse; - margin-left: 2px; - font-size: 100%; - width: 100%; - } - - table.styledLeft tbody tr td { - border: solid 1px #cccccc; - height: 25px; - padding-top: 2px; - padding-bottom: 2px; - padding-left: 8px !important; - padding-right: 8px !important; - vertical-align: middle !important; - } - - table.styledLeft thead th { - background-image:url(../images/header.gif); - background-position:0 0; - background-repeat:repeat-x; - border:1px solid #cccccc; - font-weight:normal; - height:20px; - line-height:20px; - margin-bottom:5px; - padding-left:8px; - } + /* Table: semi */ @@ -1136,4 +1039,55 @@ text-decoration: none } /* --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ +/* ------------- REFINED ------------------ */ +div#workArea table.styledLeft { + border-collapse: collapse; + margin-left: 2px; + width: 100%; +} + +div#workArea table.styledLeft thead th { + background-image:url(../images/header.gif); + background-position: left bottom; + background-repeat:repeat-x; + border:1px solid #cccccc; + font-weight:normal; + height:22px; + line-height:20px; + margin-bottom:5px; + padding-left:8px; +} + +div#workArea table.styledLeft tbody tr td { + border: solid 1px #cccccc; + height: 25px; + padding-top: 2px; + padding-bottom: 2px; + padding-left: 8px !important; + padding-right: 8px !important; + vertical-align: middle !important; +} +div#workArea table.styledLeft tbody tr td.formRaw { + padding-top: 10px; + padding-bottom: 10px; + border-right: solid 1px #cccccc; + } +div#workArea table.styledLeft tbody tr td.buttonRow { + padding-top: 5px; + padding-bottom: 5px; + background-image: url(../images/buttonRow-bg.gif); + background-position: left top; + background-repeat: repeat-x; +} +div#formset label, + div#formset span.label { + /*margin-right: 5px; + padding-right: 5px; + padding-top: 2px; + width: 100px; + display: block; + float: left; + text-align: right; + position: relative;*/ +} Modified: trunk/wsas/java/carbon/styles/src/main/resources/web/admin/images/menu_header.gif URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/carbon/styles/src/main/resources/web/admin/images/menu_header.gif?rev=25024&r1=25023&r2=25024&view=diff ============================================================================== Binary files. No diff available. Added: trunk/wsas/java/carbon/styles/src/main/resources/web/admin/images/submit-button-bg.gif URL: http://wso2.org/svn/browse/wso2/trunk/wsas/java/carbon/styles/src/main/resources/web/admin/images/submit-button-bg.gif?pathrev=25024 ============================================================================== Binary file. No diff available. _______________________________________________ Wsas-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
