PageRenderTime 84ms CodeModel.GetById 44ms RepoModel.GetById 4ms app.codeStats 0ms

/sites/default/themes/mythemes/acq_tam3/defaults-rtl.css

https://github.com/rtdean93/tbytam
CSS | 560 lines | 334 code | 154 blank | 72 comment | 0 complexity | 067e2449cc1809812ea9cf8fdfce669a MD5 | raw file
  1. /**
  2. * @file
  3. * Default Acquia Gardens theme style RTL definitions.
  4. *
  5. */
  6. /* @group CSS Reset */
  7. caption, th, td {
  8. text-align: right;
  9. }
  10. /* @end */
  11. /* @group Block Elements */
  12. body {
  13. direction: rtl;
  14. }
  15. ul,
  16. ol {
  17. padding: 0 1.5em 0 0; /* 16px */
  18. }
  19. blockquote { /* Isn't these two should be the other way around ? (tsi) */
  20. padding-left: 3.0769em;
  21. padding-right: 0;
  22. }
  23. blockquote cite {
  24. margin-left: -3.0769em; /* 40px */
  25. margin-left: 0;
  26. text-align: left;
  27. }
  28. /* @end */
  29. /* @group Tags */
  30. .field-type-taxonomy-term-reference .field-item {
  31. margin-right: .3em;
  32. }
  33. /* @end Tags */
  34. /* @group Tables */
  35. th + th,
  36. td + td {
  37. padding-left: 1.0769em;
  38. padding-right: 0.4615em;
  39. }
  40. /* @end */
  41. /* @group Typography */
  42. .indent { /* Used in list-tables */
  43. padding-left: 0;
  44. padding-right: 1.3846em;
  45. }
  46. /* @end */
  47. /* @group Wrappers */
  48. .page-width {
  49. text-align: right;
  50. }
  51. .stack-width,
  52. .deco-width {
  53. text-align: right;
  54. }
  55. /* @end */
  56. /* @group Grid */
  57. .left {
  58. float: right;
  59. }
  60. .right {
  61. float: left;
  62. }
  63. .col.right {
  64. margin-left: 1%;
  65. margin-right: 0;
  66. padding-left: 1%;
  67. padding-right: 0;
  68. }
  69. .col.left {
  70. margin-left: 0;
  71. margin-right: 1%;
  72. padding-right: 1%;
  73. padding-left: 0;
  74. }
  75. .col.right:first-child {
  76. margin-left: 0;
  77. padding-left: 0;
  78. }
  79. .col.left:first-child {
  80. margin-right: 0;
  81. padding-right: 0;
  82. }
  83. .sidebar.left {
  84. margin-left: 1.5%;
  85. margin-right: 0;
  86. padding-left: 1%;
  87. padding-right: 0;
  88. }
  89. .sidebar.right {
  90. margin-left: 0;
  91. margin-right: 1.5%;
  92. padding-left: 0;
  93. padding-right: 1%;
  94. }
  95. /* @end */
  96. /* @group Regions */
  97. .stack-main .col-c ul,
  98. .stack-main .col-c ol {
  99. padding: 0 1.5385em 0 0; /* 20px */
  100. }
  101. .region-header .block {
  102. clear: left;
  103. float: left;
  104. }
  105. /* @end */
  106. /* @group Block */
  107. .block {
  108. clear: right;
  109. }
  110. .more-link { /* System RTL Overrides */
  111. text-align: left;
  112. }
  113. /* @end */
  114. /* @group Lists */
  115. .block ul { /* System Overrides */
  116. padding-left: 0;
  117. padding-right: 1.3846em; /* 16px */
  118. }
  119. /* @group Links */
  120. ul.links {
  121. padding-right: 0;
  122. }
  123. ul.links.inline {
  124. float: right;
  125. }
  126. ul.links.inline + ul.links.inline {
  127. margin-left: 0;
  128. margin-right: 0.4615em;
  129. padding-left: 0;
  130. padding-right: 0.4615em;
  131. }
  132. ul.links.actions {
  133. float: left;
  134. }
  135. ul.links li {
  136. float: right;
  137. }
  138. ul.links li + li {
  139. margin-left: 0;
  140. margin-right: 0.2308em;
  141. padding-left: 0;
  142. padding-right: 0.2308em;
  143. }
  144. /* @end */
  145. ul.menu { /* System RTL Override */
  146. text-align:right;
  147. }
  148. ul.menu li { /* System Override */
  149. margin-right: 0;
  150. }
  151. .item-list ul, /* System Override */
  152. .action-links {
  153. padding-left: 0;
  154. padding-right: 1.3846em; /* 18px */
  155. }
  156. .search-results {
  157. padding-right: 0;
  158. }
  159. /* @end */
  160. /* @group Horizontal List */
  161. .horizontal ul {
  162. padding-right: 0;
  163. }
  164. .horizontal .menu li {
  165. float: right;
  166. }
  167. .horizontal .menu li {
  168. margin-left: 0;
  169. margin-right: 0.6923em;
  170. padding-left: 0;
  171. padding-right: 0.6923em;
  172. }
  173. .horizontal .menu li.first {
  174. margin-right: 0;
  175. padding-right: 0;
  176. }
  177. .col-align-last-right .last .menu,
  178. .col-align-right.horizontal .menu {
  179. float: left;
  180. }
  181. /* @end */
  182. /* @group Dropdown */
  183. .menu-dropdown .more-indicator {
  184. left: 0;
  185. right: auto;
  186. }
  187. .menu-dropdown .menu .expanded {
  188. padding-right: 0;
  189. }
  190. .menu-dropdown .menu .expanded + li {
  191. margin-left: 0;
  192. }
  193. .menu-dropdown .menu .menu li {
  194. margin-right: 0;
  195. padding-right: 0;
  196. }
  197. .menu-dropdown .menu .menu li > a > .more-indicator {
  198. background-position: right top;
  199. left: 5px;
  200. right: auto;
  201. }
  202. .menu-dropdown .menu .menu li:hover > a > .more-indicator {
  203. background-position: right center;
  204. }
  205. .menu-dropdown .menu .menu li > .active > .more-indicator {
  206. background-position: right bottom;
  207. }
  208. .menu-dropdown .menu .menu li:hover > .active > .more-indicator {
  209. background-position: right center;
  210. }
  211. .menu-dropdown .menu .menu li > .active-trail > .more-indicator {
  212. background-position: right bottom;
  213. }
  214. .menu-dropdown .menu .menu li:hover > .active-trail > .more-indicator {
  215. background-position: right center;
  216. }
  217. /* @end */
  218. /* @group Table */
  219. .sidebar td,
  220. .sidebar th {
  221. padding-left: 0.4615em;
  222. padding-right: 0.4615em;
  223. }
  224. /* @end */
  225. /* @group Tabs */
  226. .tabs ul.primary { /* System Override */
  227. padding: 0 0.4615em 0 0;
  228. }
  229. .tabs ul.primary li + li {
  230. margin-left: 0;
  231. margin-right: 0.4615em;
  232. }
  233. /* @end */
  234. /* @group Comments */
  235. .comment-wrapper .links,
  236. .comment-by-viewer .links {
  237. float: left;
  238. }
  239. .comment .links li {
  240. float: left;
  241. }
  242. .comment .links li + li {
  243. margin-left: 0.2308em;
  244. margin-right: 0;
  245. padding-left: 0.2308em;
  246. padding-right: 0;
  247. }
  248. .user-picture {
  249. float: right;
  250. margin: 0 0 0 1em;
  251. }
  252. /* @end */
  253. /* @group Customer */
  254. .simpleview-teasers .node-customer {
  255. float: right;
  256. margin: 0 0 0 2%;
  257. }
  258. /* @end */
  259. /* @group FAQ */
  260. .faq-item-question-label {
  261. float: right;
  262. margin: 0 0 0 0.5em;
  263. }
  264. /* @end */
  265. /* @group Follow Links */
  266. .follow-links .follow-link {
  267. padding-left: 0;
  268. padding-right: 28px;
  269. }
  270. a.follow-link {
  271. background-position: 100% 0;
  272. }
  273. /* @end */
  274. /* @group Logo */
  275. .logo {
  276. float: right;
  277. margin-left: 2em;
  278. margin-right: 0;
  279. }
  280. /* @end */
  281. /* @group Testimonials */
  282. .field-name-field-testimonial-author {
  283. text-align: left;
  284. }
  285. .field-name-field-testimonial-affiliation {
  286. margin-left: 0;
  287. margin-right: 0.3em;
  288. }
  289. /* @end */
  290. /* @group User Profile */
  291. .profile .user-picture {
  292. float: left;
  293. margin: 0 1em 1em 0;
  294. }
  295. /* @end */
  296. /* @group Mailing List */
  297. .block-mailing-list label {
  298. float: right;
  299. }
  300. .block-mailing-list input[type="text"] {
  301. float: right;
  302. }
  303. .block-mailing-list .form-submit {
  304. float: left;
  305. margin-left: 10px;
  306. margin-right: 0;
  307. }
  308. /* @end */
  309. /* @group Product Feature */
  310. .stack-precontent .field-type-file {
  311. float: right;
  312. margin-left: 10px;
  313. margin-right: 0;
  314. }
  315. /* @end */
  316. /* @group Search */
  317. .col-align-last-right .col.last .block-search {
  318. text-align: left;
  319. }
  320. .search-results .search-snippet-info {
  321. padding-right: 0; /* System Override */
  322. }
  323. .search-form fieldset input {
  324. margin-right: 0; /* System Override */
  325. }
  326. .search-form fieldset input[type="checkbox"] {
  327. margin-left: 2px;
  328. margin-right: 0;
  329. }
  330. /* @end */
  331. /* @group Forum */
  332. #forum tr td.forum { /* System Override */
  333. padding-left: 0;
  334. padding-right: 1.0769em;
  335. }
  336. .forum th.active .active img {
  337. left: 0;
  338. padding: 3px 4px 4px 3px;
  339. right: auto;
  340. }
  341. /* @end */
  342. /* @group Toolbar */
  343. #toolbar {
  344. direction: ltr; /* We are not RTLing toolbar unless we enable RTL core style sheets with locale.module */
  345. }
  346. /* @end */
  347. /* @group Fields */
  348. fieldset {
  349. padding-left: 0;
  350. padding-right: 1em;
  351. }
  352. .filter-wrapper .form-item { /* System Override */
  353. float: right;
  354. }
  355. .filter-help { /* System Override */
  356. float: left;
  357. }
  358. .filter-guidelines { /* System Override */
  359. clear: right;
  360. }
  361. .password-strength { /* System gap */
  362. margin-left: 10px;
  363. }
  364. .form-submit ~ * {
  365. margin-right: 0.6923em;
  366. }
  367. /* @end */
  368. /* @group media gallery */
  369. .mg-col .node-media-gallery.node-teaser {
  370. float: right;
  371. }
  372. .media-gallery-media > .field-items > .field-item {
  373. float: right;
  374. }
  375. .media-gallery-detail-info .media-license {
  376. left: 0;
  377. right: auto;
  378. }
  379. .media-gallery-detail {
  380. float: right;
  381. margin-left: 1em;
  382. margin-right: 0;
  383. }
  384. .media-gallery-detail-image-info-wrapper {
  385. clear: left;
  386. float: left;
  387. }
  388. /* @end */
  389. /* @group User Login */
  390. #user-login-form li {
  391. text-align: right;
  392. }
  393. #user-login-form {
  394. text-align: right;
  395. }
  396. /* @end */
  397. /* @group Powered by Drupal Gardens */
  398. .powered-by-drupal-gardens-text {
  399. text-align: left;
  400. }
  401. /* @group IE */
  402. /* @group IE7 */
  403. /* @end */
  404. /* @group IE8 */
  405. /* @end */
  406. /* @end */