Make WordPress Core


Ignore:
Timestamp:
10/30/2008 03:03:00 AM (17 years ago)
Author:
azaozz
Message:

Postbox.js fixes and css reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/global.css

    r9396 r9408  
     1/* http://meyerweb.com/eric/tools/css/reset/ */
     2/* v1.0 | 20080212 */
     3
     4html, body, div, span, applet, object, iframe,
     5h1, h2, h3, h4, h5, h6, p, blockquote, pre,
     6a, abbr, acronym, address, big, cite, code,
     7del, dfn, em, font, img, ins, kbd, q, s, samp,
     8small, strike, strong, sub, sup, tt, var,
     9b, u, i, center,
     10dl, dt, dd, ol, ul, li,
     11fieldset, form, label, legend,
     12table, caption, tbody, tfoot, thead, tr, th, td {
     13    margin: 0;
     14    padding: 0;
     15    border: 0;
     16    outline: 0;
     17    font-size: 100%;
     18    vertical-align: baseline;
     19    background: transparent;
     20}
     21body {
     22    line-height: 1;
     23}
     24ol, ul {
     25    list-style: none;
     26}
     27blockquote, q {
     28    quotes: none;
     29}
     30blockquote:before, blockquote:after,
     31q:before, q:after {
     32    content: '';
     33    content: none;
     34}
     35
     36/* remember to define focus styles! */
     37/*
     38:focus {
     39    outline: 0;
     40}
     41*/
     42/* remember to highlight inserts somehow! */
     43ins {
     44    text-decoration: none;
     45}
     46del {
     47    text-decoration: line-through;
     48}
     49
     50/* tables still need 'cellspacing="0"' in the markup */
     51table {
     52    border-collapse: collapse;
     53    border-spacing: 0;
     54}
     55/* end reset css */
     56
     57
    158/* 2 column liquid layout */
    259#wpwrap {
     
    73130}
    74131
     132/* include margin and padding in the width calculation of input and textarea */
     133input[type="text"],
     134textarea {
     135    -moz-box-sizing: border-box;
     136    -webkit-box-sizing: border-box;
     137    -ms-box-sizing: border-box; /* ie8 only */
     138    box-sizing: border-box;
     139}
     140
     141input[type="checkbox"],
     142input[type="radio"] {
     143    vertical-align: text-top;
     144}
     145
    75146/* styles for use by people extending the WordPress interface */
    76147
     
    84155}
    85156
    86 form, label input { margin: 0; padding: 0; }
    87 
    88 img { border: 0; }
    89 
    90 label { cursor: pointer; }
    91 
    92 li, dd { margin-bottom: 6px; }
    93 
    94 p, li, dl, dd, dt { line-height: 140%; }
     157form, label input {
     158    margin: 0;
     159    padding: 0;
     160}
     161
     162img {
     163    border: 0;
     164}
     165
     166label {
     167    cursor: pointer;
     168}
     169
     170li, dd {
     171    margin-bottom: 6px;
     172}
     173
     174p, li, dl, dd, dt {
     175    line-height: 140%;
     176}
    95177
    96178textarea, input, select {
     
    98180    margin: 1px;
    99181    padding: 3px;
    100     border-width: 1px;
    101     border-style: solid;
    102182}
    103183
     
    206286    -webkit-border-radius: 4px;
    207287    border-radius: 4px;
    208    
    209288}
    210289
Note: See TracChangeset for help on using the changeset viewer.