You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

419 lines
7.3 KiB

  1. body.rtl {
  2. direction: rtl;
  3. .column-header > button {
  4. text-align: right;
  5. padding-left: 0;
  6. padding-right: 15px;
  7. }
  8. .radio-button__input {
  9. margin-right: 0;
  10. margin-left: 10px;
  11. }
  12. .directory__card__bar .display-name {
  13. margin-left: 0;
  14. margin-right: 15px;
  15. }
  16. .display-name {
  17. text-align: right;
  18. }
  19. .notification__message {
  20. margin-left: 0;
  21. margin-right: 68px;
  22. }
  23. .drawer__inner__mastodon > img {
  24. transform: scaleX(-1);
  25. }
  26. .notification__favourite-icon-wrapper {
  27. left: auto;
  28. right: -26px;
  29. }
  30. .landing-page__logo {
  31. margin-right: 0;
  32. margin-left: 20px;
  33. }
  34. .landing-page .features-list .features-list__row .visual {
  35. margin-left: 0;
  36. margin-right: 15px;
  37. }
  38. .column-link__icon,
  39. .column-header__icon {
  40. margin-right: 0;
  41. margin-left: 5px;
  42. }
  43. .compose-form .compose-form__buttons-wrapper .character-counter__wrapper {
  44. margin-right: 0;
  45. margin-left: 4px;
  46. }
  47. .navigation-bar__profile {
  48. margin-left: 0;
  49. margin-right: 8px;
  50. }
  51. .search__input {
  52. padding-right: 10px;
  53. padding-left: 30px;
  54. }
  55. .search__icon .fa {
  56. right: auto;
  57. left: 10px;
  58. }
  59. .columns-area {
  60. direction: rtl;
  61. }
  62. .column-header__buttons {
  63. left: 0;
  64. right: auto;
  65. margin-left: 0;
  66. margin-right: -15px;
  67. }
  68. .column-inline-form .icon-button {
  69. margin-left: 0;
  70. margin-right: 5px;
  71. }
  72. .column-header__links .text-btn {
  73. margin-left: 10px;
  74. margin-right: 0;
  75. }
  76. .account__avatar-wrapper {
  77. float: right;
  78. }
  79. .column-header__back-button {
  80. padding-left: 5px;
  81. padding-right: 0;
  82. }
  83. .column-header__setting-arrows {
  84. float: left;
  85. }
  86. .setting-toggle__label {
  87. margin-left: 0;
  88. margin-right: 8px;
  89. }
  90. .status__avatar {
  91. left: auto;
  92. right: 10px;
  93. }
  94. .status,
  95. .activity-stream .status.light {
  96. padding-left: 10px;
  97. padding-right: 68px;
  98. }
  99. .status__info .status__display-name,
  100. .activity-stream .status.light .status__display-name {
  101. padding-left: 25px;
  102. padding-right: 0;
  103. }
  104. .activity-stream .pre-header {
  105. padding-right: 68px;
  106. padding-left: 0;
  107. }
  108. .status__prepend {
  109. margin-left: 0;
  110. margin-right: 68px;
  111. }
  112. .status__prepend-icon-wrapper {
  113. left: auto;
  114. right: -26px;
  115. }
  116. .activity-stream .pre-header .pre-header__icon {
  117. left: auto;
  118. right: 42px;
  119. }
  120. .account__avatar-overlay-overlay {
  121. right: auto;
  122. left: 0;
  123. }
  124. .column-back-button--slim-button {
  125. right: auto;
  126. left: 0;
  127. }
  128. .status__relative-time,
  129. .status__visibility-icon,
  130. .activity-stream .status.light .status__header .status__meta {
  131. float: left;
  132. }
  133. .status__action-bar {
  134. &__counter {
  135. margin-right: 0;
  136. margin-left: 11px;
  137. .status__action-bar-button {
  138. margin-right: 0;
  139. margin-left: 4px;
  140. }
  141. }
  142. }
  143. .status__action-bar-button {
  144. float: right;
  145. margin-right: 0;
  146. margin-left: 18px;
  147. }
  148. .status__action-bar-dropdown {
  149. float: right;
  150. }
  151. .privacy-dropdown__dropdown {
  152. margin-left: 0;
  153. margin-right: 40px;
  154. }
  155. .privacy-dropdown__option__icon {
  156. margin-left: 10px;
  157. margin-right: 0;
  158. }
  159. .detailed-status__display-name .display-name {
  160. text-align: right;
  161. }
  162. .detailed-status__display-avatar {
  163. margin-right: 0;
  164. margin-left: 10px;
  165. float: right;
  166. }
  167. .detailed-status__favorites,
  168. .detailed-status__reblogs {
  169. margin-left: 0;
  170. margin-right: 6px;
  171. }
  172. .fa-ul {
  173. margin-left: 2.14285714em;
  174. }
  175. .fa-li {
  176. left: auto;
  177. right: -2.14285714em;
  178. }
  179. .admin-wrapper {
  180. direction: rtl;
  181. }
  182. .admin-wrapper .sidebar ul a i.fa,
  183. a.table-action-link i.fa {
  184. margin-right: 0;
  185. margin-left: 5px;
  186. }
  187. .simple_form .check_boxes .checkbox label {
  188. padding-left: 0;
  189. padding-right: 25px;
  190. }
  191. .simple_form .input.with_label.boolean label.checkbox {
  192. padding-left: 25px;
  193. padding-right: 0;
  194. }
  195. .simple_form .check_boxes .checkbox input[type="checkbox"],
  196. .simple_form .input.boolean input[type="checkbox"] {
  197. left: auto;
  198. right: 0;
  199. }
  200. .simple_form .input.radio_buttons .radio {
  201. left: auto;
  202. right: 0;
  203. }
  204. .simple_form .input.radio_buttons .radio > label {
  205. padding-right: 28px;
  206. padding-left: 0;
  207. }
  208. .simple_form .input-with-append .input input {
  209. padding-left: 142px;
  210. padding-right: 0;
  211. }
  212. .simple_form .input.boolean label.checkbox {
  213. left: auto;
  214. right: 0;
  215. }
  216. .simple_form .input.boolean .label_input,
  217. .simple_form .input.boolean .hint {
  218. padding-left: 0;
  219. padding-right: 28px;
  220. }
  221. .simple_form .label_input__append {
  222. right: auto;
  223. left: 3px;
  224. &::after {
  225. right: auto;
  226. left: 0;
  227. background-image: linear-gradient(to left, rgba(darken($ui-base-color, 10%), 0), darken($ui-base-color, 10%));
  228. }
  229. }
  230. .simple_form select {
  231. background: darken($ui-base-color, 10%) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 12%))}'/></svg>") no-repeat left 8px center / auto 16px;
  232. }
  233. .table th,
  234. .table td {
  235. text-align: right;
  236. }
  237. .filters .filter-subset {
  238. margin-right: 0;
  239. margin-left: 45px;
  240. }
  241. .landing-page .header-wrapper .mascot {
  242. right: 60px;
  243. left: auto;
  244. }
  245. .landing-page__call-to-action .row__information-board {
  246. direction: rtl;
  247. }
  248. .landing-page .header .hero .floats .float-1 {
  249. left: -120px;
  250. right: auto;
  251. }
  252. .landing-page .header .hero .floats .float-2 {
  253. left: 210px;
  254. right: auto;
  255. }
  256. .landing-page .header .hero .floats .float-3 {
  257. left: 110px;
  258. right: auto;
  259. }
  260. .landing-page .header .links .brand img {
  261. left: 0;
  262. }
  263. .landing-page .fa-external-link {
  264. padding-right: 5px;
  265. padding-left: 0 !important;
  266. }
  267. .landing-page .features #mastodon-timeline {
  268. margin-right: 0;
  269. margin-left: 30px;
  270. }
  271. @media screen and (min-width: 631px) {
  272. .column,
  273. .drawer {
  274. padding-left: 5px;
  275. padding-right: 5px;
  276. &:first-child {
  277. padding-left: 5px;
  278. padding-right: 10px;
  279. }
  280. }
  281. .columns-area > div {
  282. .column,
  283. .drawer {
  284. padding-left: 5px;
  285. padding-right: 5px;
  286. }
  287. }
  288. }
  289. .columns-area--mobile .column,
  290. .columns-area--mobile .drawer {
  291. padding-left: 0;
  292. padding-right: 0;
  293. }
  294. .public-layout {
  295. .header {
  296. .nav-button {
  297. margin-left: 8px;
  298. margin-right: 0;
  299. }
  300. }
  301. .public-account-header__tabs {
  302. margin-left: 0;
  303. margin-right: 20px;
  304. }
  305. }
  306. .landing-page__information {
  307. .account__display-name {
  308. margin-right: 0;
  309. margin-left: 5px;
  310. }
  311. .account__avatar-wrapper {
  312. margin-left: 12px;
  313. margin-right: 0;
  314. }
  315. }
  316. .card__bar .display-name {
  317. margin-left: 0;
  318. margin-right: 15px;
  319. text-align: right;
  320. }
  321. .fa-chevron-left::before {
  322. content: "\F054";
  323. }
  324. .fa-chevron-right::before {
  325. content: "\F053";
  326. }
  327. .column-back-button__icon {
  328. margin-right: 0;
  329. margin-left: 5px;
  330. }
  331. .column-header__setting-arrows .column-header__setting-btn:last-child {
  332. padding-left: 0;
  333. padding-right: 10px;
  334. }
  335. .simple_form .input.radio_buttons .radio > label input {
  336. left: auto;
  337. right: 0;
  338. }
  339. }