Commits

Ahmad Khayyat committed 050312a

More RTL style fixes

Comments (0)

Files changed (3)

grappelli_safe/static/grappelli/css/forms.css

 }
 ul.radiolist label input, ul.checkboxlist label input {
     position: relative;
-    margin: 0 2px 0 0 !important;
+    margin: 0 2px 0 0;
     vertical-align: top;
 }
 .inline-group ul.inline li {

grappelli_safe/static/grappelli/css/rtl.css

 }
 
 .submit-row {
-    text-align: right;
+    text-align: left;
 }
 
-.submit-row p.deletelink-box {
+.submit-row p.deletelink-box, .submit-row p.cancellink-box {
     float: right;
+    margin-right: 0;
+    margin-left: 8px;
 }
 
 .submit-row .deletelink {
     margin-right: 6px;
 }
 
+form .aligned p.help {
+    margin: 2px 136px 0 0;
+}
+
+input[type="checkbox"], input[type="radio"] {
+    margin: 0 136px 0 0;
+}
+
+ul.radiolist label input, ul.checkboxlist label input {
+    margin: 0 0 0 2px;
+}
+
+.aligned .vCheckboxLabel {
+    margin: 0 10px 0 0;
+}
+
+form .aligned input + label + p.help {
+    margin: 0 158px 0 0;
+}
+
+.description {
+    padding: 10px 15px 9px 0;
+}
+
 /* WIDGETS */
 
 .calendarnav-previous {
     text-align: right;
 }
 
+.selector-available, .selector-chosen {
+    float: right;
+}
+
+.selector ul.selector-chooser {
+    float: right;
+}
+
+a.selector-add:link, a.selector-add:visited {
+    background-image: url('../img/icons/icon-selector_remove-m2m_horizontal.png');
+}
+a.selector-add:hover, a.selector-add:active {
+    background-image: url('../img/icons/icon-selector_remove-m2m_horizontal-hover.png');
+}
+
+a.selector-remove:link, a.selector-remove:visited {
+    background-image: url('../img/icons/icon-selector_add-m2m_horizontal.png');
+}
+a.selector-remove:hover, a.selector-remove:active {
+    background-image: url('../img/icons/icon-selector_add-m2m_horizontal-hover.png');
+}
+
 thead th, tfoot td {
     font-size: 16px;
     line-height: 19px;
 
 .object-tools a {
     font-size: 16px;
-    line-height: 19px;
 }
 
 #changelist-filter a {
     padding: 1px 14px 0 0;
 }
 
+a.deletelink {
+    margin: 0;
+    font-size: 15px;
+    line-height: 19px;
+}
+
 /* fonts */
 
 h1 {
     font-size: 12px;
 }
 
+.help, p.help {
+    font-size: 12px;
+}
+
 /* MISC */
 
 .inline-related h2 {

grappelli_safe/static/grappelli/css/typography.css

 .mini { font-size: 9px; }
 p.mini { margin-top: -3px; }
 
-.help, p.help { color: #999; font-size: 10px !important; }
+.help, p.help { color: #999; font-size: 10px; }
 
 p img, h1 img, h2 img, h3 img, h4 img, td img { vertical-align: middle; }
 
     background: #efefef;
 }
 
-.nowrap { white-space: nowrap; }
+.nowrap { white-space: nowrap; }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.