Commit b48f8fda authored by alexpott's avatar alexpott

Issue #2030925 by echoz: Quote rtl attribute selector.

parent 37e0bf87
......@@ -66,7 +66,7 @@
.js .dropbutton-multiple .dropbutton-widget {
padding-right: 2em; /* LTR */
}
.js[dir=rtl] .dropbutton-multiple .dropbutton-widget {
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget {
padding-left: 2em;
padding-right: 0;
}
......@@ -93,7 +93,7 @@
white-space: nowrap;
width: 2em;
}
[dir=rtl] .dropbutton-toggle {
[dir="rtl"] .dropbutton-toggle {
left: 0;
right: auto;
}
......@@ -123,7 +123,7 @@
width: 0;
overflow: hidden;
}
[dir=rtl] .dropbutton-arrow {
[dir="rtl"] .dropbutton-arrow {
left: 0.6667em;
right: auto;
}
......
......@@ -21,14 +21,14 @@
.dropbutton-multiple .dropbutton {
border-right: 1px solid #e8e8e8; /* LTR */
}
[dir=rtl] .dropbutton-multiple .dropbutton {
[dir="rtl"] .dropbutton-multiple .dropbutton {
border-left: 1px solid #e8e8e8;
border-right: 0 none;
}
.dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-right: 0.25em; /* LTR */
}
[dir=rtl] .dropbutton-multiple .dropbutton .dropbutton-action > * {
[dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-left: 0.25em;
margin-right: 0;
}
......@@ -3,7 +3,7 @@ body {
margin: 1em;
background-color: #fff;
}
[dir=rtl] body {
[dir="rtl"] body {
direction: rtl;
}
th {
......@@ -11,7 +11,7 @@ th {
color: #006;
border-bottom: 1px solid #ccc;
}
[dir=rtl] th {
[dir="rtl"] th {
text-align: right;
}
tr.odd {
......
......@@ -3,7 +3,7 @@
margin: 1em 0 1em 15em; /* LTR */
border: 1px solid #ccc;
}
[dir=rtl] .vertical-tabs {
[dir="rtl"] .vertical-tabs {
margin-left: 0;
margin-right: 15em;
}
......@@ -15,7 +15,7 @@
border-top: 1px solid #ccc;
list-style: none;
}
[dir=rtl] .vertical-tabs-list {
[dir="rtl"] .vertical-tabs-list {
float: right;
margin-left: 0;
margin-right: -15em;
......@@ -53,7 +53,7 @@
border-right-width: 0; /* LTR */
background-color: #fff;
}
[dir=rtl] .vertical-tab-button.selected {
[dir="rtl"] .vertical-tab-button.selected {
border-left-width: 0;
border-right-width: 1px;
}
......
......@@ -24,7 +24,7 @@
text-align: left; /* LTR */
width: 45%;
}
[dir=rtl] .book-pager .previous {
[dir="rtl"] .book-pager .previous {
float: right;
text-align: right;
}
......@@ -37,7 +37,7 @@
text-align: right; /* LTR */
width: 45%;
}
[dir=rtl] .book-pager .next {
[dir="rtl"] .book-pager .next {
float: left;
text-align: left;
}
......@@ -24,7 +24,7 @@
clear: left; /* LTR */
float: left; /* LTR */
}
[dir=rtl] .ckeditor-toolbar-active > ul {
[dir="rtl"] .ckeditor-toolbar-active > ul {
clear: right;
float: right;
}
......@@ -34,7 +34,7 @@
.ckeditor-toolbar-dividers {
float: right; /* LTR */
}
[dir=rtl] .ckeditor-toolbar-dividers {
[dir="rtl"] .ckeditor-toolbar-dividers {
float: left;
}
.ckeditor-toolbar-disabled ul.ckeditor-buttons {
......@@ -68,7 +68,7 @@ ul.ckeditor-buttons li {
margin: 0;
float: left; /* LTR */
}
[dir=rtl] ul.ckeditor-buttons li {
[dir="rtl"] ul.ckeditor-buttons li {
float: right;
}
ul.ckeditor-buttons li a {
......@@ -104,7 +104,7 @@ ul.ckeditor-buttons li:first-child a {
border-top-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-bottom-right-radius: 2px;
}
......@@ -112,7 +112,7 @@ ul.ckeditor-buttons li:last-child a {
border-top-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-bottom-left-radius: 2px;
}
......@@ -126,7 +126,7 @@ ul.ckeditor-multiple-buttons {
list-style: none;
float: left; /* LTR */
}
[dir=rtl] ul.ckeditor-multiple-buttons {
[dir="rtl"] ul.ckeditor-multiple-buttons {
float: right;
}
ul.ckeditor-multiple-buttons li {
......@@ -135,7 +135,7 @@ ul.ckeditor-multiple-buttons li {
margin: 0;
padding: 0;
}
[dir=rtl] ul.ckeditor-multiple-buttons li {
[dir="rtl"] ul.ckeditor-multiple-buttons li {
float: right;
}
ul.ckeditor-multiple-buttons li a {
......@@ -200,7 +200,7 @@ ul.ckeditor-multiple-buttons li.ckeditor-button-separator a {
width: 40px;
text-align: right; /* LTR */
}
[dir=rtl] .ckeditor-row-controls {
[dir="rtl"] .ckeditor-row-controls {
float: left;
text-align: left;
}
......
......@@ -13,7 +13,7 @@
top: 0;
right: 0; /* LTR */
}
[dir=rtl] #placeholder {
[dir="rtl"] #placeholder {
left: 0;
right: auto;
}
......@@ -25,7 +25,7 @@
padding-left: 1em; /* LTR */
margin: 0.5em 0;
}
[dir=rtl] .color-form .form-item {
[dir="rtl"] .color-form .form-item {
padding-left: 0;
padding-right: 1em;
}
......@@ -34,7 +34,7 @@
clear: left; /* LTR */
width: 10em;
}
[dir=rtl] .color-form label {
[dir="rtl"] .color-form label {
float: right;
clear: right;
}
......@@ -42,8 +42,8 @@
.color-form .form-select {
float: left; /* LTR */
}
[dir=rtl] .color-form .form-text,
[dir=rtl] .color-form .form-select {
[dir="rtl"] .color-form .form-text,
[dir="rtl"] .color-form .form-select {
float: right;
}
.color-form .form-text {
......@@ -51,7 +51,7 @@
margin-right: 5px; /* LTR */
cursor: pointer;
}
[dir=rtl] .color-form .form-text {
[dir="rtl"] .color-form .form-text {
margin-right: 0;
margin-left: 5px;
}
......@@ -61,7 +61,7 @@
width: 16px;
height: 16px;
}
[dir=rtl] #palette .hook {
[dir="rtl"] #palette .hook {
float: right;
}
#palette .down,
......@@ -69,21 +69,21 @@
#palette .both {
background: url(../images/hook.png) no-repeat 100% 0; /* LTR */
}
[dir=rtl] #palette .down,
[dir=rtl] #palette .up,
[dir=rtl] #palette .both {
[dir="rtl"] #palette .down,
[dir="rtl"] #palette .up,
[dir="rtl"] #palette .both {
background: url(images/hook-rtl.png) no-repeat 0 0;
}
#palette .up {
background-position: 100% -27px; /* LTR */
}
[dir=rtl] #palette .up {
[dir="rtl"] #palette .up {
background-position: 0 -27px;
}
#palette .both {
background-position: 100% -54px; /* LTR */
}
[dir=rtl] #palette .both {
[dir="rtl"] #palette .both {
background-position: 0 -54px;
}
#palette .lock {
......@@ -96,7 +96,7 @@
background: url(../images/lock.png) no-repeat 50% 2px;
cursor: pointer;
}
[dir=rtl] #palette .lock {
[dir="rtl"] #palette .lock {
float: right;
right: -10px;
}
......@@ -119,6 +119,6 @@
position: relative;
float: left; /* LTR */
}
.js[dir=rtl] #preview {
.js[dir="rtl"] #preview {
float: right;
}
......@@ -10,7 +10,7 @@
.indented {
margin-left: 25px; /* LTR */
}
[dir=rtl] .indented {
[dir="rtl"] .indented {
margin-left: 0;
margin-right: 25px;
}
......@@ -12,7 +12,7 @@
top: 2px;
z-index: 500;
}
[dir=rtl] .contextual {
[dir="rtl"] .contextual {
left: 0;
right: auto;
}
......@@ -51,7 +51,7 @@
text-indent: -9999px;
cursor: pointer;
}
[dir=rtl] .contextual .trigger {
[dir="rtl"] .contextual .trigger {
float: left;
right: auto;
left: 2px;
......@@ -82,7 +82,7 @@
top: -1px;
white-space: nowrap;
}
[dir=rtl] .contextual-region .contextual .contextual-links {
[dir="rtl"] .contextual-region .contextual .contextual-links {
border-radius: 0 4px 4px 4px;
float: left;
left: 2px;
......
......@@ -16,7 +16,7 @@
.js .toolbar .bar .contextual-toolbar-tab.tab {
float: right; /* LTR */
}
.js[dir=rtl] .toolbar .bar .contextual-toolbar-tab.tab {
.js[dir="rtl"] .toolbar .bar .contextual-toolbar-tab.tab {
float: left;
}
.js .toolbar .bar .contextual-toolbar-tab button {
......@@ -27,7 +27,7 @@
text-indent: -9999px;
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;
}
.js .toolbar .bar .contextual-toolbar-tab button.active {
......
......@@ -8,8 +8,8 @@
margin: .1em .9em .1em .1em; /* LTR */
max-width: 30%;
}
[dir=rtl] .dblog-filter-form .form-item-type,
[dir=rtl] .dblog-filter-form .form-item-severity {
[dir="rtl"] .dblog-filter-form .form-item-type,
[dir="rtl"] .dblog-filter-form .form-item-severity {
margin: .1em .1em .1em .9em;
}
.dblog-filter-form .form-actions {
......
......@@ -2,6 +2,6 @@
.entity_reference-settings {
margin-left: 1.5em; /* LTR */
}
[dir=rtl] .entity_reference-settings {
[dir="rtl"] .entity_reference-settings {
margin-right: 1.5em;
}
......@@ -7,8 +7,8 @@
.field-label-inline .field-items {
float:left; /*LTR*/
}
[dir=rtl] .field-label-inline .field-label,
[dir=rtl] .field-label-inline .field-items {
[dir="rtl"] .field-label-inline .field-label,
[dir="rtl"] .field-label-inline .field-items {
float: right;
}
......@@ -23,13 +23,13 @@ form .field-multiple-table .field-multiple-drag {
width: 30px;
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;
}
form .field-multiple-table .field-multiple-drag .tabledrag-handle {
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;
}
form .field-add-more-submit {
......
......@@ -7,7 +7,7 @@
.field-ui-overview .add-new .label-input {
float: left; /* LTR */
}
[dir=rtl] .field-ui-overview .add-new .label-input {
[dir="rtl"] .field-ui-overview .add-new .label-input {
float: right;
}
.field-ui-overview .add-new .tabledrag-changed {
......
......@@ -27,7 +27,7 @@
.filter-help {
float: right; /* LTR */
}
[dir=rtl] .filter-help {
[dir="rtl"] .filter-help {
float: left;
}
.filter-help p {
......@@ -37,7 +37,7 @@
background: transparent url(../../../misc/help.png) right center no-repeat; /* LTR */
padding: 0 20px 0 0; /* LTR */
}
[dir=rtl] .filter-help a {
[dir="rtl"] .filter-help a {
background-position: left center;
padding: 0 0 0 20px;
}
......@@ -59,6 +59,6 @@
.tips {
padding-left: 0; /* LTR */
}
[dir=rtl] .tips {
[dir="rtl"] .tips {
padding-right: 0;
}
......@@ -26,7 +26,7 @@
float: left; /* LTR */
margin-left: 0; /* LTR */
}
[dir=rtl] .caption-left {
[dir="rtl"] .caption-left {
float: right;
margin-left: auto;
margin-right: 0;
......@@ -35,7 +35,7 @@
float: right; /* LTR */
margin-right: 0; /* LTR */
}
[dir=rtl] .caption-right {
[dir="rtl"] .caption-right {
float: left;
margin-left: 0;
margin-right: auto;
......
......@@ -23,7 +23,7 @@
margin: 0 9px 0 0; /* LTR */
width: 24px;
}
[dir=rtl] #forum .icon {
[dir="rtl"] #forum .icon {
float: right;
margin: 0 0 0 9px;
}
......@@ -33,7 +33,7 @@
#forum div.indent {
margin-left: 20px; /* LTR */
}
[dir=rtl] #forum div.indent {
[dir="rtl"] #forum div.indent {
margin-left: 0;
margin-right: 20px;
}
......@@ -54,14 +54,14 @@
background-position: -120px 0;
}
[dir=rtl] .forum-topic-navigation {
[dir="rtl"] .forum-topic-navigation {
padding: 1em 3em 0 0;
}
[dir=rtl] .forum-topic-navigation .topic-previous {
[dir="rtl"] .forum-topic-navigation .topic-previous {
text-align: left;
float: right;
}
[dir=rtl] .forum-topic-navigation .topic-next {
[dir="rtl"] .forum-topic-navigation .topic-next {
text-align: right;
float: left;
}
......@@ -4,7 +4,7 @@
width: 22%;
margin-right: 3%; /* LTR */
}
[dir=rtl] .help-items {
[dir="rtl"] .help-items {
float: right;
margin-right: 0;
margin-left: 3%;
......@@ -12,7 +12,7 @@
.help-items-last {
margin-right: 0; /* LTR */
}
[dir=rtl] .help-items-last {
[dir="rtl"] .help-items-last {
margin-right: 0;
margin-left: 0;
}
......
......@@ -6,14 +6,14 @@
float: left; /* LTR */
padding: 0 10px 10px 0; /* LTR */
}
[dir=rtl] .image-preview {
[dir="rtl"] .image-preview {
float: right;
padding: 0 0 10px 10px;
}
.image-widget-data {
float: left; /* LTR */
}
[dir=rtl] .image-widget-data {
[dir="rtl"] .image-widget-data {
float: right;
}
.image-widget-data .text-field {
......
......@@ -4,7 +4,7 @@
float: left; /* LTR */
width: 50%;
}
[dir=rtl] .layout-two-col .layout-region {
[dir="rtl"] .layout-two-col .layout-region {
float: right;
}
}
......@@ -14,9 +14,9 @@
*/
width: 15em;
}
[dir=rtl] .locale-translate-filter-form .form-item-langcode,
[dir=rtl] .locale-translate-filter-form .form-item-translation,
[dir=rtl] .locale-translate-filter-form .form-item-customized {
[dir="rtl"] .locale-translate-filter-form .form-item-langcode,
[dir="rtl"] .locale-translate-filter-form .form-item-translation,
[dir="rtl"] .locale-translate-filter-form .form-item-customized {
float: right;
margin-left: 1em;
margin-right: 0;
......@@ -28,7 +28,7 @@
float: left; /* LTR */
padding: 3.8ex 0 0 0; /* LTR */
}
[dir=rtl] .locale-translate-filter-form .form-actions {
[dir="rtl"] .locale-translate-filter-form .form-actions {
float: right;
padding: 3.5ex 0 0 0;
}
......
......@@ -3,7 +3,7 @@
* Basic styling for the Overlay child pages.
*/
html[dir=rtl] {
html[dir="rtl"] {
direction: rtl;
}
......@@ -53,7 +53,7 @@ html[dir=rtl] {
margin: 0;
padding: 0.3em 0;
}
[dir=rtl] #overlay-title {
[dir="rtl"] #overlay-title {
float: right;
left: auto;
}
......@@ -69,7 +69,7 @@ html[dir=rtl] {
position: absolute;
right: 0; /* LTR */
}
[dir=rtl] #overlay-close-wrapper {
[dir="rtl"] #overlay-close-wrapper {
left: 0;
right: auto;
}
......@@ -85,8 +85,8 @@ html[dir=rtl] {
position: absolute;
width: 26px;
}
[dir=rtl] #overlay-close,
[dir=rtl] #overlay-close:hover {
[dir="rtl"] #overlay-close,
[dir="rtl"] #overlay-close:hover {
border-radius: 12px 0 0 12px;
}
......@@ -100,7 +100,7 @@ html[dir=rtl] {
right: 20px; /* LTR */
text-transform: uppercase;
}
[dir=rtl] #overlay-tabs {
[dir="rtl"] #overlay-tabs {
left: 20px;
right: auto;
}
......
......@@ -16,8 +16,8 @@
float: left; /* LTR */
padding-top: 2px;
}
[dir=rtl] .add-or-remove-shortcuts .icon,
[dir=rtl] .add-or-remove-shortcuts .text {
[dir="rtl"] .add-or-remove-shortcuts .icon,
[dir="rtl"] .add-or-remove-shortcuts .text {
float: right;
}
.add-or-remove-shortcuts a:focus .text,
......
......@@ -26,7 +26,7 @@
.toolbar .horizontal .edit-shortcuts {
float: left; /* LTR */
}
[dir=rtl] .toolbar .horizontal .edit-shortcuts {
[dir="rtl"] .toolbar .horizontal .edit-shortcuts {
border-left: 0 none;
border-right: 1px solid #d9d9d9;
float: right;
......@@ -47,23 +47,23 @@
text-indent: 12px;
width: 12px;
}
[dir=rtl] .add-or-remove-shortcuts .icon {
[dir="rtl"] .add-or-remove-shortcuts .icon {
margin-left: 0;
margin-right: 8px;
}
[dir=rtl] .add-or-remove-shortcuts .text {
[dir="rtl"] .add-or-remove-shortcuts .text {
padding: 0 10px 0 6px;
}
[dir=rtl] .add-or-remove-shortcuts a:focus .text,
[dir=rtl] .add-or-remove-shortcuts a:hover .text {
[dir="rtl"] .add-or-remove-shortcuts a:focus .text,
[dir="rtl"] .add-or-remove-shortcuts a:hover .text {
border-radius: 5px 0 0 5px;
}
.add-shortcut a:focus .icon,
.add-shortcut a:hover .icon {
background-position: 0 -12px; /* LTR */
}
[dir=rtl] .add-shortcut a:focus .icon,
[dir=rtl] .add-shortcut a:hover .icon {
[dir="rtl"] .add-shortcut a:focus .icon,
[dir="rtl"] .add-shortcut a:hover .icon {
background-position: 0 -24px;
}
.remove-shortcut .icon {
......@@ -74,7 +74,7 @@
.remove-shortcut a:hover .icon {
background-position: -12px -12px; /* LTR */
}
[dir=rtl] .remove-shortcut a:focus .icon,
[dir=rtl] .remove-shortcut a:hover .icon {
[dir="rtl"] .remove-shortcut a:focus .icon,
[dir="rtl"] .remove-shortcut a:hover .icon {
background-position: -12px -24px;
}
......@@ -17,7 +17,7 @@ div.admin-panel .description {
div.admin-panel .body {
padding: 0 4px 2px 8px; /* LTR */
}
[dir=rtl] div.admin-panel .body {
[dir="rtl"] div.admin-panel .body {
padding: 0 8px 2px 4px;
}
div.admin {
......@@ -29,7 +29,7 @@ div.admin {
width: 47%;
margin-left: 1em; /* LTR */
}
[dir=rtl] div.admin .left {
[dir="rtl"] div.admin .left {
float: right;
margin-left: 0;
margin-right: 1em;
......@@ -39,7 +39,7 @@ div.admin {
width: 47%;
margin-right: 1em; /* LTR */
}
[dir=rtl] div.admin .right {
[dir="rtl"] div.admin .right {
float: left;
margin-left: 1em;
margin-right: 0;
......@@ -50,7 +50,7 @@ div.admin .expert-link {
margin-right: 1em; /* LTR */
padding-right: 4px; /* LTR */
}
[dir=rtl] div.admin .expert-link {
[dir="rtl"] div.admin .expert-link {
margin-right: 0;
margin-left: 1em;
padding-right: 0;
......@@ -197,7 +197,7 @@ table.system-status-report td.status-icon {
width: 16px;
padding-right: 0; /* LTR */
}
[dir=rtl] table.system-status-report td.status-icon {
[dir="rtl"] table.system-status-report td.status-icon {
padding-left: 0;
padding-right: 6px;
}
......@@ -290,8 +290,8 @@ table.system-status-report .status-title {
margin: 0 20px 0 0; /* LTR */
width: 294px;
}
[dir=rtl] body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
[dir=rtl] body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
[dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-enabled .screenshot,
[dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-enabled .no-screenshot {
float: right;
margin: 0 0 0 20px;
}
......@@ -306,7 +306,7 @@ table.system-status-report .status-title {
float: left; /* LTR */
padding: 20px 20px 20px 0; /* LTR */
}
[dir=rtl] body:not(.toolbar-vertical) .system-themes-list-disabled .theme-selector {
[dir="rtl"] body:not(.toolbar-vertical) .system-themes-list-disabled .theme-selector {
float: right;
padding: 20px 0 20px 20px;
}
......@@ -336,8 +336,8 @@ table.system-status-report .status-title {
margin: 0 20px 0 0; /* LTR */
width: 294px;
}
[dir=rtl] .toolbar-vertical .system-themes-list-enabled .screenshot,
[dir=rtl] .toolbar-vertical .system-themes-list-enabled .no-screenshot {
[dir="rtl"] .toolbar-vertical .system-themes-list-enabled .screenshot,
[dir="rtl"] .toolbar-vertical .system-themes-list-enabled .no-screenshot {
float: right;
margin: 0 0 0 20px;
}
......@@ -352,7 +352,7 @@ table.system-status-report .status-title {
float: left; /* LTR */
padding: 20px 20px 20px 0; /* LTR */
}
[dir=rtl] .toolbar-vertical .system-themes-list-disabled .theme-selector {
[dir="rtl"] .toolbar-vertical .system-themes-list-disabled .theme-selector {
float: right;
padding: 20px 0 20px 20px;
}
......@@ -390,7 +390,7 @@ table.system-status-report .status-title {
list-style-type: none;
border-right: 1px solid #cdcdcd; /* LTR */