Newer
Older
/**
* @file
Angie Byron
committed
* Styles for Configuration Translation.
*/
/**
* Hide the label, in an accessible way, for responsive screens which show the
* form in one column.
*/
.config-translation-form .translation-element-wrapper .translation label {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
width: 1px;
}
/**
* For wider screens, show the label and display source and translation side by
* side.
*/
@media all and (min-width: 851px) {
.config-translation-form .translation-element-wrapper .source {
width: 48%;
float: left; /* LTR */
}
[dir="rtl"] .config-translation-form .translation-element-wrapper .source {
float: right;
}
.config-translation-form .translation-element-wrapper .translation {
width: 48%;
float: right; /* LTR */
}
[dir="rtl"] .config-translation-form .translation-element-wrapper .translation {
float: left;