style-rtl.css

Same filename in this branch
  1. 7.x themes/garland/style-rtl.css
  2. 7.x themes/bartik/css/style-rtl.css
/**
 * Generic elements.
 */
dl dd,
dl dl {
  margin-right: 20px;
}
ul,
.block ul,
.item-list ul {
  margin: 0.25em 1.5em 0.25em 0;
}
ol {
  margin: 0.25em 2em 0.25em 0;
}

/**
 * Skip link.
 */
#skip-link {
  right: 50%;
  margin-right: -5.25em;
}
#skip-link a,
#skip-link a:link,
#skip-link a:visited {
  padding: 1px 10px 2px 10px;
}

/**
 * Branding.
 */
#branding {
  padding: 20px 20px 0 20px;
}

#branding div.block {
  float: left;
  padding-left: 0;
  padding-right: 10px;
}
#branding div.block form div.form-item {
  float: right;
}
#branding div.block form input.form-text {
  margin-left: 10px;
  margin-right: 0;
}

/**
 * Help.
 */
#help div.more-help-link {
  text-align: left;
}

/**
 * Page title.
 */
#branding h1.page-title {
  float: right;
}

/**
 * Tabs.
 */
ul.primary li,
ul.primary li a:link,
ul.primary li a.active {
  float: right;
}
ul.primary,
ul.secondary {
  float: left;
}
ul.secondary li {
 float: none;
}
ul.primary {
 padding-top: 0;
}

/**
 * Page layout.
 */
#page {
  padding: 20px 0 40px 0;
  margin-left: 40px;
  margin-right: 40px;
}
#secondary-links ul.links li {
  padding: 0 0 10px 10px;
}
ul.links li,
ul.inline li {
  padding-left: 1em;
  padding-right: 0;
}
ul.admin-list li {
  padding: 9px 30px 0 0;
  margin-right: 0;
  background: url(images/list-item-rtl.png) no-repeat right 11px;
}
ul.admin-list li a {
  margin-right: -30px;
  margin-left: 0;
  padding: 0 30px 4px 0;
}
ul.admin-list.compact li a {
  margin-right: 0;
}
ul.admin-list li div.description a {
  margin-right: 0;
}

/**
 * Tables.
 */
table th.active a {
  padding: 0 0 0 25px;
}
table th.active img {
  left: 3px;
  right: auto;
}
/**
 * Exception for webkit bug with the right border of the last cell
 * in some tables, since it's webkit only, we can use :last-child
 */
tr td:last-child {
  border-left: 1px solid #bebfb9;
  border-right: none;
}

/**
 * Fieldsets.
 */
fieldset {
  padding: 2.5em 0 0 0;
}
fieldset .fieldset-legend {
  padding-right: 15px;
  right: 0;
}
fieldset .fieldset-wrapper {
  padding: 0 15px 13px 13px;
}

/* Filter */
.filter-wrapper .form-item,
.filter-wrapper .filter-guidelines,
.filter-wrapper .filter-help {
  padding: 2px 0 0 0;
}
ul.tips li {
  margin: 0.25em 1.5em 0.25em 0;
}
body div.form-type-radio div.description,
body div.form-type-checkbox div.description {
  margin-left: 0;
  margin-right: 1.5em;
}
input.form-submit,
a.button {
  margin-left: 1em;
  margin-right: 0;
}
ul.action-links li {
  float: right;
  margin: 0 0 0 1em;
}
ul.action-links a {
  padding-left: 0;
  padding-right: 15px;
  background-position: right center;
}

/* Update options. */
div.admin-options label,
div.admin-options div.form-item {
  margin-left: 10px;
  margin-right: 0;
  float: right;
}

/* Maintenance theming */
body.in-maintenance #sidebar-first {
  float: right;
}
body.in-maintenance #content {
  float: left;
  padding-left: 20px;
  padding-right: 0;
}
ol.task-list {
  margin-right: 0;
}
ol.task-list li {
  padding: 0.5em 20px 0.5em 1em;
}
ol.task-list li.active {
  background: transparent url(images/task-item-rtl.png) no-repeat right 50%;
  padding: 0.5em 20px 0.5em 1em;
}

/* Overlay theming */
.overlay #branding div.breadcrumb {
  float: right;
}
.overlay ul.secondary {
  margin: -1.4em 0 0.3em 0;
}

/* Shortcut theming */
div.add-or-remove-shortcuts {
  float: none;
  padding-left: 0;
  padding-right: 6px;
}

/* Dashboard */
#dashboard div.block div.content {
  padding: 10px 5px 5px 5px;
}
#dashboard div.block div.content ul.menu {
  margin-right: 20px;
}

/* Recent content block */
#block-node-recent .more-link {
  padding: 0 0 5px 5px;
}

/* User login block */
#user-login-form .openid-links {
  margin-right: 0;
}
#user-login-form .openid-links .user-link {
  margin-right: 1.5em;
}

File

themes/seven/style-rtl.css

