hobo 1.3.3 → 1.4.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. data/{CHANGES.txt → CHANGES-1.3.txt} +0 -0
  2. data/CHANGES-1.4.txt +678 -0
  3. data/Rakefile +13 -3
  4. data/TODO-1.4.txt +69 -0
  5. data/VERSION +1 -1
  6. data/app/helpers/hobo_debug_helper.rb +16 -0
  7. data/app/helpers/hobo_deprecated_helper.rb +45 -0
  8. data/app/helpers/hobo_helper_base.rb +8 -0
  9. data/app/helpers/hobo_permissions_helper.rb +136 -0
  10. data/app/helpers/hobo_route_helper.rb +196 -0
  11. data/{lib/hobo/helper/translations.rb → app/helpers/hobo_translations_helper.rb} +4 -7
  12. data/{lib/hobo/helper/translations/normalizer.rb → app/helpers/hobo_translations_normalizer_helper.rb} +3 -10
  13. data/app/helpers/hobo_type_helper.rb +24 -0
  14. data/app/helpers/hobo_view_hint_helper.rb +13 -0
  15. data/hobo.gemspec +3 -3
  16. data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +0 -9
  17. data/lib/generators/hobo/admin_subsite/templates/application.dryml +2 -0
  18. data/lib/generators/hobo/admin_subsite/templates/gitkeep +0 -0
  19. data/lib/generators/hobo/admin_subsite/templates/site.css.erb +9 -0
  20. data/lib/generators/hobo/admin_subsite/templates/site.js.erb +10 -0
  21. data/lib/generators/hobo/assets/assets_generator.rb +16 -2
  22. data/lib/generators/hobo/assets/templates/application.css +9 -0
  23. data/lib/generators/hobo/assets/templates/application.dryml.erb +0 -5
  24. data/lib/generators/hobo/assets/templates/application.js +11 -0
  25. data/lib/generators/hobo/assets/templates/front.css +10 -0
  26. data/lib/generators/hobo/assets/templates/front.js +11 -0
  27. data/lib/generators/hobo/assets/templates/front_site.dryml.erb +6 -0
  28. data/lib/generators/hobo/assets/templates/gitkeep +0 -0
  29. data/lib/generators/hobo/dev_tweaks/dev_tweaks_generator.rb +31 -0
  30. data/lib/generators/hobo/i18n/templates/hobo.en.yml +1 -1
  31. data/lib/generators/hobo/install_plugin/USAGE +3 -0
  32. data/lib/generators/hobo/install_plugin/install_plugin_generator.rb +36 -0
  33. data/lib/generators/hobo/plugin.rb +112 -0
  34. data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +31 -14
  35. data/lib/generators/hobo/subsite.rb +16 -2
  36. data/lib/generators/hobo/subsite/templates/gitkeep +0 -0
  37. data/lib/generators/hobo/subsite/templates/site.css.erb +9 -0
  38. data/lib/generators/hobo/subsite/templates/site.js.erb +10 -0
  39. data/lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb +0 -17
  40. data/lib/generators/hobo/test_framework/test_framework_generator.rb +1 -1
  41. data/lib/hobo.rb +3 -2
  42. data/lib/hobo/controller.rb +43 -24
  43. data/lib/hobo/controller/model.rb +63 -42
  44. data/lib/hobo/controller/user_base.rb +1 -3
  45. data/lib/hobo/engine.rb +1 -1
  46. data/lib/hobo/extensions/active_record/associations/association.rb +36 -0
  47. data/lib/hobo/extensions/active_record/associations/collection.rb +10 -19
  48. data/lib/hobo/extensions/active_record/associations/proxy.rb +3 -15
  49. data/lib/hobo/extensions/active_record/associations/scope.rb +2 -2
  50. data/lib/hobo/extensions/active_record/permissions.rb +32 -38
  51. data/lib/hobo/extensions/active_record/relation_with_origin.rb +5 -5
  52. data/lib/hobo/model.rb +12 -7
  53. data/lib/hobo/model/accessible_associations.rb +8 -15
  54. data/lib/hobo/model/lifecycles/creator.rb +1 -1
  55. data/lib/hobo/model/lifecycles/transition.rb +1 -1
  56. data/lib/hobo/model/permissions.rb +4 -4
  57. data/lib/hobo/model/scopes.rb +4 -17
  58. data/lib/hobo/model/scopes/automatic_scopes.rb +5 -13
  59. data/lib/hobo/rapid/helper.rb +1 -161
  60. data/lib/hobo/rapid/taglibs/rapid.dryml +3 -17
  61. data/test/doctest/hobo/hobo_helper.rdoctest +8 -44
  62. data/{doctests → test/doctest}/hobo/lifecycles.rdoctest +0 -0
  63. data/{doctests → test/doctest}/hobo/model.rdoctest +2 -4
  64. data/{doctests → test/doctest}/hobo/multi_model_forms.rdoctest +3 -24
  65. data/{doctests → test/doctest}/hobo/scopes.rdoctest +3 -53
  66. data/test/doctest/prepare_testapp.rb +11 -0
  67. data/test/irt/generators/admin_subsite.irt +1 -19
  68. data/test/irt/generators/assets.irt +4 -9
  69. data/test/irt/generators/controller.irt +0 -3
  70. data/test/irt/generators/front_controller.irt +0 -5
  71. data/test/irt/generators/{helper.rb → irt_helper.rb} +2 -2
  72. data/test/irt/generators/model.irt +1 -12
  73. data/test/irt/generators/partials/_account_user_model_tests.rb +0 -8
  74. data/test/irt/generators/partials/_accounts_users_controller_tests.rb +0 -2
  75. data/test/irt/generators/partials/_default_user_model_tests.rb +0 -8
  76. data/test/irt/generators/partials/_default_users_controller_tests.rb +0 -2
  77. data/test/irt/generators/partials/_house_controller_tests.rb +0 -2
  78. data/test/irt/generators/partials/_house_model_tests.rb +1 -9
  79. data/test/irt/generators/partials/_subsite_taglib_admin.rb +5 -2
  80. data/test/irt/generators/partials/_subsite_taglib_admin_invite_only.rb +1 -1
  81. data/test/irt/generators/partials/_subsite_taglib_noopt.rb +2 -2
  82. data/test/irt/generators/partials/_subsite_taglib_variables.rb +0 -15
  83. data/test/irt/generators/partials/_user_mailer_tests.rb +1 -3
  84. data/test/irt/generators/resource.irt +0 -3
  85. data/test/irt/generators/subsite.irt +6 -22
  86. data/test/irt/generators/subsite_taglib.irt +0 -18
  87. data/test/irt/generators/test_framework.irt +2 -5
  88. data/test/irt/generators/user_controller.irt +0 -3
  89. data/test/irt/generators/user_mailer.irt +0 -3
  90. data/test/irt/generators/user_model.irt +0 -3
  91. data/test/irt/generators/user_resource.irt +0 -3
  92. data/test/irt/readme.txt +6 -3
  93. metadata +116 -159
  94. data/app/controllers/dev_controller.rb +0 -25
  95. data/app/views/dev/summary.dryml +0 -102
  96. data/doctests/prepare_testapp.rb +0 -8
  97. data/lib/generators/hobo/admin_subsite/templates/admin.css +0 -20
  98. data/lib/generators/hobo/rapid/USAGE +0 -3
  99. data/lib/generators/hobo/rapid/rapid_generator.rb +0 -24
  100. data/lib/generators/hobo/rapid/templates/IE7.js +0 -2
  101. data/lib/generators/hobo/rapid/templates/blank.gif +0 -0
  102. data/lib/generators/hobo/rapid/templates/hobo-rapid.css +0 -94
  103. data/lib/generators/hobo/rapid/templates/hobo-rapid.js +0 -1015
  104. data/lib/generators/hobo/rapid/templates/ie7-recalc.js +0 -166
  105. data/lib/generators/hobo/rapid/templates/lowpro.js +0 -339
  106. data/lib/generators/hobo/rapid/templates/reset.css +0 -95
  107. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/101-3B5F87-ACD3E6.png +0 -0
  108. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/30-3E547A-242E42.png +0 -0
  109. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/30-DBE1E5-FCFEF5.png +0 -0
  110. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/300-ACD3E6-fff.png +0 -0
  111. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/50-ACD3E6-fff.png +0 -0
  112. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/fieldbg.gif +0 -0
  113. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/pencil.png +0 -0
  114. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/small_close.png +0 -0
  115. data/lib/generators/hobo/rapid/templates/themes/clean/public/images/spinner.gif +0 -0
  116. data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css +0 -327
  117. data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +0 -102
  118. data/lib/generators/hobo/rapid/templates/themes/clean/views/clean.dryml +0 -10
  119. data/lib/hobo/helper.rb +0 -460
  120. data/lib/hobo/rapid/taglibs/rapid_core.dryml +0 -808
  121. data/lib/hobo/rapid/taglibs/rapid_document_tags.dryml +0 -56
  122. data/lib/hobo/rapid/taglibs/rapid_editing.dryml +0 -287
  123. data/lib/hobo/rapid/taglibs/rapid_forms.dryml +0 -1156
  124. data/lib/hobo/rapid/taglibs/rapid_generics.dryml +0 -48
  125. data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +0 -173
  126. data/lib/hobo/rapid/taglibs/rapid_lifecycles.dryml +0 -96
  127. data/lib/hobo/rapid/taglibs/rapid_navigation.dryml +0 -108
  128. data/lib/hobo/rapid/taglibs/rapid_pages.dryml +0 -259
  129. data/lib/hobo/rapid/taglibs/rapid_plus.dryml +0 -247
  130. data/lib/hobo/rapid/taglibs/rapid_summary.dryml +0 -283
  131. data/lib/hobo/rapid/taglibs/rapid_support.dryml +0 -102
  132. data/lib/hobo/rapid/taglibs/rapid_user_pages.dryml +0 -182
  133. data/test/irt/generators/rapid.irt +0 -29
