control_center 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/app/assets/stylesheets/base.css +95 -0
  2. data/app/assets/stylesheets/codemirror.css +67 -0
  3. data/app/assets/stylesheets/control_center.css +289 -0
  4. data/app/assets/stylesheets/themes/amro/style.css +364 -0
  5. data/app/assets/stylesheets/themes/bec-green/style.css +290 -0
  6. data/app/assets/stylesheets/themes/bec/style.css +301 -0
  7. data/app/assets/stylesheets/themes/blue/style.css +287 -0
  8. data/app/assets/stylesheets/themes/default/style.css +373 -0
  9. data/app/assets/stylesheets/themes/djime-cerulean/style.css +305 -0
  10. data/app/assets/stylesheets/themes/kathleene/style.css +279 -0
  11. data/app/assets/stylesheets/themes/olive/style.css +345 -0
  12. data/app/assets/stylesheets/themes/orange/style.css +269 -0
  13. data/app/assets/stylesheets/themes/reidb-greenish/style.css +302 -0
  14. data/app/assets/stylesheets/themes/ruby/style.css +281 -0
  15. data/app/assets/stylesheets/themes/warehouse/style.css +391 -0
  16. data/app/views/application/_header_links.html.erb +2 -0
  17. data/app/views/application/_sidebar.html.haml +15 -0
  18. data/app/views/application/_sub_tabs.html.erb +0 -0
  19. data/app/views/application/_tabs.html.erb +3 -0
  20. data/app/views/layouts/control_center.html.erb +73 -0
  21. data/app/views/layouts/padrino.html.haml +30 -0
  22. data/public/stylesheets/base.css +95 -0
  23. data/public/stylesheets/codemirror.css +67 -0
  24. data/public/stylesheets/control_center.css +289 -0
  25. data/public/stylesheets/themes/amro/style.css +364 -0
  26. data/public/stylesheets/themes/bec-green/style.css +290 -0
  27. data/public/stylesheets/themes/bec/style.css +301 -0
  28. data/public/stylesheets/themes/blue/style.css +287 -0
  29. data/public/stylesheets/themes/default/style.css +373 -0
  30. data/public/stylesheets/themes/djime-cerulean/style.css +305 -0
  31. data/public/stylesheets/themes/kathleene/style.css +279 -0
  32. data/public/stylesheets/themes/olive/style.css +345 -0
  33. data/public/stylesheets/themes/orange/style.css +269 -0
  34. data/public/stylesheets/themes/reidb-greenish/style.css +302 -0
  35. data/public/stylesheets/themes/ruby/style.css +281 -0
  36. data/public/stylesheets/themes/warehouse/style.css +391 -0
  37. metadata +44 -5
