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;
}

/**
 * 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.
 */
ul.links li,
ul.inline li {
  padding-left: 1em;
  padding-right: 0;
}
.admin-list li a {
  background: url(images/list-item-rtl.png) no-repeat right 11px;
  padding: 9px 39px 9px 9px;
}

/**
 * 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;
}

/* Filter */
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;
}

/* 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 .breadcrumb {
  float: right;
}
.overlay ul.secondary {
  margin: -1.4em 0 0.3em 0;
}

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

/**
 * Improve spacing of cancel link.
 */
#edit-cancel {
  margin-right: 10px;
}

/**
 * Views styling
 */
 /* @group Forms */

.views-admin .form-submit,
.views-admin a.button {
  margin-left: 0;
}

/* @end */

/* @group Lists */

.views-admin .links li {
  padding-left: 0;
}

/* @end */

/* @group Attachments */

.views-displays .secondary {
  text-align: right;
}

/* @end */

/* @group Attachment details tabs */

.views-display-top ul.secondary {
  float: right;
}

.views-displays .secondary .action-list  li:first-child {
  -moz-border-radius: 7px 0 0 0;
  -webkit-border-radius: 7px 0 0 0;
  border-radius: 7px 0 0 0;
}

/* @end */


/**
 * Node Add/Edit Page Layout
 */

/* Narrow screens */
/*.overlay .layout-region-secondary {
     -moz-box-shadow: inset -0.15em 0.3em .5em rgba(0, 0, 0, .1);
  -webkit-box-shadow: inset -0.15em 0.3em .5em rgba(0, 0, 0, .1);
          box-shadow: inset -0.15em 0.3em .5em rgba(0, 0, 0, .1);
}*/
/* Wide screens */
@media only screen and (min-width: 780px) {
  .overlay [id="edit-additional-settings"] {
    -webkit-box-shadow: inset -3px 3px 5px rgba(0, 0, 0, .15);
    box-shadow:         inset -3px 3px 5px rgba(0, 0, 0, .15);
  }
}

File

drupal/core/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. /**
  35. * Help.
  36. */
  37. #help div.more-help-link {
  38. text-align: left;
  39. }
  40. /**
  41. * Page title.
  42. */
  43. #branding h1.page-title {
  44. float: right;
  45. }
  46. /**
  47. * Tabs.
  48. */
  49. ul.primary li,
  50. ul.primary li a:link,
  51. ul.primary li a.active {
  52. float: right;
  53. }
  54. ul.primary,
  55. ul.secondary {
  56. float: left;
  57. }
  58. ul.secondary li {
  59. float: none;
  60. }
  61. ul.primary {
  62. padding-top: 0;
  63. }
  64. /**
  65. * Page layout.
  66. */
  67. ul.links li,
  68. ul.inline li {
  69. padding-left: 1em;
  70. padding-right: 0;
  71. }
  72. .admin-list li a {
  73. background: url(images/list-item-rtl.png) no-repeat right 11px;
  74. padding: 9px 39px 9px 9px;
  75. }
  76. /**
  77. * Tables.
  78. */
  79. table th.active a {
  80. padding: 0 0 0 25px;
  81. }
  82. table th.active img {
  83. left: 3px;
  84. right: auto;
  85. }
  86. /**
  87. * Exception for webkit bug with the right border of the last cell
  88. * in some tables, since it's webkit only, we can use :last-child
  89. */
  90. tr td:last-child {
  91. border-left: 1px solid #bebfb9;
  92. border-right: none;
  93. }
  94. /* Filter */
  95. ul.tips li {
  96. margin: 0.25em 1.5em 0.25em 0;
  97. }
  98. body div.form-type-radio div.description,
  99. body div.form-type-checkbox div.description {
  100. margin-left: 0;
  101. margin-right: 1.5em;
  102. }
  103. /* Update options. */
  104. div.admin-options label,
  105. div.admin-options div.form-item {
  106. margin-left: 10px;
  107. margin-right: 0;
  108. float: right;
  109. }
  110. /* Maintenance theming */
  111. body.in-maintenance #sidebar-first {
  112. float: right;
  113. }
  114. body.in-maintenance #content {
  115. float: left;
  116. padding-left: 20px;
  117. padding-right: 0;
  118. }
  119. ol.task-list {
  120. margin-right: 0;
  121. }
  122. ol.task-list li {
  123. padding: 0.5em 20px 0.5em 1em;
  124. }
  125. ol.task-list li.active {
  126. background: transparent url(images/task-item-rtl.png) no-repeat right 50%;
  127. padding: 0.5em 20px 0.5em 1em;
  128. }
  129. /* Overlay theming */
  130. .overlay #branding .breadcrumb {
  131. float: right;
  132. }
  133. .overlay ul.secondary {
  134. margin: -1.4em 0 0.3em 0;
  135. }
  136. /* Recent content block */
  137. #block-node-recent .more-link {
  138. padding: 0 0 5px 5px;
  139. }
  140. /**
  141. * Improve spacing of cancel link.
  142. */
  143. #edit-cancel {
  144. margin-right: 10px;
  145. }
  146. /**
  147. * Views styling
  148. */
  149. /* @group Forms */
  150. .views-admin .form-submit,
  151. .views-admin a.button {
  152. margin-left: 0;
  153. }
  154. /* @end */
  155. /* @group Lists */
  156. .views-admin .links li {
  157. padding-left: 0;
  158. }
  159. /* @end */
  160. /* @group Attachments */
  161. .views-displays .secondary {
  162. text-align: right;
  163. }
  164. /* @end */
  165. /* @group Attachment details tabs */
  166. .views-display-top ul.secondary {
  167. float: right;
  168. }
  169. .views-displays .secondary .action-list li:first-child {
  170. -moz-border-radius: 7px 0 0 0;
  171. -webkit-border-radius: 7px 0 0 0;
  172. border-radius: 7px 0 0 0;
  173. }
  174. /* @end */
  175. /**
  176. * Node Add/Edit Page Layout
  177. */
  178. /* Narrow screens */
  179. /*.overlay .layout-region-secondary {
  180. -moz-box-shadow: inset -0.15em 0.3em .5em rgba(0, 0, 0, .1);
  181. -webkit-box-shadow: inset -0.15em 0.3em .5em rgba(0, 0, 0, .1);
  182. box-shadow: inset -0.15em 0.3em .5em rgba(0, 0, 0, .1);
  183. }*/
  184. /* Wide screens */
  185. @media only screen and (min-width: 780px) {
  186. .overlay [id="edit-additional-settings"] {
  187. -webkit-box-shadow: inset -3px 3px 5px rgba(0, 0, 0, .15);
  188. box-shadow: inset -3px 3px 5px rgba(0, 0, 0, .15);
  189. }
  190. }