chef-server-webui 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. data/LICENSE +201 -0
  2. data/README.rdoc +135 -0
  3. data/Rakefile +62 -0
  4. data/app/controllers/application.rb +281 -0
  5. data/app/controllers/clients.rb +120 -0
  6. data/app/controllers/cookbook_attributes.rb +41 -0
  7. data/app/controllers/cookbook_definitions.rb +41 -0
  8. data/app/controllers/cookbook_files.rb +39 -0
  9. data/app/controllers/cookbook_libraries.rb +41 -0
  10. data/app/controllers/cookbook_recipes.rb +40 -0
  11. data/app/controllers/cookbook_templates.rb +57 -0
  12. data/app/controllers/cookbooks.rb +78 -0
  13. data/app/controllers/databag_items.rb +102 -0
  14. data/app/controllers/databags.rb +83 -0
  15. data/app/controllers/exceptions.rb +19 -0
  16. data/app/controllers/main.rb +7 -0
  17. data/app/controllers/nodes.rb +138 -0
  18. data/app/controllers/openid_consumer.rb +154 -0
  19. data/app/controllers/roles.rb +144 -0
  20. data/app/controllers/search.rb +62 -0
  21. data/app/controllers/search_entries.rb +64 -0
  22. data/app/controllers/status.rb +39 -0
  23. data/app/controllers/users.rb +186 -0
  24. data/app/helpers/application_helper.rb +171 -0
  25. data/app/helpers/cookbook_attributes_helper.rb +7 -0
  26. data/app/helpers/cookbook_definitions_helper.rb +8 -0
  27. data/app/helpers/cookbook_files_helper.rb +8 -0
  28. data/app/helpers/cookbook_libraries_helper.rb +7 -0
  29. data/app/helpers/cookbook_recipes_helper.rb +8 -0
  30. data/app/helpers/cookbook_templates_helper.rb +8 -0
  31. data/app/helpers/exceptions_helper.rb +6 -0
  32. data/app/helpers/global_helpers.rb +35 -0
  33. data/app/helpers/nodes_helper.rb +41 -0
  34. data/app/helpers/openid_consumer_helper.rb +8 -0
  35. data/app/helpers/openid_register_helper.rb +8 -0
  36. data/app/helpers/openid_server_helper.rb +6 -0
  37. data/app/helpers/openid_server_helpers.rb +29 -0
  38. data/app/helpers/roles_helper.rb +5 -0
  39. data/app/helpers/search_entries_helper.rb +8 -0
  40. data/app/helpers/search_helper.rb +38 -0
  41. data/app/helpers/status_helper.rb +26 -0
  42. data/app/views/clients/_form.html.haml +22 -0
  43. data/app/views/clients/_navigation.html.haml +9 -0
  44. data/app/views/clients/edit.html.haml +6 -0
  45. data/app/views/clients/index.html.haml +21 -0
  46. data/app/views/clients/new.html.haml +6 -0
  47. data/app/views/clients/show.html.haml +20 -0
  48. data/app/views/cookbooks/index.html.haml +10 -0
  49. data/app/views/cookbooks/show.html.haml +40 -0
  50. data/app/views/databag_items/_form.html.haml +14 -0
  51. data/app/views/databag_items/_navigation.html.haml +9 -0
  52. data/app/views/databag_items/edit.html.haml +6 -0
  53. data/app/views/databag_items/index.html.haml +0 -0
  54. data/app/views/databag_items/new.html.haml +6 -0
  55. data/app/views/databag_items/show.html.haml +9 -0
  56. data/app/views/databags/_form.html.haml +12 -0
  57. data/app/views/databags/_item_navigation.html.haml +8 -0
  58. data/app/views/databags/_navigation.html.haml +9 -0
  59. data/app/views/databags/edit.html.haml +6 -0
  60. data/app/views/databags/index.html.haml +19 -0
  61. data/app/views/databags/new.html.haml +6 -0
  62. data/app/views/databags/show.html.haml +19 -0
  63. data/app/views/exceptions/bad_request.json.erb +1 -0
  64. data/app/views/exceptions/internal_server_error.html.erb +216 -0
  65. data/app/views/exceptions/not_acceptable.html.erb +63 -0
  66. data/app/views/exceptions/not_found.html.erb +47 -0
  67. data/app/views/exceptions/standard_error.html.erb +217 -0
  68. data/app/views/layout/_jsonedit.html.haml +82 -0
  69. data/app/views/layout/chef_server_webui.html.haml +56 -0
  70. data/app/views/layout/login.html.haml +36 -0
  71. data/app/views/main/index.html.erb +1 -0
  72. data/app/views/nodes/_action.html.haml +13 -0
  73. data/app/views/nodes/_form.html.haml +53 -0
  74. data/app/views/nodes/_navigation.html.haml +9 -0
  75. data/app/views/nodes/_resource.html.haml +22 -0
  76. data/app/views/nodes/edit.html.haml +7 -0
  77. data/app/views/nodes/index.html.haml +25 -0
  78. data/app/views/nodes/new.html.haml +6 -0
  79. data/app/views/nodes/show.html.haml +60 -0
  80. data/app/views/openid_consumer/index.html.haml +28 -0
  81. data/app/views/openid_consumer/start.html.haml +4 -0
  82. data/app/views/openid_login/index.html.haml +5 -0
  83. data/app/views/openid_register/index.html.haml +19 -0
  84. data/app/views/openid_register/show.html.haml +7 -0
  85. data/app/views/roles/_form.html.haml +53 -0
  86. data/app/views/roles/_navigation.html.haml +9 -0
  87. data/app/views/roles/edit.html.haml +6 -0
  88. data/app/views/roles/index.html.haml +21 -0
  89. data/app/views/roles/new.html.haml +6 -0
  90. data/app/views/roles/show.html.haml +54 -0
  91. data/app/views/search/_search_form.html.haml +6 -0
  92. data/app/views/search/index.html.haml +8 -0
  93. data/app/views/search/show.html.haml +13 -0
  94. data/app/views/search_entries/index.html.haml +8 -0
  95. data/app/views/search_entries/show.html.haml +7 -0
  96. data/app/views/status/index.html.haml +90 -0
  97. data/app/views/users/_form.html.haml +39 -0
  98. data/app/views/users/_navigation.html.haml +9 -0
  99. data/app/views/users/edit.html.haml +6 -0
  100. data/app/views/users/index.html.haml +20 -0
  101. data/app/views/users/login.html.haml +16 -0
  102. data/app/views/users/new.html.haml +27 -0
  103. data/app/views/users/show.html.haml +13 -0
  104. data/app/views/users/start.html.haml +4 -0
  105. data/config.ru +84 -0
  106. data/config/init.rb +49 -0
  107. data/config/router.rb +6 -0
  108. data/lib/chef-server-webui.rb +155 -0
  109. data/lib/chef-server-webui/merbtasks.rb +103 -0
  110. data/lib/chef-server-webui/slicetasks.rb +20 -0
  111. data/lib/chef-server-webui/spectasks.rb +53 -0
  112. data/public/facebox/README.txt +4 -0
  113. data/public/facebox/b.png +0 -0
  114. data/public/facebox/bl.png +0 -0
  115. data/public/facebox/br.png +0 -0
  116. data/public/facebox/closelabel.gif +0 -0
  117. data/public/facebox/facebox.css +95 -0
  118. data/public/facebox/facebox.js +319 -0
  119. data/public/facebox/loading.gif +0 -0
  120. data/public/facebox/tl.png +0 -0
  121. data/public/facebox/tr.png +0 -0
  122. data/public/images/avatar.png +0 -0
  123. data/public/images/black_big.png +0 -0
  124. data/public/images/indicator.gif +0 -0
  125. data/public/images/jsonedit/add2.png +0 -0
  126. data/public/images/jsonedit/build-button.png +0 -0
  127. data/public/images/jsonedit/bullet.gif +0 -0
  128. data/public/images/jsonedit/bullet_orange.png +0 -0
  129. data/public/images/jsonedit/cross.png +0 -0
  130. data/public/images/jsonedit/delete.png +0 -0
  131. data/public/images/jsonedit/deleted.png +0 -0
  132. data/public/images/jsonedit/json.jpg +0 -0
  133. data/public/images/jsonedit/label.gif +0 -0
  134. data/public/images/jsonedit/minus.gif +0 -0
  135. data/public/images/jsonedit/pixel.gif +0 -0
  136. data/public/images/jsonedit/plus.gif +0 -0
  137. data/public/images/jsonedit/saved.png +0 -0
  138. data/public/images/jsonedit/table_refresh.png +0 -0
  139. data/public/images/jsonedit/value.gif +0 -0
  140. data/public/images/merb.jpg +0 -0
  141. data/public/images/toggle-collapse-dark.png +0 -0
  142. data/public/images/toggle-collapse-light.png +0 -0
  143. data/public/images/toggle-collapse.gif +0 -0
  144. data/public/images/toggle-expand-dark.png +0 -0
  145. data/public/images/toggle-expand-light.png +0 -0
  146. data/public/images/toggle-expand.gif +0 -0
  147. data/public/images/treeBuilderImages/Thumbs.db +0 -0
  148. data/public/images/treeBuilderImages/doc.gif +0 -0
  149. data/public/images/treeBuilderImages/docNode.gif +0 -0
  150. data/public/images/treeBuilderImages/docNodeLast.gif +0 -0
  151. data/public/images/treeBuilderImages/docNodeLastFirst.gif +0 -0
  152. data/public/images/treeBuilderImages/folder.gif +0 -0
  153. data/public/images/treeBuilderImages/folderNode.gif +0 -0
  154. data/public/images/treeBuilderImages/folderNodeFirst.gif +0 -0
  155. data/public/images/treeBuilderImages/folderNodeLast.gif +0 -0
  156. data/public/images/treeBuilderImages/folderNodeLastFirst.gif +0 -0
  157. data/public/images/treeBuilderImages/folderNodeOpen.gif +0 -0
  158. data/public/images/treeBuilderImages/folderNodeOpenFirst.gif +0 -0
  159. data/public/images/treeBuilderImages/folderNodeOpenLast.gif +0 -0
  160. data/public/images/treeBuilderImages/folderNodeOpenLastFirst.gif +0 -0
  161. data/public/images/treeBuilderImages/folderOpen.gif +0 -0
  162. data/public/images/treeBuilderImages/vertLine.gif +0 -0
  163. data/public/javascripts/chef.js +160 -0
  164. data/public/javascripts/jquery-1.3.2.min.js +19 -0
  165. data/public/javascripts/jquery-ui-1.7.1.custom.min.js +65 -0
  166. data/public/javascripts/jquery.editinline.js +108 -0
  167. data/public/javascripts/jquery.jeditable.mini.js +30 -0
  168. data/public/javascripts/jquery.livequery.js +250 -0
  169. data/public/javascripts/jquery.localscroll.js +104 -0
  170. data/public/javascripts/jquery.scrollTo.js +150 -0
  171. data/public/javascripts/jquery.tools.min.js +17 -0
  172. data/public/javascripts/jquery.treeTable.min.js +165 -0
  173. data/public/javascripts/json.js +153 -0
  174. data/public/javascripts/jsonedit_main.js +675 -0
  175. data/public/javascripts/yetii-min.js +1 -0
  176. data/public/stylesheets/base.css +336 -0
  177. data/public/stylesheets/chef.css +157 -0
  178. data/public/stylesheets/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  179. data/public/stylesheets/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  180. data/public/stylesheets/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
  181. data/public/stylesheets/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
  182. data/public/stylesheets/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  183. data/public/stylesheets/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
  184. data/public/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  185. data/public/stylesheets/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  186. data/public/stylesheets/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
  187. data/public/stylesheets/images/ui-icons_222222_256x240.png +0 -0
  188. data/public/stylesheets/images/ui-icons_2694e8_256x240.png +0 -0
  189. data/public/stylesheets/images/ui-icons_2e83ff_256x240.png +0 -0
  190. data/public/stylesheets/images/ui-icons_72a7cf_256x240.png +0 -0
  191. data/public/stylesheets/images/ui-icons_888888_256x240.png +0 -0
  192. data/public/stylesheets/images/ui-icons_cd0a0a_256x240.png +0 -0
  193. data/public/stylesheets/images/ui-icons_ffffff_256x240.png +0 -0
  194. data/public/stylesheets/jquery-ui-1.7.1.custom.css +404 -0
  195. data/public/stylesheets/jquery.treeTable.css +43 -0
  196. data/public/stylesheets/jsonedit_main.css +280 -0
  197. data/public/stylesheets/themes/bec-green/style.css +290 -0
  198. data/public/stylesheets/themes/bec/style.css +301 -0
  199. data/public/stylesheets/themes/blue/style.css +280 -0
  200. data/public/stylesheets/themes/default/style.css +267 -0
  201. data/public/stylesheets/themes/djime-cerulean/style.css +298 -0
  202. data/public/stylesheets/themes/kathleene/style.css +272 -0
  203. data/public/stylesheets/themes/orange/style.css +263 -0
  204. data/public/stylesheets/themes/reidb-greenish/style.css +301 -0
  205. data/stubs/app/controllers/application.rb +2 -0
  206. data/stubs/app/controllers/main.rb +2 -0
  207. metadata +399 -0
