Ignore:
Timestamp:
Jun 17, 2013, 12:52:14 AM (11 years ago)
Author:
mistic100
Message:

use sprites, update admin page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/bbcode_bar/template/markitup/style.markitup.css

    r15998 r23278  
    11/* common */
    22.markItUp * {
    3   margin:0px; padding:0px;
     3  margin:0px;
     4  padding:0px;
    45  outline:none;
    56}
     
    4647}
    4748.markItUpHeader ul .markItUpDropMenu {
    48   background:transparent url(images/menu.png) no-repeat 120% 100%;
     49  background:transparent url('images/menu.png') no-repeat 120% 100%;
    4950  margin-right:5px;
    5051}
     
    6263  margin:0px;
    6364}
    64 .markItUpHeader ul .markItUpSize li {
    65   border-bottom:1px solid #444;
    66   border-radius:2px;
    67 }
    6865.markItUpHeader ul .markItUpSeparator {
    6966  margin:2px 10px !important;
     
    7774.markItUpHeader ul a {
    7875  display:block;
    79   width:16px; height:16px;
     76  width:16px;
     77  height:16px;
    8078  text-indent:-10000px;
    81   background-position:center center;
    82   background-repeat:no-repeat;
    8379  padding:2px;
    8480  border:1px solid transparent;
     
    9288  border:0;
    9389}
    94 .markItUpHeader ul .markItUpSize li a {
    95   width:90px;
    96   padding:2px 5px 2px 25px;
    97   background-position:2px 50%;
    98 }
    99 .markItUpHeader ul ul a:hover  {
    100 }
    101 .markItUpHeader ul .markItUpSize li a:hover  {
    102   color:#FFF;
    103   background-color:#000;
    104 }
    10590
    10691/* icons definitions */
    107 .markItUp .markItUpBold a {
    108   background-image:url(images/bold.png);
    109 }
    110 .markItUp .markItUpItalic a {
    111   background-image:url(images/italic.png);
    112 }
    113 .markItUp .markItUpUnderline a {
    114   background-image:url(images/underline.png);
    115 }
    116 .markItUp .markItUpStroke a {
    117   background-image:url(images/stroke.png);
    118 }
    119 
    120 .markItUp .markItUpParagraph a {
    121   background-image:url(images/p.png);
    122 }
    123 .markItUp .markItUpCenter a {
    124   background-image:url(images/center.png);
    125 }
    126 .markItUp .markItUpRight a {
    127   background-image:url(images/right.png);
    128 }
    129 
    130 .markItUp .markItUpListUL a {
    131   background-image:url(images/list-bullet.png);
    132 }
    133 .markItUp .markItUpListOL a {
    134   background-image:url(images/list-numeric.png);
    135 }
    136 .markItUp .markItUpListLI a {
    137   background-image:url(images/list-item.png);
    138 }
    139 
    140 .markItUp .markItUpPicture a  {
    141   background-image:url(images/picture.png);
    142 }
    143 .markItUp .markItUpLink a {
    144   background-image:url(images/link.png);
    145 }
    146 .markItUp .markItUpMail a {
    147   background-image:url(images/mail.png);
    148 }
    149 .markItUp .markItUpQuote a {
    150   background-image:url(images/quote.png);
    151 }
    152 
    153 .markItUp .markItUpSize a {
    154   background-image:url(images/fonts.png);
    155 }
    156 .markItUp .preview a {
    157   background-image:url(images/preview.png);
    158 }
     92.miuIcon>a {
     93  background:url('images/icons.png') 20px 20px no-repeat;
     94}
     95
     96.miuBold>a {
     97  background-position:0px 0px;
     98}
     99.markItUp .miuItalic>a {
     100  background-position:-20px 0px;
     101}
     102.markItUp .miuUnderline>a {
     103  background-position:-40px 0px;
     104}
     105.markItUp .miuStroke>a {
     106  background-position:-60px 0px;
     107}
     108
     109.markItUp .miuParagraph>a {
     110  background-position:0px -20px;
     111}
     112.markItUp .miuCenter>a {
     113  background-position:-20px -20px;
     114}
     115.markItUp .miuRight>a {
     116  background-position:-40px -20px;
     117}
     118
     119.markItUp .miuListUL>a {
     120  background-position:0px -40px;
     121}
     122.markItUp .miuListOL>a {
     123  background-position:-20px -40px;
     124}
     125.markItUp .miuListLI>a {
     126  background-position:-40px -40px;
     127}
     128
     129.markItUp .miuPicture>a  {
     130  background-position:0px -60px;
     131}
     132.markItUp .miuLink>a {
     133  background-position:-20px -60px;
     134}
     135.markItUp .miuMail>a {
     136  background-position:-40px -60px;
     137}
     138.markItUp .miuQuote>a {
     139  background-position:-60px -20px;
     140}
     141
     142/* sizes */
     143.markItUp .miuSize>a {
     144  background-position:-60px -40px;
     145}
     146  .markItUpHeader ul .miuSize li {
     147    border-bottom:1px solid #444;
     148    border-radius:2px;
     149  }
     150  .markItUpHeader ul .miuSize li a {
     151    width:auto;
     152    padding:2px 5px;
     153    background-position:2px 50%;
     154    height:auto;
     155  }
     156  .markItUpHeader ul .miuSize li a:hover  {
     157    color:#FFF;
     158    background-color:#000;
     159  }
     160  .markItUp .miuSizeTiny {
     161    font-size:7px;
     162  }
     163  .markItUp .miuSizeSmall {
     164    font-size:9px;
     165  }
     166  .markItUp .miuSizeNormal {
     167    font-size:12px;
     168  }
     169  .markItUp .miuSizeLarge {
     170    font-size:18px;
     171  }
     172  .markItUp .miuSizeHuge {
     173    white-space:nowrap;
     174    font-size:24px;
     175  }
    159176
    160177/* colors */
    161 .markItUp .markItUpColors a {
    162   background-image:url(images/colors.png);
    163 }
    164   .markItUp .markItUpColors ul {
     178.markItUp .miuColors>a {
     179  background-position:-60px -60px;
     180}
     181  .markItUp .miuColors ul {
    165182    width:81px;
    166183    padding:1px; 
    167184  }
    168   .markItUp .markItUpColors  li {
     185  .markItUp .miuColors  li {
    169186    border:1px solid white;
    170     width:25px;  height:25px;
     187    width:25px;
     188    height:25px;
    171189    overflow:hidden;
    172     padding:0px; margin:0px;
     190    padding:0px;
     191    margin:0px;
    173192    float:left;
    174193    border-radius:2px;
    175194  }
    176   .markItUp .markItUpColors ul a {
    177     width:25px;  height:25px;
    178     color:transparent;
    179   }
    180   .markItUp .markItUpColors li:hover {
    181     background-color:none;
     195  .markItUp .miuColors ul a {
     196    width:25px;
     197    height:25px;
     198    text-indent:-10000px;
     199  }
     200  .markItUp .miuColors li:hover {
    182201    border:1px solid #08e;
    183202  }
    184203 
    185   .markItUp .markItUpColors .col1-1 a { background:yellow; }
    186   .markItUp .markItUpColors .col1-2 a { background:orange; }
    187   .markItUp .markItUpColors .col1-3 a { background:red; }
     204  .markItUp .miuColors .col1-1 a { background:yellow; }
     205  .markItUp .miuColors .col1-2 a { background:orange; }
     206  .markItUp .miuColors .col1-3 a { background:red; }
    188207 
    189   .markItUp .markItUpColors .col2-1 a { background:blue; }
    190   .markItUp .markItUpColors .col2-2 a { background:purple; }
    191   .markItUp .markItUpColors .col2-3 a { background:green; }
     208  .markItUp .miuColors .col2-1 a { background:blue; }
     209  .markItUp .miuColors .col2-2 a { background:purple; }
     210  .markItUp .miuColors .col2-3 a { background:green; }
    192211 
    193   .markItUp .markItUpColors .col3-1 a { background:white; }
    194   .markItUp .markItUpColors .col3-2 a { background:gray; }
    195   .markItUp .markItUpColors .col3-3 a { background:black; }
     212  .markItUp .miuColors .col3-1 a { background:white; }
     213  .markItUp .miuColors .col3-2 a { background:gray; }
     214  .markItUp .miuColors .col3-3 a { background:black; }
Note: See TracChangeset for help on using the changeset viewer.