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.
- data/app/assets/stylesheets/base.css +95 -0
- data/app/assets/stylesheets/codemirror.css +67 -0
- data/app/assets/stylesheets/control_center.css +289 -0
- data/app/assets/stylesheets/themes/amro/style.css +364 -0
- data/app/assets/stylesheets/themes/bec-green/style.css +290 -0
- data/app/assets/stylesheets/themes/bec/style.css +301 -0
- data/app/assets/stylesheets/themes/blue/style.css +287 -0
- data/app/assets/stylesheets/themes/default/style.css +373 -0
- data/app/assets/stylesheets/themes/djime-cerulean/style.css +305 -0
- data/app/assets/stylesheets/themes/kathleene/style.css +279 -0
- data/app/assets/stylesheets/themes/olive/style.css +345 -0
- data/app/assets/stylesheets/themes/orange/style.css +269 -0
- data/app/assets/stylesheets/themes/reidb-greenish/style.css +302 -0
- data/app/assets/stylesheets/themes/ruby/style.css +281 -0
- data/app/assets/stylesheets/themes/warehouse/style.css +391 -0
- data/app/views/application/_header_links.html.erb +2 -0
- data/app/views/application/_sidebar.html.haml +15 -0
- data/app/views/application/_sub_tabs.html.erb +0 -0
- data/app/views/application/_tabs.html.erb +3 -0
- data/app/views/layouts/control_center.html.erb +73 -0
- data/app/views/layouts/padrino.html.haml +30 -0
- data/public/stylesheets/base.css +95 -0
- data/public/stylesheets/codemirror.css +67 -0
- data/public/stylesheets/control_center.css +289 -0
- data/public/stylesheets/themes/amro/style.css +364 -0
- data/public/stylesheets/themes/bec-green/style.css +290 -0
- data/public/stylesheets/themes/bec/style.css +301 -0
- data/public/stylesheets/themes/blue/style.css +287 -0
- data/public/stylesheets/themes/default/style.css +373 -0
- data/public/stylesheets/themes/djime-cerulean/style.css +305 -0
- data/public/stylesheets/themes/kathleene/style.css +279 -0
- data/public/stylesheets/themes/olive/style.css +345 -0
- data/public/stylesheets/themes/orange/style.css +269 -0
- data/public/stylesheets/themes/reidb-greenish/style.css +302 -0
- data/public/stylesheets/themes/ruby/style.css +281 -0
- data/public/stylesheets/themes/warehouse/style.css +391 -0
- metadata +44 -5
@@ -0,0 +1,95 @@
|
|
1
|
+
*{margin:0;padding:0}
|
2
|
+
.clear{clear:both;height:0;}
|
3
|
+
.wat-cf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
|
4
|
+
.wat-cf{display:inline-block;}
|
5
|
+
/* Hides from IE-mac \*/
|
6
|
+
* html .wat-cf{height:1%;}
|
7
|
+
.wat-cf{display:block;}
|
8
|
+
/* End hide from IE-mac */
|
9
|
+
h1{margin:15px 0;font-size:22px;font-weight:normal;}
|
10
|
+
h2{font-size:22px;margin:15px 0;font-weight:normal;}
|
11
|
+
h3{font-size:18px;margin:10px 0;font-weight:normal;}
|
12
|
+
h4{font-size:16px;margin:10px 0;font-weight:normal;}
|
13
|
+
hr{height:1px;border:0;}
|
14
|
+
p{margin:15px 0;}
|
15
|
+
a img{border:none;}
|
16
|
+
body{font-size:12px;font-family:sans-serif;}
|
17
|
+
#container{min-width:960px;}
|
18
|
+
#header,#wrapper{padding:0 20px;}
|
19
|
+
#header{position:relative;padding-top:1px;}
|
20
|
+
#header h1{margin:0;padding:10px 0;font-size:26px;}
|
21
|
+
#header h1 a:link,#header h1 a:active,#header h1 a:hover,#header h1 a:visited{text-decoration:none;}
|
22
|
+
#main{width:73%;float:left;}
|
23
|
+
.actions-bar{padding:10px 1px;}
|
24
|
+
.actions-bar .actions{float:left;}
|
25
|
+
.actions-bar .pagination{float:right;padding:1px 0;}
|
26
|
+
#sidebar{width:25%;float:right;}
|
27
|
+
#sidebar h3{padding:10px 15px;margin:0;font-size:13px;}
|
28
|
+
#sidebar .block{margin-bottom:20px;padding-bottom:10px;}
|
29
|
+
#sidebar .block .content{padding:0 15px;}
|
30
|
+
#sidebar ul.navigation li a:link,#sidebar ul.navigation li a:visited{display:block;padding:10px 15px;}
|
31
|
+
#sidebar .block .sidebar-block,#sidebar .notice{padding:10px;}
|
32
|
+
.message.notice,.message.warning,.message.error{padding:10px;}
|
33
|
+
#wrapper{padding-top:20px;}
|
34
|
+
#main .block{margin-bottom:20px;padding-top:1px;}
|
35
|
+
#main .block .content .inner{padding:0 15px 15px;}
|
36
|
+
#main .block .content .inner .navform{text-align:right;}
|
37
|
+
#main .main p.first{margin-top:0;}
|
38
|
+
#user-navigation{position:absolute;top:0px;right:20px;}
|
39
|
+
#main-navigation{width:100%;}
|
40
|
+
#user-navigation ul,#main-navigation ul,.secondary-navigation ul,#sidebar ul.navigation{margin:0;padding:0;list-style-type:none;}
|
41
|
+
#user-navigation ul li,#main-navigation ul li,.secondary-navigation ul li{float:left;}
|
42
|
+
#main-navigation ul li{margin-right:5px;}
|
43
|
+
#user-navigation ul li{padding:5px 10px;}
|
44
|
+
#main-navigation ul li a:link,#main-navigation ul li a:visited,#main-navigation ul li a:hover,#main-navigation ul li a:active,
|
45
|
+
.secondary-navigation ul li a:link,.secondary-navigation ul li a:visited,.secondary-navigation ul li a:hover,.secondary-navigation ul li a:active,
|
46
|
+
#user-navigation ul li a:link,#user-navigation ul li a:visited,#user-navigation ul li a:hover,#user-navigation ul li a:active{text-decoration:none;}
|
47
|
+
#main-navigation ul li a{font-size:14px;line-height:14px;display:block;padding:8px 15px;}
|
48
|
+
.secondary-navigation{font-size:13px;border-bottom-width:10px;border-bottom-style:solid;}
|
49
|
+
.secondary-navigation ul li a{display:block;padding:10px 15px;}
|
50
|
+
#footer{padding-bottom:20px;}
|
51
|
+
/* pagination */
|
52
|
+
.pagination a,.pagination span{padding:2px 5px;margin-right:5px;display:block;float:left;border-style:solid;border-width:1px;}
|
53
|
+
.pagination span.current{font-weight:bold;}
|
54
|
+
.pagination a{text-decoration:none;}
|
55
|
+
/* tables */
|
56
|
+
.table{width:100%;border-collapse:collapse;margin-bottom:15px;}
|
57
|
+
.table th{padding:10px;font-weight:bold;text-align:left;}
|
58
|
+
/*.table th.first{width:30px;}*/
|
59
|
+
.table th.last{width:80px;}
|
60
|
+
.table .checkbox{margin-left:10px;}
|
61
|
+
.table td{padding:10px;}
|
62
|
+
.table td.last{text-align:right;}
|
63
|
+
/* forms */
|
64
|
+
input.check_box{margin:0;padding:0;}
|
65
|
+
.form .group{margin-bottom:15px;}
|
66
|
+
.form div.left{width:20%;float:left;}
|
67
|
+
.form div.right{width:75%;float:right;}
|
68
|
+
.form .columns .column{width:48%;}
|
69
|
+
.form .columns .left{float:left;}
|
70
|
+
.form .columns .right{float:right;}
|
71
|
+
.form label,.form input.text_field,.form input.password_field,.form textarea.text_area{font-size:1.0em;padding:2px 0;margin:0;color:#36393D;}
|
72
|
+
.form label.right{text-align:right;}
|
73
|
+
.form input.check_box,.form input.radio{margin-right:5px;}
|
74
|
+
.form label.check_box,.form label.radio{line-height:1.5em;}
|
75
|
+
.form label{padding-bottom:2px;font-weight:bold;}
|
76
|
+
.form .error{color:red;}
|
77
|
+
.form a{color:red;font-size:14px;}
|
78
|
+
.form input.text_field,.form input.password_field,.form textarea.text_area{width:100%;border-width:1px;border-style:solid;}
|
79
|
+
.button_to{display:inline;}
|
80
|
+
.button_to input{background:none;border:none;display:inline;font-size:12px;color:#A72D2E;cursor:pointer;font-family: helvetica, arial, sans-serif;}
|
81
|
+
#user-navigation .button_to input{color:#FFFFFF;}
|
82
|
+
/* lists */
|
83
|
+
ul.list{margin:0;padding:0;list-style-type:none;}
|
84
|
+
ul.list li{clear:left;padding-bottom:5px;}
|
85
|
+
ul.list li .left{float:left;}
|
86
|
+
ul.list li .left .avatar{width:50px;height:50px;}
|
87
|
+
ul.list li .item{margin-left:80px;}
|
88
|
+
ul.list li .item .avatar{float:left;margin:0 5px 5px 0;width:30px;height:30px;}
|
89
|
+
/* box */
|
90
|
+
#box{width:500px;margin:50px auto;}
|
91
|
+
#box .block{margin-bottom:20px;}
|
92
|
+
#box .block h2{padding:10px 15px;margin:0;}
|
93
|
+
#box .block .content{padding:10px 20px;}
|
94
|
+
/* custom */
|
95
|
+
.code{font-family: Courier, 'Courier New', monospace;color:#36393D;}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
.CodeMirror {
|
2
|
+
line-height: 1em;
|
3
|
+
font-family: monospace;
|
4
|
+
}
|
5
|
+
|
6
|
+
.CodeMirror-scroll {
|
7
|
+
overflow: auto;
|
8
|
+
height: 300px;
|
9
|
+
/* This is needed to prevent an IE[67] bug where the scrolled content
|
10
|
+
is visible outside of the scrolling box. */
|
11
|
+
position: relative;
|
12
|
+
}
|
13
|
+
|
14
|
+
.CodeMirror-gutter {
|
15
|
+
position: absolute; left: 0; top: 0;
|
16
|
+
background-color: #f7f7f7;
|
17
|
+
border-right: 1px solid #eee;
|
18
|
+
min-width: 2em;
|
19
|
+
height: 100%;
|
20
|
+
}
|
21
|
+
.CodeMirror-gutter-text {
|
22
|
+
color: #aaa;
|
23
|
+
text-align: right;
|
24
|
+
padding: .4em .2em .4em .4em;
|
25
|
+
}
|
26
|
+
.CodeMirror-lines {
|
27
|
+
padding: .4em;
|
28
|
+
}
|
29
|
+
|
30
|
+
.CodeMirror pre {
|
31
|
+
-moz-border-radius: 0;
|
32
|
+
-webkit-border-radius: 0;
|
33
|
+
-o-border-radius: 0;
|
34
|
+
border-radius: 0;
|
35
|
+
border-width: 0; margin: 0; padding: 0; background: transparent;
|
36
|
+
font-family: inherit;
|
37
|
+
font-size: inherit;
|
38
|
+
padding: 0; margin: 0;
|
39
|
+
white-space: pre;
|
40
|
+
word-wrap: normal;
|
41
|
+
}
|
42
|
+
|
43
|
+
.CodeMirror textarea {
|
44
|
+
font-family: inherit !important;
|
45
|
+
font-size: inherit !important;
|
46
|
+
}
|
47
|
+
|
48
|
+
.CodeMirror-cursor {
|
49
|
+
z-index: 10;
|
50
|
+
position: absolute;
|
51
|
+
visibility: hidden;
|
52
|
+
border-left: 1px solid black !important;
|
53
|
+
}
|
54
|
+
.CodeMirror-focused .CodeMirror-cursor {
|
55
|
+
visibility: visible;
|
56
|
+
}
|
57
|
+
|
58
|
+
span.CodeMirror-selected {
|
59
|
+
background: #ccc !important;
|
60
|
+
color: HighlightText !important;
|
61
|
+
}
|
62
|
+
.CodeMirror-focused span.CodeMirror-selected {
|
63
|
+
background: Highlight !important;
|
64
|
+
}
|
65
|
+
|
66
|
+
.CodeMirror-matchingbracket {color: #0f0 !important;}
|
67
|
+
.CodeMirror-nonmatchingbracket {color: #f22 !important;}
|
@@ -0,0 +1,289 @@
|
|
1
|
+
body {
|
2
|
+
background: #ddd;
|
3
|
+
font-family: arial, sans-serif;
|
4
|
+
margin: 0;
|
5
|
+
padding: 0;
|
6
|
+
font-size: 12px;
|
7
|
+
}
|
8
|
+
a img {
|
9
|
+
border: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* header styling */
|
13
|
+
#header {
|
14
|
+
background: #36393d;
|
15
|
+
color: #fff;
|
16
|
+
height: 70px;
|
17
|
+
}
|
18
|
+
#header h1 a {
|
19
|
+
text-decoration: none;
|
20
|
+
}
|
21
|
+
#header h1 {
|
22
|
+
font-size: 30px;
|
23
|
+
line-height: 70px;
|
24
|
+
margin: 0;
|
25
|
+
padding: 0 0 0 20px;
|
26
|
+
}
|
27
|
+
#header #header_links {
|
28
|
+
font-size: small;
|
29
|
+
margin: -65px 15px 0 0;
|
30
|
+
padding: 0;
|
31
|
+
list-style-type: none;
|
32
|
+
text-align: right;
|
33
|
+
float: right;
|
34
|
+
}
|
35
|
+
#header #header_links li {
|
36
|
+
float: left;
|
37
|
+
margin: 0 0 0 5px;
|
38
|
+
}
|
39
|
+
#header #header_links a {
|
40
|
+
color: white;
|
41
|
+
}
|
42
|
+
#header #header_links a:hover {
|
43
|
+
color: #36393d;
|
44
|
+
background: #fff;
|
45
|
+
text-decoration: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* primary tabsigation styling */
|
49
|
+
#tabs {
|
50
|
+
clear: both;
|
51
|
+
float: right;
|
52
|
+
margin: -27px 5px 0 0;
|
53
|
+
list-style-type: none;
|
54
|
+
font-weight: bold;
|
55
|
+
font-size: small;
|
56
|
+
}
|
57
|
+
#tabs li {
|
58
|
+
float: left;
|
59
|
+
height: 27px;
|
60
|
+
line-height: 27px;
|
61
|
+
padding: 0 10px;
|
62
|
+
}
|
63
|
+
#tabs li.active {
|
64
|
+
background: #ddd;
|
65
|
+
}
|
66
|
+
#tabs li.active a {
|
67
|
+
color: #000;
|
68
|
+
}
|
69
|
+
#tabs a {
|
70
|
+
text-decoration: none;
|
71
|
+
padding: 3px;
|
72
|
+
color: #fff;
|
73
|
+
}
|
74
|
+
#tabs a:hover {
|
75
|
+
text-decoration: underline;
|
76
|
+
}
|
77
|
+
/* secondary tabsigation styling */
|
78
|
+
#sub_tabs {
|
79
|
+
clear: both;
|
80
|
+
float: left;
|
81
|
+
list-style-type: none;
|
82
|
+
font-weight: bold;
|
83
|
+
font-size: small;
|
84
|
+
margin: 13px 0 0 -15px;
|
85
|
+
}
|
86
|
+
#sub_tabs li {
|
87
|
+
float: left;
|
88
|
+
height: 27px;
|
89
|
+
line-height: 27px;
|
90
|
+
padding: 0 10px;
|
91
|
+
margin-right: 7px;
|
92
|
+
}
|
93
|
+
#sub_tabs li.active {
|
94
|
+
background: #fff;
|
95
|
+
}
|
96
|
+
#sub_tabs li.active a {
|
97
|
+
color: #000;
|
98
|
+
}
|
99
|
+
#sub_tabs a {
|
100
|
+
text-decoration: none;
|
101
|
+
padding: 3px;
|
102
|
+
color: #fff;
|
103
|
+
}
|
104
|
+
#sub_tabs a:hover {
|
105
|
+
text-decoration: underline;
|
106
|
+
}
|
107
|
+
|
108
|
+
/* main content styling */
|
109
|
+
h2 {
|
110
|
+
padding: 5px;
|
111
|
+
}
|
112
|
+
#main {
|
113
|
+
min-width: 800px;
|
114
|
+
}
|
115
|
+
#content {
|
116
|
+
clear: both;
|
117
|
+
}
|
118
|
+
#content_inside {
|
119
|
+
padding: 5px 10px 10px 10px;
|
120
|
+
margin: 0 10px 10px 10px;
|
121
|
+
background: #fff;
|
122
|
+
border-right: 2px solid #ccc;
|
123
|
+
border-bottom: 2px solid #ccc;
|
124
|
+
min-width: 800px;
|
125
|
+
}
|
126
|
+
|
127
|
+
#content.narrow {
|
128
|
+
float: left;
|
129
|
+
width: 70%;
|
130
|
+
}
|
131
|
+
#content.narrow #content_inside {
|
132
|
+
min-width: 560px;
|
133
|
+
}
|
134
|
+
|
135
|
+
#sidebar {
|
136
|
+
float: left;
|
137
|
+
width: 30%;
|
138
|
+
}
|
139
|
+
#sidebar_inside {
|
140
|
+
min-width: 240px;
|
141
|
+
margin: 0 10px 0 0;
|
142
|
+
}
|
143
|
+
.sidebar_box {
|
144
|
+
border-bottom: 2px solid #ccc;
|
145
|
+
}
|
146
|
+
|
147
|
+
/* style for forms */
|
148
|
+
form {
|
149
|
+
margin: 20px 0;
|
150
|
+
width: 100%;
|
151
|
+
}
|
152
|
+
form div {
|
153
|
+
clear: both;
|
154
|
+
float: left;
|
155
|
+
margin-bottom: 6px;
|
156
|
+
}
|
157
|
+
form div div.col2 {
|
158
|
+
width: 200px;
|
159
|
+
float: left;
|
160
|
+
margin: 0 20px 0 0;
|
161
|
+
clear: none;
|
162
|
+
}
|
163
|
+
label {
|
164
|
+
display: block;
|
165
|
+
}
|
166
|
+
fieldset {
|
167
|
+
border: 0;
|
168
|
+
border-top: 1px solid #ddd;
|
169
|
+
clear: both;
|
170
|
+
padding: 0.8em 0 0 0;
|
171
|
+
}
|
172
|
+
fieldset legend {
|
173
|
+
font-weight: bold;
|
174
|
+
margin: 0 0 0 10px;
|
175
|
+
font-size: 1.2em;
|
176
|
+
}
|
177
|
+
input[type="text"], input[type="password"] {
|
178
|
+
width: 200px;
|
179
|
+
}
|
180
|
+
textarea {
|
181
|
+
margin: 0;
|
182
|
+
}
|
183
|
+
input[type="submit"] {
|
184
|
+
margin-top: 20px;
|
185
|
+
}
|
186
|
+
form div.submit {
|
187
|
+
clear: both;
|
188
|
+
float: none;
|
189
|
+
}
|
190
|
+
|
191
|
+
/* styling for errors */
|
192
|
+
.errorExplanation {
|
193
|
+
border: 2px solid #c00;
|
194
|
+
margin-bottom: 8px;
|
195
|
+
width: 100%;
|
196
|
+
}
|
197
|
+
.errorExplanation h2 {
|
198
|
+
float: none;
|
199
|
+
background: #c00;
|
200
|
+
margin: 0;
|
201
|
+
color: #fff;
|
202
|
+
padding: 3px;
|
203
|
+
font-size: large;
|
204
|
+
}
|
205
|
+
.errorExplanation p {
|
206
|
+
padding: 3px;
|
207
|
+
margin: 3px 0;
|
208
|
+
}
|
209
|
+
.fieldWithErrors {
|
210
|
+
display: inline;
|
211
|
+
margin: 0; padding: 0;
|
212
|
+
}
|
213
|
+
.fieldWithErrors input[type="text"], .fieldWithErrors input[type="password"] {
|
214
|
+
border: 2px solid #c00;
|
215
|
+
}
|
216
|
+
.fieldWithErrors label {
|
217
|
+
color: #c00;
|
218
|
+
}
|
219
|
+
|
220
|
+
/* style for tables that are used as reports */
|
221
|
+
table {
|
222
|
+
border-collapse: collapse;
|
223
|
+
margin-bottom: 30px;
|
224
|
+
}
|
225
|
+
table thead tr {
|
226
|
+
border-bottom: 1px solid #000;
|
227
|
+
}
|
228
|
+
table thead th {
|
229
|
+
text-align: center;
|
230
|
+
}
|
231
|
+
table tbody th {
|
232
|
+
text-align: left;
|
233
|
+
vertical-align: top;
|
234
|
+
}
|
235
|
+
table tbody td {
|
236
|
+
padding: 2px 10px;
|
237
|
+
vertical-align: top;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* makes something 100% width */
|
241
|
+
.wide {
|
242
|
+
width: 100%;
|
243
|
+
}
|
244
|
+
|
245
|
+
/* style for pagination */
|
246
|
+
.pagination {
|
247
|
+
padding: 3px;
|
248
|
+
margin: 15px 3px 3px 3px;
|
249
|
+
}
|
250
|
+
.pagination a {
|
251
|
+
padding: 2px 5px 2px 5px;
|
252
|
+
margin: 2px;
|
253
|
+
border: 1px solid #aaaadd;
|
254
|
+
text-decoration: none;
|
255
|
+
color: #36393d;
|
256
|
+
}
|
257
|
+
.pagination a:hover, .pagination a:active {
|
258
|
+
border: 1px solid #36393d;
|
259
|
+
color: #000;
|
260
|
+
}
|
261
|
+
.pagination span.current {
|
262
|
+
padding: 2px 5px 2px 5px;
|
263
|
+
margin: 2px;
|
264
|
+
border: 1px solid #36393d;
|
265
|
+
font-weight: bold;
|
266
|
+
background-color: #36393d;
|
267
|
+
color: #FFF;
|
268
|
+
}
|
269
|
+
.pagination span.disabled {
|
270
|
+
padding: 2px 5px 2px 5px;
|
271
|
+
margin: 2px;
|
272
|
+
border: 1px solid #eee;
|
273
|
+
color: #ddd;
|
274
|
+
}
|
275
|
+
|
276
|
+
/* styles for flashed messages and errors */
|
277
|
+
#message {
|
278
|
+
background: #ff8;
|
279
|
+
font-weight: bold;
|
280
|
+
padding: 5px 20px;
|
281
|
+
margin-top: 10px;
|
282
|
+
}
|
283
|
+
#error {
|
284
|
+
background: #c00;
|
285
|
+
font-weight: bold;
|
286
|
+
color: #fff;
|
287
|
+
padding: 5px 20px;
|
288
|
+
margin-top: 10px;
|
289
|
+
}
|