@@ -1,95 +0,0 @@
1
- /******** Reset default browser CSS styles. *********/
2
- /* Based on Blueprint */
3
-
4
- html, body, div, span, applet, object, iframe,
5
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
6
- a, abbr, acronym, address, big, cite,
7
- del, dfn, font, img, ins, kbd, q, s, samp,
8
- small, strike, sub, sup, tt, var,
9
- dl, dt, dd, ol, ul, li,
10
- fieldset, form, label, legend,
11
- table, caption, tbody, tfoot, thead, tr, th, td {
12
- margin: 0;
13
- padding: 0;
14
- border: 0;
15
- outline: 0;
16
- font-weight: inherit;
17
- font-style: inherit;
18
- font-size: 100%;
19
- font-family: inherit;
20
- vertical-align: baseline;
21
- }
22
-
23
- code {
24
- margin: 0;
25
- padding: 0;
26
- border: 0;
27
- outline: 0;
28
- font-weight: inherit;
29
- font-style: inherit;
30
- font-size: 100%;
31
- vertical-align: baseline;
32
- }
33
-
34
- em {
35
- margin: 0;
36
- padding: 0;
37
- border: 0;
38
- outline: 0;
39
- font-weight: inherit;
40
- font-size: 100%;
41
- font-family: inherit;
42
- vertical-align: baseline;
43
- }
44
-
45
- strong {
46
- margin: 0;
47
- padding: 0;
48
- border: 0;
49
- outline: 0;
50
- font-style: inherit;
51
- font-size: 100%;
52
- font-family: inherit;
53
- vertical-align: baseline;
54
- }
55
-
56
- /* Remember to define focus styles! */
57
- :focus {
58
- outline: 0;
59
- }
60
- body {
61
- line-height: 1;
62
- color: black;
63
- background: white;
64
- }
65
-
66
- /* Tables still need 'cellspacing="0"' in the markup. */
67
- table {
68
- border-collapse: separate;
69
- border-spacing: 0;
70
- }
71
- caption, th, td {
72
- text-align: left;
73
- font-weight: normal;
74
- }
75
-
76
- /* Remove possible quote marks (") from <q>, <blockquote>. */
77
- blockquote:before, blockquote:after,
78
- q:before, q:after {
79
- content: "";
80
- }
81
- blockquote, q {
82
- quotes: "" "";
83
- }
84
-
85
- body {
86
- font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
87
- font-size: 12px;
88
- }
89
- h1,h2,h3,h4,h5,h6 { font-weight: bold; }
90
- h1 { font-size: 36px;}
91
- h2 { font-size: 28px;}
92
- h3 { font-size: 18px;}
93
- h4 { font-size: 14px;}
94
- h5 { font-size: 12px;}
95
- h6 { font-size: 10px;}
@@ -1,327 +0,0 @@
1
- body {color: #193440; background: url(../images/300-ACD3E6-fff.png) repeat-x #fff; }
2
- .page-header {color: white; background: url(../images/101-3B5F87-ACD3E6.png) repeat-x #3F606E;}
3
- .page-header .navigation.main-nav a {
4
- background: url(../images/30-3E547A-242E42.png) repeat-x #242E42;
5
- }
6
- .page-header .navigation.main-nav li.current a {
7
- color: #222;
8
- background: url(../images/30-DBE1E5-FCFEF5.png) repeat-x #FCFEF5;
9
- border-top: 1px solid white;
10
- border-left: 1px solid white;
11
- border-right: 1px solid white;
12
- }
13
- .page-header .navigation.main-nav a:hover {background: #193440;}
14
- .section.content {background: #FCFFF5;}
15
- .button {color: white; background: #5B8BA0;}
16
- .button:hover {background-color: #193440;}
17
- .button[disabled] { background-color: #CCCCCC; }
18
- .add-to-collection {background: #E6E7DE;}
19
- .aside { background: #E5E5E5;}
20
-
21
- /* Column Layout */
22
-
23
- .section-group {display: table; width: 100%;}
24
- .section-group-inner {display: table-row;}
25
- .section-group-inner > * {display: table-cell; vertical-align: top;}
26
- .aside {width: 210px;} /* works with % too */
27
- .aside { padding: 20px;}
28
- /* ------ */
29
-
30
-
31
- body {
32
- width: 960px;
33
- margin: 0 auto 20px;
34
- font: 12px "Lucida Grande", "Trebuchet MS", Arial, sans-serif; line-height: 18px;
35
- }
36
- h1, h2, h3 {font-weight: normal;}
37
- h1 {margin: 20px 0 10px; font-size: 22px; line-height: 22px;}
38
- h2 {margin: 15px 0 10px; font-size: 18px; line-height: 18px;}
39
- h3 {margin: 10px 0 5px; font-size: 16px; line-height: 16px;}
40
- h4 {margin: 10px 0 5px; font-size: 14px; line-height: 14px;}
41
- h5 {margin: 10px 0 5px; font-size: 12px; line-height: 12px;}
42
- h6 {margin: 10px 0 5px; font-size: 10px; line-height: 10px;}
43
-
44
- li {margin-left: 20px;}
45
-
46
- a {
47
- border-bottom: 1px dotted #ccc;
48
- color: #222; background: #fafafa;
49
- text-decoration: none;
50
- }
51
- a:hover {
52
- border-bottom: 1px dotted #aaa;
53
- color: black; background: #f2f2f2;
54
- }
55
- h1 a, h2 a, h3 a {border: none; background: none;}
56
-
57
- pre, code {
58
- font-family: "Courier New", Courier, monospace;
59
- }
60
-
61
- input.text, input.string, input.email-address, input.password, input.search, input.integer, input.float, input.autocompleter, input.decimal, textarea {
62
- border-top:1px solid #7c7c7c;
63
- border-left:1px solid #c3c3c3;
64
- border-right:1px solid #c3c3c3;
65
- border-bottom:1px solid #ddd;
66
- background: #fff url(../images/fieldbg.gif) repeat-x top;
67
- font-size: 1.1em; line-height: 1.3em;
68
- }
69
-
70
- input.file_upload {
71
- border: 1px dotted #666;
72
- }
73
-
74
- .button {
75
- padding: 6px 10px;
76
- border: none;
77
- width: auto;
78
- font-size: 11px; font-weight: bold;
79
- margin-top: 10px;
80
- }
81
- .button:hover {cursor: pointer;}
82
- form .actions {_zoom: 1; overflow: hidden; font-size: 11px;}
83
- form .actions input { margin: 0; }
84
-
85
- .flash {
86
- margin: 0 40px 10px; padding: 10px 30px; border-width: 2px 0;
87
- color: white;
88
- }
89
- .flash.notice {background: #4E6A8F;}
90
- .flash.error {background: #BC1C3D;}
91
- .section.with-flash { padding-top: 20px; }
92
-
93
- /* rails error message */
94
- .error-messages {
95
- background: #BC1C3D;
96
- border: 1px solid #900024;
97
- padding: 15px 30px;
98
- color: white;
99
- margin-bottom: 20px;
100
- }
101
- .error-messages h2 {
102
- color: white; margin-top: 0; padding-bottom: 0; font-size: 16px;
103
- }
104
- .error-messages li {margin-left: 20px; list-style: square;}
105
-
106
- .field-with-errors input, .field-with-errors textarea, .field-with-errors select {border: 2px solid #BC1C3D;}
107
-
108
- #ajax-progress {
109
- padding: 8px 20px 8px 40px;
110
- border: 1px solid #444;
111
- background: black url(../images/spinner.gif) no-repeat 10px 8px;
112
- color: white;
113
- }
114
-
115
- .field-list th {width: 120px; white-space: nowrap;}
116
- .field-list td {width: auto;}
117
- .field-list .input-help { color: #888;}
118
-
119
- .content-header, .content-body, .content-footer {margin: 0 45px 15px; padding: 0;}
120
- .content-header {padding: 5px 0;}
121
- .content-body {padding: 15px 0;}
122
- .content-footer {padding-bottom: 20px;}
123
-
124
- .page-header {margin-top: 25px; padding: 0 0 0;}
125
- .page-header h1 {
126
- margin: 0; padding: 20px 30px 30px;
127
- font-family: "Arial Black", Tahoma, Arial, sans-serif; font-size: 36px; letter-spacing: -1.5pt;
128
- }
129
- .page-header ul {zoom: 1; overflow: hidden;}
130
- .page-header li {float: left; margin-left: 0; list-style: none;}
131
-
132
- .page-header .navigation a,
133
- .page-header .navigation a:hover,
134
- .page-header h1 a,
135
- .page-header h1 a:hover
136
- {border: none; color: white; background: none;}
137
-
138
- .page-header div.search {
139
- float: right;
140
- padding: 0 30px 8px 15px;
141
- }
142
- .page-header div.search label {
143
- padding-right: 10px;
144
- font: bold 9px Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.0pt;
145
- }
146
- .page-header div.search input {
147
- font-size: 10px;
148
- }
149
- #search-results-panel {
150
- position: absolute; top: 35px; right: 25px; z-index: 50;
151
- width: 350px; height: 500px; overflow: auto;
152
- padding: 0 20px 20px; border: 1px solid #ddd;
153
- color: black; background: #f2f2f2;
154
- }
155
- #search-results-panel .card.linkable a {color: black;}
156
- #search-spinner {background:black;border:1px solid #666666;opacity:0.6;padding:2px;position:absolute;right:4px;top:6px;}
157
-
158
- .main-nav {padding: 0 30px;}
159
- .main-nav li {margin-right: 10px;}
160
- .page-header .main-nav a {
161
- display: block;
162
- padding: 5px 15px 7px;
163
- font-size: 13px; font-weight: bold;
164
- }
165
-
166
- .account-nav {
167
- float:right;
168
- margin: -22px 5px 0 0;
169
- font-size: 11px;
170
- }
171
- .account-nav li {
172
- float: left;
173
- margin-left: 0; padding-left: 20px;
174
- color: #ddd;
175
- list-style: none;
176
- }
177
- .account-nav a {font-weight: bold;}
178
- .account-nav a:hover {border-bottom: 1px dotted #ddd;}
179
-
180
- .user-account-page .change-password {width: 350px;}
181
- .user-account-page .change-password th {width: 150px;}
182
-
183
- .page-footer {text-align: right; color: #ccc; padding: 5px; font-size: 11px;}
184
-
185
- /* pagination nav, needs a more specific class on the wrapper */
186
- .content-body .nav {margin-bottom: 10px; font-size: 11px;}
187
- .content-body .nav a {margin-right: 5px;}
188
-
189
- .login-page, .forgot-password-page {width: 470px; margin-top: 40px;}
190
- .login-page .content-header {padding-bottom: 0;}
191
- .login-page .field-list {width: 370px;}
192
- .login-page form .actions {text-align: left; margin: 0; padding: 10px 0 10px 160px;}
193
- .signup-page .field-list {width: 370px;}
194
- .signup-page .content-body, .signup-page .content-header { margin-left: 120px; margin-right: 120px;}
195
- .login-page .field-list td, .signup-page .field-list td {width: auto;}
196
- .login-page .field-list th, .signup-page .field-list th {width: 150px !important; width: 150px;}
197
- .login-page .content-header { position: relative; }
198
- .login-page .forgot-password {font-size: 11px; margin-left: 160px;}
199
-
200
- .edit-page .content-header {overflow: hidden; _zoom: 1;}
201
- .edit-page .content-header h1 {float: left;}
202
- .edit-page .content-header .delete-button {float: right; margin-top: 25px;}
203
- form .actions {margin: 30px 0; width: 100%; text-align: center;}
204
-
205
- .show-page .content-header {position: relative; border-bottom: 1px dotted #888;}
206
- .show-page .content-header h1, .new-in-collection-page .content-header h1 {margin-bottom: 2px; margin-right: 70px;}
207
- .show-page .content-header a.edit-link {position: absolute; top: 30px; right: 0;}
208
- .aside-content .collection {padding-bottom: 10px;}
209
-
210
- .content-header .creation-details {font-size: 11px; line-height: 11px;}
211
- .content-header .creator {margin-right: 15px;}
212
- .content-header .created-at {color: #444;}
213
-
214
- .new-in-collection-page .content-header h2 {margin-top: 6px; font-size: 14px;}
215
- .new-in-collection-page .content-header h2, .new-in-collection-page .content-header h2 a {color: #222;}
216
-
217
- .add-to-collection {padding: 20px 30px; margin-top: 20px;}
218
- .collection-section .add-to-collection h3 {margin: 0 0 20px; padding: 0; border-bottom: none;}
219
- .add-to-collection form .submit-button {margin: 20px 130px;}
220
- .add-to-collection .actions {text-align: left; margin-top: 0; margin-bottom: 0;}
221
-
222
- /* styling of generic elements */
223
- .creator {font-weight: bold;}
224
- .card {
225
- overflow: hidden; _zoom: 1;
226
- margin: 10px 0; padding: 12px; border: 1px solid #e8e8e8;
227
- background: #f5f5f5;
228
- position: relative;
229
- }
230
- .card h4 {margin-top: 0;}
231
- .card a {background: #f5f5f5;}
232
- .card .creation-details {
233
- display: block; color: #333; font-size: 11px;
234
- }
235
- .card .datetime {color: #666;}
236
- .card .actions { position:absolute; right: 10px; top: 10px; }
237
- div.ordering-handle { float: left; background: #ccc; color: white; margin-right: 5px; cursor: move; padding: 0 2px;}
238
-
239
- .card.content.with-owner {
240
- padding: 0; margin: 10px 0 30px; border: none;
241
- background: none;
242
- font-size: 11px;
243
- }
244
- .card.content .creation-details {
245
- float: left; width: 28%;
246
- line-height: 14px;
247
- }
248
- .card.content .creation-details .created-at {display: block;}
249
- .card.content.with-owner .content {
250
- float: right; width: 72%;
251
- }
252
- ul.collection > li { margin-left: 0; list-style: none;}
253
- .empty-collection-message {margin-top: 20px;}
254
-
255
- .new-link {margin-top: 20px;}
256
-
257
- .collection-section h3 {
258
- padding: 15px 0; margin-bottom: 20px; border-bottom: 1px dotted #888;
259
- }
260
-
261
- .table-plus .header {_zoom: 1; overflow: hidden;}
262
- .table-plus .header a {float: left; margin-right: 20px;}
263
- .table-plus div.search {float: right;}
264
- .table-plus div.search span {color: #444;}
265
- .table-plus div.search input.search {margin: 0 5px;}
266
- .table-plus div.search .button {padding: 2px 4px;}
267
-
268
- .table-plus table {width: 100%; margin: 20px 0;}
269
- .table-plus table th {
270
- padding: 2px 10px;
271
- color: white; background: #444;
272
- font-weight: bold; font-size: 10px;
273
- }
274
- .table-plus table th a {color: white;}
275
- .table-plus table td {
276
- padding: 6px 10px; border-bottom: 1px solid #e2e2e2; color: #666;
277
- }
278
- .table-plus table td input.button, .collection .button {padding: 1px 3px; margin-left: 10px; margin-top: 0;}
279
- .table-plus table td.controls {width: 100px;}
280
- .table-plus .even {background: #f8f8f8;}
281
- .table-plus a {background: none;}
282
-
283
- /* <select-many> */
284
-
285
- div.select-many {border-top: 1px dotted #999;}
286
- div.select-many .items {margin-bottom: 10px;}
287
- div.select-many .item {
288
- overflow:hidden; _zoom: 1; font-weight: bold;
289
- border-bottom: 1px dotted #999; padding: 5px 10px; /*margin: 5px 25px 5px 0;*/
290
- }
291
- div.select-many .item span { float: left; }
292
- div.select-many .item .remove-item { float: right; }
293
-
294
- /* <live-search> */
295
-
296
- #search-results-panel { postition: relative; }
297
- #search-results-panel .close-button { cursor: pointer; text-decoration: underline; position: absolute; top: 3px; right: 6px;}
298
-
299
- /*******************************************************/
300
- /* these styles are for the generated front index page */
301
- /* you can delete them if you over-ride it */
302
-
303
- .front-page .welcome-message {
304
- padding: 10px 20px 20px; border: 1px solid #e8e8e8;
305
- color: #222;
306
- background: url(../images/50-ACD3E6-fff.png) repeat-x #fff;
307
- }
308
- .front-page .welcome-message h2 {
309
- font-size: 18px; line-height: 27px;
310
- }
311
- .front-page ul.models li {margin-left: 0; list-style: none;}
312
-
313
- ul.input-many {list-style-type: none;}
314
- ul.input-all {list-style-type: none;}
315
-
316
- ul.input-many > li { overflow:hidden; zoom:1;}
317
- ul.input-many .input-many-item {float:left;}
318
- ul.input-many div.buttons {float:left; margin-left:10px;}
319
- li.input-many-template { display:none; }
320
-
321
- ul.check-many { list-style-type: none; margin-left: 0px;}
322
- ul.check-many li input { vertical-align: -20%;}
323
-
324
- /* rapid-summary */
325
- table.app-summary { border: 1px solid; border-collapse: collapse; }
326
- table.app-summary td { padding: 2px; border: 1px dotted #bbb; }
327
- table.app-summary th { padding: 2px; border-bottom: 1px solid; background: #acd3e6; }
@@ -1,102 +0,0 @@
1
- .hidden {display: none;}
2
-
3
- .in-place-textfield-bhv, .in-place-textarea-bhv, .in-place-html-textarea-bhv {
4
- border: 1px dotted #666;
5
- padding: 0 3px; padding-right: 20px;
6
- background-image: url(../images/pencil.png);
7
- background-position: top right;
8
- background-repeat: no-repeat;
9
- }
10
-
11
- .inplaceeditor-form input, .inplaceeditor-form textarea,
12
- table.new-record textarea, table.new-record input {
13
- border: 1px dotted #666;
14
- padding: 3px; width: 100%;
15
- }
16
- .inplaceeditor-form, .inplaceeditor-form input {
17
- display: inline;
18
- }
19
-
20
- /**** Admin ****/
21
-
22
- .admin-banner {
23
- background: #9d0018; border-top: 2px solid #7a0013; border-bottom: 2px solid #7a0013;
24
- padding: 2px 0;
25
- margin: 10px 0;
26
- }
27
- .admin-banner p, .admin-banner span {
28
- font: 12px "Lucida Grande", Arial, sans-serif;
29
- }
30
- .admin-banner p, .admin-banner div {margin-bottom: 0;}
31
- .admin-banner a {color: white; text-decoration: none; padding: 1px 5px; font-weight: bold;}
32
- .admin-banner a:hover {color: #9d0018; background: white;}
33
- .admin-banner .logged-in {
34
- float: right;
35
- }
36
-
37
- /********* everything below here came from hobo_rapid.css, needs looking at ********/
38
-
39
- /**** Default styling for Rapid ***/
40
-
41
- #ajax-progress {
42
- float: right; margin: 20px;
43
- position: fixed; display: none; z-index: 10;
44
- }
45
-
46
- /* Scriptaculous Autocompleter ---*/
47
-
48
- div.completions-popup {
49
- position:absolute;
50
- width:250px;
51
- background-color:white;
52
- border:1px solid #888;
53
- margin:0px;
54
- padding:0px;
55
- }
56
- div.completions-popup ul {
57
- list-style-type:none;
58
- margin:0px;
59
- padding:0px;
60
- }
61
- div.completions-popup ul li.selected { background-color: #ffb;}
62
- div.completions-popup ul li {
63
- list-style-type:none;
64
- display:block;
65
- margin:0;
66
- padding:2px;
67
- cursor:pointer;
68
- }
69
-
70
-
71
- .field-list {width:100%;}
72
- .field-list td {vertical-align: middle;}
73
- .field-list th {font-weight: bold;}
74
- .field-list th, .field-list td {padding: 5px 0;}
75
- .field-list th {padding-right: 10px;}
76
-
77
- .field-list td.field-label {
78
- text-align: left; width: 1px; white-space: nowrap; vertical-align: top;
79
- padding-top: 10px; padding-bottom: 10px;
80
- }
81
- .field-list textarea, .field-list input[type=text], .field-list input[type=password] { width: 99%; margin: 0; }
82
-
83
- /*input[type=text].wide { width: 100%; }*/
84
- textarea { height: 170px; }
85
- textarea.wide { width: 100%; }
86
- textarea.tall { height: 350px; }
87
-
88
- .field-list input.percentage {width: 25px; display: inline; margin-right: 5px; padding: 1px 3px;}
89
-
90
- select.dev-user-changer { opacity: 0.3; }
91
- select.dev-user-changer:hover { opacity: 1; }
92
-
93
- .part-wrapper {
94
- display: inline; /* don't mess up layout when wrapping something */
95
- }
96
-
97
- optgroup.disabled-option {
98
- color: #ccc;
99
- height: 1em;
100
- }
101
-
102
- input.nil-value { color:grey; }