Make WordPress Core

Changeset 9371


Ignore:
Timestamp:
10/27/2008 09:00:26 PM (17 years ago)
Author:
azaozz
Message:

Press This CSS cleanup, props Simek, fixes #7967

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/press-this.css

    r9326 r9371  
    22    font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
    33    color: #333;
    4     margin: 0px;
    5     padding: 0px;
    6 }
    7 
    8 img { border: 0; }
     4    margin: 0;
     5    padding: 0;
     6}
     7
     8img {
     9    border: none;
     10}
    911
    1012/* Header */
    11 #wphead{border-top:none;padding-top:8px; background: #444 !important;}
    12 
    13 #poststuff #edButtonPreview, #poststuff #edButtonHTML, .button{font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;padding:3px 5px;font-size:12px;line-height:1.5em;border-width:1px;border-style:solid;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;margin-left:5px;text-decoration:none;}
     13#wphead {
     14    border-top: none;
     15    padding-top: 8px;
     16    background: #444 !important;
     17}
     18
     19.button,
     20#poststuff #edButtonPreview,
     21#poststuff #edButtonHTML {
     22    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
     23    padding: 3px 5px;
     24    font-size: 12px;
     25    line-height: 1.5em;
     26    border-width: 1px;
     27    border-style: solid;
     28    -moz-border-radius: 3px;
     29    -khtml-border-radius: 3px;
     30    -webkit-border-radius: 3px;
     31    border-radius: 3px;
     32    cursor: pointer;
     33    margin-left: 5px;
     34    text-decoration: none;
     35}
    1436
    1537.howto {
     
    2042
    2143input.text {
    22     border: 0pt none;
     44    border: none;
    2345    outline-color: -moz-use-text-color;
    2446    outline-style: none;
    2547    outline-width: medium;
    26     padding: 0pt;
     48    padding: 0;
    2749    width: 100%;
    2850    border-style: solid;
    29     color: #333333;
     51    color: #333;
    3052}
    3153
    3254/* Editor/Main Column */
    33 
    3455div#poststuff {
    3556    padding-left: 10px;
     
    3758}
    3859
    39 
    4060div.zerosize {
    41 border:0 none;
    42 height:0;
    43 margin:0;
    44 overflow:hidden;
    45 padding:0;
    46 position:absolute;
    47 width:0;
    48 }
    49 
    50 
    51 #poststuff #edButtonPreview.active, #poststuff #edButtonHTML.active { display: none; }
     61    border: 0 none;
     62    height: 0;
     63    margin: 0;
     64    overflow: hidden;
     65    padding: 0;
     66    position: absolute;
     67    width: 0;
     68}
     69
     70#poststuff #edButtonPreview.active,
     71#poststuff #edButtonHTML.active {
     72    display: none;
     73}
    5274
    5375.posting {
    54 margin-right: 228px;
     76    margin-right: 228px;
    5577}
    5678
    5779#side-info-column {
    58 float: right;
    59 width: 218px;
    60 position: relative;
    61 margin-right: 10px;
    62 }
    63 #side-info-column .sleeve { padding-left: 10px; }
     80    float: right;
     81    width: 218px;
     82    position: relative;
     83    margin-right: 10px;
     84}
     85
     86#side-info-column .sleeve {
     87    padding-left: 10px;
     88}
     89
    6490#poststuff .inside {
    65 font-size:11px;
    66 margin:0 12px 12px;
     91    font-size: 11px;
     92    margin: 0 12px 12px;
    6793}
    6894
     
    75101    border-width: 1px;
    76102    padding: 2px 3px;
    77     border-color: #CCCCCC;
    78 }
    79 .titlewrap input { font-size: 1.2em; }
     103    border-color: #ccc;
     104}
     105.titlewrap input {
     106    font-size: 1.2em;
     107}
    80108
    81109#poststuff h2, #poststuff h3 {
     
    84112    padding: 7px;
    85113    margin: 0 0 10px;
    86     background-color: #EAF3FA;
    87 }
    88 
     114    background-color: #eaf3fa;
     115}
    89116
    90117#poststuff .stuffbox {
    91118    border: 1px solid white;
    92     border-color:#EBEBEB #CCCCCC #CCCCCC #EBEBEB;
     119    border-color: #EBEBEB #ccc #ccc #EBEBEB;
    93120    padding: 2px;
    94121    margin-bottom: 10px;
    95122}
     123
    96124.editor-container {
    97125    border-width: 1px;
     
    102130}
    103131
    104 .postdivrich { position: relative; margin-top: 10px;}
    105 #actions { clear: both; position: absolute; right: 4px; top: 6px; margin: 0;}
    106 #actions li { float: left; list-style: none; }
     132.postdivrich {
     133    position: relative;
     134    margin-top: 10px;
     135}
     136
     137#actions {
     138    clear: both;
     139    position: absolute;
     140    right: 4px;
     141    top: 6px;
     142    margin: 0;
     143}
     144
     145#actions li {
     146    float: left;
     147    list-style: none;
     148}
    107149
    108150/* Photo Styles */
    109 .photolist { margin-top: -10px; }
    110 #photo_saving{margin:0 8px 8px;vertical-align:middle;}
    111 #img_container{background-color:#fff;height:101px;width:100%; }
    112 #extra_fields{ margin-top:10px;position:relative;}
    113 #extra_fields .titlewrap{padding:0;overflow:auto;height:100px;}
    114 #img_container{position:relative;}
    115 #img_container a{display:block;width:71px;height:71px;float:left;overflow:hidden;vertical-align:center;}
    116 #img_container img{width:71px;height:71px;border:0px;background-color:#f4f4f4;cursor:pointer;}
    117 #img_container a,#img_container a:link,#img_container a:visited{border:1px solid #ccc;display:block; position: relative;}
    118 #img_container a:hover,#img_container a:active{border-color:#000; z-index: 1000; border-width: 2px; margin: -1px;}
    119 
     151.photolist {
     152    margin-top: -10px;
     153}
     154
     155#photo_saving {
     156    margin: 0 8px 8px;
     157    vertical-align: middle;
     158}
     159
     160#img_container {
     161    background-color: #fff;
     162    height: 101px;
     163    width: 100%;
     164}
     165
     166#extra_fields {
     167    margin-top: 10px;
     168    position: relative;
     169}
     170
     171#extra_fields .titlewrap {
     172    padding: 0;
     173    overflow: auto;
     174    height: 100px;
     175}
     176
     177#img_container {
     178    position: relative;
     179}
     180
     181#img_container a {
     182    display: block;
     183    width: 71px;
     184    height: 71px;
     185    float: left;
     186    overflow: hidden;
     187    vertical-align: center;
     188}
     189
     190#img_container img {
     191    width: 71px;
     192    height: 71px;
     193    border: none;
     194    background-color: #f4f4f4;
     195    cursor: pointer;
     196}
     197
     198#img_container a,
     199#img_container a:link,
     200#img_container a:visited {
     201    border: 1px solid #ccc;
     202    display: block;
     203    position: relative;
     204}
     205
     206#img_container a:hover,
     207#img_container a:active {
     208    border-color: #000;
     209    z-index: 1000;
     210    border-width: 2px;
     211    margin: -1px;
     212}
    120213
    121214/* Video */
    122 
    123 #embed-code { width: 100%; border: 0; height: 98px;}
    124 
    125 /*** Submit Column ***/
    126 #viewsite { padding: 0; margin: 0; }
    127 #viewsite .button { width: 196px; margin: 0 0 10px 0; display: block; }
    128 .wp-hidden-children .wp-hidden-child { display: none; }
     215#embed-code {
     216    width: 100%;
     217    border: 0;
     218    height: 98px;
     219}
     220
     221/* Submit Column */
     222#viewsite {
     223    padding: 0;
     224    margin: 0;
     225}
     226
     227#viewsite .button {
     228    width: 196px;
     229    margin: 0 0 10px 0;
     230    display: block;
     231}
     232
     233.wp-hidden-children .wp-hidden-child {
     234    display: none;
     235}
    129236
    130237#category-adder {
     
    138245#category-add input {
    139246    width: 94%;
    140     font-family:Verdana,Arial,Helvetica,sans-serif;
    141     font-size:13px;
    142     margin:1px;
    143     padding:3px;
    144    
     247    font-family: Verdana, Arial, Helvetica, sans-serif;
     248    font-size: 13px;
     249    margin: 1px;
     250    padding: 3px;
    145251}
    146252
    147253#category-add select {
    148254    width: 70%;
    149     -x-system-font:none;
    150     border-style:solid;
    151     border-width:1px;
    152     font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;
    153     font-size:12px;
    154     height:2em;
    155     line-height:20px;
    156     padding:2px;
     255    -x-system-font: none;
     256    border-style: solid;
     257    border-width: 1px;
     258    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
     259    font-size: 12px;
     260    height: 2em;
     261    line-height: 20px;
     262    padding: 2px;
    157263    margin: 1px;
    158     vertical-align:top;
     264    vertical-align: top;
    159265}
    160266
     
    164270
    165271#categorydiv {
    166 padding: 0.5em 0.9em;
    167 }
     272    padding: 0.5em 0.9em;
     273}
     274
    168275/* Categories */
    169276#categorydiv ul, #linkcategorydiv ul {
     
    177284}
    178285
    179 
    180286#categorydiv div.ui-tabs-panel {
    181 height:150px;
    182 overflow:auto;
    183 padding:0.5em 0.9em;
     287    height: 150px;
     288    overflow: auto;
     289    padding: 0.5em 0.9em;
    184290}
    185291
     
    190296}
    191297
    192 
    193 
    194298/* Tags */
    195 #tagsdiv #newtag{padding:3px;margin-right:5px;width:16em;}
    196 #jaxtag{clear:both;margin:0;}
    197 #tagchecklist{padding-left:1em;margin-bottom:1em;font-size:12px;overflow:auto;}
    198 #tagchecklist strong{position:absolute;font-size:.75em;}
    199 #tagchecklist span{margin-right:.5em;margin-left:10px;display:block;float:left;font-size:11px;line-height:1.8em;white-space:nowrap;cursor:default;}
    200 #tagchecklist span a{margin:6px 0pt 0pt -9px;cursor:pointer;width:10px;height:10px;display:block;float:left;text-indent:-9999px;overflow:hidden;position:absolute;}
     299#tagsdiv #newtag {
     300    padding: 3px;
     301    margin-right: 5px;
     302    width: 16em;
     303}
     304
     305#jaxtag {
     306    clear: both;
     307    margin: 0;
     308}
     309
     310#tagchecklist {
     311    padding-left: 1em;
     312    margin-bottom: 1em;
     313    font-size: 12px;
     314    overflow: auto;
     315}
     316
     317#tagchecklist strong {
     318    position: absolute;
     319    font-size: .75em;
     320}
     321
     322#tagchecklist span {
     323    margin-right: .5em;
     324    margin-left: 10px;
     325    display: block;
     326    float: left;
     327    font-size: 11px;
     328    line-height: 1.8em;
     329    white-space: nowrap;
     330    cursor: default;
     331}
     332
     333#tagchecklist span a {
     334    margin: 6px 0 0 -9px;
     335    cursor: pointer;
     336    width: 10px;
     337    height: 10px;
     338    display: block;
     339    float: left;
     340    text-indent: -9999px;
     341    overflow: hidden;
     342    position: absolute;
     343}
     344
    201345/* Submit */
    202 .submitbox { margin-top: -10px;}
     346.submitbox {
     347    margin-top: -10px;
     348}
     349
    203350.submitbox .submit {
    204 font-size:11px;
    205 padding:12px 10px 10px;
    206 text-align:left;
    207 }
     351    font-size: 11px;
     352    padding: 12px 10px 10px;
     353    text-align: left;
     354}
     355
    208356.submit {
    209 -moz-border-radius-bottomleft:3px;
    210 -moz-border-radius-bottomright:3px;
    211 -moz-border-radius-topleft:0;
    212 -moz-border-radius-topright:0;
    213 border-top:1px solid #CCCCCC;
    214 margin:10px 0 0;
    215 padding:1.5em 0 0;
    216 }
    217 
    218 .ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;display:none;border-width:1px;border-style:solid;}
    219 .ac_results li{padding:2px 5px;white-space:nowrap;text-align:left;}
    220 .ac_over{cursor:pointer;}
    221 .ac_match{text-decoration:underline;}
    222 
    223 #TB_ajaxContent #options{position:absolute;top:20px;right:25px;padding:5px;}
    224 #TB_ajaxContent h3{margin-bottom:.25em;}
    225 .updated{margin:10px 0;padding:0;border-width:1px;border-style:solid; width:99%;}
    226 .updated p,.error p{margin:0.6em 0;padding:0 0.6em;}
    227 .updated a,.error a{text-decoration:underline;}
    228 .updated a{text-decoration:none;padding-bottom:2px;}
    229 #post_status{margin-left:10px;margin-bottom:1em;display:block;}
     357    border-top: 1px solid #ccc;
     358    margin: 10px 0 0;
     359    padding: 1.5em 0 0;
     360    -moz-border-radius: 3px 3px 0 0;
     361    -webkit-border-top-left-radius: 3px;
     362    -webkit-border-top-right-radius: 3px;
     363    -khtml-border-top-left-radius: 3px;
     364    -khtml-border-top-right-radius: 3px;
     365    border-top-left-radius: 3px;
     366    border-top-right-radius: 3px;
     367}
     368
     369.ac_results {
     370    padding: 0;
     371    margin: 0;
     372    list-style: none;
     373    position: absolute;
     374    z-index: 10000;
     375    display: none;
     376    border-width: 1px;
     377    border-style: solid;
     378}
     379
     380.ac_results li {
     381    padding: 2px 5px;
     382    white-space: nowrap;
     383    text-align: left;
     384}
     385
     386.ac_over {
     387    cursor: pointer;
     388}
     389
     390.ac_match {
     391    text-decoration: underline;
     392}
     393
     394#TB_ajaxContent #options {
     395    position: absolute;
     396    top: 20px;
     397    right: 25px;
     398    padding: 5px;
     399}
     400
     401#TB_ajaxContent h3 {
     402    margin-bottom: .25em;
     403}
     404
     405.updated {
     406    margin: 10px 0;
     407    padding: 0;
     408    border-width: 1px;
     409    border-style: solid;
     410    width:99%;
     411}
     412
     413.updated p,
     414.error p {
     415    margin: 0.6em 0;
     416    padding: 0 0.6em;
     417}
     418
     419.error a {
     420    text-decoration:underline;
     421}
     422
     423.updated a {
     424    text-decoration: none;
     425    padding-bottom: 2px;
     426}
     427
     428#post_status {
     429    margin-left: 10px;
     430    margin-bottom: 1em;
     431    display: block;
     432}
     433
    230434/* Footer */
    231 #footer{height:65px;display:block;width:640px;padding:10px 0 0 60px;margin:0;position:absolute;bottom:0;font-size:12px;}
    232 #footer p{margin:0;padding:7px 0;}
    233 #footer p a{text-decoration:none;}
    234 #footer p a:hover{text-decoration:underline;}
     435#footer {
     436    height: 65px;
     437    display: block;
     438    width: 640px;
     439    padding: 10px 0 0 60px;
     440    margin: 0;
     441    position: absolute;
     442    bottom: 0;
     443    font-size: 12px;
     444}
     445
     446#footer p {
     447    margin: 0;
     448    padding: 7px 0;
     449}
     450
     451#footer p a {
     452    text-decoration: none;
     453}
     454#footer p a:hover {
     455    text-decoration: underline;
     456}
     457
    235458/* Utility Classes */
    236 .centered{text-align:center;}
    237 .hidden{display:none;}
     459.centered {
     460    text-align: center;
     461}
     462
     463.hidden {
     464    display: none;
     465}
Note: See TracChangeset for help on using the changeset viewer.