Changeset 20 for trunk/css


Ignore:
Timestamp:
Nov 17, 2005 3:00:00 AM (18 years ago)
Author:
scdev
Message:

Tons of little updates and bugfixes. CSS updates to templates and core css files. File upload ability to module_maker. Remade Upload interface to use setParam/getParam.

Location:
trunk/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/css/admin.inc.css

    r19 r20  
    4444/* The following are here in addition to in utilities.inc.css only because I want the font size 70%. Is there a more general way to do this? There currently are NO font-size specifications in utilities.inc.css or codebase.inc.css. That seems safest, but requires that they are redefined anyways (like here for eg). Have you figured out how to do font sizes correctly? */
    4545
     46/* Why does having a form change the presentation of the page? Don't do that. */
     47form
     48{
     49    margin: 0;
     50}
     51
    4652form label
    4753{
    4854    font-size: 70%;
    49     max-width: 20em;
     55    max-width: 25em;
    5056    /* BEAU: I added class="right" to the <TD> to make them align right as they were before. Do you know a better way? */
    5157    /*float: right;*/
     
    216222{
    217223    vertical-align: top;
    218     padding-right: 6px;
     224    padding: 8px 6px 0 0 ;
    219225}
    220226
  • trunk/css/utilities.inc.css

    r19 r20  
    1515{
    1616    color: #000;
    17     margin: 0 4px 0 0;
     17    margin: 0 0.5em 0 0;
    1818    padding: 0;
    1919}
     
    2323{
    2424    font-weight: bold;
    25     margin: 1px;
    26 }
    27 
    28 /* BEAU: Should be in EMs? Also, sometimes it is nice to have the select menu be only the width as its contents. How to override this? */
    29 select
    30 {
    31     width: 250px;
    32     margin: 4px 4px 0 0;
     25    margin: 0.5em;
    3326}
    3427
    3528input
    3629{
    37     margin: 4px 4px 0 0;
     30    margin: 0.5em 0.5em 0 0;
    3831}
    3932
     
    4639BEAU: I want more text box widths! I find need for boxes that fit 5em, 10em, 20em, and 40em widths. These should be in EMs so text can resize and still fit. Since it is useful to apply a width to other form elements to have them similar sizes (not always a text box, such as <select multiple>) I propose renaming them to "input.tiny", "input.small", "input.medium", "input.large", and "input.half" (not sure how you would do "half" in EMs however.
    4740*/
    48 input.text, textarea.text
     41input.tiny, textarea.tiny
    4942{
    50     width: 250px;
     43    width: 5em;
    5144}
    5245
    53 input.textsmall, textarea.textsmall
     46input.small, textarea.small
    5447{
    55     width: 150px;
     48    width: 10em;
    5649}
    5750
    58 input.texthalf, textarea.texthalf
     51input.medium, textarea.medium
    5952{
    60     width: 121px;
    61     /*  125 minus 4 to account for the 4px padding on the right  */
     53    width: 20.5em;
     54}
     55
     56input.large, textarea.large
     57{
     58    width: 41.5em;
    6259}
    6360
     
    6764}
    6865
    69 /* BEAU: Again, here, "small", "medium", "large" denominations make sense. But how to diferentiate width from height? */
    70 textarea.twoliner
     66textarea.twolines
    7167{
    7268    height: 3em;
    7369}
    7470
    75 textarea.paragraphs
     71textarea.short
    7672{
    77     height: 20em;
     73    height: 8em;
     74}
     75
     76textarea.tall
     77{
     78    height: 25em;
     79}
     80
     81textarea.fullscreen
     82{
     83    height: 40em;
     84}
     85
     86/* BEAU: Should be in EMs? Also, sometimes it is nice to have the select menu be only the width as its contents. How to override this? */
     87select.small
     88{
     89    width: 10em;
     90}
     91
     92select.medium
     93{
     94    width: 20.5em;
    7895}
    7996
Note: See TracChangeset for help on using the changeset viewer.