Ignore:
Timestamp:
Dec 29, 2020 3:18:44 AM (3 years ago)
Author:
anonymous
Message:

Remove excess whitespace and comments from css

File:
1 edited

Legend:

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

    r731 r741  
    1 /**
    2  * admin2.inc.css
    3  *
    4  * CSS for the Strangecode administration sites.
    5  */
     1/*
     2* admin2.inc.css
     3*/
    64
    7 /*_____________________ GLOBAL ____________________*/
     5/*
     6GLOBAL
     7*/
    88body {
    99    background: #fff;
     
    1313    color: #000;
    1414}
    15 
    1615a:link,
    1716a:visited   { color: #227899; text-decoration: none; border: none; }
    1817a:hover     { color: #000; text-decoration: none; border: none; }
    1918a:active    { color: #00b8ff; text-decoration: none; border: none; }
    20 
    2119pre { margin: 0; }
    22 
    23 /*_____________________ MISC ____________________*/
    24 
    25 /* 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? */
    26 
    27 /* Why does having a form change the presentation of the page? Don't do that. */
    28 /* form { margin: 0; }
    29 
    30 form label {
    31     font-size: 70%;
    32     max-width: 25em;
    33     font-weight: bold;
    34 }
    35  */
     20/*
     21MISC
     22*/
    3623.help,
    3724.sc-help,
    3825.commandtext,
    3926.commanditem { font-size: 0.7rem; }
    40 
    4127/* For fv err applied to tds. */
    4228td.sc-msg-warning,
     
    4834    border: none;
    4935}
    50 
    5136img {
    5237    border: 0;
    5338    vertical-align: middle;
    5439}
    55 
    5640#container-columns {
    5741    width: 100%;
    5842}
    59 
    60 /*_____________________ HEADER ____________________*/
     43/*
     44HEADER
     45*/
    6146#userinfo {
    6247    width: 98%;
     
    6550    text-align: right;
    6651}
    67 
    6852#userinfo p {
    6953    margin: 0;
    7054    padding: 0;
    7155}
    72 
    7356#container {
    7457    width: 98%;
     
    7760    border: 1px solid gray;
    7861}
    79 
    8062#top {
    8163    border-bottom: 1px solid gray;
     
    8365    padding: .5em;
    8466}
    85 
    8667#top h1 {
    8768    margin: 0;
     
    9071    color: #000;
    9172}
    92 
    93 /*_____________________ NAVIGATION ____________________*/
     73/*
     74NAVIGATION
     75*/
    9476#leftnav {
    9577/*     float: left; */
     
    10183    background-color: #EEE;
    10284}
    103 
    10485#leftnav ul {
    10586    padding: 0;
    10687    margin: 0;
    10788}
    108 
    10989#leftnav #navlist li {
    11090    list-style: none;
     
    11696    font-weight: bold;
    11797}
    118 
    11998#leftnav #navlist li a {
    12099    text-decoration: none;
    121100    padding: 1px;
    122101}
    123 
    124102#leftnav #navlist li.label {
    125103    color: #999;
     
    128106    font-weight: bold;
    129107}
    130 
    131108#leftnav a.addlink {
    132109    margin-left: 0.25em;
    133110    font-weight: normal;
    134111}
    135 
    136 #leftnav #navlist li a:link, #navlist li a:visited {
    137     /* color: #336; */
    138 }
    139 
    140 #leftnav #navlist li a:hover, #navlist li a:active {
    141     /* color: #C00; */
    142 }
    143 
    144 /*_____________________ CONTENT ____________________*/
    145 
     112/*
     113CONTENT
     114*/
    146115#content-table {
    147116    width: 100%;
    148117}
    149 
    150118#content {
    151 /*     width: 100%; */
    152 /*     margin-left: 1em; */
    153 /*     border-left: 1px solid gray; */
    154119    padding: 0.75em 0.5em 15px 0.75em;
    155120    background-color: #FFF;
    156121}
    157 
    158122#content h1, #content h2, #content h3, #content h4, #content h5 {
    159123    margin: 0 0 .5em 0;
     
    163127#content h3 { font-size: 0.9rem; }
    164128#content h4 { font-size: 0.75rem; }
    165 
    166129#content p,
    167130#content ul,
     
    171134    line-height: 130%;
    172135}
    173 
    174 /* li:not(.ui-tab) {
    175     list-style-position: inside;
    176     list-style: disc;
    177     margin-left: 1.2em;
    178 } */
    179136ul.normal li,
    180137ol.normal li {
     
    183140    margin-left: 1.2em;
    184141}
    185 
    186 /*_____________________ TABLES ____________________*/
     142/*
     143TABLES
     144*/
    187145table {
    188146    border-size: 1px;
     
    190148    border-spacing: 0;
    191149}
    192 
    193150th {
    194151    padding: 2px;
     
    197154    white-space: nowrap;
    198155}
    199 
    200156td {
    201157    vertical-align: top;
    202158    padding: 8px 6px 0 0;
    203159}
    204 
    205160table.list {
    206161    border-size: 1px;
     
    208163    margin: 6px 0;
    209164}
    210 
    211165table.list th {
    212166    padding: 0 6px 1px 2px;
     
    215169    border-bottom: 2px solid #eee;
    216170    background-color: #ddd;
    217 /*  border-bottom: 1px solid #000; */
    218 }
    219 
     171}
    220172table.list td, #commandbox table td, .commandbox table td {
    221173    font-size: 0.7rem;
     
    224176    vertical-align: top;
    225177}
    226 
    227178table.list tr:hover, #commandbox table tr:hover, .commandbox table tr:hover {
    228179    background: #FAF8C7 !important;
    229180}
    230 
    231 /*_____________________ COMMANDS ____________________*/
    232 
    233 /* We were using an ID, now using class. */
     181/*
     182COMMANDS
     183*/
    234184#commandbox, .commandbox
    235185{
     
    240190    color: inherit;
    241191}
    242 
    243192.commanditem
    244193{
     
    246195    white-space: nowrap;
    247196}
    248 
    249197#commandbox form, .commandbox form {
    250198    margin: 8px 0 0 0;
    251199}
    252 
    253 /* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */
     200/* Keep for backwards-compatibility. */
    254201.commandtext
    255202{
    256203    padding-right: 1em;
    257204}
    258 
    259205.command_left
    260206{
     
    262208    white-space: nowrap;
    263209}
    264 
    265210.command_right
    266211{
     
    270215    float: right;
    271216}
    272 
    273 
    274 /*_____________________ FOOTER ____________________*/
     217/*
     218FOOTER
     219*/
    275220#footer {
    276221    clear: both;
     
    283228    line-height: 100%;
    284229}
    285 
    286230#footer a:link,
    287231#footer a:visited {
     
    289233    text-decoration: none;
    290234}
    291 
    292235#footer a:active,
    293236#footer a:hover {
     
    295238    text-decoration: underline;
    296239}
    297 
    298 /* Form Defaults ---------------------------------------------------- */
    299 
     240/*
     241Form Defaults
     242*/
    300243.sc-form {
    301244    width: 100%;
    302245    margin: 1em 0;
    303246}
    304 
    305247.sc-form-row {
    306248    margin: .5em 0;
    307249}
    308250.sc-form-row:after { content: " "; display: block; visibility: hidden; clear: both; height: 0.1px; font-size: 0.1em; line-height: 0; } /* clear floats - Ydnar Hack */
    309 
    310251fieldset {
    311252    margin: 1em 0 0 0;
     
    313254    border: 0;
    314255}
    315 
    316256legend {
    317257    font-size: 90%;
     
    320260    margin: 0;
    321261}
    322 
    323262.sc-form textarea,
    324263.sc-tiny,
     
    340279    border: none;
    341280}
    342 
    343281textarea {
    344282    padding: 0 2px;
    345283}
    346 
    347284.sc-form-row label {
    348285    font-size: 0.7rem;
    349286    padding-top: 0.25em;
    350287}
    351 
    352 .sc-form-row label { /* Modified by Matt. Was .sc-form-row>label:first-child */
     288.sc-form-row label {
    353289    display: block;
    354290    width: 120px;
     
    358294    font-style: italic;
    359295}
    360 
    361296.sc-form-row label.sc-label-secondary {
    362297    display: inline;
     
    367302    font-style: normal;
    368303}
    369 
    370304.sc-form label span {
    371305    visibility: hidden;
    372306}
    373 
    374 /*.sc-form-row input + input {
    375     margin-top: .5rem;
    376     margin-bottom: .5rem;
    377 } */
    378 
    379307input[type="submit"],
    380308input[type="button"] {
     
    384312    background-color: #eee;
    385313}
    386 
    387314.sc-submit-buttons {
    388315    margin: 20px 0 20px 130px;
     
    391318    margin-left: 130px;
    392319}
    393 
    394320label.sc-radio-label {
    395321    width: auto;
    396322}
    397 
    398323/* Hide foundation elements for sites still using old admin css. */
    399324.sc-msg .close {
Note: See TracChangeset for help on using the changeset viewer.