1
0
Fork 0
IdreXyz/static/admin/css/rtl.css

265 lines
3.6 KiB
CSS
Raw Normal View History

2015-03-14 22:38:12 +01:00
body {
direction: rtl;
}
/* LOGIN */
.login .form-row {
float: right;
}
.login .form-row label {
float: right;
padding-left: 0.5em;
padding-right: 0;
text-align: left;
}
.login .submit-row {
clear: both;
padding: 1em 9.4em 0 0;
}
/* GLOBAL */
th {
text-align: right;
}
.module h2, .module caption {
text-align: right;
}
2017-08-17 19:13:36 +02:00
.module ul, .module ol {
margin-left: 0;
margin-right: 1.5em;
}
2015-03-14 22:38:12 +01:00
.addlink, .changelink {
2017-08-17 19:13:36 +02:00
padding-left: 0;
padding-right: 16px;
background-position: 100% 1px;
2015-03-14 22:38:12 +01:00
}
.deletelink {
2017-08-17 19:13:36 +02:00
padding-left: 0;
padding-right: 16px;
background-position: 100% 1px;
2015-03-14 22:38:12 +01:00
}
.object-tools {
float: left;
}
thead th:first-child,
tfoot td:first-child {
2017-08-17 19:13:36 +02:00
border-left: none;
2015-03-14 22:38:12 +01:00
}
/* LAYOUT */
#user-tools {
right: auto;
left: 0;
text-align: left;
}
div.breadcrumbs {
text-align: right;
}
#content-main {
float: right;
}
#content-related {
float: left;
2017-08-17 19:13:36 +02:00
margin-left: -300px;
2015-03-14 22:38:12 +01:00
margin-right: auto;
}
.colMS {
2017-08-17 19:13:36 +02:00
margin-left: 300px;
margin-right: 0;
2015-03-14 22:38:12 +01:00
}
/* SORTABLE TABLES */
table thead th.sorted .sortoptions {
float: left;
}
thead th.sorted .text {
2017-08-17 19:13:36 +02:00
padding-right: 0;
padding-left: 42px;
2015-03-14 22:38:12 +01:00
}
/* dashboard styles */
.dashboard .module table td a {
padding-left: .6em;
2017-08-17 19:13:36 +02:00
padding-right: 16px;
2015-03-14 22:38:12 +01:00
}
/* changelists styles */
.change-list .filtered table {
2017-08-17 19:13:36 +02:00
border-left: none;
2015-03-14 22:38:12 +01:00
border-right: 0px none;
}
#changelist-filter {
right: auto;
left: 0;
2017-08-17 19:13:36 +02:00
border-left: none;
border-right: none;
2015-03-14 22:38:12 +01:00
}
.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
2017-08-17 19:13:36 +02:00
margin-right: 0;
margin-left: 280px;
2015-03-14 22:38:12 +01:00
}
#changelist-filter li.selected {
2017-08-17 19:13:36 +02:00
border-left: none;
padding-left: 10px;
2015-03-14 22:38:12 +01:00
margin-left: 0;
2017-08-17 19:13:36 +02:00
border-right: 5px solid #eaeaea;
padding-right: 10px;
margin-right: -15px;
2015-03-14 22:38:12 +01:00
}
.filtered .actions {
2017-08-17 19:13:36 +02:00
margin-left: 280px;
margin-right: 0;
2015-03-14 22:38:12 +01:00
}
#changelist table tbody td:first-child, #changelist table tbody th:first-child {
2017-08-17 19:13:36 +02:00
border-right: none;
border-left: none;
2015-03-14 22:38:12 +01:00
}
/* FORMS */
.aligned label {
padding: 0 0 3px 1em;
float: right;
}
.submit-row {
text-align: left
}
.submit-row p.deletelink-box {
float: right;
}
2017-08-17 19:13:36 +02:00
.submit-row input.default {
margin-left: 0;
2015-03-14 22:38:12 +01:00
}
.vDateField, .vTimeField {
margin-left: 2px;
}
2017-08-17 19:13:36 +02:00
.aligned .form-row input {
margin-left: 5px;
}
form .aligned p.help, form .aligned div.help {
clear: right;
}
2015-03-14 22:38:12 +01:00
form ul.inline li {
float: right;
padding-right: 0;
padding-left: 7px;
}
input[type=submit].default, .submit-row input.default {
float: left;
}
fieldset .field-box {
float: right;
margin-left: 20px;
margin-right: 0;
}
.errorlist li {
2017-08-17 19:13:36 +02:00
background-position: 100% 12px;
padding: 0;
2015-03-14 22:38:12 +01:00
}
.errornote {
2017-08-17 19:13:36 +02:00
background-position: 100% 12px;
padding: 10px 12px;
2015-03-14 22:38:12 +01:00
}
/* WIDGETS */
.calendarnav-previous {
top: 0;
left: auto;
2017-08-17 19:13:36 +02:00
right: 10px;
2015-03-14 22:38:12 +01:00
}
.calendarnav-next {
top: 0;
right: auto;
2017-08-17 19:13:36 +02:00
left: 10px;
2015-03-14 22:38:12 +01:00
}
.calendar caption, .calendarbox h2 {
text-align: center;
}
.selector {
float: right;
}
.selector .selector-filter {
text-align: right;
}
.inline-deletelink {
float: left;
}
2017-08-17 19:13:36 +02:00
form .form-row p.datetime {
overflow: hidden;
}
.related-widget-wrapper {
float: right;
}
2015-03-14 22:38:12 +01:00
/* MISC */
.inline-related h2, .inline-group h2 {
text-align: right
}
.inline-related h3 span.delete {
padding-right: 20px;
padding-left: inherit;
left: 10px;
right: inherit;
float:left;
}
.inline-related h3 span.delete label {
margin-left: inherit;
margin-right: 2px;
}
/* IE7 specific bug fixes */
div.colM {
position: relative;
}
.submit-row input {
float: left;
2017-08-17 19:13:36 +02:00
}