Changeset 455 for trunk/css


Ignore:
Timestamp:
Jan 7, 2014 2:35:40 AM (10 years ago)
Author:
anonymous
Message:

Fixed css widths of input elements.

Location:
trunk/css
Files:
4 edited

Legend:

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

    r365 r455  
    11/**
    2  * admin.css
     2 * admin.inc.css
    33 *
    4  * CSS for the Strangecode administration sites.
     4 * CSS for a Strangecode administration site.
    55 */
    66
     
    212212/* BEAU: The old stuff that was here...
    213213#content table {
    214          background-color: #FFF; 
     214         background-color: #FFF;
    215215}
    216216
     
    301301}
    302302
    303 #footer a:link, 
     303#footer a:link,
    304304#footer a:visited {
    305305    color: #333;
     
    307307}
    308308
    309 #footer a:active, 
     309#footer a:active,
    310310#footer a:hover {
    311311    color: #333;
  • trunk/css/admin2.inc.css

    r436 r455  
    11/**
    2  * admin.css
     2 * admin2.inc.css
    33 *
    44 * CSS for the Strangecode administration sites.
     
    9595/*     float: left; */
    9696    min-width: 10em;
    97     width: 10em !important; 
     97    width: 10em !important;
    9898    _width: 10em;  /* IE6 hack */
    9999    margin: 0 0 10px 0;
     
    277277}
    278278
    279 #footer a:link, 
     279#footer a:link,
    280280#footer a:visited {
    281281    color: #333;
     
    283283}
    284284
    285 #footer a:active, 
     285#footer a:active,
    286286#footer a:hover {
    287287    color: #333;
     
    304304    margin: 1em 0 0 0;
    305305    padding: 0;
    306     border: 0; 
     306    border: 0;
    307307}
    308308
    309309legend {
    310310    font-size: 90%;
    311     font-weight: bold; 
     311    font-weight: bold;
    312312    padding: 0;
    313313    margin: 0;
     
    318318.sc-small,
    319319.sc-medium,
    320 .sc-large, 
     320.sc-large,
    321321.sc-full,
    322322#sc-captcha-input,
  • trunk/css/codebase.inc.css

    r394 r455  
    11/**
    2  * codebase.css
     2 * codebase.inc.css
    33 *
    44 * CSS used in codebase templates and scripts that generate HTML. Do not arbitrarily
     
    1818.sc-msg-success { color: #090; }
    1919.sc-msg-notice { color: #C60; }
    20 .sc-msg-warning, 
     20.sc-msg-warning,
    2121.sc-msg-error { color: #f00; }
    2222.sc-msg > .sc-msg-success,
     
    3939    border-spacing: 0;
    4040}
    41 #sc-pedit-versions-table th, 
     41#sc-pedit-versions-table th,
    4242#sc-pedit-versions-table td {
    4343    border-bottom: 1px solid #CC9;
  • trunk/css/utilities.inc.css

    r454 r455  
    11/**
    2  * utilities.css
     2 * utilities.inc.css
    33 *
    44 * CSS used often in Strangecode applications. Do not arbitrarily
     
    1414input.sc-medium, textarea.sc-medium, select.sc-medium,
    1515input.sc-large, textarea.sc-large, select.sc-large,
    16 input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; }
     16input.sc-full, textarea.sc-full, select.sc-full { margin: 0 0.5em 0 0; padding: 3px 0.25em; border-width: 1px; }
    1717
    18 input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 4.75em; }
    19 input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10em; }
    20 input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 20.5em; }
    21 input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 41.5em; }
     18/*
     19The following widths are calculated using `width = (maxwidth - (1.2 * multiple)) / multiple`
     20where width is the saught value, maxwidth is the width of a sc-large, and multiple is the number
     21of times an element fits within maxwidth (i.e. sc-tiny has a multiple of 8).
     22The values are dependent on the margin, padding, and border set above.
     23*/
     24input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 4.54em; }
     25input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10.17em; }
     26input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 21.44em; }
     27input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 44em; }
    2228input.sc-full, textarea.sc-full, select.sc-full, label.sc-full          { width: 100%; }
    2329
Note: See TracChangeset for help on using the changeset viewer.