Commit b48f8fda authored by alexpott's avatar alexpott

Issue #2030925 by echoz: Quote rtl attribute selector.

parent 37e0bf87
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
.js .dropbutton-multiple .dropbutton-widget { .js .dropbutton-multiple .dropbutton-widget {
padding-right: 2em; /* LTR */ padding-right: 2em; /* LTR */
} }
.js[dir=rtl] .dropbutton-multiple .dropbutton-widget { .js[dir="rtl"] .dropbutton-multiple .dropbutton-widget {
padding-left: 2em; padding-left: 2em;
padding-right: 0; padding-right: 0;
} }
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
white-space: nowrap; white-space: nowrap;
width: 2em; width: 2em;
} }
[dir=rtl] .dropbutton-toggle { [dir="rtl"] .dropbutton-toggle {
left: 0; left: 0;
right: auto; right: auto;
} }
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
width: 0; width: 0;
overflow: hidden; overflow: hidden;
} }
[dir=rtl] .dropbutton-arrow { [dir="rtl"] .dropbutton-arrow {
left: 0.6667em; left: 0.6667em;
right: auto; right: auto;
} }
......
...@@ -21,14 +21,14 @@ ...@@ -21,14 +21,14 @@
.dropbutton-multiple .dropbutton { .dropbutton-multiple .dropbutton {
border-right: 1px solid #e8e8e8; /* LTR */ border-right: 1px solid #e8e8e8; /* LTR */
} }
[dir=rtl] .dropbutton-multiple .dropbutton { [dir="rtl"] .dropbutton-multiple .dropbutton {
border-left: 1px solid #e8e8e8; border-left: 1px solid #e8e8e8;
border-right: 0 none; border-right: 0 none;
} }
.dropbutton-multiple .dropbutton .dropbutton-action > * { .dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-right: 0.25em; /* LTR */ margin-right: 0.25em; /* LTR */
} }
[dir=rtl] .dropbutton-multiple .dropbutton .dropbutton-action > * { [dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-left: 0.25em; margin-left: 0.25em;
margin-right: 0; margin-right: 0;
} }
...@@ -3,7 +3,7 @@ body { ...@@ -3,7 +3,7 @@ body {
margin: 1em; margin: 1em;
background-color: #fff; background-color: #fff;
} }
[dir=rtl] body { [dir="rtl"] body {
direction: rtl; direction: rtl;
} }
th { th {
...@@ -11,7 +11,7 @@ th { ...@@ -11,7 +11,7 @@ th {
color: #006; color: #006;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
[dir=rtl] th { [dir="rtl"] th {
text-align: right; text-align: right;
} }
tr.odd { tr.odd {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
margin: 1em 0 1em 15em; /* LTR */ margin: 1em 0 1em 15em; /* LTR */
border: 1px solid #ccc; border: 1px solid #ccc;
} }
[dir=rtl] .vertical-tabs { [dir="rtl"] .vertical-tabs {
margin-left: 0; margin-left: 0;
margin-right: 15em; margin-right: 15em;
} }
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
list-style: none; list-style: none;
} }
[dir=rtl] .vertical-tabs-list { [dir="rtl"] .vertical-tabs-list {
float: right; float: right;
margin-left: 0; margin-left: 0;
margin-right: -15em; margin-right: -15em;
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
border-right-width: 0; /* LTR */ border-right-width: 0; /* LTR */
background-color: #fff; background-color: #fff;
} }
[dir=rtl] .vertical-tab-button.selected { [dir="rtl"] .vertical-tab-button.selected {
border-left-width: 0; border-left-width: 0;
border-right-width: 1px; border-right-width: 1px;
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
text-align: left; /* LTR */ text-align: left; /* LTR */
width: 45%; width: 45%;
} }
[dir=rtl] .book-pager .previous { [dir="rtl"] .book-pager .previous {
float: right; float: right;
text-align: right; text-align: right;
} }
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
text-align: right; /* LTR */ text-align: right; /* LTR */
width: 45%; width: 45%;
} }
[dir=rtl] .book-pager .next { [dir="rtl"] .book-pager .next {
float: left; float: left;
text-align: left; text-align: left;
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
clear: left; /* LTR */ clear: left; /* LTR */
float: left; /* LTR */ float: left; /* LTR */
} }
[dir=rtl] .ckeditor-toolbar-active > ul { [dir="rtl"] .ckeditor-toolbar-active > ul {
clear: right; clear: right;
float: right; float: right;
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
.ckeditor-toolbar-dividers { .ckeditor-toolbar-dividers {
float: right; /* LTR */ float: right; /* LTR */
} }
[dir=rtl] .ckeditor-toolbar-dividers { [dir="rtl"] .ckeditor-toolbar-dividers {
float: left; float: left;
} }
.ckeditor-toolbar-disabled ul.ckeditor-buttons { .ckeditor-toolbar-disabled ul.ckeditor-buttons {
...@@ -68,7 +68,7 @@ ul.ckeditor-buttons li { ...@@ -68,7 +68,7 @@ ul.ckeditor-buttons li {
margin: 0; margin: 0;
float: left; /* LTR */ float: left; /* LTR */
} }
[dir=rtl] ul.ckeditor-buttons li { [dir="rtl"] ul.ckeditor-buttons li {
float: right; float: right;
} }
ul.ckeditor-buttons li a { ul.ckeditor-buttons li a {
...@@ -104,7 +104,7 @@ ul.ckeditor-buttons li:first-child a { ...@@ -104,7 +104,7 @@ ul.ckeditor-buttons li:first-child a {
border-top-left-radius: 2px; /* LTR */ border-top-left-radius: 2px; /* LTR */
border-bottom-left-radius: 2px; /* LTR */ border-bottom-left-radius: 2px; /* LTR */
} }
[dir=rtl] ul.ckeditor-buttons li:first-child a { [dir="rtl"] ul.ckeditor-buttons li:first-child a {
border-top-right-radius: 2px; border-top-right-radius: 2px;
border-bottom-right-radius: 2px; border-bottom-right-radius: 2px;
} }
...@@ -112,7 +112,7 @@ ul.ckeditor-buttons li:last-child a { ...@@ -112,7 +112,7 @@ ul.ckeditor-buttons li:last-child a {
border-top-right-radius: 2px; /* LTR */ border-top-right-radius: 2px; /* LTR */
border-bottom-right-radius: 2px; /* LTR */ border-bottom-right-radius: 2px; /* LTR */
} }
[dir=rtl] ul.ckeditor-buttons li:last-child a { [dir="rtl"] ul.ckeditor-buttons li:last-child a {
border-top-left-radius: 2px; border-top-left-radius: 2px;
border-bottom-left-radius: 2px; border-bottom-left-radius: 2px;
} }
...@@ -126,7 +126,7 @@ ul.ckeditor-multiple-buttons { ...@@ -126,7 +126,7 @@ ul.ckeditor-multiple-buttons {
list-style: none; list-style: none;
float: left; /* LTR */ float: left; /* LTR */
} }
[dir=rtl] ul.ckeditor-multiple-buttons { [dir="rtl"] ul.ckeditor-multiple-buttons {
float: right; float: right;
} }
ul.ckeditor-multiple-buttons li { ul.ckeditor-multiple-buttons li {
...@@ -135,7 +135,7 @@ ul.ckeditor-multiple-buttons li { ...@@ -135,7 +135,7 @@ ul.ckeditor-multiple-buttons li {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
[dir=rtl] ul.ckeditor-multiple-buttons li { [dir="rtl"] ul.ckeditor-multiple-buttons li {
float: right; float: right;
} }
ul.ckeditor-multiple-buttons li a { ul.ckeditor-multiple-buttons li a {
...@@ -200,7 +200,7 @@ ul.ckeditor-multiple-buttons li.ckeditor-button-separator a { ...@@ -200,7 +200,7 @@ ul.ckeditor-multiple-buttons li.ckeditor-button-separator a {
width: 40px; width: 40px;
text-align: right; /* LTR */ text-align: right; /* LTR */
} }
[dir=rtl] .ckeditor-row-controls { [dir="rtl"] .ckeditor-row-controls {
float: left; float: left;
text-align: left; text-align: left;
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
top: 0; top: 0;
right: 0; /* LTR */ right: 0; /* LTR */
} }
[dir=rtl] #placeholder { [dir="rtl"] #placeholder {
left: 0; left: 0;
right: auto; right: auto;
} }
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
padding-left: 1em; /* LTR */ padding-left: 1em; /* LTR */
margin: 0.5em 0; margin: 0.5em 0;
} }
[dir=rtl] .color-form .form-item { [dir="rtl"] .color-form .form-item {
padding-left: 0; padding-left: 0;
padding-right: 1em; padding-right: 1em;
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
clear: left; /* LTR */ clear: left; /* LTR */
width: 10em; width: 10em;
} }
[dir=rtl] .color-form label { [dir="rtl"] .color-form label {
float: right; float: right;
clear: right; clear: right;
} }
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
.color-form .form-select { .color-form .form-select {
float: left; /* LTR */ float: left; /* LTR */
} }
[dir=rtl] .color-form .form-text, [dir="rtl"] .color-form .form-text,
[dir=rtl] .color-form .form-select { [dir="rtl"] .color-form .form-select {
float: right; float: right;
} }
.color-form .form-text { .color-form .form-text {
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
margin-right: 5px; /* LTR */ margin-right: 5px; /* LTR */
cursor: pointer; cursor: pointer;
} }
[dir=rtl] .color-form .form-text { [dir="rtl"] .color-form .form-text {
margin-right: 0; margin-right: 0;
margin-left: 5px; margin-left: 5px;
} }
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
[dir=rtl] #palette .hook { [dir="rtl"] #palette .hook {
float: right; float: right;
} }
#palette .down, #palette .down,
...@@ -69,21 +69,21 @@ ...@@ -69,21 +69,21 @@
#palette .both { #palette .both {
background: url(../images/hook.png) no-repeat 100% 0; /* LTR */ background: url(../images/hook.png) no-repeat 100% 0; /* LTR */
} }
[dir=rtl] #palette .down, [dir="rtl"] #palette .down,
[dir=rtl] #palette .up, [dir="rtl"] #palette .up,
[dir=rtl] #palette .both { [dir="rtl"] #palette .both {
background: url(images/hook-rtl.png) no-repeat 0 0; background: url(images/hook-rtl.png) no-repeat 0 0;
} }
#palette .up { #palette .up {
background-position: 100% -27px; /* LTR */ background-position: 100% -27px; /* LTR */
} }
[dir=rtl] #palette .up { [dir="rtl"] #palette .up {
background-position: 0 -27px; background-position: 0 -27px;
} }
#palette .both { #palette .both {
background-position: 100% -54px; /* LTR */ background-position: 100% -54px; /* LTR */
} }
[dir=rtl] #palette .both { [dir="rtl"] #palette .both {
background-position: 0 -54px; background-position: 0 -54px;
} }
#palette .lock { #palette .lock {
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
background: url(../images/lock.png) no-repeat 50% 2px; background: url(../images/lock.png) no-repeat 50% 2px;
cursor: pointer; cursor: pointer;
} }
[dir=rtl] #palette .lock { [dir="rtl"] #palette .lock {
float: right; float: right;
right: -10px; right: -10px;
} }
...@@ -119,6 +119,6 @@ ...@@ -119,6 +119,6 @@
position: relative; position: relative;
float: left; /* LTR */ float: left; /* LTR */
} }
.js[dir=rtl] #preview { .js[dir="rtl"] #preview {
float: right; float: right;
} }
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
.indented { .indented {
margin-left: 25px; /* LTR */ margin-left: 25px; /* LTR */
} }
[dir=rtl] .indented { [dir="rtl"] .indented {
margin-left: 0; margin-left: 0;
margin-right: 25px; margin-right: 25px;
} }
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
top: 2px; top: 2px;
z-index: 500; z-index: 500;
} }
[dir=rtl] .contextual { [dir="rtl"] .contextual {
left: 0; left: 0;
right: auto; right: auto;
} }
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
text-indent: -9999px; text-indent: -9999px;
cursor: pointer; cursor: pointer;
} }
[dir=rtl] .contextual .trigger { [dir="rtl"] .contextual .trigger {
float: left; float: left;
right: auto; right: auto;
left: 2px; left: 2px;
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
top: -1px; top: -1px;
white-space: nowrap; white-space: nowrap;
} }
[dir=rtl] .contextual-region .contextual .contextual-links { [dir="rtl"] .contextual-region .contextual .contextual-links {
border-radius: 0 4px 4px 4px; border-radius: 0 4px 4px 4px;
float: left; float: left;
left: 2px; left: 2px;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
.js .toolbar .bar .contextual-toolbar-tab.tab { .js .toolbar .bar .contextual-toolbar-tab.tab {
float: right; /* LTR */ float: right; /* LTR */
} }
.js[dir=rtl] .toolbar .bar .contextual-toolbar-tab.tab { .js[dir="rtl"] .toolbar .bar .contextual-toolbar-tab.tab {
float: left; float: left;
} }
.js .toolbar .bar .contextual-toolbar-tab button { .js .toolbar .bar .contextual-toolbar-tab button {
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
text-indent: -9999px; text-indent: -9999px;
line-height: 1em; line-height: 1em;
} }
.js[dir=rtl] .toolbar .bar .contextual-toolbar-tab button { .js[dir="rtl"] .toolbar .bar .contextual-toolbar-tab button {
padding-right: 1.3333em; padding-right: 1.3333em;
} }
.js .toolbar .bar .contextual-toolbar-tab button.active { .js .toolbar .bar .contextual-toolbar-tab button.active {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
margin: .1em .9em .1em .1em; /* LTR */ margin: .1em .9em .1em .1em; /* LTR */
max-width: 30%; max-width: 30%;
} }
[dir=rtl] .dblog-filter-form .form-item-type, [dir="rtl"] .dblog-filter-form .form-item-type,
[dir=rtl] .dblog-filter-form .form-item-severity { [dir="rtl"] .dblog-filter-form .form-item-severity {
margin: .1em .1em .1em .9em; margin: .1em .1em .1em .9em;
} }
.dblog-filter-form .form-actions { .dblog-filter-form .form-actions {
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
.entity_reference-settings { .entity_reference-settings {
margin-left: 1.5em; /* LTR */ margin-left: 1.5em; /* LTR */
} }
[dir=rtl] .entity_reference-settings { [dir="rtl"] .entity_reference-settings {
margin-right: 1.5em; margin-right: 1.5em;
} }
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
.field-label-inline .field-items { .field-label-inline .field-items {
float:left; /*LTR*/ float:left; /*LTR*/
} }
[dir=rtl] .field-label-inline .field-label, [dir="rtl"] .field-label-inline .field-label,
[dir=rtl] .field-label-inline .field-items { [dir="rtl"] .field-label-inline .field-items {
float: right; float: right;
} }
...@@ -23,13 +23,13 @@ form .field-multiple-table .field-multiple-drag { ...@@ -23,13 +23,13 @@ form .field-multiple-table .field-multiple-drag {
width: 30px; width: 30px;
padding-right: 0; /*LTR*/ padding-right: 0; /*LTR*/
} }
[dir=rtl] form .field-multiple-table .field-multiple-drag { [dir="rtl"] form .field-multiple-table .field-multiple-drag {
padding-left: 0; padding-left: 0;
} }
form .field-multiple-table .field-multiple-drag .tabledrag-handle { form .field-multiple-table .field-multiple-drag .tabledrag-handle {
padding-right: .5em; /*LTR*/ padding-right: .5em; /*LTR*/
} }
[dir=rtl] form .field-multiple-table .field-multiple-drag .tabledrag-handle { [dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
padding-left: .5em; padding-left: .5em;
} }
form .field-add-more-submit { form .field-add-more-submit {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.field-ui-overview .add-new .label-input { .field-ui-overview .add-new .label-input {
float: left; /* LTR */ float: left; /* LTR */
} }
[dir=rtl] .field-ui-overview .add-new .label-input { [dir="rtl"] .field-ui-overview .add-new .label-input {
float: right; float: right;
} }
.field-ui-overview .add-new .tabledrag-changed { .field-ui-overview .add-new .tabledrag-changed {
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
.filter-help { .filter-help {
float: right; /* LTR */ float: right; /* LTR */
} }
[dir=rtl] .filter-help { [dir="rtl"] .filter-help {
float: left; float: left;
} }
.filter-help p { .filter-help p {
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
background: transparent url(../../../misc/help.png) right center no-repeat; /* LTR */ background: transparent url(../../../misc/help.png) right center no-repeat; /* LTR */
padding: 0 20px 0 0; /* LTR */ padding: 0 20px 0 0; /* LTR */
} }
[dir=rtl] .filter-help a { [dir="rtl"] .filter-help a {
background-position: left center; background-position: left center;
padding: 0 0 0 20px; padding: 0 0 0 20px;
} }
...@@ -59,6 +59,6 @@ ...@@ -59,6 +59,6 @@
.tips { .tips {
padding-left: 0; /* LTR */ padding-left: 0; /* LTR */
} }
[dir=rtl] .tips { [dir="rtl"] .tips {
padding-right: 0; padding-right: 0;
} }
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
float: left; /* LTR */ float: left; /* LTR */
margin-left: 0; /* LTR */ margin-left: 0; /* LTR */
} }
[dir=rtl] .caption-left { [dir="rtl"] .caption-left {
float: right; float: right;
margin-left: auto; margin-left: auto;
margin-right: 0; margin-right: 0;
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
float: right; /* LTR */ float: right; /* LTR */
margin-right: 0; /* LTR */ margin-right: 0; /* LTR */
} }
[dir=rtl] .caption-right { [dir="rtl"] .caption-right {
float: left; float: left;
margin-left: 0; margin-left: 0;
margin-right: auto; margin-right: auto;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
margin: 0 9px 0 0; /* LTR */ margin: 0 9px 0 0; /* LTR */
width: 24px; width: 24px;
} }
[dir=rtl] #forum .icon { [dir="rtl"] #forum .icon {
float: right; float: right;
margin: 0 0 0 9px; margin: 0 0 0 9px;
} }
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#forum div.indent { #forum div.indent {
margin-left: 20px; /* LTR */ margin-left: 20px; /* LTR */
} }
[dir=rtl] #forum div.indent { [dir="rtl"] #forum div.indent {
margin-left: 0; margin-left: 0;
margin-right: 20px; margin-right: 20px;
} }
...@@ -54,14 +54,14 @@ ...@@ -54,14 +54,14 @@
background-position: -120px 0; background-position: -120px 0;
} }
[dir=rtl] .forum-topic-navigation { [dir="rtl"] .forum-topic-navigation {
padding: 1em 3em 0 0; padding: 1em 3em 0 0;
} }
[dir=rtl] .forum-topic-navigation .topic-previous { [dir="rtl"] .forum-topic-navigation .topic-previous {
text-align: left; text-align: left;
float: right; float: right;
} }
[dir=rtl] .forum-topic-navigation .topic-next { [dir="rtl"] .forum-topic-navigation .topic-next {
text-align: right; text-align: right;
float: left; float: left;
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
width: 22%; width: 22%;
margin-right: 3%; /* LTR */ margin-right: 3%; /* LTR */
} }
[dir=rtl] .help-items { [dir="rtl"] .help-items {
float: right; float: right;
margin-right: 0; margin-right: 0;
margin-left: 3%; margin-left: 3%;
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
.help-items-last { .help-items-last {
margin-right: 0; /* LTR */ margin-right: 0; /* LTR */
} }
[dir=rtl] .help-items-last { [dir="rtl"] .help-items-last {
margin-right: 0; margin-right: 0;
margin-left: 0;