@@ -0,0 +1,280 @@
1
+ /* Put this inside a @media qualifier so Netscape 4 ignores it */
2
+ @media screen, print {
3
+ /* Turn off list bullets */
4
+ ul.mktree li { list-style: none; }
5
+
6
+ ul.mktree {margin: 0px; margin-left: -10px !important; margin-top: 3px;}
7
+ /* Control how "spaced out" the tree is */
8
+ ul.mktree, ul.mktree ul , ul.mktree li { margin-left:10px; padding:0px; white-space: nowrap}
9
+ /* Provide space for our own "bullet" inside the LI */
10
+ ul.mktree li .bullet { padding-left: 15px;}
11
+ /* Show "bullets" in the links, depending on the class of the LI that the link's in */
12
+ ul.mktree li.liOpen .bullet { cursor: pointer; background: url(../images/jsonedit/minus.gif) center left no-repeat; }
13
+ ul.mktree li.liClosed .bullet { cursor: pointer; background: url(../images/jsonedit/plus.gif) center left no-repeat; }
14
+ ul.mktree li.liBullet .bullet { cursor: default; background: url(../images/jsonedit/bullet.gif) center left no-repeat; }
15
+ /* Sublists are visible or not based on class of parent LI */
16
+ ul.mktree li.liOpen ul { display: block; border-left:1px solid #f5f5f5; border-top:1px solid #f5f5f5;}
17
+ ul.mktree li.liClosed ul { display: none; }
18
+
19
+
20
+ ul.mktree li { line-height: 16px }
21
+ /* Format menu items differently depending on what level of the tree they are in */
22
+ /* Uncomment this if you want your fonts to decrease in size the deeper they are in the tree */
23
+ /*
24
+ ul.mktree li ul li { font-size: 90% }
25
+ */
26
+
27
+ }
28
+
29
+ #jsoneditor {
30
+ height: 350px;
31
+ }
32
+
33
+ #treecontainer{
34
+ border:1px solid #ccc;
35
+ position: absolute;
36
+ width:300px;
37
+ height: 350px;
38
+ overflow: auto;
39
+ margin-right:4px;
40
+ }
41
+ #treecontainer div, #treecontainer a{
42
+ color: #000000;
43
+ font: 12px Arial;
44
+ text-decoration: none;
45
+ padding-left: 2px;
46
+ padding-right: 2px;
47
+ cursor:pointer;
48
+ }
49
+ #treecontainer .au{background-color: #ffffff; color: #000000} /* A tag unselected*/
50
+ #treecontainer .as{background-color: #0a246a; color: #ffffff } /* A tag selected*/
51
+
52
+ #tabcontainer{
53
+ position: absolute;
54
+ left: 310px;
55
+ top: 19px;
56
+ overflow: hidden;
57
+ }
58
+ #tabcontainer #console{
59
+ margin-top:4px;
60
+ border: 1px solid #ccc;
61
+ width:498px;
62
+ display: none;
63
+ }
64
+ #tabcontainer #console #log{
65
+ color:#FF0000;
66
+ font: 12px Arial;
67
+ padding:2px;
68
+ }
69
+ #tabcontainer #console #bar{
70
+ background-image:url(../images/jsonedit/cross.png);
71
+ _background-image:url(../images/jsonedit/cross.gif);
72
+ background-position: right;
73
+ background-repeat:no-repeat;
74
+ font: 12px Arial;
75
+ padding:2px;
76
+ background-color:#F0F0F0;
77
+ }
78
+ #tabcontainer #console #bar a{
79
+ display: block
80
+ }
81
+ #tabcontainer .noshow{display:none}
82
+ #tabcontainer .show{display:block}
83
+ div.tablayout {
84
+ width: 500px;
85
+ margin: 0 0 0px 0;
86
+ }
87
+ div.nested{
88
+ width: 480px;
89
+ margin: 0 0 0px 0;
90
+ }
91
+ ul.tablayout {
92
+ list-style-type: none;
93
+ width: 100%;
94
+ float: left;
95
+ background: url(../images/jsonedit/pixel.gif) bottom left repeat-x;
96
+ margin:0pt;
97
+ padding:0pt;
98
+ font: 12px Arial, Verdana
99
+ }
100
+ ul.tablayout li {
101
+ margin: 0 2px 0 0;
102
+ float: left;
103
+ }
104
+ ul.tablayout a {
105
+ float: left;
106
+ display: block;
107
+ padding: 2px 8px;
108
+ border: 1px solid #ccc;
109
+ border-bottom: 0;
110
+ color: #666;
111
+ background: #eee;
112
+ text-decoration: none;
113
+ font-weight: bold;
114
+ outline:0;
115
+ }
116
+ ul.tablayout a:hover {background: #fff;}
117
+ ul.tablayout a.active {
118
+ background: #fff;
119
+ padding-bottom: 3px;
120
+ cursor: default;
121
+ color: red;
122
+ }
123
+ #tab-container-2-nav a {
124
+ padding: 0px 8px;
125
+ background-color:#CCCCCC;
126
+ }
127
+ #tab-container-2-nav a.active{
128
+ background-color:#f0f0f0;
129
+ }
130
+ #tab-container-2-nav li{
131
+
132
+ }
133
+ .xmlchoice{
134
+ height:24px;
135
+ text-align:left !important;
136
+ }
137
+ .xmlchoice input{
138
+ margin-top:0px;
139
+ vertical-align:middle;
140
+ }
141
+ .tab{
142
+ clear: left;
143
+ border: 1px solid #ccc;
144
+ border-top: 0;
145
+ padding: 8px 8px 0 8px;
146
+ }
147
+ .tab{font: 12px Arial;}
148
+ .tabn{
149
+ clear: left;
150
+ border: 1px solid #ccc;
151
+ border-top: 0;
152
+ padding: 8px 8px 0 8px;
153
+ margin-bottom:8px;
154
+ background-color:#f0f0f0;
155
+ }
156
+ .tabn{font: 12px Arial;}
157
+
158
+
159
+ .tab h2{margin: 0 0 20px 0;}
160
+
161
+ .tab .button{
162
+ border:1px solid white;
163
+ float:left;
164
+ height:20px;
165
+ width:20px;
166
+ background-repeat:no-repeat;
167
+ background-position: center center;
168
+ cursor: pointer;
169
+ }
170
+ .tabn .button{
171
+ border:1px solid #f0f0f0;
172
+ float:left;
173
+ height:20px;
174
+ width:20px;
175
+ background-repeat:no-repeat;
176
+ background-position: center center;
177
+ cursor: pointer;
178
+ }
179
+ .tab .button:hover{border:1px outset;}
180
+ .buttondown{border:1px inset !important}
181
+ .tab #addbutton {
182
+ display: none;
183
+ background:#EEEEEE none repeat scroll 0 0;
184
+ border:1px solid #001C26;
185
+ color:#001C26;
186
+ cursor:pointer;
187
+ padding:2px 5px;
188
+ -moz-border-radius-bottomleft:4px;
189
+ -moz-border-radius-bottomright:4px;
190
+ -moz-border-radius-topleft:4px;
191
+ -moz-border-radius-topright:4px;
192
+ }
193
+ .tab #savebutton {
194
+ background:#EEEEEE none repeat scroll 0 0;
195
+ border:1px solid #001C26;
196
+ color:#001C26;
197
+ cursor:pointer;
198
+ padding:2px 5px;
199
+ -moz-border-radius-bottomleft:4px;
200
+ -moz-border-radius-bottomright:4px;
201
+ -moz-border-radius-topleft:4px;
202
+ -moz-border-radius-topright:4px;
203
+ }
204
+ .tab #search {
205
+ background:#EEEEEE none repeat scroll 0 0;
206
+ border:1px solid #001C26;
207
+ color:#001C26;
208
+ cursor:pointer;
209
+ padding:2px 5px;
210
+ -moz-border-radius-bottomleft:4px;
211
+ -moz-border-radius-bottomright:4px;
212
+ -moz-border-radius-topleft:4px;
213
+ -moz-border-radius-topright:4px;
214
+ }
215
+ .tab #refresh{
216
+ background-image:url(../images/jsonedit/table_refresh.png);
217
+ _background-image:url(../images/jsonedit/table_refresh.gif);
218
+ }
219
+ .tab #buildbutton{
220
+ background-image:url(../images/jsonedit/build-button.png);
221
+ }
222
+ .tab #add{
223
+ background-image:url(../images/jsonedit/add2.png);
224
+ }
225
+
226
+ .tab #delete{
227
+ background-image:url(../images/jsonedit/delete.png);
228
+ _background-image:url(../images/jsonedit/delete.gif);
229
+ }
230
+
231
+ .tab #jsonnameinput{
232
+ display: none;
233
+ }
234
+
235
+ .tab textarea{
236
+ /*border: 1px solid;*/
237
+ width: 99%;
238
+ font:10px monospace;
239
+ }
240
+ .tab select{font:12px arial;}
241
+ .tab .icanhastable td{text-align: right;}
242
+ .tab .icanhastable{
243
+ border: 0px;
244
+ width: 100%;
245
+ padding-bottom:6px;
246
+ }
247
+ .tab .icanhastable td #autodetect{
248
+ vertical-align:middle;
249
+ }
250
+
251
+ #tab2 #jsonpath{
252
+ text-align: left;
253
+ margin-left: 4px;
254
+ font: 10px Arial;
255
+ letter-spacing:1px;
256
+ }
257
+ #tab2 #jsonmode{
258
+ text-align: left;
259
+ margin-left: 4px;
260
+ font: 11px Arial;
261
+ letter-spacing:1px;
262
+ }
263
+ #tab1 .icanhastable td{text-align: left;}
264
+ #tab1 .icanhastable #results{
265
+ border: 1px solid #CCCCCC;
266
+ max-height:283px;
267
+ overflow:auto;
268
+ }
269
+ #tab1 .icanhastable #results table td{
270
+ background-color: #ffffcc;
271
+ }
272
+ #tab1 .icanhastable #results table td a{
273
+ color: #0000cc;
274
+ }
275
+ #tab1 .icanhastable #results table td a:hover{
276
+ text-decoration: underline;
277
+ }
278
+ #tab1 .icanhastable #results table .path{
279
+ font-size: 10px;
280
+ }
@@ -0,0 +1,290 @@
1
+ a:link, a:visited, a:hover, a:active { color: #33f; }
2
+ h1, h2, h3 {color:#444}
3
+
4
+ body {
5
+ color: #222;
6
+ background: #e5e5e5;
7
+ font-family: "Bitstream Vera Sans", verdana, sans-serif;
8
+ }
9
+
10
+ hr {
11
+ background: #f0f0ee;
12
+ }
13
+
14
+ p {
15
+ font-size: 14px;
16
+ line-height: 20px;
17
+ }
18
+
19
+ input.checkbox {
20
+ vertical-align:middle;
21
+ }
22
+
23
+ #header h1 {
24
+ font-size: 28px;
25
+ padding: 5px 0;
26
+ margin: 5px 0;
27
+ }
28
+
29
+ .hightlight {
30
+ background-color: #ffc;
31
+ }
32
+ .small {
33
+ font-size: 11px;
34
+ }
35
+ .gray {
36
+ color: #999;
37
+ }
38
+ #header {
39
+ background: #48625B;
40
+ }
41
+
42
+ #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
43
+ color: #FFF;
44
+ }
45
+
46
+ #main {
47
+ background: #e5e5e5;
48
+ width: 69%;
49
+ }
50
+
51
+ #main .block {
52
+ -moz-border-radius-topleft: 4px;
53
+ -moz-border-radius-topright: 4px;
54
+ padding: 0;
55
+ margin-bottom:20px;
56
+ padding-bottom: 20px;
57
+ background: #fff;
58
+ }
59
+
60
+ #main .block h2.title {
61
+ margin: 0 0 20px 0;
62
+ background-color: #E9FAE6;
63
+ padding: 5px 5px 5px 15px;
64
+ font-size:18px;
65
+ }
66
+
67
+ .main_container {
68
+ padding:10px;
69
+ }
70
+
71
+ /* #sidebar .block { background: #FFF; padding-bottom:0px; } */
72
+
73
+ #sidebar .notice {
74
+ background-color: #ffc;
75
+ padding: 0 10px;
76
+ border-bottom:1px solid #ddd;
77
+ border-right:1px solid #ddd;
78
+ border-top:1px solid #fff;
79
+ border-left:1px solid #fff;
80
+ }
81
+ #sidebar .notice h2 {
82
+ font-size:16px;
83
+ margin: 5px 0;
84
+ border-bottom:1px solid #aaa;
85
+ }
86
+ #sidebar .notice p {
87
+ font-size:12px;
88
+ }
89
+
90
+ #sidebar .block {
91
+ padding-bottom: 0;
92
+ }
93
+
94
+ #sidebar .block .content {
95
+ padding: 0 10px;
96
+ }
97
+
98
+
99
+ #sidebar h3 {
100
+ background: #c7d8d8;
101
+ border-bottom:1px solid #999;
102
+ padding: 5px 10px;
103
+ }
104
+
105
+ #sidebar ul li a:link, #sidebar ul li a:visited {
106
+ font-size:14px;
107
+ }
108
+
109
+ #sidebar ul li a:hover, #sidebar ul li a:active {
110
+ background: #E9FAE6;
111
+ color: #444;
112
+ font-size:14px;
113
+ text-decoration:underline;
114
+ }
115
+ #sidebar ul.navigation li.last a {
116
+ border-bottom: none;
117
+ }
118
+
119
+ #sidebar ul.navigation li a:link,#sidebar ul.navigation li a:visited {
120
+ padding: 5px 10px;
121
+ color:#444;
122
+ text-decoration: none;
123
+ }
124
+ #sidebar ul.navigation li a:hover {
125
+ text-decoration:underline;
126
+ }
127
+ #sidebar .block .sidebar-block h4 {
128
+ border-bottom: 1px solid #bbb;
129
+ }
130
+ #main-navigation ul li {
131
+ background: #30423E;
132
+ }
133
+
134
+ #main-navigation ul li:hover {
135
+ background: #23302D;
136
+ }
137
+
138
+ #main-navigation ul li.active {
139
+ background: #e5e5e5;
140
+ }
141
+
142
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
143
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
144
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
145
+ text-decoration: none;
146
+ color: #FFF;
147
+ }
148
+
149
+ #main-navigation ul li a {
150
+ font-size: 14px;
151
+ padding: 4px 10px;
152
+ }
153
+
154
+ #main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
155
+ color: #333;
156
+ }
157
+ #user-navigation ul li a:hover {
158
+ text-decoration: underline;
159
+ }
160
+ .secondary-navigation {
161
+ background: #48625B;
162
+ border-bottom-color: #30423e;
163
+ border-bottom: 5px solid #30423e;
164
+ }
165
+
166
+ .secondary-navigation ul li.active {
167
+ background-color: #30423e;
168
+ }
169
+
170
+ .secondary-navigation ul li:hover {
171
+ background-color: #23302d;
172
+ }
173
+
174
+ /* pagination */
175
+
176
+ .pagination span.current {
177
+ background: #30423e;
178
+ color: #FFF;
179
+ border: 1px solid #30423e;
180
+ -moz-border-radius:5px;
181
+ }
182
+
183
+ .pagination a {
184
+ color: #364B69;
185
+ border: 1px solid #ddd;
186
+ -moz-border-radius:5px;
187
+ }
188
+
189
+ .pagination a:hover {
190
+ color: #444;
191
+ background: #E9FAE6;
192
+ }
193
+
194
+ /* tables */
195
+
196
+ .table th {
197
+ background: #48625B;
198
+ color: #FFF;
199
+ font-weight:normal;
200
+ padding:3px;
201
+ }
202
+
203
+ .table th a.toggle {
204
+ display: block;
205
+ width: 12px;
206
+ height: 12px;
207
+ background: transparent url('images/tick.png') center no-repeat;
208
+ text-indent: -9999px;
209
+ -moz-outline: none;
210
+ }
211
+
212
+ .table th.first {
213
+ width: 30px;
214
+ text-align: center;
215
+ }
216
+
217
+ .table td {
218
+ border-bottom: 1px solid #F0F0EE;
219
+ }
220
+
221
+ /* forms */
222
+
223
+ .form input.text, .form textarea.textarea {
224
+ border: 1px solid #ddd;
225
+ padding: 5px;
226
+ width: 95%;
227
+ }
228
+
229
+ .form .navform {
230
+ padding:10px;
231
+ background-color: #E9FAE6;
232
+ font-size:14px;
233
+ border-bottom:1px solid #ddd;
234
+ border-right:1px solid #ddd;
235
+ border-top:1px solid #eee;
236
+ border-left:1px solid #eee;
237
+ }
238
+ .form .navform input {
239
+ font-size:14px;
240
+ }
241
+
242
+ /* flash-messages */
243
+ .flash .message {
244
+ -moz-border-radius: 3px;
245
+ -webkit-border-radius: 3px;
246
+ text-align:center;
247
+ margin:0 auto 5px;
248
+ width:80%;
249
+ }
250
+ .flash .message p {
251
+ margin:8px;
252
+ }
253
+ .flash .error {
254
+ border: 1px solid #fbb;
255
+ background-color: #fdd;
256
+ }
257
+ .flash .warning {
258
+ border: 1px solid #fffaaa;
259
+ background-color: #ffffcc;
260
+ }
261
+ .flash .notice {
262
+ border: 1px solid #ddf;
263
+ background-color: #eef;
264
+ }
265
+
266
+ /* lists */
267
+
268
+ ul.list li {
269
+ border-bottom-color: #F0F0EE;
270
+ }
271
+
272
+ ul.list li .item .avatar {
273
+ border-color: #F0F0EE;
274
+ margin: 3px 10px 0 0;
275
+ }
276
+
277
+ ul.list li .left {
278
+ padding: 5px 5px;
279
+ }
280
+
281
+ /* box */
282
+
283
+ #box .block {
284
+ background: #FFF;
285
+ }
286
+
287
+ #box .block h2 {
288
+ background: #48625B;
289
+ color: #FFF;
290
+ }