闭社主体 forked from https://github.com/tootsuite/mastodon
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.

418 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. .activity-stream .status.light .status__header .status__meta {
  130. float: left;
  131. }
  132. .status__action-bar {
  133. &__counter {
  134. margin-right: 0;
  135. margin-left: 11px;
  136. .status__action-bar-button {
  137. margin-right: 0;
  138. margin-left: 4px;
  139. }
  140. }
  141. }
  142. .status__action-bar-button {
  143. float: right;
  144. margin-right: 0;
  145. margin-left: 18px;
  146. }
  147. .status__action-bar-dropdown {
  148. float: right;
  149. }
  150. .privacy-dropdown__dropdown {
  151. margin-left: 0;
  152. margin-right: 40px;
  153. }
  154. .privacy-dropdown__option__icon {
  155. margin-left: 10px;
  156. margin-right: 0;
  157. }
  158. .detailed-status__display-name .display-name {
  159. text-align: right;
  160. }
  161. .detailed-status__display-avatar {
  162. margin-right: 0;
  163. margin-left: 10px;
  164. float: right;
  165. }
  166. .detailed-status__favorites,
  167. .detailed-status__reblogs {
  168. margin-left: 0;
  169. margin-right: 6px;
  170. }
  171. .fa-ul {
  172. margin-left: 2.14285714em;
  173. }
  174. .fa-li {
  175. left: auto;
  176. right: -2.14285714em;
  177. }
  178. .admin-wrapper {
  179. direction: rtl;
  180. }
  181. .admin-wrapper .sidebar ul a i.fa,
  182. a.table-action-link i.fa {
  183. margin-right: 0;
  184. margin-left: 5px;
  185. }
  186. .simple_form .check_boxes .checkbox label {
  187. padding-left: 0;
  188. padding-right: 25px;
  189. }
  190. .simple_form .input.with_label.boolean label.checkbox {
  191. padding-left: 25px;
  192. padding-right: 0;
  193. }
  194. .simple_form .check_boxes .checkbox input[type="checkbox"],
  195. .simple_form .input.boolean input[type="checkbox"] {
  196. left: auto;
  197. right: 0;
  198. }
  199. .simple_form .input.radio_buttons .radio {
  200. left: auto;
  201. right: 0;
  202. }
  203. .simple_form .input.radio_buttons .radio > label {
  204. padding-right: 28px;
  205. padding-left: 0;
  206. }
  207. .simple_form .input-with-append .input input {
  208. padding-left: 142px;
  209. padding-right: 0;
  210. }
  211. .simple_form .input.boolean label.checkbox {
  212. left: auto;
  213. right: 0;
  214. }
  215. .simple_form .input.boolean .label_input,
  216. .simple_form .input.boolean .hint {
  217. padding-left: 0;
  218. padding-right: 28px;
  219. }
  220. .simple_form .label_input__append {
  221. right: auto;
  222. left: 3px;
  223. &::after {
  224. right: auto;
  225. left: 0;
  226. background-image: linear-gradient(to left, rgba(darken($ui-base-color, 10%), 0), darken($ui-base-color, 10%));
  227. }
  228. }
  229. .simple_form select {
  230. 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;
  231. }
  232. .table th,
  233. .table td {
  234. text-align: right;
  235. }
  236. .filters .filter-subset {
  237. margin-right: 0;
  238. margin-left: 45px;
  239. }
  240. .landing-page .header-wrapper .mascot {
  241. right: 60px;
  242. left: auto;
  243. }
  244. .landing-page__call-to-action .row__information-board {
  245. direction: rtl;
  246. }
  247. .landing-page .header .hero .floats .float-1 {
  248. left: -120px;
  249. right: auto;
  250. }
  251. .landing-page .header .hero .floats .float-2 {
  252. left: 210px;
  253. right: auto;
  254. }
  255. .landing-page .header .hero .floats .float-3 {
  256. left: 110px;
  257. right: auto;
  258. }
  259. .landing-page .header .links .brand img {
  260. left: 0;
  261. }
  262. .landing-page .fa-external-link {
  263. padding-right: 5px;
  264. padding-left: 0 !important;
  265. }
  266. .landing-page .features #mastodon-timeline {
  267. margin-right: 0;
  268. margin-left: 30px;
  269. }
  270. @media screen and (min-width: 631px) {
  271. .column,
  272. .drawer {
  273. padding-left: 5px;
  274. padding-right: 5px;
  275. &:first-child {
  276. padding-left: 5px;
  277. padding-right: 10px;
  278. }
  279. }
  280. .columns-area > div {
  281. .column,
  282. .drawer {
  283. padding-left: 5px;
  284. padding-right: 5px;
  285. }
  286. }
  287. }
  288. .columns-area--mobile .column,
  289. .columns-area--mobile .drawer {
  290. padding-left: 0;
  291. padding-right: 0;
  292. }
  293. .public-layout {
  294. .header {
  295. .nav-button {
  296. margin-left: 8px;
  297. margin-right: 0;
  298. }
  299. }
  300. .public-account-header__tabs {
  301. margin-left: 0;
  302. margin-right: 20px;
  303. }
  304. }
  305. .landing-page__information {
  306. .account__display-name {
  307. margin-right: 0;
  308. margin-left: 5px;
  309. }
  310. .account__avatar-wrapper {
  311. margin-left: 12px;
  312. margin-right: 0;
  313. }
  314. }
  315. .card__bar .display-name {
  316. margin-left: 0;
  317. margin-right: 15px;
  318. text-align: right;
  319. }
  320. .fa-chevron-left::before {
  321. content: "\F054";
  322. }
  323. .fa-chevron-right::before {
  324. content: "\F053";
  325. }
  326. .column-back-button__icon {
  327. margin-right: 0;
  328. margin-left: 5px;
  329. }
  330. .column-header__setting-arrows .column-header__setting-btn:last-child {
  331. padding-left: 0;
  332. padding-right: 10px;
  333. }
  334. .simple_form .input.radio_buttons .radio > label input {
  335. left: auto;
  336. right: 0;
  337. }
  338. }