Changeset 557 for trunk/css


Ignore:
Timestamp:
Dec 23, 2015 11:22:00 PM (8 years ago)
Author:
anonymous
Message:

Changed form input widths from em to rem. Contingency for empty logMsg() file and line. Minor mm fix.

Location:
trunk/css
Files:
2 edited

Legend:

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

    r500 r557  
    367367}
    368368
     369.sc-form-row input + input {
     370    margin-top: .5rem;
     371    margin-bottom: .5rem;
     372}
     373
    369374input[type="submit"],
    370375input[type="button"] {
     
    386391select.sc-medium,
    387392label.sc-medium {
    388     width: 21.25em;
     393/* WFT? */
     394/*    width: 21.25rem;*/
    389395}
    390396
  • trunk/css/utilities.inc.css

    r485 r557  
    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; padding: 3px 0.25em; border-width: 1px; }
     16input.sc-full, textarea.sc-full, select.sc-full {
     17    margin: 0 0.5rem 0 0;
     18    padding: 3px 0.25rem;
     19    border-width: 1px;
     20}
    1721
    1822/*
    1923The following widths are calculated using `width = (maxwidth - (1.2 * multiple)) / multiple`
    20 where width is the saught value, maxwidth is the width of a sc-large, and multiple is the number
     24where width is the sought value, maxwidth is the width of a sc-large, and multiple is the number
    2125of times an element fits within maxwidth (i.e. sc-tiny has a multiple of 8).
    2226The values are dependent on the margin, padding, and border set above.
    2327*/
    24 input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 4.54em; }
    25 input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10.15em; }
    26 input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 21.42em; }
    27 input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 44em; }
     28input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 4.54rem; }
     29input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10.15rem; }
     30input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 21.42rem; }
     31input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 44rem; }
    2832input.sc-full, textarea.sc-full, select.sc-full, label.sc-full          { width: 100%; }
    2933
    30 select.sc-small     { width: 10em; }
    31 select.sc-medium    { width: 20.5em; }
     34select.sc-small     { width: 10rem; }
     35select.sc-medium    { width: 20.5rem; }
    3236
    33 textarea.sc-twolines, select.sc-twolines              { height: 3em; }
    34 textarea.sc-short, select.sc-short                    { height: 8em; }
    35 textarea.sc-tall, select.sc-tall                      { height: 25em; }
    36 textarea.sc-fullscreen, select.sc-fullscreen          { height: 40em; }
     37textarea.sc-twolines, select.sc-twolines              { height: 3rem; }
     38textarea.sc-short, select.sc-short                    { height: 8rem; }
     39textarea.sc-tall, select.sc-tall                      { height: 25rem; }
     40textarea.sc-fullscreen, select.sc-fullscreen          { height: 40rem; }
    3741
    3842/*_____________________ UTILITIES ____________________*/
Note: See TracChangeset for help on using the changeset viewer.