drupal/core/modules/system/system.theme-rtl.css

116 lines
1.9 KiB
CSS

/**
* @file
* RTL styles for common markup.
*/
/**
* HTML elements.
*/
th {
text-align: right;
padding-left: 1em;
padding-right: 0;
}
caption {
text-align: right;
}
/**
* Markup generated by theme_item_list().
*/
.item-list ul li {
margin: 0 1.5em 0.25em 0;
}
/**
* Markup generated by theme_more_link().
*/
.more-link {
text-align: left;
}
/**
* Markup generated by theme_more_help_link().
*/
.more-help-link {
text-align: left;
}
.more-help-link a {
background-position: 100% 50%;
padding: 1px 20px 1px 0;
}
/**
* Collapsible details.
*/
.collapse-processed > summary:before {
background-position: 100% 100%;
float: right;
}
.collapse-processed:not([open]) > summary:before {
background-position: 75% 35%;
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
/**
* RTL styles for menus and navigation markup.
*/
ul.menu {
margin-left: 0;
margin-right: 1em;
text-align: right;
}
.menu .collapsed {
list-style-image: url(../../misc/menu-collapsed-rtl.png);
}
/**
* Markup generated by theme_menu_local_tasks().
*/
.tabs > li {
margin-left: 0.3em;
margin-right: 0;
}
/**
* RTL Styles for link buttons and action links.
*/
.action-links li:first-child {
margin-left: 0.3em;
margin-right: 0;
}
.button-action:before {
margin-left: 0;
margin-right: -0.1em;
padding-left: 0.2em;
padding-right: 0;
}
/**
* RTL Styles for system messages.
*/
.messages {
border-width: 1px 8px 1px 1px;
background-position-x: 99%;
padding-left: 20px;
padding-right: 35px;
text-align: right;
}
.messages--status {
background-position: 99.3% 19px;
border-color: #c9e1bd #77b259 #c9e1bd #c9e1bd;
}
.messages--warning {
border-color: #f4daa6 #e09600 #f4daa6 #f4daa6;
}
.messages--error {
border-color: #f9c9bf #e62600 #f9c9bf #f9c9bf;
}