[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/themes/garland/ -> style-rtl.css (source)

   1  
   2  html {
   3    direction: rtl;
   4  }
   5  
   6  /**
   7   * Generic elements
   8   */
   9  body {
  10    direction: rtl;
  11  }
  12  
  13  ol li, ul li {
  14    margin: 0.4em .5em 0.4em 0;
  15  }
  16  
  17  ul.menu, .item-list ul {
  18    margin: 0.35em -0.5em 0 0;
  19  }
  20  
  21  ul.menu ul, .item-list ul ul {
  22    margin-left: 0;
  23    margin-right: 0em;
  24  }
  25  
  26  ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
  27    margin: 0.15em .5em 0.15em 0;
  28  }
  29  
  30  ul li, ul.menu li, .item-list ul li, li.leaf {
  31    padding: 0 1.5em .2em 0;
  32    background: transparent url("images/menu-leaf.gif") no-repeat 100% .35em;
  33  }
  34  
  35  ol li {
  36    margin-left: 0;
  37    margin-right: 2em;
  38  }
  39  
  40  ul li.expanded {
  41    background: transparent url("images/menu-expanded.gif") no-repeat 100% .35em;
  42  }
  43  
  44  ul li.collapsed {
  45    background: transparent url("images/menu-collapsed-rtl.gif") no-repeat 100% .35em;
  46  }
  47  
  48  ul.inline li {
  49    padding: 0 0 0 1em;
  50  }
  51  
  52  ol.task-list {
  53    margin-left: 0;
  54    margin-right: 0;
  55  }
  56  
  57  ol.task-list li {
  58    padding: 0.5em 2em 0.5em 1em;
  59  }
  60  
  61  ol.task-list li.active {
  62    background: transparent url(images/task-list.png) no-repeat 97px 50%;
  63  }
  64  
  65  ol.task-list li.done {
  66    background: transparent url(../../misc/watchdog-ok.png) no-repeat 100% 50%;
  67  }
  68  
  69  ol.task-list li.active {
  70    margin-right: 0;
  71    margin-left: 1em;
  72  }
  73  
  74  dl {
  75    margin: 0.5em 1.5em 1em 0;
  76  }
  77  
  78  dl dt {
  79  }
  80  
  81  dl dd {
  82    margin: 0 1.5em .5em 0;
  83  }
  84  
  85  .form-button, .form-submit {
  86    margin: 2em 0 1em 0.5em;
  87  }
  88  
  89  #header-region h2 {
  90    margin: 0 0 0 1em;
  91  }
  92  
  93  #wrapper {
  94    background: #edf5fa url("images/body.png") repeat-x 50% 0;
  95  }
  96  
  97  #wrapper #container #header h1 img {
  98    padding-right: 0;
  99    padding-left: 20px;
 100    float: right;
 101  }
 102  
 103  #sidebar-left .block-region {
 104    margin: 0 0 0 15px;
 105  }
 106  
 107  #sidebar-right .block-region {
 108    margin: 0 15px 0px 0;
 109  }
 110  
 111  /* Now we add the backgrounds for the main content shading */
 112  #wrapper #container #center #squeeze {
 113    background: #fff url("images/bg-content.png") repeat-x 50% 0;
 114  }
 115  
 116  #wrapper #container .breadcrumb {
 117    position: absolute;
 118    top: 15px;
 119    left: 0;
 120    right: 35px;
 121    z-index: 3;
 122  }
 123  
 124  /**
 125   * Primary navigation
 126   */
 127  ul.primary-links {
 128    float: left;
 129  width:70%;
 130  }
 131  
 132  ul.primary-links li {
 133    float: right;
 134  }
 135  
 136  /**
 137   * Secondary navigation
 138   */
 139  ul.secondary-links {
 140    float: left;
 141    clear: left;
 142  }
 143  
 144  ul.secondary-links li {
 145    float: right;
 146  }
 147  
 148  ul.primary {
 149    float: right;
 150  }
 151  ul.secondary {
 152    clear: both;
 153    text-align: right;
 154  }
 155  h2.with-tabs {
 156    float: right;
 157    margin: 0 0 0 2em;
 158  }
 159  
 160  ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
 161  ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
 162    margin: 0 1px 0 0;
 163  
 164  }
 165  ul.primary li a:after {
 166    /* Fix Firefox 2 RTL bug. */
 167    content: " ";
 168  }
 169  
 170  ul.links li, ul.inline li {
 171    padding-left: 1em;
 172    padding-right: 0;
 173  }
 174  
 175  .node .links, .comment .links {
 176    text-align: right;
 177  }
 178  
 179  .node .links ul.links li, .comment .links ul.links li {}
 180  .terms ul.links li {
 181    padding-right: 1em;
 182    padding-left: 0;
 183  }
 184  
 185  .picture, .comment .submitted {
 186    padding-left: 0;
 187    float: left;
 188    clear: left;
 189    padding-right: 1em;
 190  }
 191  
 192  .new {
 193    float: left;
 194  }
 195  
 196  .terms {
 197    float: left;
 198  }
 199  
 200  .indented {
 201    margin-left: 0;
 202    margin-right: 25px;
 203  }
 204  
 205  html.js fieldset.collapsible legend a {
 206    padding-left: 0;
 207    padding-right: 2em;
 208    background: url("images/menu-expanded.gif") no-repeat 100% 50%;
 209  }
 210  
 211  html.js fieldset.collapsed legend a {
 212    background: url("images/menu-collapsed-rtl.gif") no-repeat 100% 50%;
 213  }
 214  
 215  /**
 216   * Syndication Block
 217   */
 218  #block-node-0 h2 {
 219    float: right;
 220    padding-right: 0;
 221    padding-left: 20px;
 222  }
 223  
 224  #block-node-0 img {
 225    float: left;
 226  }
 227  
 228  #block-node-0 .content {
 229    clear: left;
 230  }
 231  
 232  /**
 233   * Login Block
 234   */
 235  #user-login-form ul {
 236    text-align: right;
 237  }
 238  
 239  div.admin .left {
 240    float: right;
 241  }
 242  
 243  div.admin .right {
 244    float: left;
 245  }
 246  
 247  /* Fix Opera, IE6 and IE7 header width */
 248  #wrapper #container #header {
 249    position: relative;
 250    width: 100%;
 251  }
 252  
 253  #wrapper #container #header #logo-floater {
 254    width: 100%;
 255    left: 0;
 256    top:0;
 257  }
 258  
 259  /**
 260   * Fixes for IE7 - Does not break other browsers
 261   */
 262  
 263  /* Position:relative on these breaks IE7. */
 264  ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
 265  ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
 266    position: static;
 267  }
 268  
 269  /* Fix right and left cloumns position breaking on window resize */
 270  #container {
 271    position: relative;
 272  }
 273  
 274  #center {
 275    position: relative;
 276  }
 277  
 278  #sidebar-right{
 279    position: absolute;
 280    right: 0;
 281  }
 282  
 283  /**
 284   * Apply hasLayout to elements in IE7, using standard property "min-height"
 285   * (see http://www.satzansatz.de/cssd/onhavinglayout.html)
 286   */
 287  
 288  /* Fix background bleed in center column. */
 289  #squeeze,
 290  #squeeze .right-corner {
 291    min-height: 1%;
 292  }


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7