View source
  1. /**
  2. * Generic elements.
  3. */
  4. dl dd,
  5. dl dl {
  6. margin-right: 20px;
  7. }
  8. ul,
  9. .block ul,
  10. .item-list ul {
  11. margin: 0.25em 1.5em 0.25em 0;
  12. }
  13. ol {
  14. margin: 0.25em 2em 0.25em 0;
  15. }
  16. /**
  17. * Skip link.
  18. */
  19. #skip-link {
  20. right: 50%;
  21. margin-right: -5.25em;
  22. }
  23. #skip-link a,
  24. #skip-link a:link,
  25. #skip-link a:visited {
  26. padding: 1px 10px 2px 10px;
  27. }
  28. /**
  29. * Branding.
  30. */
  31. #branding {
  32. padding: 20px 20px 0 20px;
  33. }
  34. #branding div.block {
  35. float: left;
  36. padding-left: 0;
  37. padding-right: 10px;
  38. }
  39. #branding div.block form div.form-item {
  40. float: right;
  41. }
  42. #branding div.block form input.form-text {
  43. margin-left: 10px;
  44. margin-right: 0;
  45. }
  46. /**
  47. * Help.
  48. */
  49. #help div.more-help-link {
  50. text-align: left;
  51. }
  52. /**
  53. * Page title.
  54. */
  55. #branding h1.page-title {
  56. float: right;
  57. }
  58. /**
  59. * Tabs.
  60. */
  61. ul.primary li,
  62. ul.primary li a:link,
  63. ul.primary li a.active {
  64. float: right;
  65. }
  66. ul.primary,
  67. ul.secondary {
  68. float: left;
  69. }
  70. ul.secondary li {
  71. float: none;
  72. }
  73. ul.primary {
  74. padding-top: 0;
  75. }
  76. /**
  77. * Page layout.
  78. */
  79. #page {
  80. padding: 20px 0 40px 0;
  81. margin-left: 40px;
  82. margin-right: 40px;
  83. }
  84. #secondary-links ul.links li {
  85. padding: 0 0 10px 10px;
  86. }
  87. ul.links li,
  88. ul.inline li {
  89. padding-left: 1em;
  90. padding-right: 0;
  91. }
  92. ul.admin-list li {
  93. padding: 9px 30px 0 0;
  94. margin-right: 0;
  95. background: url(images/list-item-rtl.png) no-repeat right 11px;
  96. }
  97. ul.admin-list li a {
  98. margin-right: -30px;
  99. margin-left: 0;
  100. padding: 0 30px 4px 0;
  101. }
  102. ul.admin-list.compact li a {
  103. margin-right: 0;
  104. }
  105. ul.admin-list li div.description a {
  106. margin-right: 0;
  107. }
  108. /**
  109. * Tables.
  110. */
  111. table th.active a {
  112. padding: 0 0 0 25px;
  113. }
  114. table th.active img {
  115. left: 3px;
  116. right: auto;
  117. }
  118. /**
  119. * Exception for webkit bug with the right border of the last cell
  120. * in some tables, since it's webkit only, we can use :last-child
  121. */
  122. tr td:last-child {
  123. border-left: 1px solid #bebfb9;
  124. border-right: none;
  125. }
  126. /**
  127. * Fieldsets.
  128. */
  129. fieldset {
  130. padding: 2.5em 0 0 0;
  131. }
  132. fieldset .fieldset-legend {
  133. padding-right: 15px;
  134. right: 0;
  135. }
  136. fieldset .fieldset-wrapper {
  137. padding: 0 15px 13px 13px;
  138. }
  139. /* Filter */
  140. .filter-wrapper .form-item,
  141. .filter-wrapper .filter-guidelines,
  142. .filter-wrapper .filter-help {
  143. padding: 2px 0 0 0;
  144. }
  145. ul.tips li {
  146. margin: 0.25em 1.5em 0.25em 0;
  147. }
  148. body div.form-type-radio div.description,
  149. body div.form-type-checkbox div.description {
  150. margin-left: 0;
  151. margin-right: 1.5em;
  152. }
  153. input.form-submit,
  154. a.button {
  155. margin-left: 1em;
  156. margin-right: 0;
  157. }
  158. ul.action-links li {
  159. float: right;
  160. margin: 0 0 0 1em;
  161. }
  162. ul.action-links a {
  163. padding-left: 0;
  164. padding-right: 15px;
  165. background-position: right center;
  166. }
  167. /* Update options. */
  168. div.admin-options label,
  169. div.admin-options div.form-item {
  170. margin-left: 10px;
  171. margin-right: 0;
  172. float: right;
  173. }
  174. /* Maintenance theming */
  175. body.in-maintenance #sidebar-first {
  176. float: right;
  177. }
  178. body.in-maintenance #content {
  179. float: left;
  180. padding-left: 20px;
  181. padding-right: 0;
  182. }
  183. ol.task-list {
  184. margin-right: 0;
  185. }
  186. ol.task-list li {
  187. padding: 0.5em 20px 0.5em 1em;
  188. }
  189. ol.task-list li.active {
  190. background: transparent url(images/task-item-rtl.png) no-repeat right 50%;
  191. padding: 0.5em 20px 0.5em 1em;
  192. }
  193. /* Overlay theming */
  194. .overlay #branding div.breadcrumb {
  195. float: right;
  196. }
  197. .overlay ul.secondary {
  198. margin: -1.4em 0 0.3em 0;
  199. }
  200. /* Shortcut theming */
  201. div.add-or-remove-shortcuts {
  202. float: none;
  203. padding-left: 0;
  204. padding-right: 6px;
  205. }
  206. /* Dashboard */
  207. #dashboard div.block div.content {
  208. padding: 10px 5px 5px 5px;
  209. }
  210. #dashboard div.block div.content ul.menu {
  211. margin-right: 20px;
  212. }
  213. /* Recent content block */
  214. #block-node-recent .more-link {
  215. padding: 0 0 5px 5px;
  216. }
  217. /* User login block */
  218. #user-login-form .openid-links {
  219. margin-right: 0;
  220. }
  221. #user-login-form .openid-links .user-link {
  222. margin-right: 1.5em;
  223. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.