merb-admin 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +20 -0
- data/README.markdown +58 -0
- data/Rakefile +64 -0
- data/app/controllers/application.rb +6 -0
- data/app/controllers/main.rb +145 -0
- data/app/helpers/application_helper.rb +64 -0
- data/app/helpers/main_helper.rb +122 -0
- data/app/views/layout/_message.html.erb +10 -0
- data/app/views/layout/dashboard.html.erb +34 -0
- data/app/views/layout/form.html.erb +48 -0
- data/app/views/layout/list.html.erb +42 -0
- data/app/views/main/_belongs_to.html.erb +29 -0
- data/app/views/main/_big_decimal.html.erb +12 -0
- data/app/views/main/_boolean.html.erb +7 -0
- data/app/views/main/_date.html.erb +12 -0
- data/app/views/main/_datetime.html.erb +12 -0
- data/app/views/main/_float.html.erb +12 -0
- data/app/views/main/_has_many.html.erb +16 -0
- data/app/views/main/_has_one.html.erb +30 -0
- data/app/views/main/_integer.html.erb +18 -0
- data/app/views/main/_properties.html.erb +18 -0
- data/app/views/main/_string.html.erb +12 -0
- data/app/views/main/_text.html.erb +11 -0
- data/app/views/main/_time.html.erb +12 -0
- data/app/views/main/_timestamp.html.erb +12 -0
- data/app/views/main/delete.html.erb +12 -0
- data/app/views/main/edit.html.erb +25 -0
- data/app/views/main/index.html.erb +22 -0
- data/app/views/main/list.html.erb +72 -0
- data/app/views/main/new.html.erb +22 -0
- data/lib/abstract_model.rb +67 -0
- data/lib/activerecord_support.rb +169 -0
- data/lib/datamapper_support.rb +157 -0
- data/lib/generic_support.rb +17 -0
- data/lib/merb-admin/merbtasks.rb +103 -0
- data/lib/merb-admin/slicetasks.rb +20 -0
- data/lib/merb-admin/spectasks.rb +53 -0
- data/lib/merb-admin.rb +99 -0
- data/public/images/arrow-down.gif +0 -0
- data/public/images/arrow-up.gif +0 -0
- data/public/images/changelist-bg.gif +0 -0
- data/public/images/changelist-bg_rtl.gif +0 -0
- data/public/images/chooser-bg.gif +0 -0
- data/public/images/chooser_stacked-bg.gif +0 -0
- data/public/images/default-bg-reverse.gif +0 -0
- data/public/images/default-bg.gif +0 -0
- data/public/images/deleted-overlay.gif +0 -0
- data/public/images/icon-no.gif +0 -0
- data/public/images/icon-unknown.gif +0 -0
- data/public/images/icon-yes.gif +0 -0
- data/public/images/icon_addlink.gif +0 -0
- data/public/images/icon_alert.gif +0 -0
- data/public/images/icon_calendar.gif +0 -0
- data/public/images/icon_changelink.gif +0 -0
- data/public/images/icon_clock.gif +0 -0
- data/public/images/icon_deletelink.gif +0 -0
- data/public/images/icon_error.gif +0 -0
- data/public/images/icon_searchbox.png +0 -0
- data/public/images/icon_success.gif +0 -0
- data/public/images/inline-delete-8bit.png +0 -0
- data/public/images/inline-delete.png +0 -0
- data/public/images/inline-restore-8bit.png +0 -0
- data/public/images/inline-restore.png +0 -0
- data/public/images/inline-splitter-bg.gif +0 -0
- data/public/images/nav-bg-grabber.gif +0 -0
- data/public/images/nav-bg-reverse.gif +0 -0
- data/public/images/nav-bg.gif +0 -0
- data/public/images/selector-add.gif +0 -0
- data/public/images/selector-addall.gif +0 -0
- data/public/images/selector-remove.gif +0 -0
- data/public/images/selector-removeall.gif +0 -0
- data/public/images/selector-search.gif +0 -0
- data/public/images/selector_stacked-add.gif +0 -0
- data/public/images/selector_stacked-remove.gif +0 -0
- data/public/images/tool-left.gif +0 -0
- data/public/images/tool-left_over.gif +0 -0
- data/public/images/tool-right.gif +0 -0
- data/public/images/tool-right_over.gif +0 -0
- data/public/images/tooltag-add.gif +0 -0
- data/public/images/tooltag-add_over.gif +0 -0
- data/public/images/tooltag-arrowright.gif +0 -0
- data/public/images/tooltag-arrowright_over.gif +0 -0
- data/public/javascripts/CollapsedFieldsets.js +85 -0
- data/public/javascripts/DateTimeShortcuts.js +255 -0
- data/public/javascripts/RelatedObjectLookups.js +96 -0
- data/public/javascripts/SelectBox.js +111 -0
- data/public/javascripts/SelectFilter2.js +113 -0
- data/public/javascripts/actions.js +39 -0
- data/public/javascripts/calendar.js +143 -0
- data/public/javascripts/core.js +176 -0
- data/public/javascripts/dateparse.js +233 -0
- data/public/javascripts/getElementsBySelector.js +167 -0
- data/public/javascripts/i18n.js +33 -0
- data/public/javascripts/master.js +0 -0
- data/public/javascripts/ordering.js +137 -0
- data/public/javascripts/timeparse.js +94 -0
- data/public/javascripts/urlify.js +140 -0
- data/public/stylesheets/base.css +746 -0
- data/public/stylesheets/changelists.css +269 -0
- data/public/stylesheets/dashboard.css +24 -0
- data/public/stylesheets/forms.css +327 -0
- data/public/stylesheets/global.css +142 -0
- data/public/stylesheets/ie.css +51 -0
- data/public/stylesheets/layout.css +29 -0
- data/public/stylesheets/login.css +54 -0
- data/public/stylesheets/master.css +2 -0
- data/public/stylesheets/null.css +1 -0
- data/public/stylesheets/patch-iewin.css +8 -0
- data/public/stylesheets/rtl.css +206 -0
- data/public/stylesheets/widgets.css +506 -0
- data/schema/migrations/001_create_divisions_migration.rb +15 -0
- data/schema/migrations/002_create_drafts_migration.rb +21 -0
- data/schema/migrations/003_create_leagues_migration.rb +13 -0
- data/schema/migrations/004_create_players_migration.rb +23 -0
- data/schema/migrations/005_create_teams_migration.rb +18 -0
- data/spec/controllers/main_spec.rb +25 -0
- data/spec/models/activerecord/division.rb +8 -0
- data/spec/models/activerecord/draft.rb +16 -0
- data/spec/models/activerecord/league.rb +6 -0
- data/spec/models/activerecord/player.rb +10 -0
- data/spec/models/activerecord/team.rb +11 -0
- data/spec/models/datamapper/division.rb +12 -0
- data/spec/models/datamapper/draft.rb +18 -0
- data/spec/models/datamapper/league.rb +11 -0
- data/spec/models/datamapper/player.rb +21 -0
- data/spec/models/datamapper/team.rb +15 -0
- data/spec/requests/main_spec.rb +475 -0
- data/spec/spec_helper.rb +112 -0
- metadata +209 -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 @@
|
|
|
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
|
+
}
|