@@ -0,0 +1,364 @@
1
+ /*
2
+
3
+ Amro
4
+ by Sandro Duarte
5
+ sandro[at]gmail.com
6
+
7
+ dark green #008080
8
+ light yellow #F6F5CD
9
+ orange #E8C53B
10
+ light green #76BBA5
11
+ light #F3F4EC
12
+
13
+ */
14
+
15
+ .small {
16
+ font-size: 11px;
17
+ font-style: normal;
18
+ font-weight: normal;
19
+ text-transform: normal;
20
+ letter-spacing: normal;
21
+ line-height: 1.4em;
22
+ }
23
+
24
+ .gray {
25
+ color:#999999;
26
+ font-family: Georgia, serif;
27
+ font-size: 13px;
28
+ font-style: italic;
29
+ font-weight: normal;
30
+ text-transform: normal;
31
+ letter-spacing: normal;
32
+ line-height: 1.6em;
33
+ }
34
+
35
+ .hightlight {
36
+ background-color: #ffff88;
37
+ font-weight: bold;
38
+ color: #36393d;
39
+ }
40
+
41
+ a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #008080; }
42
+ a { -moz-outline: none; }
43
+
44
+ body {
45
+ color: #222;
46
+ background: #F6F5CD;
47
+ font-family: helvetica,Arial,sans-serif;
48
+ }
49
+
50
+ hr {
51
+ background: #f0f0ee;
52
+ color: #f0f0ee;
53
+ }
54
+
55
+ p {
56
+ margin: 10px 0;
57
+
58
+ }
59
+
60
+ #header {
61
+ background: #008080;
62
+ }
63
+
64
+ #header h1 {
65
+ padding: 15px 0;
66
+ font-size: 28px;
67
+ font-style: normal;
68
+ font-weight: bold;
69
+ text-transform: normal;
70
+ letter-spacing: -1px;
71
+ line-height: 1.2em;
72
+ }
73
+
74
+ #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
75
+ color: #FFF;
76
+ }
77
+
78
+ #user-navigation {
79
+ top: auto;
80
+ bottom: 5px;
81
+ right: 25px;
82
+ }
83
+
84
+ #main .block .content {
85
+ background: #FFF;
86
+ padding-top: 1px;
87
+ }
88
+
89
+ #main .block .content h2 {
90
+ margin-left: 15px;
91
+ }
92
+
93
+ #main .block .content p {
94
+ font-size:13px;
95
+ line-height:1.45em;
96
+ }
97
+
98
+ #main .block .content h2 {
99
+ font-size:22px;
100
+ font-style:normal;
101
+ font-weight:bold;
102
+ letter-spacing:-1px;
103
+ line-height:1.2em;
104
+ margin-left:15px;
105
+ }
106
+
107
+ #sidebar .block {
108
+ background: #FFF;
109
+ }
110
+
111
+ #sidebar .notice {
112
+ background: #76BBA5;
113
+ color: #fff;
114
+ }
115
+
116
+ #sidebar h3 {
117
+ background: #008080;
118
+ color: #FFF;
119
+ border-bottom: 6px solid #E8C53B;
120
+ }
121
+
122
+ #main-navigation ul li {
123
+ padding-left: 15px;
124
+ }
125
+
126
+ #main-navigation ul li a {
127
+ padding: 8px 0;
128
+ }
129
+
130
+ #main-navigation ul li.active {
131
+ padding: 0;
132
+ margin-left: 15px;
133
+ }
134
+
135
+ #main-navigation ul li.active {
136
+ margin-left: 15px;
137
+ }
138
+
139
+ #main-navigation ul li.active a {
140
+ padding: 8px 15px;
141
+ }
142
+
143
+ #sidebar ul li a:link, #sidebar ul li a:visited {
144
+ background: #FFF;
145
+ border-bottom: 1px solid #F0F0EE;
146
+ text-decoration: none;
147
+ }
148
+
149
+ #sidebar ul li a:hover, #sidebar ul li a:active {
150
+ background: #76BBA5;
151
+ color: #FFF;
152
+ }
153
+
154
+ #main-navigation {
155
+ background: #E8C53B;
156
+ }
157
+
158
+ #main-navigation ul li {
159
+ background: #E8C53B;
160
+ margin-right: 0;
161
+ }
162
+
163
+ #main-navigation ul li.active {
164
+ background: #F6F5CD;
165
+ }
166
+
167
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
168
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
169
+ text-decoration: none;
170
+ color: #fff;
171
+ }
172
+
173
+
174
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active {
175
+ text-decoration: none;
176
+ color: #FFF;
177
+ }
178
+
179
+ #user-navigation a.logout {
180
+ background: #cc0000;
181
+ padding: 2px 6px;
182
+ -moz-border-radius: 4px;
183
+ -webkit-border-radius: 3px;
184
+ }
185
+
186
+ .secondary-navigation li a:hover {
187
+ background: #76BBA5;
188
+ }
189
+
190
+ #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 {
191
+ color: #008080;
192
+ }
193
+
194
+ .secondary-navigation {
195
+ background: #008080;
196
+ border-bottom: 6px solid #E8C53B;
197
+ }
198
+
199
+ .secondary-navigation ul li.active, .secondary-navigation ul li.active a {
200
+ background-color: #E8C53B;
201
+ }
202
+
203
+ .secondary-navigation ul li a {
204
+ padding:8px 12px;
205
+ }
206
+
207
+ #footer .block {
208
+ color: #FFF;
209
+ background: #E8C53B;
210
+ }
211
+
212
+ #footer .block p {
213
+ margin: 0;
214
+ padding: 10px;
215
+ }
216
+
217
+ /* pagination */
218
+
219
+ .pagination span.disabled {
220
+ color: #bbb;
221
+ border-color: #bbb;
222
+ }
223
+
224
+ .pagination span.current {
225
+ background: #008080;
226
+ color: #FFF;
227
+ border-color: #008080;
228
+ }
229
+
230
+ .pagination a, .pagination span {
231
+ color: #008080;
232
+ border-color: #008080;
233
+ }
234
+
235
+ .pagination a:hover {
236
+ color: #FFF;
237
+ background: #008080;
238
+ }
239
+
240
+ /* tables */
241
+
242
+ .table th {
243
+ background: #008080;
244
+ color: #FFF;
245
+ }
246
+
247
+ .table td {
248
+ border-bottom:1px solid #F0F0EE;
249
+ }
250
+
251
+ .table tr.even {
252
+ background: #EFF3E4;
253
+ }
254
+ /* forms */
255
+
256
+ .form input.text_field, .form input.password_field, .form textarea.text_area {
257
+ width: 100%;
258
+ border:1px solid #CFCFCF;
259
+ }
260
+
261
+ .form input.button {
262
+ padding: 5px 10px 5px 10px;
263
+ background-color:#008080;
264
+ text-decoration:none;
265
+ cursor: pointer;
266
+ color: #FFF;
267
+ font-size: 14px;
268
+ border:0px;
269
+ margin:0px;
270
+ }
271
+
272
+ .form .button:hover {
273
+ background: #E8C53B;
274
+ }
275
+
276
+ .form .description {
277
+ font-style: italic;
278
+ color: #8C8C8C;
279
+ font-size: .9em;
280
+ }
281
+
282
+ /* flash-messages */
283
+ .flash .message {
284
+ -moz-border-radius: 3px;
285
+ -webkit-border-radius: 3px;
286
+ text-align:center;
287
+ margin: 0 auto 15px;
288
+
289
+ }
290
+
291
+ .flash .message p {
292
+ margin:8px;
293
+ }
294
+ .flash .error {
295
+ border: 1px solid #fbb;
296
+ background-color: #fdd;
297
+ }
298
+ .flash .warning {
299
+ border: 1px solid #fffaaa;
300
+ background-color: #ffffcc;
301
+ }
302
+ .flash .notice {
303
+ border: 1px solid #1FDF00;
304
+ background-color: #BBFFB6;
305
+ }
306
+
307
+ /* lists */
308
+
309
+ ul.list li {
310
+ border-bottom-color: #F0F0EE;
311
+ border-bottom-width: 1px;
312
+ border-bottom-style: solid;
313
+ }
314
+
315
+ ul.list li .item .avatar {
316
+ border-color: #F0F0EE;
317
+ border-width: 1px;
318
+ border-style: solid;
319
+ padding: 2px;
320
+ }
321
+
322
+ /* box */
323
+
324
+ #box .block {
325
+ background: #FFF;
326
+ }
327
+
328
+ #box .block h2 {
329
+ background: #008080;
330
+ color: #FFF;
331
+ }
332
+
333
+
334
+ /* rounded borders */
335
+
336
+ #main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
337
+ #footer .block, .form input.button, #box .block, #box .block h2 {
338
+ -moz-border-radius-topleft: 4px;
339
+ -webkit-border-top-left-radius: 4px;
340
+ -moz-border-radius-topright: 4px;
341
+ -webkit-border-top-right-radius: 4px;
342
+ }
343
+
344
+ .secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
345
+ -moz-border-radius-topleft: 4px;
346
+ -webkit-border-top-left-radius: 4px;
347
+ }
348
+
349
+ .table th.last {
350
+ -moz-border-radius-topright: 4px;
351
+ -webkit-border-top-right-radius: 4px;
352
+ }
353
+
354
+ .secondary-navigation ul li.first {
355
+ -moz-border-radius-topleft: 4px;
356
+ -webkit-border-top-left-radius: 4px;
357
+ }
358
+
359
+ #sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
360
+ -moz-border-radius-bottomleft: 4px;
361
+ -webkit-border-bottom-left-radius: 4px;
362
+ -moz-border-radius-bottomright: 4px;
363
+ -webkit-border-bottom-right-radius: 4px;
364
+ }
@@ -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.check_box {
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
+ }