Issue #2994947 by dead_arm, mark_fullmer, alexpott, kostyashupenko, brad.bulger, tim.plunkett, PCate: Add RTL CSS to Layout Builder

merge-requests/1119/head
Alex Pott 2019-04-13 10:23:21 -07:00
parent 47b6e7040d
commit 8ea7023787
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
2 changed files with 30 additions and 8 deletions

View File

@ -14,10 +14,16 @@
}
.layout-builder__link--add {
padding-left: 24px;
padding-left: 24px; /* LTR */
color: #686868;
border-bottom: none;
background: url(../../../misc/icons/686868/plus.svg) transparent top left / 16px 16px no-repeat;
background: url(../../../misc/icons/787878/plus.svg) transparent top left / 16px 16px no-repeat; /* LTR */
}
[dir="rtl"] .layout-builder__link--add {
padding-right: 24px;
padding-left: 0;
background-position-x: right;
}
.layout-builder__link--add:hover,
@ -60,8 +66,8 @@
box-sizing: border-box;
width: 26px;
height: 26px;
margin-right: 6px;
margin-left: -10px;
margin-right: 6px; /* LTR */
margin-left: -10px; /* LTR */
padding: 0;
white-space: nowrap;
text-indent: -9999px;
@ -71,6 +77,11 @@
font-size: 1rem;
}
[dir="rtl"] .layout-builder__link--remove {
margin-right: -10px;
margin-left: 6px;
}
.layout-builder__link--remove:hover {
background-image: url(../../../misc/icons/787878/ex.svg);
}

View File

@ -14,10 +14,16 @@
}
.layout-builder__link--add {
padding-left: 24px;
padding-left: 24px; /* LTR */
color: #686868;
border-bottom: none;
background: url(../../../../misc/icons/686868/plus.svg) transparent top left / 16px 16px no-repeat;
background: url(../../../../misc/icons/787878/plus.svg) transparent top left / 16px 16px no-repeat; /* LTR */
}
[dir="rtl"] .layout-builder__link--add {
padding-right: 24px;
padding-left: 0;
background-position-x: right;
}
.layout-builder__link--add:hover,
@ -60,8 +66,8 @@
box-sizing: border-box;
width: 26px;
height: 26px;
margin-right: 6px;
margin-left: -10px;
margin-right: 6px; /* LTR */
margin-left: -10px; /* LTR */
padding: 0;
white-space: nowrap;
text-indent: -9999px;
@ -71,6 +77,11 @@
font-size: 1rem;
}
[dir="rtl"] .layout-builder__link--remove {
margin-right: -10px;
margin-left: 6px;
}
.layout-builder__link--remove:hover {
background-image: url(../../../../misc/icons/787878/ex.svg);
}