about summary refs log tree commit diff
path: root/app/javascript/styles/rtl.scss
blob: 16a1c9c05476185cc6c9fdbc97559eb9d7580867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
body.rtl {
  direction: rtl;

  .column-link__icon,
  .column-header__icon {
    margin-right: 0;
    margin-left: 5px;
  }

  .character-counter__wrapper {
    margin-right: 0;
    margin-left: 16px;
  }

  .navigation-bar__profile {
    margin-left: 0;
    margin-right: 8px;
  }

  .search__input {
    padding-right: 10px;
    padding-left: 30px;
  }

  .search__icon .fa {
    right: auto;
    left: 10px;
  }

  .column-icon-clear {
    right: auto;
    left: 48px;
  }

  .column-icon {
    right: auto;
    left: 5px;
  }

  .setting-toggle {
    margin-left: 0;
    margin-right: 8px;
  }

  .status__avatar {
    left: auto;
    right: 10px;
  }

  .status {
    padding-left: 10px;
    padding-right: 68px;
  }

  .status__info .status__display-name {
    padding-left: 25px;
    padding-right: 0;
  }

  .column-back-button--slim-button {
    right: auto;
    left: 0;
  }

  .status__relative-time {
    float: left;
  }

  .status__action-bar-button {
    float: right;
    margin-right: 0;
    margin-left: 18px;
  }

  .status__action-bar-dropdown {
    float: right;
  }

  .privacy-dropdown__dropdown {
    left: auto;
    right: 0;
  }

  .dropdown--active .dropdown__content {
    text-align: right;
  }

  .dropdown--active .dropdown__content::before {
    left: auto;
    right: 8px;
  }

  .dropdown--active .dropdown__content > ul {
    left: auto;
    right: -10px;
  }

  .privacy-dropdown__option__icon {
    margin-left: 10px;
    margin-right: 0;
  }

  .detailed-status__display-avatar {
    margin-right: 0;
    margin-left: 10px;
    float: right;
  }

  .detailed-status__favorites,
  .detailed-status__reblogs {
    margin-left: 0;
    margin-right: 6px;
  }

  .fa-ul {
    margin-left: 0;
    margin-left: 2.14285714em;
  }

  .fa-li {
    left: auto;
    right: -2.14285714em;
  }

  @media screen and (min-width: 1025px) {
    .column,
    .drawer {
      padding-left: 5px;
      padding-right: 5px;

      &:first-child {
        padding-left: 5px;
        padding-right: 10px;
      }

      &:last-child {
        padding-right: 0;
        padding-left: 10px;
      }
    }

    .columns-area > div {
      .column,
      .drawer {
        padding-left: 5px;
        padding-right: 5px;
      }
    }
  }
}