Skip to content

Commit 292a306

Browse files
authored
Merge pull request #47343 from nextcloud/feat/31420/add-bidi-support
2 parents 23efda9 + faeb2f0 commit 292a306

272 files changed

Lines changed: 1047 additions & 920 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/comments/src/components/Comment.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ $comment-padding: 10px;
316316
}
317317
318318
&__actions {
319-
margin-left: $comment-padding !important;
319+
margin-inline-start: $comment-padding !important;
320320
}
321321
322322
&__author {
@@ -328,8 +328,8 @@ $comment-padding: 10px;
328328
329329
&_loading,
330330
&__timestamp {
331-
margin-left: auto;
332-
text-align: right;
331+
margin-inline-start: auto;
332+
text-align: end;
333333
white-space: nowrap;
334334
color: var(--color-text-maxcontrast);
335335
}
@@ -346,7 +346,7 @@ $comment-padding: 10px;
346346
&__submit {
347347
position: absolute !important;
348348
bottom: 5px;
349-
right: 0;
349+
inset-inline-end: 0;
350350
}
351351
352352
&__message {

apps/dashboard/src/DashboardApp.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -569,11 +569,10 @@ export default {
569569
background-size: 32px;
570570
width: 32px;
571571
height: 32px;
572-
margin-right: 16px;
573572
background-position: center;
574573
float: left;
575574
margin-top: -6px;
576-
margin-left: 6px;
575+
margin-inline: 6px 16px;
577576
}
578577
579578
img {
@@ -609,7 +608,7 @@ export default {
609608
margin:auto;
610609
background-position: 16px center;
611610
padding: 12px 16px;
612-
padding-left: 36px;
611+
padding-inline-start: 36px;
613612
border-radius: var(--border-radius-pill);
614613
max-width: 200px;
615614
opacity: 1;
@@ -661,7 +660,7 @@ export default {
661660
background-color: var(--color-background-hover);
662661
border: 2px solid var(--color-main-background);
663662
border-radius: var(--border-radius-large);
664-
text-align: left;
663+
text-align: start;
665664
overflow: hidden;
666665
text-overflow: ellipsis;
667666
white-space: nowrap;
@@ -691,7 +690,7 @@ export default {
691690
692691
input[type='checkbox'].checkbox + label:before {
693692
position: absolute;
694-
right: 12px;
693+
inset-inline-end: 12px;
695694
top: 16px;
696695
}
697696

apps/dav/css/schedule-response.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ form #selectPartStatForm label {
4141
}
4242

4343
form #selectPartStatForm label:first-of-type {
44-
border-top-left-radius: 4px;
45-
border-bottom-left-radius: 4px;
44+
border-start-start-radius: 4px;
45+
border-end-start-radius: 4px;
4646
}
4747

4848
form #selectPartStatForm label:last-of-type {
49-
border-top-right-radius: 4px;
50-
border-bottom-right-radius: 4px;
49+
border-start-end-radius: 4px;
50+
border-end-end-radius: 4px;
5151
}
5252

5353
form #selectPartStatForm label span {
@@ -79,4 +79,4 @@ form input[type="submit"] {
7979
display: block;
8080
margin: 0 auto;
8181
padding: 11px 20px 9px
82-
}
82+
}

apps/dav/src/components/AvailabilityForm.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,13 @@ export default {
164164
width: 120px;
165165
}
166166
.time-zone {
167-
padding: 32px 12px 12px 0;
168-
display: flex;
169-
flex-wrap: wrap;
167+
padding-block: 32px 12px;
168+
padding-inline: 0 12px;
169+
display: flex;
170+
flex-wrap: wrap;
170171
171172
&__heading {
172-
margin-right: calc(var(--default-grid-baseline) * 2);
173+
margin-inline-end: calc(var(--default-grid-baseline) * 2);
173174
line-height: var(--default-clickable-area);
174175
font-weight: bold;
175176
}
@@ -201,12 +202,12 @@ export default {
201202
}
202203
203204
.to-text {
204-
padding-right: 12px;
205+
padding-inline-end: 12px;
205206
}
206207
207208
.empty-content {
208209
color: var(--color-text-lighter);
209-
margin-top: 4px;
210+
margin-block-start: var(--default-grid-baseline);
210211
align-self: center;
211212
}
212213
</style>

apps/dav/src/views/CalDavSettings.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ export default {
150150

151151
<style scoped>
152152
.indented {
153-
padding-left: 28px;
153+
padding-inline-start: 28px;
154154
}
155155
/** Use deep selector to affect v-html */
156-
* >>> a {
156+
* :deep(a) {
157157
text-decoration: underline;
158158
}
159159
.settings-hint {

apps/federatedfilesharing/src/components/PersonalSettings.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default {
125125
return window.location.protocol + '//' + window.location.host + this.logoPath
126126
},
127127
backgroundStyle() {
128-
return `padding:10px;background-color:${this.color};color:${this.textColor};border-radius:3px;padding-left:4px;`
128+
return `padding:10px;background-color:${this.color};color:${this.textColor};border-radius:3px;padding-inline-start:4px;`
129129
},
130130
linkStyle() {
131131
return `background-image:url(${this.logoPathAbsolute});width:50px;height:30px;position:relative;top:8px;background-size:contain;display:inline-block;background-repeat:no-repeat; background-position: center center;`
@@ -164,7 +164,7 @@ export default {
164164
margin-top: 0.5rem;
165165
button {
166166
display: inline-flex;
167-
margin-left: 0.5rem;
167+
margin-inline-start: 0.5rem;
168168
margin-top: 1rem;
169169
}
170170
&__website-button {
@@ -184,6 +184,6 @@ export default {
184184
white-space: pre-wrap;
185185
}
186186
#cloudid {
187-
margin-left: 0.25rem;
187+
margin-inline-start: 0.25rem;
188188
}
189189
</style>

apps/federation/css/settings-admin.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@
1414
.removeTrustedServer {
1515
display: none;
1616
vertical-align:middle;
17-
padding-left: 10px;
17+
padding-inline-start: 10px;
1818
}
1919

2020
#ocFederationAddServerButton {
2121
cursor: pointer;
2222
}
2323

2424
#listOfTrustedServers .status {
25-
margin-right: 10px;
25+
margin-inline-end: 10px;
2626
}
2727

2828
#listOfTrustedServers .icon {
2929
cursor: pointer;
3030
display: inline-block;
3131
vertical-align: middle;
32-
margin-left: 10px;
32+
margin-inline-start: 10px;
3333
}
3434

3535
#ocFederationAddServer #serverUrl {

apps/files/css/detailsView.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files/css/detailsView.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files/css/detailsView.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
}
3535

3636
.app-sidebar .thumbnailContainer.large {
37-
margin-left: -15px;
38-
margin-right: -35px; /* 15 + 20 for the close button */
37+
margin-inline: -15px -35px; /* 15 + 20 for the close button */
3938
margin-top: -15px;
4039
}
4140

@@ -73,15 +72,15 @@
7372
overflow-x: hidden;
7473
padding-top: 14px;
7574
font-size: 80%;
76-
margin-left: 0;
75+
margin-inline-start: 0;
7776
}
7877

7978
.app-sidebar .thumbnail {
8079
width: 100%;
8180
min-height: 75px;
8281
display: inline-block;
8382
float: left;
84-
margin-right: 10px;
83+
margin-inline-end: 10px;
8584
background-size: contain;
8685
background-repeat: no-repeat;
8786
}
@@ -126,7 +125,7 @@
126125
.app-sidebar .close {
127126
position: absolute;
128127
top: 0;
129-
right: 0;
128+
inset-inline-end: 0;
130129
opacity: .5;
131130
z-index: 1;
132131
width: 44px;

0 commit comments

Comments
 (0)