bandshell 0.0.21 → 0.8

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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bandshell/application/app.rb +10 -10
  3. data/lib/bandshell/application/public/images/elements/logomark.png +0 -0
  4. data/lib/bandshell/application/public/images/layout/pagebg.gif +0 -0
  5. data/lib/bandshell/application/public/images/layout/pagebg@2x.gif +0 -0
  6. data/lib/bandshell/application/public/{authenticate.js → javascripts/authenticate.js} +0 -0
  7. data/lib/bandshell/application/public/{network.js → javascripts/network.js} +2 -2
  8. data/lib/bandshell/application/public/{problem.js → javascripts/problem.js} +0 -0
  9. data/lib/bandshell/application/public/stylesheets/README +3 -0
  10. data/lib/bandshell/application/public/stylesheets/concerto-styles.css +5387 -0
  11. data/lib/bandshell/application/public/stylesheets/sass/common/concertocons.scss +122 -0
  12. data/lib/bandshell/application/public/stylesheets/sass/common/font-awesome.scss +1273 -0
  13. data/lib/bandshell/application/public/stylesheets/sass/common/mixins.scss +284 -0
  14. data/lib/bandshell/application/public/stylesheets/sass/common/reset.scss +125 -0
  15. data/lib/bandshell/application/public/stylesheets/sass/common/variables.scss +139 -0
  16. data/lib/bandshell/application/public/stylesheets/sass/components/alerts-badges.scss +145 -0
  17. data/lib/bandshell/application/public/stylesheets/sass/components/bootstrap-modals.scss +115 -0
  18. data/lib/bandshell/application/public/stylesheets/sass/components/button-groups.scss +129 -0
  19. data/lib/bandshell/application/public/stylesheets/sass/components/buttons.scss +236 -0
  20. data/lib/bandshell/application/public/stylesheets/sass/components/datepicker.scss +337 -0
  21. data/lib/bandshell/application/public/stylesheets/sass/components/display-blocks.scss +194 -0
  22. data/lib/bandshell/application/public/stylesheets/sass/components/forms.scss +486 -0
  23. data/lib/bandshell/application/public/stylesheets/sass/components/jquery.qtip2.scss +259 -0
  24. data/lib/bandshell/application/public/stylesheets/sass/components/jquery.timepicker.css +8 -0
  25. data/lib/bandshell/application/public/stylesheets/sass/components/jquery.timepicker.scss +8 -0
  26. data/lib/bandshell/application/public/stylesheets/sass/components/lists-grid-stacked.scss +265 -0
  27. data/lib/bandshell/application/public/stylesheets/sass/components/navs.scss +465 -0
  28. data/lib/bandshell/application/public/stylesheets/sass/components/pagination.scss +64 -0
  29. data/lib/bandshell/application/public/stylesheets/sass/components/scaffolding.scss +75 -0
  30. data/lib/bandshell/application/public/stylesheets/sass/components/screenmodel.scss +66 -0
  31. data/lib/bandshell/application/public/stylesheets/sass/components/sliders.scss +98 -0
  32. data/lib/bandshell/application/public/stylesheets/sass/components/tables.scss +243 -0
  33. data/lib/bandshell/application/public/stylesheets/sass/components/tiles.scss +169 -0
  34. data/lib/bandshell/application/public/stylesheets/sass/components/topmenu.scss +218 -0
  35. data/lib/bandshell/application/public/stylesheets/sass/components/type.scss +259 -0
  36. data/lib/bandshell/application/public/stylesheets/sass/index-manifest.scss +32 -0
  37. data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-1200px-min.scss +31 -0
  38. data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-767px-max.scss +178 -0
  39. data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-768px-979px.scss +21 -0
  40. data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-utilities.scss +41 -0
  41. data/lib/bandshell/application/public/stylesheets/sass/views/setup.scss +5 -0
  42. data/lib/bandshell/application/public/stylesheets/sass/views/submissions.scss +36 -0
  43. data/lib/bandshell/application/public/stylesheets/sass/views/users.scss +15 -0
  44. data/lib/bandshell/application/views/authenticate.erb +15 -0
  45. data/lib/bandshell/application/views/main.erb +55 -0
  46. data/lib/bandshell/application/views/main.haml +2 -1
  47. data/lib/bandshell/application/views/netsettings.erb +147 -0
  48. data/lib/bandshell/application/views/netsettings.haml +1 -1
  49. data/lib/bandshell/application/views/password.erb +23 -0
  50. data/lib/bandshell/application/views/player_status.erb +16 -0
  51. data/lib/bandshell/application/views/problem.erb +20 -0
  52. data/lib/bandshell/application/views/setup.erb +58 -0
  53. metadata +52 -8
  54. data/lib/bandshell/application/public/stylesheet.css +0 -3
