sferik-merb-admin 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/LICENSE +20 -0
  2. data/README.markdown +55 -0
  3. data/Rakefile +69 -0
  4. data/app/controllers/application.rb +17 -0
  5. data/app/controllers/forms.rb +85 -0
  6. data/app/helpers/application_helper.rb +66 -0
  7. data/app/helpers/forms_helper.rb +112 -0
  8. data/app/views/forms/_big_decimal.html.erb +8 -0
  9. data/app/views/forms/_date.html.erb +8 -0
  10. data/app/views/forms/_date_time.html.erb +8 -0
  11. data/app/views/forms/_float.html.erb +8 -0
  12. data/app/views/forms/_integer.html.erb +12 -0
  13. data/app/views/forms/_string.html.erb +16 -0
  14. data/app/views/forms/_time.html.erb +8 -0
  15. data/app/views/forms/_true_class.html.erb +5 -0
  16. data/app/views/forms/delete.html.erb +12 -0
  17. data/app/views/forms/edit.html.erb +23 -0
  18. data/app/views/forms/index.html.erb +22 -0
  19. data/app/views/forms/list.html.erb +64 -0
  20. data/app/views/forms/new.html.erb +19 -0
  21. data/app/views/layout/_message.html.erb +10 -0
  22. data/app/views/layout/dashboard.html.erb +37 -0
  23. data/app/views/layout/form.html.erb +51 -0
  24. data/app/views/layout/list.html.erb +45 -0
  25. data/lib/merb-admin/merbtasks.rb +103 -0
  26. data/lib/merb-admin/slicetasks.rb +20 -0
  27. data/lib/merb-admin/spectasks.rb +53 -0
  28. data/lib/merb-admin.rb +101 -0
  29. data/public/images/arrow-down.gif +0 -0
  30. data/public/images/arrow-up.gif +0 -0
  31. data/public/images/changelist-bg.gif +0 -0
  32. data/public/images/changelist-bg_rtl.gif +0 -0
  33. data/public/images/chooser-bg.gif +0 -0
  34. data/public/images/chooser_stacked-bg.gif +0 -0
  35. data/public/images/default-bg-reverse.gif +0 -0
  36. data/public/images/default-bg.gif +0 -0
  37. data/public/images/deleted-overlay.gif +0 -0
  38. data/public/images/icon-no.gif +0 -0
  39. data/public/images/icon-unknown.gif +0 -0
  40. data/public/images/icon-yes.gif +0 -0
  41. data/public/images/icon_addlink.gif +0 -0
  42. data/public/images/icon_alert.gif +0 -0
  43. data/public/images/icon_calendar.gif +0 -0
  44. data/public/images/icon_changelink.gif +0 -0
  45. data/public/images/icon_clock.gif +0 -0
  46. data/public/images/icon_deletelink.gif +0 -0
  47. data/public/images/icon_error.gif +0 -0
  48. data/public/images/icon_searchbox.png +0 -0
  49. data/public/images/icon_success.gif +0 -0
  50. data/public/images/inline-delete-8bit.png +0 -0
  51. data/public/images/inline-delete.png +0 -0
  52. data/public/images/inline-restore-8bit.png +0 -0
  53. data/public/images/inline-restore.png +0 -0
  54. data/public/images/inline-splitter-bg.gif +0 -0
  55. data/public/images/nav-bg-grabber.gif +0 -0
  56. data/public/images/nav-bg-reverse.gif +0 -0
  57. data/public/images/nav-bg.gif +0 -0
  58. data/public/images/selector-add.gif +0 -0
  59. data/public/images/selector-addall.gif +0 -0
  60. data/public/images/selector-remove.gif +0 -0
  61. data/public/images/selector-removeall.gif +0 -0
  62. data/public/images/selector-search.gif +0 -0
  63. data/public/images/selector_stacked-add.gif +0 -0
  64. data/public/images/selector_stacked-remove.gif +0 -0
  65. data/public/images/tool-left.gif +0 -0
  66. data/public/images/tool-left_over.gif +0 -0
  67. data/public/images/tool-right.gif +0 -0
  68. data/public/images/tool-right_over.gif +0 -0
  69. data/public/images/tooltag-add.gif +0 -0
  70. data/public/images/tooltag-add_over.gif +0 -0
  71. data/public/images/tooltag-arrowright.gif +0 -0
  72. data/public/images/tooltag-arrowright_over.gif +0 -0
  73. data/public/javascripts/CollapsedFieldsets.js +85 -0
  74. data/public/javascripts/DateTimeShortcuts.js +255 -0
  75. data/public/javascripts/RelatedObjectLookups.js +96 -0
  76. data/public/javascripts/SelectBox.js +111 -0
  77. data/public/javascripts/SelectFilter2.js +113 -0
  78. data/public/javascripts/actions.js +39 -0
  79. data/public/javascripts/calendar.js +143 -0
  80. data/public/javascripts/core.js +176 -0
  81. data/public/javascripts/dateparse.js +233 -0
  82. data/public/javascripts/getElementsBySelector.js +167 -0
  83. data/public/javascripts/i18n.js +33 -0
  84. data/public/javascripts/master.js +0 -0
  85. data/public/javascripts/ordering.js +137 -0
  86. data/public/javascripts/timeparse.js +94 -0
  87. data/public/javascripts/urlify.js +140 -0
  88. data/public/stylesheets/base.css +746 -0
  89. data/public/stylesheets/changelists.css +269 -0
  90. data/public/stylesheets/dashboard.css +24 -0
  91. data/public/stylesheets/forms.css +327 -0
  92. data/public/stylesheets/global.css +142 -0
  93. data/public/stylesheets/ie.css +51 -0
  94. data/public/stylesheets/layout.css +29 -0
  95. data/public/stylesheets/login.css +54 -0
  96. data/public/stylesheets/master.css +2 -0
  97. data/public/stylesheets/null.css +1 -0
  98. data/public/stylesheets/patch-iewin.css +8 -0
  99. data/public/stylesheets/rtl.css +206 -0
  100. data/public/stylesheets/widgets.css +506 -0
  101. data/spec/controller/forms_spec.rb +41 -0
  102. data/spec/merb-admin_spec.rb +5 -0
  103. data/spec/spec_helper.rb +58 -0
  104. metadata +213 -0
