bandshell 0.0.21 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bandshell/application/app.rb +10 -10
- data/lib/bandshell/application/public/images/elements/logomark.png +0 -0
- data/lib/bandshell/application/public/images/layout/pagebg.gif +0 -0
- data/lib/bandshell/application/public/images/layout/pagebg@2x.gif +0 -0
- data/lib/bandshell/application/public/{authenticate.js → javascripts/authenticate.js} +0 -0
- data/lib/bandshell/application/public/{network.js → javascripts/network.js} +2 -2
- data/lib/bandshell/application/public/{problem.js → javascripts/problem.js} +0 -0
- data/lib/bandshell/application/public/stylesheets/README +3 -0
- data/lib/bandshell/application/public/stylesheets/concerto-styles.css +5387 -0
- data/lib/bandshell/application/public/stylesheets/sass/common/concertocons.scss +122 -0
- data/lib/bandshell/application/public/stylesheets/sass/common/font-awesome.scss +1273 -0
- data/lib/bandshell/application/public/stylesheets/sass/common/mixins.scss +284 -0
- data/lib/bandshell/application/public/stylesheets/sass/common/reset.scss +125 -0
- data/lib/bandshell/application/public/stylesheets/sass/common/variables.scss +139 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/alerts-badges.scss +145 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/bootstrap-modals.scss +115 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/button-groups.scss +129 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/buttons.scss +236 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/datepicker.scss +337 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/display-blocks.scss +194 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/forms.scss +486 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/jquery.qtip2.scss +259 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/jquery.timepicker.css +8 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/jquery.timepicker.scss +8 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/lists-grid-stacked.scss +265 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/navs.scss +465 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/pagination.scss +64 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/scaffolding.scss +75 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/screenmodel.scss +66 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/sliders.scss +98 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/tables.scss +243 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/tiles.scss +169 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/topmenu.scss +218 -0
- data/lib/bandshell/application/public/stylesheets/sass/components/type.scss +259 -0
- data/lib/bandshell/application/public/stylesheets/sass/index-manifest.scss +32 -0
- data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-1200px-min.scss +31 -0
- data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-767px-max.scss +178 -0
- data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-768px-979px.scss +21 -0
- data/lib/bandshell/application/public/stylesheets/sass/responsive/responsive-utilities.scss +41 -0
- data/lib/bandshell/application/public/stylesheets/sass/views/setup.scss +5 -0
- data/lib/bandshell/application/public/stylesheets/sass/views/submissions.scss +36 -0
- data/lib/bandshell/application/public/stylesheets/sass/views/users.scss +15 -0
- data/lib/bandshell/application/views/authenticate.erb +15 -0
- data/lib/bandshell/application/views/main.erb +55 -0
- data/lib/bandshell/application/views/main.haml +2 -1
- data/lib/bandshell/application/views/netsettings.erb +147 -0
- data/lib/bandshell/application/views/netsettings.haml +1 -1
- data/lib/bandshell/application/views/password.erb +23 -0
- data/lib/bandshell/application/views/player_status.erb +16 -0
- data/lib/bandshell/application/views/problem.erb +20 -0
- data/lib/bandshell/application/views/setup.erb +58 -0
- metadata +52 -8
- data/lib/bandshell/application/public/stylesheet.css +0 -3
@@ -0,0 +1,284 @@
|
|
1
|
+
// Border Radius
|
2
|
+
@mixin border-radius($radius: 5px) {
|
3
|
+
-webkit-border-radius: $radius;
|
4
|
+
-moz-border-radius: $radius;
|
5
|
+
border-radius: $radius;
|
6
|
+
}
|
7
|
+
|
8
|
+
// Drop shadows
|
9
|
+
@mixin box-shadow($shadow: 0 1px 3px rgba(0,0,0,.25)) {
|
10
|
+
-webkit-box-shadow: $shadow;
|
11
|
+
-moz-box-shadow: $shadow;
|
12
|
+
box-shadow: $shadow;
|
13
|
+
}
|
14
|
+
|
15
|
+
@mixin no-box-shadow {
|
16
|
+
box-shadow: 0 0 0;
|
17
|
+
-moz-box-shadow: 0 0 0;
|
18
|
+
-webkit-box-shadow: 0 0 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
// Clearfix for clearing floats like a boss h5bp.com/q
|
23
|
+
@mixin clearfix {
|
24
|
+
zoom: 1;
|
25
|
+
&:before,
|
26
|
+
&:after {
|
27
|
+
display: table;
|
28
|
+
content: "";
|
29
|
+
zoom: 1;
|
30
|
+
*display: inline;
|
31
|
+
}
|
32
|
+
&:after {
|
33
|
+
clear: both;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
.clearfix { @include clearfix; }
|
37
|
+
|
38
|
+
|
39
|
+
// Gradients
|
40
|
+
@mixin horizontal-gradient ($startColor: #555, $endColor: #333) {
|
41
|
+
background-color: $endColor;
|
42
|
+
background-repeat: repeat-x;
|
43
|
+
background-image: -khtml-gradient(linear, left top, right top, from($startColor), to($endColor)); // Konqueror
|
44
|
+
background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
45
|
+
background-image: -ms-linear-gradient(left, $startColor, $endColor); // IE10
|
46
|
+
background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, $startColor), color-stop(100%, $endColor)); // Safari 4+, Chrome 2+
|
47
|
+
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
48
|
+
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
49
|
+
background-image: linear-gradient(left, $startColor, $endColor); // Le standard
|
50
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$startColor}', endColorstr='#{$endColor}', GradientType=1); // IE9 and down
|
51
|
+
}
|
52
|
+
|
53
|
+
@mixin vertical-gradient ($startColor: #555, $endColor: #333) {
|
54
|
+
background-color: $endColor;
|
55
|
+
background-repeat: repeat-x;
|
56
|
+
background-image: -khtml-gradient(linear, left top, left bottom, from($startColor), to($endColor)); // Konqueror
|
57
|
+
background-image: -moz-linear-gradient(top, $startColor, $endColor); // FF 3.6+
|
58
|
+
background-image: -ms-linear-gradient(top, $startColor, $endColor); // IE10
|
59
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $startColor), color-stop(100%, $endColor)); // Safari 4+, Chrome 2+
|
60
|
+
background-image: -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
61
|
+
background-image: -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
|
62
|
+
background-image: linear-gradient(top, $startColor, $endColor); // The standard
|
63
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$startColor}', endColorstr='#{$endColor}', GradientType=0); // IE9 and down
|
64
|
+
}
|
65
|
+
|
66
|
+
// Transitions
|
67
|
+
@mixin transition($transition) {
|
68
|
+
-webkit-transition: $transition;
|
69
|
+
-moz-transition: $transition;
|
70
|
+
-ms-transition: $transition;
|
71
|
+
-o-transition: $transition;
|
72
|
+
transition: $transition;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Opacity
|
76
|
+
@mixin opacity($opacity: 100) {
|
77
|
+
filter: alpha(opacity=$opacity);
|
78
|
+
-khtml-opacity: $opacity / 100;
|
79
|
+
-moz-opacity: $opacity / 100;
|
80
|
+
opacity: $opacity / 100;
|
81
|
+
}
|
82
|
+
|
83
|
+
// Box sizing
|
84
|
+
@mixin box-sizing($boxmodel) {
|
85
|
+
-webkit-box-sizing: $boxmodel;
|
86
|
+
-moz-box-sizing: $boxmodel;
|
87
|
+
-ms-box-sizing: $boxmodel;
|
88
|
+
box-sizing: $boxmodel;
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
// Background clipping (from bootstrap-sass)
|
93
|
+
// Heads up: FF 3.6 and under need "padding" instead of "padding-box"
|
94
|
+
@mixin background-clip($clip) {
|
95
|
+
-webkit-background-clip: $clip;
|
96
|
+
-moz-background-clip: $clip;
|
97
|
+
background-clip: $clip;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
// Font Stacks
|
102
|
+
@mixin shorthand-font($weight: normal, $size: 14px, $lineHeight: 20px) {
|
103
|
+
font-size: $size;
|
104
|
+
font-weight: $weight;
|
105
|
+
line-height: $lineHeight;
|
106
|
+
}
|
107
|
+
@mixin sans-serif-font($weight: normal, $size: 14px, $lineHeight: 20px) {
|
108
|
+
font-family: $sans-body;
|
109
|
+
font-size: $size;
|
110
|
+
font-weight: $weight;
|
111
|
+
line-height: $lineHeight;
|
112
|
+
}
|
113
|
+
@mixin serif-font($weight: normal, $size: 14px, $lineHeight: 20px) {
|
114
|
+
font-family: "Georgia", Times New Roman, Times, serif;
|
115
|
+
font-size: $size;
|
116
|
+
font-weight: $weight;
|
117
|
+
line-height: $lineHeight;
|
118
|
+
}
|
119
|
+
@mixin monospace-font($weight: normal, $size: 12px, $lineHeight: 20px) {
|
120
|
+
font-family: "Monaco", Courier New, monospace;
|
121
|
+
font-size: $size;
|
122
|
+
font-weight: $weight;
|
123
|
+
line-height: $lineHeight;
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
// form fields
|
128
|
+
|
129
|
+
@mixin input-block-level() {
|
130
|
+
display: block;
|
131
|
+
width: 100%;
|
132
|
+
min-height: 28px; // Make inputs at least the height of their button counterpart
|
133
|
+
@include box-sizing(border-box); // Makes inputs behave like true block-level elements
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
// Horizontal dividers
|
138
|
+
// -------------------
|
139
|
+
// Dividers (basically an hr) within dropdowns and nav lists
|
140
|
+
@mixin nav-divider($top: #e5e5e5, $bottom: $white) {
|
141
|
+
// IE7 needs a set width since we gave a height. Restricting just
|
142
|
+
// to IE7 to keep the 1px left/right space in other browsers.
|
143
|
+
// It is unclear where IE is getting the extra space that we need
|
144
|
+
// to negative-margin away, but so it goes.
|
145
|
+
*width: 100%;
|
146
|
+
height: 1px;
|
147
|
+
margin: (($baseLineHeight / 2) - 1) 1px; // 8px 1px
|
148
|
+
*margin: -5px 0 5px;
|
149
|
+
overflow: hidden;
|
150
|
+
background-color: $top;
|
151
|
+
border-bottom: 1px solid $bottom;
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
// IE7 inline-block
|
157
|
+
// ----------------
|
158
|
+
@mixin ie7-inline-block() {
|
159
|
+
*display: inline; /* IE7 inline-block hack */
|
160
|
+
*zoom: 1;
|
161
|
+
}
|
162
|
+
|
163
|
+
// IE7 likes to collapse whitespace on either side of the inline-block elements.
|
164
|
+
// Ems because we're attempting to match the width of a space character. Left
|
165
|
+
// version is for form buttons, which typically come after other elements, and
|
166
|
+
// right version is for icons, which come before. Applying both is ok, but it will
|
167
|
+
// mean that space between those elements will be .6em (~2 space characters) in IE7,
|
168
|
+
// instead of the 1 space in other browsers.
|
169
|
+
@mixin ie7-restore-left-whitespace() {
|
170
|
+
*margin-left: .3em;
|
171
|
+
|
172
|
+
&:first-child {
|
173
|
+
*margin-left: 0;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
@mixin ie7-restore-right-whitespace() {
|
178
|
+
*margin-right: .3em;
|
179
|
+
|
180
|
+
&:last-child {
|
181
|
+
*margin-left: 0;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
|
186
|
+
@mixin at2x($image_name, $w: auto, $h: auto, $extention: '.png') {
|
187
|
+
background-image: image_url($image_name + $extention);
|
188
|
+
$x2img : $image_name + '@2x' + $extention;
|
189
|
+
|
190
|
+
@media all and (-webkit-min-device-pixel-ratio : 1.5) {
|
191
|
+
background-image: image_url($x2img);
|
192
|
+
background-size: $w $h;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
|
197
|
+
// The Grid
|
198
|
+
@mixin gridCore($columnWidth, $gutterWidth) {
|
199
|
+
.row {
|
200
|
+
margin-left: $gutterWidth * -1;
|
201
|
+
@include clearfix();
|
202
|
+
}
|
203
|
+
|
204
|
+
[class*="span"] {
|
205
|
+
float: left;
|
206
|
+
margin-left: $gutterWidth;
|
207
|
+
}
|
208
|
+
|
209
|
+
// Set the container width, and override it for fixed navbars in media queries
|
210
|
+
.container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { @include gridCoreSpan($gridColumns, $columnWidth, $gutterWidth); }
|
211
|
+
|
212
|
+
@include gridCoreSpanX($gridColumns, $columnWidth, $gutterWidth);
|
213
|
+
@include gridCoreOffsetX($gridColumns, $columnWidth, $gutterWidth);
|
214
|
+
}
|
215
|
+
@mixin gridCoreSpanX($cols, $columnWidth, $gutterWidth) {
|
216
|
+
@for $i from 1 through $cols {
|
217
|
+
.span#{$i} { @include gridCoreSpan($i, $columnWidth, $gutterWidth) };
|
218
|
+
}
|
219
|
+
}
|
220
|
+
@mixin gridCoreSpan($columns, $columnWidth, $gutterWidth) {
|
221
|
+
width: ($columnWidth * $columns) + ($gutterWidth * ($columns - 1));
|
222
|
+
}
|
223
|
+
@mixin gridCoreOffsetX($cols, $columnWidth, $gutterWidth) {
|
224
|
+
@for $i from 1 through $cols {
|
225
|
+
.offset#{$i} { @include gridCoreOffset($i, $columnWidth, $gutterWidth); };
|
226
|
+
}
|
227
|
+
}
|
228
|
+
@mixin gridCoreOffset($columns, $columnWidth, $gutterWidth) {
|
229
|
+
margin-left: ($columnWidth * $columns) + ($gutterWidth * ($columns + 1));
|
230
|
+
}
|
231
|
+
|
232
|
+
// responsive grid
|
233
|
+
|
234
|
+
@mixin gridFluid($columnWidth, $gutterWidth) {
|
235
|
+
.row-fluid {
|
236
|
+
width: 100%;
|
237
|
+
@include clearfix();
|
238
|
+
[class*="span"] {
|
239
|
+
@include input-block-level();
|
240
|
+
float: left;
|
241
|
+
margin-left: $gutterWidth;
|
242
|
+
*margin-left: $gutterWidth - (.5 / ($gridRowWidth/1px) * 100 * 1%);
|
243
|
+
}
|
244
|
+
[class*="span"]:first-child {
|
245
|
+
margin-left: 0;
|
246
|
+
}
|
247
|
+
|
248
|
+
// generate .spanX
|
249
|
+
@include gridFluidSpanX($gridColumns, $columnWidth, $gutterWidth);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
@mixin gridFluidSpanX($cols, $columnWidth, $gutterWidth) {
|
253
|
+
@for $i from 1 through $cols {
|
254
|
+
.span#{$i} { @include gridFluidSpan($i, $columnWidth, $gutterWidth) };
|
255
|
+
}
|
256
|
+
}
|
257
|
+
@mixin gridFluidSpan($columns, $columnWidth, $gutterWidth) {
|
258
|
+
width: ($columnWidth * $columns) + ($gutterWidth * ($columns - 1));
|
259
|
+
*width: ($columnWidth * $columns) + ($gutterWidth * ($columns - 1)) - (.5 / ($gridRowWidth/1px) * 100 * 1%);
|
260
|
+
}
|
261
|
+
|
262
|
+
@mixin gridInput($columnWidth, $gutterWidth) {
|
263
|
+
input, textarea, .uneditable-input {
|
264
|
+
margin-left: 0; // override margin-left from core grid system
|
265
|
+
}
|
266
|
+
|
267
|
+
// generate .spanX
|
268
|
+
@include gridInputSpanX($gridColumns, $columnWidth, $gutterWidth);
|
269
|
+
}
|
270
|
+
@mixin gridInputSpanX($cols, $columnWidth, $gutterWidth) {
|
271
|
+
@for $i from 1 through $cols {
|
272
|
+
input.span#{$i}, textarea.span#{$i}, .uneditable-input.span#{$i} { @include gridInputSpan($i, $columnWidth, $gutterWidth); }
|
273
|
+
}
|
274
|
+
}
|
275
|
+
@mixin gridInputSpan($columns, $columnWidth, $gutterWidth) {
|
276
|
+
width: (($columnWidth) * $columns) + ($gutterWidth * ($columns - 1)) - 10;
|
277
|
+
}
|
278
|
+
|
279
|
+
@mixin makeFluidColumn($columns, $columnWidth, $gutterWidth) {
|
280
|
+
// This isn't perfect, but it's better than nothing.
|
281
|
+
float: left;
|
282
|
+
margin-left: $gutterWidth;
|
283
|
+
@include gridFluidSpan($columns, $columnWidth, $gutterWidth);
|
284
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
/*##########################################################################*/
|
2
|
+
/* Frame and Resets */
|
3
|
+
/*##########################################################################*/
|
4
|
+
|
5
|
+
|
6
|
+
//////////////////
|
7
|
+
|
8
|
+
html {
|
9
|
+
// include background with retina mixin:
|
10
|
+
background: url(/images/layout/pagebg.gif) repeat;
|
11
|
+
|
12
|
+
color: #000;
|
13
|
+
font-family: $sans-body;
|
14
|
+
//min-width: 800px;
|
15
|
+
}
|
16
|
+
|
17
|
+
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
font-size: 12px;
|
21
|
+
}
|
22
|
+
|
23
|
+
table {
|
24
|
+
border-collapse: collapse;
|
25
|
+
border-spacing: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
fieldset, img {
|
29
|
+
border: 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
address, caption, cite, code, dfn, em, strong, b, th, var, optgroup {
|
33
|
+
font-style: inherit;
|
34
|
+
font-weight: inherit;
|
35
|
+
}
|
36
|
+
|
37
|
+
del, ins {
|
38
|
+
text-decoration: none;
|
39
|
+
}
|
40
|
+
|
41
|
+
caption, th {
|
42
|
+
text-align: left;
|
43
|
+
}
|
44
|
+
|
45
|
+
h1, h2, h3, h4, h5, h6 {
|
46
|
+
font-size: 100%;
|
47
|
+
font-weight: normal;
|
48
|
+
}
|
49
|
+
|
50
|
+
q {
|
51
|
+
&:before, &:after {
|
52
|
+
content: '';
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
abbr {
|
57
|
+
border: 0;
|
58
|
+
font-variant: normal;
|
59
|
+
}
|
60
|
+
|
61
|
+
sup, sub {
|
62
|
+
vertical-align: baseline;
|
63
|
+
}
|
64
|
+
|
65
|
+
b, strong {
|
66
|
+
font-weight: bold;
|
67
|
+
}
|
68
|
+
|
69
|
+
legend {
|
70
|
+
color: #000;
|
71
|
+
}
|
72
|
+
|
73
|
+
input, button, textarea, select, optgroup, option {
|
74
|
+
font-family: inherit;
|
75
|
+
font-size: inherit;
|
76
|
+
font-style: inherit;
|
77
|
+
font-weight: inherit;
|
78
|
+
}
|
79
|
+
|
80
|
+
input, button, textarea, select {
|
81
|
+
*font-size: 100%;
|
82
|
+
}
|
83
|
+
|
84
|
+
small {
|
85
|
+
font-size: 0.7em;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* Common Inheritance */
|
89
|
+
|
90
|
+
.wrap {
|
91
|
+
width: $main-width;
|
92
|
+
margin: 0 auto;
|
93
|
+
}
|
94
|
+
|
95
|
+
.caps {
|
96
|
+
text-transform: uppercase;
|
97
|
+
}
|
98
|
+
|
99
|
+
.spaced {
|
100
|
+
letter-spacing: .12em;
|
101
|
+
}
|
102
|
+
|
103
|
+
.center {
|
104
|
+
text-align: center;
|
105
|
+
}
|
106
|
+
|
107
|
+
.larger {
|
108
|
+
font-size: 1.2em;
|
109
|
+
}
|
110
|
+
|
111
|
+
.emboss {
|
112
|
+
text-shadow: 0 1px 1px #FFF;
|
113
|
+
}
|
114
|
+
|
115
|
+
.nomargin {
|
116
|
+
margin: 0 !important;
|
117
|
+
}
|
118
|
+
|
119
|
+
.clear {
|
120
|
+
clear: both;
|
121
|
+
}
|
122
|
+
|
123
|
+
.cursor-pointer {
|
124
|
+
cursor: pointer;
|
125
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
//////////////////
|
2
|
+
|
3
|
+
|
4
|
+
// Concerto 2 Palette
|
5
|
+
$concerto-blue-0: #006699;
|
6
|
+
$concerto-blue-1: #003366;
|
7
|
+
$concerto-blue-2: #0099cc;
|
8
|
+
$concerto-blue-4: #b0d3f1;
|
9
|
+
$concerto-blue-5: #dee7ee;
|
10
|
+
$concerto-blue-6: #e7f1f9;
|
11
|
+
|
12
|
+
// Grays
|
13
|
+
$black: #000;
|
14
|
+
$grayDarker: lighten($black, 15%);
|
15
|
+
$grayDark: lighten($black, 25%);
|
16
|
+
$gray: lighten($black, 50%);
|
17
|
+
$grayLight: lighten($black, 75%);
|
18
|
+
$grayLighter: lighten($black, 90%);
|
19
|
+
$grayLightest: lighten($black, 95%);
|
20
|
+
$white: #fff;
|
21
|
+
|
22
|
+
// Accent Colors
|
23
|
+
$blue: #049CDB;
|
24
|
+
$blueDark: #0064CD;
|
25
|
+
$green: #46a546;
|
26
|
+
$red: #9d261d;
|
27
|
+
$yellow: #ffc40d;
|
28
|
+
$orange: #f89406;
|
29
|
+
$pink: #c3325f;
|
30
|
+
$purple: #7a43b6;
|
31
|
+
|
32
|
+
|
33
|
+
// Links
|
34
|
+
$linkColor: $concerto-blue-0;
|
35
|
+
$linkColorHover: darken($linkColor, 15);
|
36
|
+
|
37
|
+
|
38
|
+
// TYPE:
|
39
|
+
|
40
|
+
$sans-headers: "Myriad Pro", Helvetica, Arial, sans-serif;
|
41
|
+
$sans-body: "Lucida Grande",Arial,sans-serif;
|
42
|
+
$serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
|
43
|
+
$monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
44
|
+
|
45
|
+
|
46
|
+
// Form states and alerts
|
47
|
+
// -------------------------
|
48
|
+
$warningText: #764b00 !default;
|
49
|
+
$warningBackground: #fcf8e3 !default;
|
50
|
+
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
|
51
|
+
|
52
|
+
$errorText: #b94a48 !default;
|
53
|
+
$errorBackground: #f2dede !default;
|
54
|
+
$errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
|
55
|
+
|
56
|
+
$successText: #468847 !default;
|
57
|
+
$successBackground: #dff0d8 !default;
|
58
|
+
$successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
|
59
|
+
|
60
|
+
$infoText: #3a87ad !default;
|
61
|
+
$infoBackground: #d9edf7 !default;
|
62
|
+
$infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
|
63
|
+
|
64
|
+
$zeroText: $gray;
|
65
|
+
$zeroBackground: $grayLightest;
|
66
|
+
$zeroBorder: $grayLighter;
|
67
|
+
|
68
|
+
|
69
|
+
// OTHER VALUES:
|
70
|
+
|
71
|
+
// Z-index master list
|
72
|
+
// -------------------------
|
73
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
74
|
+
// Try to avoid customizing these :)
|
75
|
+
$zindexDropdown: 1000;
|
76
|
+
$zindexPopover: 1010;
|
77
|
+
$zindexTooltip: 1020;
|
78
|
+
$zindexFixedNavbar: 1030;
|
79
|
+
$zindexModalBackdrop: 1040;
|
80
|
+
$zindexModal: 1050;
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
$main-width: 980px;
|
85
|
+
|
86
|
+
// Baseline grid
|
87
|
+
$basefont: 12px;
|
88
|
+
$baseline: 18px;
|
89
|
+
$baseFontSize: 12px !default;
|
90
|
+
$baseFontFamily: sans-headers !default;
|
91
|
+
$baseLineHeight: 18px !default;
|
92
|
+
$altFontFamily: $serifFontFamily !default;
|
93
|
+
|
94
|
+
|
95
|
+
// FIXED GRID
|
96
|
+
// --------------------------------------------------
|
97
|
+
|
98
|
+
// Default, 940px
|
99
|
+
// -------------------------
|
100
|
+
$gridColumns: 12 !default;
|
101
|
+
$gridColumnWidth: 60px !default;
|
102
|
+
$gridGutterWidth: 20px !default;
|
103
|
+
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
|
104
|
+
|
105
|
+
// Portrait tablet to default desktop
|
106
|
+
// -------------------------
|
107
|
+
$gridColumnWidthTablet: 42px !default;
|
108
|
+
$gridGutterWidthTablet: 20px !default;
|
109
|
+
|
110
|
+
// Large desktop and up
|
111
|
+
// -------------------------
|
112
|
+
$gridColumnWidthLarge: 70px !default;
|
113
|
+
$gridGutterWidthLarge: 30px !default;
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
/// FLUID GRID
|
118
|
+
// --------------------------------------------------
|
119
|
+
|
120
|
+
// to calculate, use this formula:
|
121
|
+
// ($gridColumns * $fluidGridColumnWidth) + ($fluidGridGutterWidth * ($gridColumns - 1)) = 100%
|
122
|
+
// ex: 12 * fluidGridColumnWidth + fluidGridGutterWidth * 11 = 100%
|
123
|
+
// fluidGridColumnWidth = (100 - 11 * fluidGridGutterWidth) / 12
|
124
|
+
// fluidGridGutterWidth = (100 - 12 * fluidGridColumnWidth) / 11
|
125
|
+
|
126
|
+
// Default
|
127
|
+
// -------------------------
|
128
|
+
$fluidGridColumnWidth: 7.2996453905% !default; /* changed from 6.382978723% !default; */
|
129
|
+
$fluidGridGutterWidth: 1.127659574% !default; /* changed from 2.127659574% !default; */
|
130
|
+
|
131
|
+
// Portrait tablet to default desktop
|
132
|
+
// -------------------------
|
133
|
+
$fluidGridColumnWidthTablet: 6.801104972% !default;
|
134
|
+
$fluidGridGutterWidthTablet: 1.6715218487 !default; /* changed from 2.762430939% !default; */
|
135
|
+
|
136
|
+
// Large desktop and up
|
137
|
+
// -------------------------
|
138
|
+
$fluidGridColumnWidthLarge: 6.982905983% !default;
|
139
|
+
$fluidGridGutterWidthLarge: 1.4731934731 !default; /* changed from 2.564102564% !default; */
|