@@ -0,0 +1,259 @@
1
+ /*##########################################################################*/
2
+ /* Tooltips, by qTip2 Plugin (http://craigsworks.com/projects/qtip2) */
3
+ /*##########################################################################*/
4
+
5
+
6
+ //////////////////
7
+
8
+ /* Core qTip styles */
9
+ .qtip, .qtip{
10
+ position: absolute;
11
+ left: -28000px;
12
+ top: -28000px;
13
+ display: none;
14
+
15
+ max-width: 350px;
16
+ min-width: 50px;
17
+
18
+ font-size: 10.5px;
19
+ line-height: 12px;
20
+
21
+ direction: ltr;
22
+ }
23
+
24
+ .qtip-content{
25
+ position: relative;
26
+ padding: 5px 9px;
27
+ overflow: hidden;
28
+ line-height: normal;
29
+
30
+ text-align: left;
31
+ word-wrap: break-word;
32
+ }
33
+
34
+ .qtip-titlebar{
35
+ position: relative;
36
+ padding: 10px 35px 10px 10px;
37
+ overflow: hidden;
38
+
39
+ border-width: 0 0 1px;
40
+ font-weight: bold;
41
+ }
42
+
43
+ .qtip-titlebar + .qtip-content{ border-top-width: 0 !important; }
44
+
45
+ /* Default close button class */
46
+ .qtip-close{
47
+ position: absolute;
48
+ right: -9px; top: -9px;
49
+
50
+ cursor: pointer;
51
+ outline: medium none;
52
+
53
+ border-width: 1px;
54
+ border-style: solid;
55
+ border-color: transparent;
56
+ }
57
+
58
+ .qtip-titlebar .qtip-close{
59
+ right: 4px; top: 50%;
60
+ margin-top: -9px;
61
+ }
62
+
63
+ * html .qtip-titlebar .qtip-close{ top: 16px; } /* IE fix */
64
+
65
+ .qtip-titlebar .ui-icon,
66
+ .qtip-icon .ui-icon{
67
+ display: block;
68
+ text-indent: -1000em;
69
+ direction: ltr;
70
+ vertical-align: middle;
71
+ }
72
+
73
+ .qtip-icon, .qtip-icon .ui-icon{
74
+ -moz-border-radius: 3px;
75
+ -webkit-border-radius: 3px;
76
+ border-radius: 3px;
77
+ text-decoration: none;
78
+ }
79
+
80
+ .qtip-icon .ui-icon{
81
+ width: 18px;
82
+ height: 14px;
83
+
84
+ text-align: center;
85
+ text-indent: 0;
86
+ font: normal bold 10px/13px Tahoma,sans-serif;
87
+
88
+ color: inherit;
89
+ background: transparent none no-repeat -100em -100em;
90
+ }
91
+
92
+
93
+ /* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */
94
+ .qtip-focus{}
95
+
96
+ /* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */
97
+ .qtip-hover{}
98
+
99
+ /* Default tooltip style */
100
+ .qtip-default{
101
+ border-width: 1px;
102
+ border-style: solid;
103
+ background-color: $grayDarker;
104
+ border-color: #303030;
105
+ color: #f3f3f3;
106
+ }
107
+ .qtip-default .qtip-titlebar{
108
+ background-color: #404040;
109
+ }
110
+ .qtip-default .qtip-icon{
111
+ border-color: #444;
112
+ background: #F1F1F1;
113
+ color: #777;
114
+ }
115
+ .qtip-default .qtip-titlebar .qtip-close{
116
+ border-color: #AAA;
117
+ color: #111;
118
+ }
119
+ .qtip-default .qtip-titlebar .ui-state-hover{
120
+ border-color: #303030;
121
+ }
122
+
123
+
124
+ /*! Light tooltip style */
125
+ .qtip-light{
126
+ background-color: white;
127
+ border-color: #E2E2E2;
128
+ color: #454545;
129
+ }
130
+ .qtip-light .qtip-titlebar{
131
+ background-color: #f1f1f1;
132
+ }
133
+
134
+
135
+ /* Add shadows to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
136
+ .qtip-shadow{
137
+ -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
138
+ -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
139
+ box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
140
+ }
141
+
142
+ /* Add rounded corners to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
143
+ .qtip-rounded,
144
+ .qtip-tipsy,
145
+ .qtip-bootstrap{
146
+ -moz-border-radius: 5px;
147
+ -webkit-border-radius: 5px;
148
+ border-radius: 5px;
149
+ }
150
+
151
+ .qtip-rounded .qtip-titlebar{
152
+ -moz-border-radius: 5px 5px 0 0;
153
+ -webkit-border-radius: 5px 5px 0 0;
154
+ border-radius: 5px 5px 0 0;
155
+ }
156
+
157
+
158
+ /* Class applied to remove inner box padding for tooltip */
159
+ .qtip-nopadding .qtip-content {
160
+ padding: 0px !important;
161
+ }
162
+
163
+ .qtip-oneline .qtip-content {
164
+ padding: 6px;
165
+ }
166
+
167
+ /* Class applied to make width auto for tooltip content (use sparingly and test!) */
168
+ .qtip-autowidth {
169
+ width: auto !important;
170
+ max-width: none !important;
171
+ }
172
+
173
+ /* Class applied to force a fixed height of 300px */
174
+ .qtip-fixedheight {
175
+ height: 300px !important;
176
+ max-height: 300px !important;
177
+ }
178
+
179
+ /* Class applied to force a fixed height of 300px */
180
+ .qtip-fixedwidth-small {
181
+ width: 300px !important;
182
+ max-width: 300px !important;
183
+ }
184
+ .qtip-fixedwidth-medium {
185
+ width: 500px !important;
186
+ max-width: 500px !important;
187
+ }
188
+
189
+
190
+ /* IE9 fix - removes all filters */
191
+ .qtip:not(.ie9haxors) div.qtip-content,
192
+ .qtip:not(.ie9haxors) div.qtip-titlebar{
193
+ filter: none;
194
+ -ms-filter: none;
195
+ }
196
+
197
+
198
+ /* Tips plugin */
199
+ .qtip .qtip-tip{
200
+ margin: 0 auto;
201
+ overflow: hidden;
202
+ z-index: 10;
203
+ }
204
+
205
+ .qtip .qtip-tip,
206
+ .qtip .qtip-tip .qtip-vml{
207
+ position: absolute;
208
+
209
+ color: #123456;
210
+ background: transparent;
211
+ border: 0 dashed transparent;
212
+ }
213
+
214
+ .qtip .qtip-tip canvas{ top: 0; left: 0; }
215
+
216
+ .qtip .qtip-tip .qtip-vml{
217
+ behavior: url(#default#VML);
218
+ display: inline-block;
219
+ visibility: visible;
220
+ }
221
+ /* Modal plugin */
222
+ #qtip-overlay{
223
+ position: fixed;
224
+ left: -10000em;
225
+ top: -10000em;
226
+ }
227
+
228
+ /* Applied to modals with show.modal.blur set to true */
229
+ #qtip-overlay.blurs{ cursor: pointer; }
230
+
231
+ /* Change opacity of overlay here */
232
+ #qtip-overlay div{
233
+ position: absolute;
234
+ left: 0; top: 0;
235
+ width: 100%; height: 100%;
236
+
237
+ background-color: black;
238
+
239
+ opacity: 0.7;
240
+ filter:alpha(opacity=70);
241
+ -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
242
+ }
243
+
244
+
245
+ /* IE6 Modal plugin fix */
246
+ .qtipmodal-ie6fix{
247
+ position: absolute !important;
248
+ }
249
+
250
+
251
+ // Tooltip Scrollable region
252
+ .tooltip-scrollY {
253
+ max-height: 300px;
254
+ overflow: auto;
255
+ }
256
+ .tooltip-filter-cont {
257
+ padding: 10px;
258
+ border-bottom: solid 1px #ccc;
259
+ }
@@ -0,0 +1,8 @@
1
+ .ui-timepicker-list { overflow-y: auto; height: 150px; width: 6.5em; background: #fff; border: 1px solid #ddd; margin: 0; padding: 0; }
2
+ .ui-timepicker-list.ui-timepicker-with-duration { width: 11em; }
3
+ .ui-timepicker-duration { margin-left: 5px; color: #888; }
4
+ .ui-timepicker-list:hover .ui-timepicker-duration { color: #888; }
5
+ .ui-timepicker-list li { padding: 3px 0 3px 5px; cursor: pointer; white-space: nowrap; color: #000; list-style: none; margin: 0; }
6
+ .ui-timepicker-list:hover .ui-timepicker-selected { background: #fff; color: #000; }
7
+ li.ui-timepicker-selected, .ui-timepicker-list li:hover, .ui-timepicker-list:hover .ui-timepicker-selected:hover { background: #1980EC; color: #fff; }
8
+ li.ui-timepicker-selected .ui-timepicker-duration, .ui-timepicker-list li:hover .ui-timepicker-duration { color: #ccc; }
@@ -0,0 +1,8 @@
1
+ .ui-timepicker-list { overflow-y: auto; height: 150px; width: 6.5em; background: #fff; border: 1px solid #ddd; margin: 0; padding: 0; }
2
+ .ui-timepicker-list.ui-timepicker-with-duration { width: 11em; }
3
+ .ui-timepicker-duration { margin-left: 5px; color: #888; }
4
+ .ui-timepicker-list:hover .ui-timepicker-duration { color: #888; }
5
+ .ui-timepicker-list li { padding: 3px 0 3px 5px; cursor: pointer; white-space: nowrap; color: #000; list-style: none; margin: 0; }
6
+ .ui-timepicker-list:hover .ui-timepicker-selected { background: #fff; color: #000; }
7
+ li.ui-timepicker-selected, .ui-timepicker-list li:hover, .ui-timepicker-list:hover .ui-timepicker-selected:hover { background: #1980EC; color: #fff; }
8
+ li.ui-timepicker-selected .ui-timepicker-duration, .ui-timepicker-list li:hover .ui-timepicker-duration { color: #ccc; }
@@ -0,0 +1,265 @@
1
+ // lists-grid-stacked.scss.erb
2
+
3
+
4
+
5
+ //---------------
6
+ // Gridlist UL
7
+ // This UL aligns 1..n items in a visual grid. Each item is floated left and fills up available space
8
+ // (20% width apiece). This UL is used extensively on browse content grids of content.
9
+
10
+ $griditem-width: 240px;
11
+ $griditem-height: 180px;
12
+
13
+ ul.new-grid {
14
+ @include clearfix();
15
+ margin: 0px;
16
+ padding: 0px;
17
+
18
+ li {
19
+ list-style: none;
20
+ float: left;
21
+ margin: 1px;
22
+ position: relative;
23
+
24
+ a {
25
+ display: block;
26
+ width: $griditem-width;
27
+ height: $griditem-height;
28
+ background: $white;
29
+
30
+ &:hover {
31
+ text-decoration: none;
32
+
33
+ .content {
34
+ background: darken($grayLight, 6%);
35
+
36
+ img { opacity: 1; }
37
+ }
38
+
39
+ .info {
40
+ opacity: 1;
41
+ }
42
+
43
+ }
44
+
45
+ @include transition(all .1s linear);
46
+ }
47
+
48
+ .content {
49
+ display: block;
50
+ z-index: 1;
51
+ background: $grayLight;
52
+ height: $griditem-height;
53
+
54
+ img {
55
+ max-width: 100%;
56
+ opacity: 0.8;
57
+ }
58
+
59
+ p {
60
+ padding: 12px;
61
+ font-size: 1.6em;
62
+ line-height: normal;
63
+ }
64
+ }
65
+
66
+ .info {
67
+ z-index: 2;
68
+ background: $black;
69
+ opacity: 0.5;
70
+ display: block;
71
+ color: $white;
72
+ position: absolute;
73
+ bottom: 0px;
74
+ left: 0px;
75
+ width: 100%;
76
+ @include transition(all .1s linear);
77
+ }
78
+
79
+ }
80
+ }
81
+
82
+ ul.list-grid {
83
+ margin: 0px;
84
+ padding: 0px;
85
+ @include clearfix();
86
+
87
+ > li {
88
+ list-style: none;
89
+ float: left;
90
+ min-width: 200px;
91
+ height: 60px;
92
+ width: 23%;
93
+ margin: 8px 4px;
94
+ display: table;
95
+
96
+ .cont {
97
+ display: table-cell;
98
+ vertical-align: top;
99
+ padding: 0px;
100
+ min-height: 64px;
101
+ text-decoration:none;
102
+
103
+ &.thumb-icon {
104
+ width: 64px;
105
+
106
+ a {
107
+ text-decoration: none;
108
+ }
109
+
110
+ i {
111
+ font-size: 45px;
112
+ color: $black;
113
+ line-height: 0.8em;
114
+ }
115
+ }
116
+
117
+ // these elements come along for the ride by bringing in gridlist-item mixin:
118
+ b {
119
+ color: $black;
120
+ }
121
+
122
+ .controls {
123
+ display: block;
124
+ margin-top: 4px;
125
+ }
126
+
127
+ h1 {
128
+ font-size: 1.2em;
129
+ color: #333;
130
+ background:none;
131
+ padding: 0px;
132
+ margin: 0px;
133
+ font-weight: bold;
134
+ text-align: center;
135
+ }
136
+
137
+ p {
138
+ margin-bottom: 0px;
139
+ }
140
+
141
+
142
+
143
+ }
144
+
145
+ img {
146
+ @extend .with-shadow;
147
+ float: left;
148
+ margin-bottom:6px;
149
+ margin-right:10px;
150
+ }
151
+
152
+ i {
153
+ margin-bottom: 6px;
154
+ margin-right: 10px;
155
+ }
156
+
157
+ }
158
+
159
+ // inset-selection gridlists appear inside forms and while they use
160
+ // the base styles of list-grid, several attributes are different
161
+ // these gridlists are used to make a selection of one or more items
162
+ // within them (hence their usage in forms)
163
+ &.inset-selection {
164
+ border-top: none;
165
+
166
+ // a common use for inset gridlists is to have each item in the list-grid
167
+ // be a clickable link - each item appears with a slight rounded
168
+ // border and is a fully clickable region
169
+
170
+ > li {
171
+ margin-right: 6px;
172
+ margin-bottom: 6px;
173
+ }
174
+
175
+ > li {
176
+ > a, > div {
177
+ @include border-radius(4px);
178
+ display: block;
179
+ color: $gray;
180
+ $transition: border linear .1s, background linear .1s;
181
+ @include transition($transition);
182
+ }
183
+
184
+ > a:hover {
185
+ background: $concerto-blue-6;
186
+ text-decoration: none;
187
+
188
+ .inp {
189
+ background: $concerto-blue-4;
190
+ }
191
+ }
192
+ }
193
+
194
+ .inp {
195
+ float: left;
196
+ background: $grayLightest;
197
+ min-height: 46px;
198
+ padding: 8px 5px;
199
+ @include border-radius(4px 0px 0px 4px);
200
+ }
201
+
202
+ .cont {
203
+ border: none;
204
+ float: left;
205
+ }
206
+ }
207
+
208
+ // this class can be applied to a list-grid to compress the size of each
209
+ // list item inside the grid
210
+ &.small {
211
+ > li {
212
+ min-height: 60px;
213
+
214
+ .cont {
215
+ padding: 8px;
216
+ min-height: 40px;
217
+ }
218
+ }
219
+
220
+ }
221
+ }
222
+
223
+ // variant: for span columns that are small enough, override the
224
+ // width to make it appear flush:
225
+ .row-fluid .span3 ul.list-grid > li, .row-fluid .span2 ul.list-grid > li, .row-fluid .span1 ul.list-grid > li {
226
+ width: 100%;
227
+ }
228
+
229
+
230
+ //---------------
231
+ // Stacked lists UL
232
+ // An alternative to gridlists, this UL simply stacks its list items
233
+ // on top of one another with visual elements. It is often used for
234
+ // nested lists, such as the feed list on contents#index.
235
+
236
+ ul.list-stacked {
237
+ margin-left: 0px;
238
+ margin-bottom: 12px;
239
+
240
+ > li {
241
+ padding: 12px 12px 0px 12px;
242
+ list-style: none;
243
+
244
+ // this is the second level of UL, which represents a nested list
245
+ // we only recommend one level deep of visual nesting
246
+ ul {
247
+ margin-left: 0px;
248
+
249
+ > li {
250
+ padding-left: 25px;
251
+ background: #efefef;
252
+ }
253
+ }
254
+
255
+ }
256
+
257
+ p {
258
+ margin:0px;
259
+ }
260
+
261
+ .indented {
262
+ padding-left: 20px;
263
+ }
264
+ }
265
+ ul.list-stacked.condensed > li { padding: 6px 12px; }