@@ -0,0 +1,142 @@
1
+ body { margin:0; padding:0; font-size:12px; font-family:"Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif; color:#333; background:#fff; }
2
+
3
+ /* LINKS */
4
+ a:link, a:visited { color: #5b80b2; text-decoration:none; }
5
+ a:hover { color: #036; }
6
+ a img { border:none; }
7
+ a.section:link, a.section:visited { color: white; text-decoration:none; }
8
+
9
+ /* GLOBAL DEFAULTS */
10
+ p, ol, ul, dl { margin:.2em 0 .8em 0; }
11
+ p { padding:0; line-height:140%; }
12
+
13
+ h1,h2,h3,h4,h5 { font-weight:bold; }
14
+ h1 { font-size:18px; color:#666; padding:0 6px 0 0; margin:0 0 .2em 0; }
15
+ h2 { font-size:16px; margin:1em 0 .5em 0; }
16
+ h2.subhead { font-weight:normal;margin-top:0; }
17
+ h3 { font-size:14px; margin:.8em 0 .3em 0; color:#666; font-weight:bold; }
18
+ h4 { font-size:12px; margin:1em 0 .8em 0; padding-bottom:3px; }
19
+ h5 { font-size:10px; margin:1.5em 0 .5em 0; color:#666; text-transform:uppercase; letter-spacing:1px; }
20
+
21
+ ul li { list-style-type:square; padding:1px 0; }
22
+ ul.plainlist { margin-left:0 !important; }
23
+ ul.plainlist li { list-style-type:none; }
24
+ li ul { margin-bottom:0; }
25
+ li, dt, dd { font-size:11px; line-height:14px; }
26
+ dt { font-weight:bold; margin-top:4px; }
27
+ dd { margin-left:0; }
28
+
29
+ form { margin:0; padding:0; }
30
+ fieldset { margin:0; padding:0; }
31
+
32
+ blockquote { font-size:11px; color:#777; margin-left:2px; padding-left:10px; border-left:5px solid #ddd; }
33
+ code, pre { font-family:"Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace; background:inherit; color:#666; font-size:11px; }
34
+ pre.literal-block { margin:10px; background:#eee; padding:6px 8px; }
35
+ code strong { color:#930; }
36
+ hr { clear:both; color:#eee; background-color:#eee; height:1px; border:none; margin:0; padding:0; font-size:1px; line-height:1px; }
37
+
38
+ /* TEXT STYLES & MODIFIERS */
39
+ .small { font-size:11px; }
40
+ .tiny { font-size:10px; }
41
+ p.tiny { margin-top:-2px; }
42
+ .mini { font-size:9px; }
43
+ p.mini { margin-top:-3px; }
44
+ .help, p.help { font-size:10px !important; color:#999; }
45
+ p img, h1 img, h2 img, h3 img, h4 img, td img { vertical-align:middle; }
46
+ .quiet, a.quiet:link, a.quiet:visited { color:#999 !important;font-weight:normal !important; }
47
+ .quiet strong { font-weight:bold !important; }
48
+ .float-right { float:right; }
49
+ .float-left { float:left; }
50
+ .clear { clear:both; }
51
+ .align-left { text-align:left; }
52
+ .align-right { text-align:right; }
53
+ .example { margin:10px 0; padding:5px 10px; background:#efefef; }
54
+ .nowrap { white-space:nowrap; }
55
+
56
+ /* TABLES */
57
+ table { border-collapse:collapse; border-color:#ccc; }
58
+ td, th { font-size:11px; line-height:13px; border-bottom:1px solid #eee; vertical-align:top; padding:5px; font-family:"Lucida Grande", Verdana, Arial, sans-serif; }
59
+ th { text-align:left; font-size:12px; font-weight:bold; }
60
+ thead th,
61
+ tfoot td { color:#666; padding:2px 5px; font-size:11px; background:#e1e1e1 url(../images/nav-bg.gif) top left repeat-x; border-left:1px solid #ddd; border-bottom:1px solid #ddd; }
62
+ tfoot td { border-bottom:none; border-top:1px solid #ddd; }
63
+ thead th:first-child,
64
+ tfoot td:first-child { border-left:none !important; }
65
+ thead th.optional { font-weight:normal !important; }
66
+ fieldset table { border-right:1px solid #eee; }
67
+ tr.row-label td { font-size:9px; padding-top:2px; padding-bottom:0; border-bottom:none; color:#666; margin-top:-1px; }
68
+ tr.alt { background:#f6f6f6; }
69
+ .row1 { background:#EDF3FE; }
70
+ .row2 { background:white; }
71
+
72
+ /* SORTABLE TABLES */
73
+ thead th a:link, thead th a:visited { color:#666; display:block; }
74
+ table thead th.sorted { background-position:bottom left !important; }
75
+ table thead th.sorted a { padding-right:13px; }
76
+ table thead th.ascending a { background:url(../images/arrow-down.gif) right .4em no-repeat; }
77
+ table thead th.descending a { background:url(../images/arrow-up.gif) right .4em no-repeat; }
78
+
79
+ /* ORDERABLE TABLES */
80
+ table.orderable tbody tr td:hover { cursor:move; }
81
+ table.orderable tbody tr td:first-child { padding-left:14px; background-image:url(../images/nav-bg-grabber.gif); background-repeat:repeat-y; }
82
+ table.orderable-initalized .order-cell, body>tr>td.order-cell { display:none; }
83
+
84
+ /* FORM DEFAULTS */
85
+ input, textarea, select { margin:2px 0; padding:2px 3px; vertical-align:middle; font-family:"Lucida Grande", Verdana, Arial, sans-serif; font-weight:normal; font-size:11px; }
86
+ textarea { vertical-align:top !important; }
87
+ input[type=text], input[type=password], textarea, select, .vTextField { border:1px solid #ccc; }
88
+
89
+ /* FORM BUTTONS */
90
+ .button, input[type=submit], input[type=button], .submit-row input { background:white url(../images/nav-bg.gif) bottom repeat-x; padding:3px; color:black; border:1px solid #bbb; border-color:#ddd #aaa #aaa #ddd; }
91
+ .button:active, input[type=submit]:active, input[type=button]:active { background-image:url(../images/nav-bg-reverse.gif); background-position:top; }
92
+ .button.default, input[type=submit].default, .submit-row input.default { border:2px solid #5b80b2; background:#7CA0C7 url(../images/default-bg.gif) bottom repeat-x; font-weight:bold; color:white; float:right; }
93
+ .button.default:active, input[type=submit].default:active { background-image:url(../images/default-bg-reverse.gif); background-position:top; }
94
+
95
+ /* MODULES */
96
+ .module { border:1px solid #ccc; margin-bottom:5px; background:white; }
97
+ .module p, .module ul, .module h3, .module h4, .module dl, .module pre { padding-left:10px; padding-right:10px; }
98
+ .module blockquote { margin-left:12px; }
99
+ .module ul, .module ol { margin-left:1.5em; }
100
+ .module h3 { margin-top:.6em; }
101
+ .module h2, .module caption, .inline-group h2 { margin:0; padding:2px 5px 3px 5px; font-size:11px; text-align:left; font-weight:bold; background:#7CA0C7 url(../images/default-bg.gif) top left repeat-x; color:white; }
102
+ .module table { border-collapse: collapse; }
103
+
104
+ /* MESSAGES & ERRORS */
105
+ ul.messagelist { padding:0 0 5px 0; margin:0; }
106
+ ul.messagelist li { font-size:12px; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border-bottom:1px solid #ddd; color:#666; background:#ffc url(../images/icon_success.gif) 5px .3em no-repeat; }
107
+ .errornote { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:red;background:#ffc url(../images/icon_error.gif) 5px .3em no-repeat; }
108
+ ul.errorlist { margin:0 !important; padding:0 !important; }
109
+ .errorlist li { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:white; background:red url(../images/icon_alert.gif) 5px .3em no-repeat; }
110
+ td ul.errorlist { margin:0 !important; padding:0 !important; }
111
+ td ul.errorlist li { margin:0 !important; }
112
+ .errors { background:#ffc; }
113
+ .errors input, .errors select { border:1px solid red; }
114
+ div.system-message { background: #ffc; margin: 10px; padding: 6px 8px; font-size: .8em; }
115
+ div.system-message p.system-message-title { padding:4px 5px 4px 25px; margin:0; color:red; background:#ffc url(../images/icon_error.gif) 5px .3em no-repeat; }
116
+ .description { font-size:12px; padding:5px 0 0 12px; }
117
+
118
+ /* BREADCRUMBS */
119
+ div.breadcrumbs { background:white url(../images/nav-bg-reverse.gif) 0 -10px repeat-x; padding:2px 8px 3px 8px; font-size:11px; color:#999; border-top:1px solid white; border-bottom:1px solid #ccc; text-align:left; }
120
+
121
+ /* ACTION ICONS */
122
+ .addlink { padding-left:12px; background:url(../images/icon_addlink.gif) 0 .2em no-repeat; }
123
+ .changelink { padding-left:12px; background:url(../images/icon_changelink.gif) 0 .2em no-repeat; }
124
+ .deletelink { padding-left:12px; background:url(../images/icon_deletelink.gif) 0 .25em no-repeat; }
125
+ a.deletelink:link, a.deletelink:visited { color:#CC3434; }
126
+ a.deletelink:hover { color:#993333; }
127
+
128
+ /* OBJECT TOOLS */
129
+ .object-tools { font-size:10px; font-weight:bold; font-family:Arial,Helvetica,sans-serif; padding-left:0; float:right; position:relative; margin-top:-2.4em; margin-bottom:-2em; }
130
+ .form-row .object-tools { margin-top:5px; margin-bottom:5px; float:none; height:2em; padding-left:3.5em; }
131
+ .object-tools li { display:block; float:left; background:url(../images/tool-left.gif) 0 0 no-repeat; padding:0 0 0 8px; margin-left:2px; height:16px; }
132
+ .object-tools li:hover { background:url(../images/tool-left_over.gif) 0 0 no-repeat; }
133
+ .object-tools a:link, .object-tools a:visited { display:block; float:left; color:white; padding:.1em 14px .1em 8px; height:14px; background:#999 url(../images/tool-right.gif) 100% 0 no-repeat; }
134
+ .object-tools a:hover, .object-tools li:hover a { background:#5b80b2 url(../images/tool-right_over.gif) 100% 0 no-repeat; }
135
+ .object-tools a.viewsitelink, .object-tools a.golink { background:#999 url(../images/tooltag-arrowright.gif) top right no-repeat; padding-right:28px; }
136
+ .object-tools a.viewsitelink:hover, .object-tools a.golink:hover { background:#5b80b2 url(../images/tooltag-arrowright_over.gif) top right no-repeat; }
137
+ .object-tools a.addlink { background:#999 url(../images/tooltag-add.gif) top right no-repeat; padding-right:28px; }
138
+ .object-tools a.addlink:hover { background:#5b80b2 url(../images/tooltag-add_over.gif) top right no-repeat; }
139
+
140
+ /* OBJECT HISTORY */
141
+ table#change-history { width:100%; }
142
+ table#change-history tbody th { width:16em; }
@@ -0,0 +1,51 @@
1
+ /* IE 6 & 7 */
2
+
3
+ /* Proper fixed width for dashboard in IE6 */
4
+
5
+ .dashboard #content {
6
+ *width: 768px;
7
+ }
8
+
9
+ .dashboard #content-main {
10
+ *width: 535px;
11
+ }
12
+
13
+ /* IE 6 ONLY */
14
+
15
+ /* Keep header from flowing off the page */
16
+
17
+ #container {
18
+ _position: static;
19
+ }
20
+
21
+ /* Put the right sidebars back on the page */
22
+
23
+ .colMS #content-related {
24
+ _margin-right: 0;
25
+ _margin-left: 10px;
26
+ _position: static;
27
+ }
28
+
29
+ /* Put the left sidebars back on the page */
30
+
31
+ .colSM #content-related {
32
+ _margin-right: 10px;
33
+ _margin-left: -115px;
34
+ _position: static;
35
+ }
36
+
37
+ .form-row {
38
+ _height: 1%;
39
+ }
40
+
41
+ /* Fix right margin for changelist filters in IE6 */
42
+
43
+ #changelist-filter ul {
44
+ _margin-right: -10px;
45
+ }
46
+
47
+ /* IE ignores min-height, but treats height as if it were min-height */
48
+
49
+ .change-list .filtered {
50
+ _height: 400px;
51
+ }
@@ -0,0 +1,29 @@
1
+ /* PAGE STRUCTURE */
2
+ #container { position:relative; width:100%; min-width:760px; padding:0; }
3
+ #content { margin:10px 15px; }
4
+ #header { width:100%; }
5
+ #content-main { float:left; width:100%; }
6
+ #content-related { float:right; width:18em; position:relative; margin-right:-19em; }
7
+ #footer { clear:both; padding:10px; }
8
+
9
+ /* COLUMN TYPES */
10
+ .colMS { margin-right:20em !important; }
11
+ .colSM { margin-left:20em !important; }
12
+ .colSM #content-related { float:left; margin-right:0; margin-left:-19em; }
13
+ .colSM #content-main { float:right; }
14
+ .popup .colM { width:95%; }
15
+ .subcol { float:left; width:46%; margin-right:15px; }
16
+ .dashboard #content { width:500px; }
17
+
18
+ /* HEADER */
19
+ #header { background:#417690; color:#ffc; overflow:hidden; }
20
+ #header a:link, #header a:visited { color:white; }
21
+ #header a:hover { text-decoration:underline; }
22
+ #branding h1 { padding:0 10px; font-size:18px; margin:8px 0; font-weight:normal; color:#f4f379; }
23
+ #branding h2 { padding:0 10px; font-size:14px; margin:-8px 0 8px 0; font-weight:normal; color:#ffc; }
24
+ #user-tools { position:absolute; top:0; right:0; padding:1.2em 10px; font-size:11px; text-align:right; }
25
+
26
+ /* SIDEBAR */
27
+ #content-related h3 { font-size:12px; color:#666; margin-bottom:3px; }
28
+ #content-related h4 { font-size:11px; }
29
+ #content-related .module h2 { background:#eee url(../images/nav-bg.gif) bottom left repeat-x; color:#666; }
@@ -0,0 +1,54 @@
1
+ /* LOGIN FORM */
2
+
3
+ body.login {
4
+ background: #eee;
5
+ }
6
+
7
+ .login #container {
8
+ background: white;
9
+ border: 1px solid #ccc;
10
+ width: 28em;
11
+ min-width: 300px;
12
+ margin-left: auto;
13
+ margin-right: auto;
14
+ margin-top: 100px;
15
+ }
16
+
17
+ .login #content-main {
18
+ width: 100%;
19
+ }
20
+
21
+ .login form {
22
+ margin-top: 1em;
23
+ }
24
+
25
+ .login .form-row {
26
+ padding: 4px 0;
27
+ float: left;
28
+ width: 100%;
29
+ }
30
+
31
+ .login .form-row label {
32
+ float: left;
33
+ width: 9em;
34
+ padding-right: 0.5em;
35
+ line-height: 2em;
36
+ text-align: right;
37
+ font-size: 1em;
38
+ color: #333;
39
+ }
40
+
41
+ .login .form-row #id_username, .login .form-row #id_password {
42
+ width: 14em;
43
+ }
44
+
45
+ .login span.help {
46
+ font-size: 10px;
47
+ display: block;
48
+ }
49
+
50
+ .login .submit-row {
51
+ clear: both;
52
+ padding: 1em 0 0 9.4em;
53
+ }
54
+
@@ -0,0 +1,2 @@
1
+ html, body { margin: 0; padding: 0; }
2
+ #container { width: 800px; margin: 4em auto; padding: 4em 4em 6em 4em; background: #DDDDDD; }
@@ -0,0 +1 @@
1
+ /* Nothing to see here. Dummy file to feed to the high pass filter which hides CSS from IE5/win. Details: http://tantek.com/CSS/Examples/highpass.html */
@@ -0,0 +1,8 @@
1
+ * html #container { position:static; } /* keep header from flowing off the page */
2
+ * html .colMS #content-related { margin-right:0; margin-left:10px; position:static; } /* put the right sidebars back on the page */
3
+ * html .colSM #content-related { margin-right:10px; margin-left:-115px; position:static; } /* put the left sidebars back on the page */
4
+ * html .form-row { height:1%; }
5
+ * html .dashboard #content { width:768px; } /* proper fixed width for dashboard in IE6 */
6
+ * html .dashboard #content-main { width:535px; } /* proper fixed width for dashboard in IE6 */
7
+ * html #changelist-filter ul { margin-right:-10px; } /* fix right margin for changelist filters in IE6 */
8
+ * html .change-list .filtered { height:400px; } /* IE ignores min-height, but treats height as if it were min-height */
@@ -0,0 +1,206 @@
1
+ body {
2
+ direction: rtl;
3
+ }
4
+
5
+ /* LOGIN */
6
+
7
+ .login .form-row {
8
+ float: right;
9
+ }
10
+
11
+ .login .form-row label {
12
+ float: right;
13
+ padding-left: 0.5em;
14
+ padding-right: 0;
15
+ text-align: left;
16
+ }
17
+
18
+ .login .submit-row {
19
+ clear: both;
20
+ padding: 1em 9.4em 0 0;
21
+ }
22
+
23
+ /* GLOBAL */
24
+
25
+ th {
26
+ text-align: right;
27
+ }
28
+
29
+ .module h2, .module caption {
30
+ text-align: right;
31
+ }
32
+
33
+ .addlink, .changelink {
34
+ padding-left: 0px;
35
+ padding-right: 12px;
36
+ background-position: 100% 0.2em;
37
+ }
38
+
39
+ .deletelink {
40
+ padding-left: 0px;
41
+ padding-right: 12px;
42
+ background-position: 100% 0.25em;
43
+ }
44
+
45
+ .object-tools {
46
+ float: left;
47
+ }
48
+
49
+ /* LAYOUT */
50
+
51
+ #user-tools {
52
+ right: auto;
53
+ left: 0;
54
+ text-align: left;
55
+ }
56
+
57
+ div.breadcrumbs {
58
+ text-align: right;
59
+ }
60
+
61
+ #content-main {
62
+ float: right;
63
+ }
64
+
65
+ #content-related {
66
+ float: left;
67
+ margin-left: -19em;
68
+ margin-right: auto;
69
+ }
70
+
71
+ .colMS {
72
+ margin-left: 20em !important;
73
+ margin-right: 10px !important;
74
+ }
75
+
76
+ /* dashboard styles */
77
+
78
+ .dashboard .module table td a {
79
+ padding-left: .6em;
80
+ padding-right: 12px;
81
+ }
82
+
83
+ /* changelists styles */
84
+
85
+ .change-list .filtered {
86
+ background: white url(../images/changelist-bg_rtl.gif) top left repeat-y !important;
87
+ }
88
+
89
+ .change-list .filtered table {
90
+ border-left: 1px solid #ddd;
91
+ border-right: 0px none;
92
+ }
93
+
94
+ #changelist-filter {
95
+ right: auto;
96
+ left: 0;
97
+ border-left: 0px none;
98
+ border-right: 1px solid #ddd;
99
+ }
100
+
101
+ .change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
102
+ margin-right: 0px !important;
103
+ margin-left: 160px !important;
104
+ }
105
+
106
+ #changelist-filter li.selected {
107
+ border-left: 0px none;
108
+ padding-left: 0px;
109
+ margin-left: 0;
110
+ border-right: 5px solid #ccc;
111
+ padding-right: 5px;
112
+ margin-right: -10px;
113
+ }
114
+
115
+ /* FORMS */
116
+
117
+ .aligned label {
118
+ padding: 0 0 3px 1em;
119
+ float: right;
120
+ }
121
+
122
+ .submit-row {
123
+ text-align: left
124
+ }
125
+
126
+ .submit-row p.deletelink-box {
127
+ float: right;
128
+ }
129
+
130
+ .submit-row .deletelink {
131
+ background: url(../images/icon_deletelink.gif) 0 50% no-repeat;
132
+ padding-right: 14px;
133
+ }
134
+
135
+ .vDateField, .vTimeField {
136
+ margin-left: 2px;
137
+ }
138
+
139
+ form ul.inline li {
140
+ float: right;
141
+ padding-right: 0;
142
+ padding-left: 7px;
143
+ }
144
+
145
+ input[type=submit].default, .submit-row input.default {
146
+ float: left;
147
+ }
148
+
149
+ fieldset .field-box {
150
+ float: right;
151
+ margin-left: 20px;
152
+ }
153
+
154
+ .errorlist li {
155
+ background-position: 100% .3em;
156
+ padding: 4px 25px 4px 5px;
157
+ }
158
+
159
+ .errornote {
160
+ background-position: 100% .3em;
161
+ padding: 4px 25px 4px 5px;
162
+ }
163
+
164
+ /* WIDGETS */
165
+
166
+ .calendarnav-previous {
167
+ top: 0;
168
+ left: auto;
169
+ right: 0;
170
+ }
171
+
172
+ .calendarnav-next {
173
+ top: 0;
174
+ right: auto;
175
+ left: 0;
176
+ }
177
+
178
+ .calendar caption, .calendarbox h2 {
179
+ text-align: center;
180
+ }
181
+
182
+ .selector {
183
+ float: right;
184
+ }
185
+
186
+ .selector .selector-filter {
187
+ text-align: right;
188
+ }
189
+
190
+ /* MISC */
191
+
192
+ .inline-related h2 {
193
+ text-align: right
194
+ }
195
+
196
+ .inline-related h3 span.delete {
197
+ padding-right: 20px;
198
+ padding-left: inherit;
199
+ left: 10px;
200
+ right: inherit;
201
+ }
202
+
203
+ .inline-related h3 span.delete label {
204
+ margin-left: inherit;
205
+ margin-right: 2px;
206
+ }