mountain-goat 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +84 -70
- data/generators/mg/mg_generator.rb +9 -3
- data/generators/mg/templates/create_mountain_goat_tables.rb +4 -0
- data/generators/mg/templates/mountain-goat.yml +1 -0
- data/lib/mountain-goat.rb +12 -12
- data/lib/mountain-goat/controllers/mg/mountain_goat_controller.rb +1 -1
- data/lib/mountain-goat/controllers/mg/report_items_controller.rb +5 -5
- data/lib/mountain-goat/controllers/mg/reports_controller.rb +28 -1
- data/lib/mountain-goat/metric_tracking.rb +4 -4
- data/lib/mountain-goat/models/mg/report.rb +4 -4
- data/lib/mountain-goat/models/mg/report_item.rb +2 -2
- data/lib/mountain-goat/models/mg/report_mailer.rb +7 -0
- data/lib/mountain-goat/public/jquery.raphael.js +25 -1
- data/lib/mountain-goat/public/mg.css +307 -316
- data/lib/mountain-goat/public/mg.js +17 -16
- data/lib/mountain-goat/public/mg.png +0 -0
- data/lib/mountain-goat/version.rb +1 -1
- data/lib/mountain-goat/views/mountain_goat/layouts/mountain_goat.html.erb +21 -20
- data/lib/mountain-goat/views/mountain_goat/mg/mountain_goat/login.html.erb +11 -19
- data/lib/mountain-goat/views/mountain_goat/mg/report_items/_report_item_form.html.erb +1 -1
- data/lib/mountain-goat/views/mountain_goat/mg/report_items/_report_item_pivot_form.html.erb +4 -4
- data/lib/mountain-goat/views/mountain_goat/mg/reports/_report_form.html.erb +7 -2
- data/lib/mountain-goat/views/mountain_goat/mg/reports/_report_report_items.html.erb +1 -1
- data/lib/mountain-goat/views/mountain_goat/mg/reports/edit.html.erb +27 -30
- data/lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb +24 -20
- data/lib/mountain-goat/views/mountain_goat/mg/reports/new.html.erb +14 -13
- data/lib/mountain-goat/views/mountain_goat/mg/reports/show.html.erb +10 -13
- data/mountain-goat.gemspec +2 -2
- metadata +31 -54
- data/lib/mountain-goat/controllers/mg/metric_variants_controller.rb +0 -81
- data/lib/mountain-goat/controllers/mg/metrics_controller.rb +0 -110
- data/lib/mountain-goat/controllers/mg/rallies_controller.rb +0 -43
- data/lib/mountain-goat/models/mg/ci_meta.rb +0 -10
- data/lib/mountain-goat/models/mg/convert.rb +0 -147
- data/lib/mountain-goat/models/mg/convert_meta_type.rb +0 -20
- data/lib/mountain-goat/models/mg/cs_meta.rb +0 -10
- data/lib/mountain-goat/models/mg/metric.rb +0 -8
- data/lib/mountain-goat/models/mg/metric_variant.rb +0 -25
- data/lib/mountain-goat/models/mg/rally.rb +0 -59
- data/lib/mountain-goat/views/mountain_goat/mg/converts/.tmp_show.html.erb.4433~ +0 -69
- data/lib/mountain-goat/views/mountain_goat/mg/converts/_convert_form.html.erb +0 -26
- data/lib/mountain-goat/views/mountain_goat/mg/converts/_convert_meta_type_form.html.erb +0 -27
- data/lib/mountain-goat/views/mountain_goat/mg/converts/edit.html.erb +0 -13
- data/lib/mountain-goat/views/mountain_goat/mg/converts/index.html.erb +0 -25
- data/lib/mountain-goat/views/mountain_goat/mg/converts/new.html.erb +0 -13
- data/lib/mountain-goat/views/mountain_goat/mg/converts/show.html.erb +0 -44
- data/lib/mountain-goat/views/mountain_goat/mg/metric_variants/_metric_variant_form.html.erb +0 -37
- data/lib/mountain-goat/views/mountain_goat/mg/metric_variants/edit.html.erb +0 -13
- data/lib/mountain-goat/views/mountain_goat/mg/metric_variants/index.html.erb +0 -34
- data/lib/mountain-goat/views/mountain_goat/mg/metric_variants/new.html.erb +0 -15
- data/lib/mountain-goat/views/mountain_goat/mg/metric_variants/show.html.erb +0 -30
- data/lib/mountain-goat/views/mountain_goat/mg/metrics/.tmp_show.html.erb.21270~ +0 -68
- data/lib/mountain-goat/views/mountain_goat/mg/metrics/_metric_form.html.erb +0 -24
- data/lib/mountain-goat/views/mountain_goat/mg/metrics/edit.html.erb +0 -13
- data/lib/mountain-goat/views/mountain_goat/mg/metrics/index.html.erb +0 -14
- data/lib/mountain-goat/views/mountain_goat/mg/metrics/new.html.erb +0 -14
- data/lib/mountain-goat/views/mountain_goat/mg/metrics/show.html.erb +0 -67
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/.tmp__rally.html.erb.40484~ +0 -12
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/_rallies.html.erb +0 -5
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/_rallies_form.html.erb +0 -21
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/_rally.html.erb +0 -12
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/edit.html.erb +0 -13
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/index.html.erb +0 -19
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/new.html.erb +0 -13
- data/lib/mountain-goat/views/mountain_goat/mg/rallies/show.html.erb +0 -14
@@ -1,11 +1,11 @@
|
|
1
1
|
class Mg::Report < ActiveRecord::Base
|
2
2
|
set_table_name :mg_reports
|
3
3
|
|
4
|
-
has_many :
|
5
|
-
has_many :reportables, :through => :
|
4
|
+
has_many :mg_report_items, :class_name => "Mg::ReportItem", :foreign_key => "mg_report_id"
|
5
|
+
has_many :reportables, :through => :mg_report_items
|
6
6
|
|
7
7
|
validates_presence_of :title
|
8
|
-
validates_presence_of :delivery_set
|
9
|
-
validates_presence_of :recipients
|
8
|
+
validates_presence_of :delivery_set #can be nil
|
9
|
+
#validates_presence_of :recipients
|
10
10
|
|
11
11
|
end
|
@@ -1,11 +1,11 @@
|
|
1
1
|
class Mg::ReportItem < ActiveRecord::Base
|
2
2
|
set_table_name :mg_report_items
|
3
3
|
|
4
|
-
belongs_to :
|
4
|
+
belongs_to :mg_report, :class_name => "Mg::Report", :foreign_key => "mg_report_id"
|
5
5
|
belongs_to :reportable, :polymorphic => true
|
6
6
|
belongs_to :pivot, :polymorphic => true
|
7
7
|
|
8
|
-
validates_presence_of :
|
8
|
+
validates_presence_of :mg_report_id
|
9
9
|
validates_presence_of :reportable_id
|
10
10
|
validates_presence_of :reportable_type
|
11
11
|
validates_presence_of :order
|
@@ -3,6 +3,7 @@ class Mg::ReportMailer < ActionMailer::Base
|
|
3
3
|
self.template_root = File.join([File.dirname(__FILE__), '../../views/mountain_goat/'])
|
4
4
|
|
5
5
|
def report(report, pdf)
|
6
|
+
setup_sender
|
6
7
|
@recipients = report.recipients
|
7
8
|
@subject = "[Mountain Goat] - #{report.title}"
|
8
9
|
@body[:report] = report
|
@@ -15,4 +16,10 @@ class Mg::ReportMailer < ActionMailer::Base
|
|
15
16
|
:body => pdf
|
16
17
|
end
|
17
18
|
|
19
|
+
private
|
20
|
+
|
21
|
+
def setup_sender
|
22
|
+
|
23
|
+
end
|
24
|
+
|
18
25
|
end
|
@@ -195,7 +195,31 @@
|
|
195
195
|
this.label[1].attr({"font-weight": 400});
|
196
196
|
}
|
197
197
|
});
|
198
|
-
}
|
198
|
+
} else if (type == "funnel") {
|
199
|
+
var funnel = r.g.funnelchart(20, 20, $(this).width() * 0.8 - 40, $(this).height() - 40, x, {legend: y, legendcolor: "#d6d6d6", legendpos: "south"});
|
200
|
+
funnel.hover(function () {
|
201
|
+
console.log(this);
|
202
|
+
this.sector.stop();
|
203
|
+
this.sector.scale(1.1, 1.1);
|
204
|
+
if (this.label) {
|
205
|
+
this.label[0].stop();
|
206
|
+
this.label[0].scale(1.5);
|
207
|
+
this.label[1].attr({"font-weight": 800});
|
208
|
+
}
|
209
|
+
if (this.sector.insetLabel) {
|
210
|
+
this.sector.insetLabel.attr({"font-weight": 800});
|
211
|
+
}
|
212
|
+
}, function () {
|
213
|
+
this.sector.animate({scale: [1, 1]}, 500, "bounce");
|
214
|
+
if (this.label) {
|
215
|
+
this.label[0].animate({scale: 1}, 500, "bounce");
|
216
|
+
this.label[1].attr({"font-weight": 400});
|
217
|
+
}
|
218
|
+
if (this.sector.insetLabel) {
|
219
|
+
this.sector.insetLabel.attr({"font-weight": 400});
|
220
|
+
}
|
221
|
+
});
|
222
|
+
}
|
199
223
|
|
200
224
|
});
|
201
225
|
};
|
@@ -1,187 +1,278 @@
|
|
1
|
-
|
2
1
|
body {
|
3
|
-
|
2
|
+
background: #F6F6F6;
|
3
|
+
color: #4F4F4F;
|
4
4
|
margin: 0px;
|
5
5
|
padding: 0px;
|
6
6
|
text-decoration: none;
|
7
|
-
|
8
|
-
background: -moz-linear-gradient(top, rgba(167,207,223,1) 0%, rgba(35,83,138,1) 100%); /* FF3.6+ */
|
9
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(167,207,223,1)), color-stop(100%,rgba(35,83,138,1))); /* Chrome,Safari4+ */
|
10
|
-
background: -webkit-linear-gradient(top, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%); /* Chrome10+,Safari5.1+ */
|
11
|
-
background: -o-linear-gradient(top, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%); /* Opera11.10+ */
|
12
|
-
background: -ms-linear-gradient(top, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%); /* IE10+ */
|
13
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a7cfdf', endColorstr='#23538a',GradientType=0 ); /* IE6-9 */
|
14
|
-
background: linear-gradient(top, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%); /* W3C */
|
7
|
+
|
15
8
|
}
|
16
9
|
|
17
10
|
body, select, pre {
|
18
11
|
font: 14px/20px Calibri,Helvetica,Arial;
|
19
12
|
}
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
h1 {
|
14
|
+
margin: 10px 0px 30px 0px;
|
15
|
+
width: 900px;
|
16
|
+
height: 36px;
|
17
|
+
line-height: 36px;
|
18
|
+
font-size: 40px;
|
19
|
+
font-weight: normal;
|
20
|
+
color: #333333;
|
21
|
+
text-align: center;
|
22
|
+
}
|
23
|
+
h2{
|
24
|
+
display: inline-block;
|
25
|
+
color: #666666;
|
26
|
+
margin: 10px 0px;
|
27
|
+
}
|
28
|
+
h3{
|
29
|
+
width: 80%;
|
30
|
+
margin: 0px auto 30px;
|
31
|
+
line-height: 1.25em;
|
32
|
+
font-size: 24px;
|
33
|
+
font-weight: normal;
|
34
|
+
color: #666666;
|
35
|
+
text-align: center;
|
36
|
+
}
|
37
|
+
h4{
|
38
|
+
background: #DDEEFF;
|
39
|
+
border-bottom: 1px solid #999999;
|
40
|
+
height: 30px;
|
41
|
+
line-height: 30px;
|
42
|
+
margin-top: 50px;
|
43
|
+
font-size: 20px;
|
44
|
+
|
45
|
+
text-align: center;
|
46
|
+
}
|
47
|
+
a{
|
48
|
+
color: #666666;
|
23
49
|
text-decoration: none;
|
24
50
|
}
|
25
|
-
|
26
51
|
a:hover {
|
27
|
-
color: #
|
52
|
+
color: #333333;
|
28
53
|
text-decoration: underline;
|
29
54
|
}
|
55
|
+
input[type="text"], input[type="password"] {
|
56
|
+
background: url("/images/bg-input-shadow.jpg") repeat-x scroll left top #F7F7F7;
|
57
|
+
border: 1px solid #CCCCCC;
|
58
|
+
display: inline-block;
|
59
|
+
padding: 5px 9px 0;
|
60
|
+
width: 340px;
|
61
|
+
height: 32px;
|
62
|
+
color: #777777;
|
63
|
+
font-size: 16px;
|
64
|
+
}
|
65
|
+
input[type="text"]:focus, input[type="password"]:focus {
|
66
|
+
background-color: #DDEEFF;
|
67
|
+
border: 1px solid #AACCFF;
|
68
|
+
color: #333333;
|
69
|
+
}
|
70
|
+
textarea {
|
71
|
+
background: #F7F7F7;
|
72
|
+
border: 1px solid #CCCCCC;
|
73
|
+
display: block;
|
74
|
+
padding: 5px 0px 0px 9px;
|
75
|
+
width: 350px;
|
76
|
+
height: 60px;
|
77
|
+
color: #666666;
|
78
|
+
font: 14px Calibri,Helvetica,Arial;
|
79
|
+
}
|
30
80
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
81
|
+
label {
|
82
|
+
color: #999999;
|
83
|
+
display: block;
|
84
|
+
font-size: 16px;
|
85
|
+
margin: 5px 0 2px;
|
86
|
+
text-transform: uppercase;
|
37
87
|
}
|
38
88
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
89
|
+
input[type="checkbox"]{
|
90
|
+
margin: 10px 0px 0px 0px;
|
91
|
+
}
|
92
|
+
input[type="checkbox"] + label {
|
93
|
+
|
94
|
+
}
|
95
|
+
.structure{
|
96
|
+
width: 1000px;
|
97
|
+
margin: 0px auto;
|
98
|
+
}
|
99
|
+
.container-center{
|
100
|
+
width: 960px;
|
101
|
+
margin: 0px auto;
|
43
102
|
}
|
44
103
|
|
45
|
-
.
|
104
|
+
.mg-header .header{
|
105
|
+
height: 60px;
|
106
|
+
padding-top: 15px;
|
107
|
+
border-top: 5px solid #333333;
|
108
|
+
}
|
109
|
+
|
110
|
+
.mg-header ul.nav {
|
46
111
|
margin: 0;
|
47
112
|
float: right;
|
48
113
|
height: 100%;
|
49
114
|
}
|
50
|
-
|
51
|
-
.main-header ul.nav li {
|
115
|
+
.mg-header ul.nav li {
|
52
116
|
float: left;
|
53
117
|
list-style: none outside none;
|
54
|
-
width:
|
55
|
-
|
56
|
-
height: 107px;
|
57
|
-
margin-right: -1px;
|
118
|
+
width: 120px;
|
119
|
+
height: 100%;
|
58
120
|
}
|
59
|
-
|
60
|
-
|
61
|
-
background-color: #FF2800;
|
121
|
+
.mg-header ul.nav li:hover {
|
122
|
+
background-color: #EEEEEE;
|
62
123
|
}
|
63
|
-
|
64
|
-
|
65
|
-
display: block;
|
124
|
+
.mg-header ul a{
|
125
|
+
display: inline-block;
|
66
126
|
font-size: 24px;
|
67
|
-
padding: 42px 0px;
|
68
127
|
width: 100%;
|
128
|
+
height: 100%;
|
129
|
+
line-height: 60px;
|
69
130
|
vertical-align: baseline;
|
70
131
|
text-align: center;
|
71
132
|
}
|
72
|
-
|
73
|
-
|
74
|
-
margin: 0 auto 0 auto;
|
75
|
-
width: 1010px;
|
76
|
-
padding: 117px 0 0 0;
|
77
|
-
background-color: rgba(50,50,50,0.2);
|
133
|
+
.mg-header a:hover{
|
134
|
+
text-decoration: none;
|
78
135
|
}
|
79
136
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
padding: 30px;
|
85
|
-
|
86
|
-
|
137
|
+
#container-main{
|
138
|
+
background: #FFFFFF;
|
139
|
+
float: left;
|
140
|
+
margin: 15px 0px;
|
141
|
+
padding: 20px 30px;
|
142
|
+
box-shadow: 0px 2px 2px #666666;
|
143
|
+
border-radius: 4px;
|
87
144
|
}
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
margin: 10px auto 10px auto;
|
93
|
-
background: url(/mg/public/dottedblack_png) repeat;
|
94
|
-
font-size: 30px;
|
95
|
-
color: white;
|
145
|
+
.container-content{
|
146
|
+
display: block;
|
147
|
+
width: 100%;
|
148
|
+
margin-top: 20px;
|
96
149
|
}
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
.conversions .explanation {
|
150
|
+
.login-form{
|
151
|
+
background: #FFFFFF;
|
152
|
+
border: 1px solid #CCCCCC;
|
101
153
|
display: block;
|
102
|
-
width:
|
103
|
-
margin:
|
104
|
-
padding
|
105
|
-
border-
|
106
|
-
|
107
|
-
|
154
|
+
width: 360px;
|
155
|
+
margin: 0px auto;
|
156
|
+
padding: 20px;
|
157
|
+
border-radius: 5px;
|
158
|
+
box-shadow: 1px 1px 2px rgba(0,0,0,.6) inset;
|
159
|
+
text-align: center;
|
108
160
|
}
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
161
|
+
.login-form .submit{
|
162
|
+
margin-top: 20px;
|
163
|
+
}
|
164
|
+
.edit-form{
|
165
|
+
background: #FFFFFF;
|
166
|
+
border: 5px solid #CCCCCC;
|
113
167
|
display: block;
|
114
|
-
|
115
|
-
|
116
|
-
|
168
|
+
width: 700px;
|
169
|
+
margin: 0px auto;
|
170
|
+
padding: 30px 40px 20px 40px;
|
171
|
+
border-radius: 5px;
|
117
172
|
}
|
118
|
-
|
119
|
-
|
120
|
-
width: 40%;
|
173
|
+
.edit-form label{
|
174
|
+
display: inline-block;
|
121
175
|
float: left;
|
122
|
-
|
176
|
+
width: 270px;
|
177
|
+
height: 39px;
|
178
|
+
line-height: 39px;
|
179
|
+
margin: 0px 20px 0px 20px;
|
180
|
+
font-size: 18px;
|
181
|
+
color: #666666;
|
123
182
|
}
|
124
183
|
|
125
|
-
.
|
126
|
-
|
127
|
-
width: 40%;
|
128
|
-
margin: 10px auto 10px auto;
|
129
|
-
background: url(/mg/public/dirtyred_png) repeat;
|
130
|
-
font-size: 30px;
|
184
|
+
.edit-form .submit{
|
185
|
+
margin-top: 30px;
|
131
186
|
}
|
132
187
|
|
133
|
-
.
|
188
|
+
.action-bar{
|
189
|
+
display: block;
|
134
190
|
width: 100%;
|
135
191
|
}
|
136
|
-
|
137
|
-
.mt-metrics .metric-category, .mt-converts.show .metric-category {
|
192
|
+
.action-bar a, .action-bar input{
|
138
193
|
float: left;
|
139
|
-
|
194
|
+
margin-right: 20px;
|
140
195
|
}
|
141
196
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
197
|
+
/* The Converts Page */
|
198
|
+
|
199
|
+
.category{
|
200
|
+
display: inline-block;
|
201
|
+
float: left;
|
202
|
+
margin-right: 30px;
|
203
|
+
min-height: 10px;
|
204
|
+
}
|
205
|
+
.title-bar .category{
|
206
|
+
font-size: 20px;
|
147
207
|
font-weight: bold;
|
148
|
-
|
208
|
+
color: #999999;
|
209
|
+
border-bottom: 1px solid #DDDDDD;
|
149
210
|
}
|
150
|
-
|
151
|
-
|
152
|
-
width: 400px;
|
153
|
-
height: 40px;
|
211
|
+
.category.name{
|
212
|
+
width: 300px;
|
154
213
|
}
|
155
|
-
|
156
|
-
|
157
|
-
display: block;
|
158
|
-
width: 70%;
|
159
|
-
background: rgba(20, 20, 20, 0.2);
|
160
|
-
height: 30px;
|
161
|
-
float: left;
|
162
|
-
overflow: hidden;
|
214
|
+
.category.test{
|
215
|
+
width: 200px;
|
163
216
|
}
|
164
|
-
|
165
|
-
|
166
|
-
position: relative;
|
167
|
-
left: 0px;
|
168
|
-
float: left;
|
169
|
-
z-index: 5;
|
170
|
-
padding: 3px;
|
217
|
+
.category.frequency{
|
218
|
+
width: 180px;
|
171
219
|
}
|
172
|
-
|
173
|
-
|
174
|
-
height: 100%;
|
175
|
-
display: block;
|
176
|
-
background: url(/mg/public/dottedblue_png) repeat;
|
177
|
-
z-index: 1;
|
220
|
+
.category.hit-total{
|
221
|
+
width: 80px;
|
178
222
|
}
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
223
|
+
.category.hit-recent{
|
224
|
+
width: 80px;
|
225
|
+
}
|
226
|
+
.category.hit-points{
|
227
|
+
width: 80px;
|
228
|
+
}
|
229
|
+
.category.hit-points-avg{
|
230
|
+
width: 110px;
|
231
|
+
}
|
232
|
+
.category.choice{
|
233
|
+
width: 180px;
|
234
|
+
}
|
235
|
+
.category.served{
|
236
|
+
width: 80px;
|
237
|
+
}
|
238
|
+
.category.actions{
|
239
|
+
width: 235px;
|
240
|
+
margin-right: 0px;
|
241
|
+
}
|
242
|
+
ul.listed{
|
243
|
+
margin: 0px 0px 20px 0px;
|
244
|
+
padding: 0px;
|
245
|
+
}
|
246
|
+
ul.listed li{
|
247
|
+
display: inline-block;
|
248
|
+
width: 100%;
|
249
|
+
min-height: 40px;
|
250
|
+
line-height: 40px;
|
251
|
+
font-size: 20px;
|
252
|
+
}
|
253
|
+
ul.listed li:nth-child(2n){
|
254
|
+
background: rgba(0,0,0,.06);
|
255
|
+
}
|
256
|
+
ul.listed li.choice:nth-child(2n){
|
257
|
+
background: none;
|
258
|
+
}
|
259
|
+
ul.listed li.choice:nth-child(2n-1){
|
260
|
+
background: rgba(0,0,0,.02);
|
183
261
|
}
|
184
262
|
|
263
|
+
ul.listed li>:first-child{
|
264
|
+
text-indent: 10px;
|
265
|
+
text-transform: capitalize;
|
266
|
+
}
|
267
|
+
ul.listed a{
|
268
|
+
margin-right: 20px;
|
269
|
+
color: #3366CC;
|
270
|
+
}
|
271
|
+
ul.choices{
|
272
|
+
margin: 0px;
|
273
|
+
padding: 0px;
|
274
|
+
color: #7F7F7F;
|
275
|
+
}
|
185
276
|
.content ul.nav {
|
186
277
|
margin: 0;
|
187
278
|
width: 100%;
|
@@ -206,70 +297,63 @@ h1 {
|
|
206
297
|
background: -moz-linear-gradient(center top , #6699CC, #3366AA) repeat scroll 0 0 transparent;
|
207
298
|
}
|
208
299
|
|
209
|
-
.
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
width: 170px;
|
215
|
-
height: 40px;
|
216
|
-
padding-top:0px;
|
300
|
+
.meta{
|
301
|
+
background: #F0F9FF;
|
302
|
+
padding: 10px 0px 1px 0px;
|
303
|
+
margin-bottom: 10px;
|
304
|
+
border-top: 1px solid #BBCCDD;
|
217
305
|
}
|
218
306
|
|
307
|
+
/* BUTTONS */
|
219
308
|
.button, input[type="submit"] {
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
margin-right: 6px;
|
226
|
-
background-color: red;
|
227
|
-
padding-left: 10px;
|
228
|
-
padding-top: 10px;
|
229
|
-
padding-right: 10px;
|
309
|
+
background: #6699CC;
|
310
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#3366AA');
|
311
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#3366AA));
|
312
|
+
background: -moz-linear-gradient(top, #6699CC, #3366AA);
|
313
|
+
display: inline-block;
|
230
314
|
min-width: 70px;
|
315
|
+
height: 30px;
|
316
|
+
line-height: 30px;
|
317
|
+
padding: 4px 12px;
|
318
|
+
font-size: 20px;
|
319
|
+
color: #FFFFFF;
|
320
|
+
text-shadow: -1px 1px 0px rgba(0,0,0,.4);
|
231
321
|
text-align:center;
|
322
|
+
border: 0px;
|
232
323
|
border-radius: 5px;
|
233
|
-
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
|
234
|
-
text-shadow: 0 0 4px #333333;
|
235
|
-
background: -moz-linear-gradient(center top , #6699CC, #3366AA) repeat scroll 0 0 transparent;
|
236
324
|
}
|
237
|
-
|
238
|
-
|
239
|
-
height:
|
240
|
-
|
241
|
-
margin: 50px auto;
|
325
|
+
input[type="submit"]{
|
326
|
+
height: 38px;
|
327
|
+
line-height: 40px;
|
328
|
+
padding: 0px 12px;
|
242
329
|
}
|
243
330
|
|
244
|
-
.
|
245
|
-
|
331
|
+
.button:hover, input[type="submit"]:hover{
|
332
|
+
background: #6699CC;
|
333
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#3366AA');
|
334
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#3366AA));
|
335
|
+
background: -moz-linear-gradient(top, #5588BB, #3366AA);
|
336
|
+
color: #FFFFFF;
|
337
|
+
text-decoration: none;
|
338
|
+
box-shadow: 0px 0px 2px rgba(0,0,0,.4) inset;
|
246
339
|
}
|
247
340
|
|
248
341
|
/* ANALYTICS */
|
249
342
|
.statboard{
|
250
|
-
|
251
|
-
|
252
|
-
background: rgba(0,0,0,.9);
|
253
|
-
width: 900px;
|
254
|
-
margin: 0px 0px 0px 20px;
|
255
|
-
padding: 0px 10px;
|
256
|
-
color: #D6D6D6;
|
343
|
+
display: inline-block;
|
344
|
+
margin-bottom: 20px;
|
257
345
|
text-align: center;
|
258
346
|
}
|
259
347
|
.statpad .title, .statpad .statbody{
|
260
|
-
background: #
|
261
|
-
border-top: 1px solid #
|
262
|
-
border-bottom: 1px solid #
|
263
|
-
}
|
264
|
-
.statpad, .statnote{
|
265
|
-
box-shadow: 2px 0 3px #0D0D0D, -2px 0 3px #0D0D0D, 0 3px 3px #0D0D0D, 0 -2px 3px #0D0D0D;
|
348
|
+
background: #F9F9F9;
|
349
|
+
border-top: 1px solid #FFFFFF;
|
350
|
+
border-bottom: 1px solid #E6E6E6;
|
266
351
|
}
|
267
|
-
|
268
352
|
.statpad{
|
269
|
-
|
270
|
-
width:
|
271
|
-
margin
|
272
|
-
|
353
|
+
display: inline-block;
|
354
|
+
width: 440px;
|
355
|
+
margin: 0px 4px 10px 4px;
|
356
|
+
box-shadow: 0px 0px 1px #666666;
|
273
357
|
}
|
274
358
|
.statpad .title{
|
275
359
|
float: left;
|
@@ -280,7 +364,7 @@ form input[type='submit'] {
|
|
280
364
|
}
|
281
365
|
.statpad .statbody{
|
282
366
|
float: left;
|
283
|
-
width:
|
367
|
+
width: 420px;
|
284
368
|
height: 260px;
|
285
369
|
padding: 10px;
|
286
370
|
}
|
@@ -298,37 +382,6 @@ form input[type='submit'] {
|
|
298
382
|
.quad.statpad{
|
299
383
|
box-shadow: none;
|
300
384
|
}
|
301
|
-
.statnote {
|
302
|
-
float: left;
|
303
|
-
width: 220px;
|
304
|
-
}
|
305
|
-
.statnote .statbody {
|
306
|
-
width: 200px;
|
307
|
-
height: 100px;
|
308
|
-
line-height: 100px;
|
309
|
-
text-align: center;
|
310
|
-
font-size: 70px;
|
311
|
-
font-family: Arial,Helvetica,sans-serif;
|
312
|
-
text-shadow: 1px 1px 1px #3F3F3F, -1px -1px 1px #3F3F3F;
|
313
|
-
}
|
314
|
-
.quad.statpad > *:nth-child(2n+1) {
|
315
|
-
margin-right: 5px;
|
316
|
-
}
|
317
|
-
.quad.statpad > *:nth-child(3), .quad.statpad > *:nth-child(4) {
|
318
|
-
margin-top: 10px;
|
319
|
-
}
|
320
|
-
.statbody.attendance{
|
321
|
-
color: #99DD66;
|
322
|
-
}
|
323
|
-
.statbody.views{
|
324
|
-
color: #DDDD66;
|
325
|
-
}
|
326
|
-
.statbody.interactions{
|
327
|
-
color: #6666DD;
|
328
|
-
}
|
329
|
-
.statbody.remaining{
|
330
|
-
color: #DD6666;
|
331
|
-
}
|
332
385
|
|
333
386
|
.legendLabel{
|
334
387
|
width: 150px;
|
@@ -336,64 +389,13 @@ form input[type='submit'] {
|
|
336
389
|
font-size: 12px;
|
337
390
|
}
|
338
391
|
|
339
|
-
|
340
392
|
.asterisk{
|
341
393
|
font-size: 12px;
|
342
394
|
}
|
343
395
|
|
344
|
-
input[type="text"], input[type="password"] {
|
345
|
-
background: url("/images/bg-input-shadow.jpg") repeat-x scroll left top #F7F7F7;
|
346
|
-
border: 1px solid #CCCCCC;
|
347
|
-
display: block;
|
348
|
-
padding: 5px 9px 0;
|
349
|
-
width: 280px;
|
350
|
-
height: 32px;
|
351
|
-
color: #777777;
|
352
|
-
font-size: 16px;
|
353
|
-
}
|
354
|
-
input[type="text"]:focus, input[type="password"]:focus {
|
355
|
-
background-color: #DDEEFF;
|
356
|
-
border: 1px solid #AACCFF;
|
357
|
-
color: #333333;
|
358
|
-
}
|
359
|
-
textarea {
|
360
|
-
background: #F7F7F7;
|
361
|
-
border: 1px solid #CCCCCC;
|
362
|
-
display: block;
|
363
|
-
padding: 5px 0px 0px 9px;
|
364
|
-
width: 289px;
|
365
|
-
height: 60px;
|
366
|
-
color: #666666;
|
367
|
-
font: 14px Calibri,Helvetica,Arial;
|
368
|
-
}
|
369
|
-
|
370
|
-
label {
|
371
|
-
color: #999999;
|
372
|
-
display: block;
|
373
|
-
font-size: 16px;
|
374
|
-
margin: 5px 0 2px;
|
375
|
-
text-transform: uppercase;
|
376
|
-
}
|
377
|
-
|
378
|
-
input[type="checkbox"]{
|
379
|
-
float: left;
|
380
|
-
margin-top: 5px;
|
381
|
-
margin-left:20px;
|
382
|
-
}
|
383
|
-
input[type="checkbox"] + label {
|
384
|
-
margin: 0px 0px 0px 6px;
|
385
|
-
float: left;
|
386
|
-
clear: right;
|
387
|
-
height: 30px;
|
388
|
-
}
|
389
|
-
|
390
396
|
.item {
|
391
|
-
|
392
|
-
margin: 20px;
|
393
|
-
}
|
394
|
-
|
395
|
-
.item.priority input {
|
396
|
-
width: 25px;
|
397
|
+
height: 39px;
|
398
|
+
margin: 0px 0px 20px 0px;
|
397
399
|
}
|
398
400
|
|
399
401
|
.mt-metrics form, .mt-metric-variants form, .mt-converts form {
|
@@ -430,6 +432,13 @@ ul.rally-list li.rally .time {
|
|
430
432
|
float: left;
|
431
433
|
}
|
432
434
|
|
435
|
+
.flash{
|
436
|
+
margin-top: 10px;
|
437
|
+
font-size: 18px;
|
438
|
+
font-style: italic;
|
439
|
+
color: #F64049;
|
440
|
+
text-align: center;
|
441
|
+
}
|
433
442
|
.flash-model .jqmWindow {
|
434
443
|
background: #FFFFFF;
|
435
444
|
border-radius: 10px;
|
@@ -465,70 +474,42 @@ a.jqmClose{
|
|
465
474
|
color: #EEEEFF;
|
466
475
|
}
|
467
476
|
|
468
|
-
input[type="submit"], .smallbutton, .mediumbutton, .bigbutton{
|
469
|
-
border: 0px solid #CCCCCC;
|
470
|
-
border-radius: 5px;
|
471
|
-
color: #FFFFFF;
|
472
|
-
text-align: center;
|
473
|
-
text-decoration: none;
|
474
|
-
text-shadow: 1px 1px 1px #666666;
|
475
|
-
}
|
476
477
|
|
477
|
-
|
478
|
-
|
479
|
-
|
478
|
+
/* RECORDS */
|
479
|
+
|
480
|
+
ul.record-list{
|
481
|
+
width: 100%;
|
480
482
|
margin: 0px;
|
481
|
-
|
483
|
+
padding: 0px;
|
484
|
+
list-style: none;
|
482
485
|
}
|
483
|
-
.
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
background: -moz-linear-gradient(top, #6699CC, #3366AA);
|
488
|
-
box-shadow: 2px 2px 4px rgba(0,0,0,.2), 0px 1px 0px #77AAEE inset, 0px -1px 0px #225599 inset;
|
486
|
+
ul.record-list li.record{
|
487
|
+
float: left;
|
488
|
+
width: 100%;
|
489
|
+
background: #EEEEFF;
|
489
490
|
}
|
490
|
-
.
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
background: -moz-linear-gradient(top, #228822, #339933);
|
510
|
-
box-shadow: 2px 2px 4px rgba(0,0,0,.2), 0px 0px 1px 0px #004400 inset, 0px -1px 0px #66AA66;
|
511
|
-
}
|
512
|
-
.redbutton{
|
513
|
-
background: #EE7777;
|
514
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EE7777', endColorstr='#CC4F4F');
|
515
|
-
background: -webkit-gradient(linear, left top, left bottom, from(#EE7777), to(#CC4F4F));
|
516
|
-
background: -moz-linear-gradient(top, #EE7777, #CC4F4F);
|
517
|
-
box-shadow: 2px 2px 4px rgba(0,0,0,.2), 0px -1px 0px #FF9999;
|
518
|
-
text-shadow: 1px 1px 0px #993333;
|
519
|
-
}
|
520
|
-
.redbutton.active, .redbutton:active, .redbutton:hover{
|
521
|
-
background: #EE7777;
|
522
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EE7777', endColorstr='#CC4F4F');
|
523
|
-
background: -webkit-gradient(linear, left top, left bottom, from(#EE7777), to(#CC4F4F));
|
524
|
-
background: -moz-linear-gradient(top, #BB4444, #CC4F4F);
|
525
|
-
box-shadow: 2px 2px 4px rgba(0,0,0,.2), 0px 0px 2px 0px #663333 inset, 0px -1px 0px #AA6666;
|
526
|
-
}
|
527
|
-
.smallbutton.redbutton{
|
528
|
-
width: auto;
|
529
|
-
padding: 0px 7px;
|
491
|
+
ul.record-list li.record:nth-child(2n){
|
492
|
+
background: #DDDDFF;
|
493
|
+
}
|
494
|
+
ul.record-list .record-context{
|
495
|
+
display: inline-block;
|
496
|
+
float: left;
|
497
|
+
width: 300px;
|
498
|
+
margin: 0px;
|
499
|
+
padding: 10px;
|
500
|
+
}
|
501
|
+
ul.record-list .record-context .name{
|
502
|
+
font-size: 20px;
|
503
|
+
margin-bottom: 5px;
|
504
|
+
}
|
505
|
+
ul.record-list .record-content{
|
506
|
+
display: inline-block;
|
507
|
+
margin: 0px;
|
508
|
+
padding: 10px;
|
509
|
+
width: 560px;
|
530
510
|
}
|
531
511
|
|
512
|
+
/* REPORTS */
|
532
513
|
.report-item {
|
533
514
|
padding: 8px;
|
534
515
|
}
|
@@ -539,4 +520,14 @@ input[type="submit"], .smallbutton, .mediumbutton, .bigbutton{
|
|
539
520
|
|
540
521
|
.report-item-actions > span {
|
541
522
|
padding-left: 10px;
|
542
|
-
}
|
523
|
+
}
|
524
|
+
|
525
|
+
.statpad.funnel {
|
526
|
+
width: 520px;
|
527
|
+
height: 500px;
|
528
|
+
}
|
529
|
+
|
530
|
+
.statpad.funnel .statbody {
|
531
|
+
height: 450px;
|
532
|
+
width: 500px;
|
533
|
+
}
|