style-rtl.css

Same filename in this branch
  1. 6.x drupal-6.x/themes/bluemarine/style-rtl.css
  2. 6.x drupal-6.x/themes/garland/style-rtl.css
  3. 6.x drupal-6.x/themes/chameleon/style-rtl.css
  4. 6.x drupal-6.x/themes/pushbutton/style-rtl.css
  5. 6.x drupal-6.x/themes/chameleon/marvin/style-rtl.css
html {
  direction: rtl;
}

/**
 * Generic elements
 */
body {
  direction: rtl;
}

ol li, ul li {
  margin: 0.4em .5em 0.4em 0;
}

ul.menu, .item-list ul {
  margin: 0.35em -0.5em 0 0;
}

ul.menu ul, .item-list ul ul {
  margin-left: 0;
  margin-right: 0em;
}

ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
  margin: 0.15em .5em 0.15em 0;
}

ul li, ul.menu li, .item-list ul li, li.leaf {
  padding: 0 1.5em .2em 0;
  background: transparent url("images/menu-leaf.gif") no-repeat 100% .35em;
}

ol li {
  margin-left: 0;
  margin-right: 2em;
}

ul li.expanded {
  background: transparent url("images/menu-expanded.gif") no-repeat 100% .35em;
}

ul li.collapsed {
  background: transparent url("images/menu-collapsed-rtl.gif") no-repeat 100% .35em;
}

ul.inline li {
  padding: 0 0 0 1em;
}

ol.task-list {
  margin-left: 0;
  margin-right: 0;
}

ol.task-list li {
  padding: 0.5em 2em 0.5em 1em;
}

ol.task-list li.active {
  background: transparent url(images/task-list.png) no-repeat 97px 50%;
}

ol.task-list li.done {
  background: transparent url(../../misc/watchdog-ok.png) no-repeat 100% 50%;
}

ol.task-list li.active {
  margin-right: 0;
  margin-left: 1em;
}

dl {
  margin: 0.5em 1.5em 1em 0;
}

dl dt {
}

dl dd {
  margin: 0 1.5em .5em 0;
}

.form-button, .form-submit {
  margin: 2em 0 1em 0.5em;
}

#header-region h2 {
  margin: 0 0 0 1em;
}

#wrapper {
  background: #edf5fa url("images/body.png") repeat-x 50% 0;
}

#wrapper #container #header h1 img {
  padding-right: 0;
  padding-left: 20px;
  float: right;
}

#sidebar-left .block-region {
  margin: 0 0 0 15px;
}

#sidebar-right .block-region {
  margin: 0 15px 0px 0;
}

/* Now we add the backgrounds for the main content shading */
#wrapper #container #center #squeeze {
  background: #fff url("images/bg-content.png") repeat-x 50% 0;
}

#wrapper #container .breadcrumb {
  position: absolute;
  top: 15px;
  left: 0;
  right: 35px;
  z-index: 3;
}

/**
 * Primary navigation
 */
ul.primary-links {
  float: left;
width:70%;
}

ul.primary-links li {
  float: right;
}

/**
 * Secondary navigation
 */
ul.secondary-links {
  float: left;
  clear: left;
}

ul.secondary-links li {
  float: right;
}

ul.primary {
  float: right;
}
ul.secondary {
  clear: both;
  text-align: right;
}
h2.with-tabs {
  float: right;
  margin: 0 0 0 2em;
}

ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
  margin: 0 1px 0 0;

}
ul.primary li a:after {
  /* Fix Firefox 2 RTL bug. */
  content: " ";
}

ul.links li, ul.inline li {
  padding-left: 1em;
  padding-right: 0;
}

.node .links, .comment .links {
  text-align: right;
}

.node .links ul.links li, .comment .links ul.links li {}
.terms ul.links li {
  padding-right: 1em;
  padding-left: 0;
}

.picture, .comment .submitted {
  padding-left: 0;
  float: left;
  clear: left;
  padding-right: 1em;
}

.new {
  float: left;
}

.terms {
  float: left;
}

.indented {
  margin-left: 0;
  margin-right: 25px;
}

html.js fieldset.collapsible legend a {
  padding-left: 0;
  padding-right: 2em;
  background: url("images/menu-expanded.gif") no-repeat 100% 50%;
}

html.js fieldset.collapsed legend a {
  background: url("images/menu-collapsed-rtl.gif") no-repeat 100% 50%;
}

/**
 * Syndication Block
 */
#block-node-0 h2 {
  float: right;
  padding-right: 0;
  padding-left: 20px;
}

#block-node-0 img {
  float: left;
}

#block-node-0 .content {
  clear: left;
}

/**
 * Login Block
 */
#user-login-form ul {
  text-align: right;
}

div.admin .left {
  float: right;
}

div.admin .right {
  float: left;
}

/* Fix Opera, IE6 and IE7 header width */
#wrapper #container #header {
  position: relative;
  width: 100%;
}

#wrapper #container #header #logo-floater {
  width: 100%;
  left: 0;
  top:0;
}

/**
 * Fixes for IE7 - Does not break other browsers
 */

/* Position:relative on these breaks IE7. */
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
  position: static;
}

/* Fix right and left cloumns position breaking on window resize */
#container {
  position: relative;
}

#center {
  position: relative;
}

#sidebar-right{
  position: absolute;
  right: 0;
}

/**
 * Apply hasLayout to elements in IE7, using standard property "min-height"
 * (see http://www.satzansatz.de/cssd/onhavinglayout.html)
 */

/* Fix background bleed in center column. */
#squeeze,
#squeeze .right-corner {
  min-height: 1%;
}

Archivo

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