merb-admin 0.8.1 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. data/.gitignore +29 -27
  2. data/Gemfile +24 -22
  3. data/Gemfile.lock +86 -0
  4. data/LICENSE +20 -20
  5. data/README.rdoc +54 -58
  6. data/Rakefile +11 -44
  7. data/app/controllers/application.rb +6 -6
  8. data/app/controllers/main.rb +191 -191
  9. data/app/helpers/application_helper.rb +64 -64
  10. data/app/helpers/main_helper.rb +167 -167
  11. data/app/models/.gitkeep +0 -0
  12. data/app/views/layout/_message.html.erb +10 -10
  13. data/app/views/layout/dashboard.html.erb +34 -34
  14. data/app/views/layout/form.html.erb +48 -48
  15. data/app/views/layout/list.html.erb +42 -42
  16. data/app/views/main/_belongs_to.html.erb +29 -29
  17. data/app/views/main/_big_decimal.html.erb +12 -12
  18. data/app/views/main/_boolean.html.erb +7 -7
  19. data/app/views/main/_date.html.erb +12 -12
  20. data/app/views/main/_datetime.html.erb +12 -12
  21. data/app/views/main/_float.html.erb +12 -12
  22. data/app/views/main/_has_many.html.erb +16 -16
  23. data/app/views/main/_has_one.html.erb +30 -30
  24. data/app/views/main/_integer.html.erb +12 -12
  25. data/app/views/main/_properties.html.erb +18 -18
  26. data/app/views/main/_string.html.erb +15 -15
  27. data/app/views/main/_text.html.erb +11 -11
  28. data/app/views/main/_time.html.erb +12 -12
  29. data/app/views/main/_timestamp.html.erb +12 -12
  30. data/app/views/main/delete.html.erb +28 -28
  31. data/app/views/main/edit.html.erb +19 -19
  32. data/app/views/main/index.html.erb +22 -22
  33. data/app/views/main/list.html.erb +93 -93
  34. data/app/views/main/new.html.erb +16 -16
  35. data/config/init.rb +30 -0
  36. data/config/router.rb +4 -0
  37. data/lib/abstract_model.rb +84 -86
  38. data/lib/active_record_support.rb +147 -147
  39. data/lib/datamapper_support.rb +139 -140
  40. data/lib/generic_support.rb +13 -13
  41. data/lib/merb-admin.rb +99 -99
  42. data/lib/merb-admin/merbtasks.rb +103 -103
  43. data/lib/merb-admin/slicetasks.rb +174 -174
  44. data/lib/merb-admin/spectasks.rb +55 -55
  45. data/lib/merb-admin/version.rb +3 -0
  46. data/lib/sequel_support.rb +275 -275
  47. data/merb-admin.gemspec +42 -232
  48. data/public/javascripts/CollapsedFieldsets.js +85 -85
  49. data/public/javascripts/DateTimeShortcuts.js +255 -255
  50. data/public/javascripts/RelatedObjectLookups.js +96 -96
  51. data/public/javascripts/SelectBox.js +111 -111
  52. data/public/javascripts/SelectFilter2.js +113 -113
  53. data/public/javascripts/actions.js +39 -39
  54. data/public/javascripts/calendar.js +143 -143
  55. data/public/javascripts/core.js +176 -176
  56. data/public/javascripts/dateparse.js +233 -233
  57. data/public/javascripts/getElementsBySelector.js +167 -167
  58. data/public/javascripts/i18n.js +33 -33
  59. data/public/javascripts/ordering.js +137 -137
  60. data/public/javascripts/timeparse.js +94 -94
  61. data/public/javascripts/urlify.js +140 -140
  62. data/public/stylesheets/base.css +746 -746
  63. data/public/stylesheets/changelists.css +269 -269
  64. data/public/stylesheets/dashboard.css +24 -24
  65. data/public/stylesheets/forms.css +327 -327
  66. data/public/stylesheets/global.css +142 -142
  67. data/public/stylesheets/ie.css +50 -50
  68. data/public/stylesheets/layout.css +29 -29
  69. data/public/stylesheets/login.css +54 -54
  70. data/public/stylesheets/master.css +1 -1
  71. data/public/stylesheets/patch-iewin.css +7 -7
  72. data/public/stylesheets/rtl.css +206 -206
  73. data/public/stylesheets/widgets.css +506 -506
  74. data/screenshots/create.png +0 -0
  75. data/screenshots/delete.png +0 -0
  76. data/screenshots/edit.png +0 -0
  77. data/screenshots/index.png +0 -0
  78. data/screenshots/list.png +0 -0
  79. data/screenshots/new.png +0 -0
  80. data/spec/controllers/main_spec.rb +25 -25
  81. data/spec/migrations/activerecord/001_create_divisions_migration.rb +13 -13
  82. data/spec/migrations/activerecord/002_create_drafts_migration.rb +19 -19
  83. data/spec/migrations/activerecord/003_create_leagues_migration.rb +12 -12
  84. data/spec/migrations/activerecord/004_create_players_migration.rb +19 -20
  85. data/spec/migrations/activerecord/005_create_teams_migration.rb +22 -22
  86. data/spec/migrations/sequel/001_create_divisions_migration.rb +15 -15
  87. data/spec/migrations/sequel/002_create_drafts_migration.rb +21 -21
  88. data/spec/migrations/sequel/003_create_leagues_migration.rb +14 -14
  89. data/spec/migrations/sequel/004_create_players_migration.rb +21 -22
  90. data/spec/migrations/sequel/005_create_teams_migration.rb +24 -24
  91. data/spec/models/activerecord/division.rb +7 -7
  92. data/spec/models/activerecord/draft.rb +11 -11
  93. data/spec/models/activerecord/league.rb +6 -6
  94. data/spec/models/activerecord/player.rb +8 -8
  95. data/spec/models/activerecord/team.rb +13 -13
  96. data/spec/models/datamapper/division.rb +12 -12
  97. data/spec/models/datamapper/draft.rb +18 -18
  98. data/spec/models/datamapper/league.rb +11 -11
  99. data/spec/models/datamapper/player.rb +20 -21
  100. data/spec/models/datamapper/team.rb +22 -22
  101. data/spec/models/sequel/division.rb +15 -15
  102. data/spec/models/sequel/draft.rb +19 -19
  103. data/spec/models/sequel/league.rb +14 -14
  104. data/spec/models/sequel/player.rb +18 -18
  105. data/spec/models/sequel/team.rb +21 -21
  106. data/spec/requests/main_spec.rb +763 -763
  107. data/spec/spec_helper.rb +113 -112
  108. metadata +247 -41
  109. data/VERSION +0 -1
@@ -1,142 +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; }
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; }
@@ -1,51 +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;
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
51
  }
@@ -1,29 +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; }
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; }
@@ -1,54 +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
-
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
+