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,169 @@
|
|
1
|
+
.tile { /* container */
|
2
|
+
display: block;
|
3
|
+
float: left;
|
4
|
+
background-color: lighten($grayLighter, 5%);
|
5
|
+
width: 202px;
|
6
|
+
height: 202px;
|
7
|
+
cursor: pointer;
|
8
|
+
box-shadow: inset 0px 0px 1px #FFFFCC;
|
9
|
+
text-decoration: none;
|
10
|
+
color: $white;
|
11
|
+
margin: 0 10px 10px 0;
|
12
|
+
position: relative;
|
13
|
+
box-sizing: border-box;
|
14
|
+
overflow: hidden;
|
15
|
+
|
16
|
+
.tile-content {
|
17
|
+
width: 200px;
|
18
|
+
height: 200px;
|
19
|
+
display: block;
|
20
|
+
padding: 0;
|
21
|
+
padding-bottom: 30px;
|
22
|
+
vertical-align: top;
|
23
|
+
padding: 10px 15px;
|
24
|
+
overflow: hidden;
|
25
|
+
text-overflow: ellipsis;
|
26
|
+
position: relative;
|
27
|
+
color: $black;
|
28
|
+
line-height: 16px;
|
29
|
+
padding: 0;
|
30
|
+
border: solid 1px darken($grayLighter, 5%);
|
31
|
+
|
32
|
+
&, * { @include transition(0.1s all linear); }
|
33
|
+
|
34
|
+
& > img {
|
35
|
+
width: 100%;
|
36
|
+
height : auto;
|
37
|
+
max-width: 100%;
|
38
|
+
}
|
39
|
+
|
40
|
+
&:hover {
|
41
|
+
color: $linkColorHover;
|
42
|
+
text-decoration: none;
|
43
|
+
background: $concerto-blue-5;
|
44
|
+
border-color: $concerto-blue-4;
|
45
|
+
@include opacity(90);
|
46
|
+
}
|
47
|
+
|
48
|
+
.tile-labels {
|
49
|
+
position: absolute;
|
50
|
+
bottom: 0;
|
51
|
+
right: 0;
|
52
|
+
min-height: 30px;
|
53
|
+
background-color: transparent;
|
54
|
+
@include clearfix();
|
55
|
+
|
56
|
+
i[class*=icon-] {
|
57
|
+
padding: 2px 5px;
|
58
|
+
position: absolute;
|
59
|
+
bottom: 0;
|
60
|
+
right: 0;
|
61
|
+
@include opacity(70);
|
62
|
+
z-index: 2;
|
63
|
+
color: $white;
|
64
|
+
font-size: 25px;
|
65
|
+
@include transition(0.1s linear all);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.default-padding { padding: 6px; }
|
70
|
+
|
71
|
+
h1 {
|
72
|
+
font-size: 150%;
|
73
|
+
text-align: center;
|
74
|
+
}
|
75
|
+
|
76
|
+
h2 {
|
77
|
+
font-size: 125%;
|
78
|
+
}
|
79
|
+
|
80
|
+
p {
|
81
|
+
color: $gray;
|
82
|
+
line-height: 16px;
|
83
|
+
overflow: hidden;
|
84
|
+
text-overflow: ellipsis;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.tile-info {
|
89
|
+
position: absolute;
|
90
|
+
bottom: 0;
|
91
|
+
right: 0;
|
92
|
+
width: 100%;
|
93
|
+
min-height: 30px;
|
94
|
+
@include clearfix();
|
95
|
+
@include transition(0.1s all linear);
|
96
|
+
|
97
|
+
.tile-moderate {
|
98
|
+
@include opacity(0);
|
99
|
+
text-align: center;
|
100
|
+
min-height: 30px;
|
101
|
+
|
102
|
+
.icon-check {
|
103
|
+
color: lighten($linkColor, 40%);
|
104
|
+
font-size: 3em;
|
105
|
+
@include transition(0.1s all linear);
|
106
|
+
}
|
107
|
+
.icon-remove-sign {
|
108
|
+
color: lighten($linkColor, 40%);
|
109
|
+
font-size: 3em;
|
110
|
+
@include transition(0.1s all linear);
|
111
|
+
}
|
112
|
+
|
113
|
+
a:hover {
|
114
|
+
text-decoration: none;
|
115
|
+
|
116
|
+
.icon-check, .icon-remove-sign { color: #FFF !important; }
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
&:hover .tile-moderate {
|
122
|
+
background: rgba(0,0,0,0.7);
|
123
|
+
@include opacity(100);
|
124
|
+
}
|
125
|
+
&:hover .tile-labels i[class*=icon-] {
|
126
|
+
@include opacity(0);
|
127
|
+
}
|
128
|
+
|
129
|
+
.tile-overlay {
|
130
|
+
width: 202px;
|
131
|
+
height: 202px;
|
132
|
+
z-index: $zindexPopover;
|
133
|
+
position: absolute;
|
134
|
+
top: 202px; /* start the overlay so that it is hidden at the bottom of its tile container */
|
135
|
+
left: 0px;
|
136
|
+
display: none;
|
137
|
+
|
138
|
+
&.black {
|
139
|
+
background: rgba(0,0,0,0.7);
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
.tile-stack::before,
|
146
|
+
.tile-stack::after {
|
147
|
+
box-sizing: border-box;
|
148
|
+
-moz-box-sizing: border-box;
|
149
|
+
|
150
|
+
position: absolute;
|
151
|
+
content: '';
|
152
|
+
|
153
|
+
border: 1px solid darken($grayLighter, 5%);
|
154
|
+
background: $grayLightest;
|
155
|
+
|
156
|
+
height: 4px;
|
157
|
+
}
|
158
|
+
.tile-stack::before {
|
159
|
+
width: 196px;
|
160
|
+
|
161
|
+
left: 1px;
|
162
|
+
bottom: -4px;
|
163
|
+
}
|
164
|
+
.tile-stack::after {
|
165
|
+
width: 192px;
|
166
|
+
|
167
|
+
left: 3px;
|
168
|
+
bottom: -7px;
|
169
|
+
}
|
@@ -0,0 +1,218 @@
|
|
1
|
+
/*##########################################################################*/
|
2
|
+
/* Top Menu */
|
3
|
+
/*##########################################################################*/
|
4
|
+
|
5
|
+
|
6
|
+
//////////////////
|
7
|
+
|
8
|
+
/*########## STRUCTURE ##########*/
|
9
|
+
|
10
|
+
#top-menu {
|
11
|
+
width: 100%;
|
12
|
+
@include vertical-gradient(#fbfbfb, #d5d5d5);
|
13
|
+
@include box-shadow(0px 1px 6px $gray);
|
14
|
+
border-bottom: solid 1px #999;
|
15
|
+
z-index: 2;
|
16
|
+
position: relative;
|
17
|
+
@include clearfix();
|
18
|
+
|
19
|
+
.btn {
|
20
|
+
|
21
|
+
// custom attributes:
|
22
|
+
@include border-radius(6px);
|
23
|
+
background: transparent image-url('layout/top-menu/button_top-menu_states.png') top left repeat-x;
|
24
|
+
|
25
|
+
// IE fix: reset Microsoft filter attribute:
|
26
|
+
filter: none;
|
27
|
+
|
28
|
+
color: #666;
|
29
|
+
text-shadow: 0 1px #eee;
|
30
|
+
margin: 0px 2px;
|
31
|
+
padding: 4px 7px;
|
32
|
+
font-size: 11px;
|
33
|
+
border: solid 1px #999;
|
34
|
+
float: left;
|
35
|
+
|
36
|
+
&:hover {
|
37
|
+
background: transparent image-url('layout/top-menu/button_top-menu_states.png') top left repeat-x;
|
38
|
+
text-shadow: 0 1px #eee;
|
39
|
+
background-position: 100% -31px;
|
40
|
+
border: solid 1px #2f84da;
|
41
|
+
|
42
|
+
.badge {
|
43
|
+
//background-color: $concerto-blue-1;
|
44
|
+
color: $white;
|
45
|
+
|
46
|
+
&.action {
|
47
|
+
background-color: $red;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
&:active {
|
53
|
+
background: transparent image-url('layout/top-menu/button_top-menu_states.png') top left repeat-x;
|
54
|
+
background-position: 100% -62px;
|
55
|
+
border: solid 1px #333;
|
56
|
+
}
|
57
|
+
|
58
|
+
&:visited {
|
59
|
+
color:#666;
|
60
|
+
}
|
61
|
+
|
62
|
+
&.selected {
|
63
|
+
@include box-shadow(inset 0 0 10px #000);
|
64
|
+
text-decoration: none;
|
65
|
+
text-shadow: 0 -1px #333333;
|
66
|
+
color: #FFF;
|
67
|
+
background-position: 100% 100%;
|
68
|
+
border: solid 1px #333;
|
69
|
+
|
70
|
+
&:active {
|
71
|
+
color: $white !important;
|
72
|
+
}
|
73
|
+
|
74
|
+
&:hover {
|
75
|
+
color: $white !important;
|
76
|
+
}
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
}
|
81
|
+
|
82
|
+
.badge {
|
83
|
+
background-color: #666;
|
84
|
+
color: $grayLighter;
|
85
|
+
text-shadow: 0 0 0;
|
86
|
+
|
87
|
+
&.action {
|
88
|
+
background-color: darken($red, 10%);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
#top-menu-logobutton {
|
93
|
+
@include vertical-gradient($concerto-blue-0, $concerto-blue-2);
|
94
|
+
float: left;
|
95
|
+
color: $white;
|
96
|
+
padding: 4px 12px;
|
97
|
+
font-weight: bold;
|
98
|
+
vertical-align: middle;
|
99
|
+
|
100
|
+
i.concertocon-logobutton {
|
101
|
+
opacity: 0.6;
|
102
|
+
}
|
103
|
+
|
104
|
+
&.full {
|
105
|
+
padding: 0px 12px;
|
106
|
+
height: 55px;
|
107
|
+
}
|
108
|
+
|
109
|
+
&.selected {
|
110
|
+
background: $concerto-blue-0;
|
111
|
+
color: $white;
|
112
|
+
position: relative;
|
113
|
+
|
114
|
+
i.concertocon-logobutton {
|
115
|
+
opacity: 1.0;
|
116
|
+
}
|
117
|
+
|
118
|
+
&:after {
|
119
|
+
content: ' ';
|
120
|
+
height: 0;
|
121
|
+
position: absolute;
|
122
|
+
width: 0;
|
123
|
+
top: 100%;
|
124
|
+
left: 50%;
|
125
|
+
margin-left: -10px;
|
126
|
+
|
127
|
+
border: 10px solid transparent;
|
128
|
+
border-top-color: $concerto-blue-0;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
// apply new background position on hover to show "lit up" version of logo bg:
|
133
|
+
&:hover i.concertocon-logobutton {
|
134
|
+
opacity: 1.0;
|
135
|
+
text-decoration: none;
|
136
|
+
}
|
137
|
+
&:hover {
|
138
|
+
text-decoration: none;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
#top-menu-logintext {
|
143
|
+
float: left;
|
144
|
+
padding: 4px 12px;
|
145
|
+
margin: 0px;
|
146
|
+
color: $gray;
|
147
|
+
font-size: 0.85em;
|
148
|
+
}
|
149
|
+
|
150
|
+
#top-menu-user {
|
151
|
+
|
152
|
+
i {
|
153
|
+
display: block;
|
154
|
+
margin: 2px 0px;
|
155
|
+
}
|
156
|
+
|
157
|
+
h2 {
|
158
|
+
text-transform: uppercase;
|
159
|
+
font-size: 17px;
|
160
|
+
|
161
|
+
a {
|
162
|
+
color: $gray;
|
163
|
+
text-shadow: 0px 1px 0px $white;
|
164
|
+
letter-spacing: 0.15em;
|
165
|
+
font-size: 17px;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
.pull-left {
|
170
|
+
padding-top: 2px;
|
171
|
+
margin-right: 12px;
|
172
|
+
}
|
173
|
+
|
174
|
+
.pull-right {
|
175
|
+
padding-top: 7px;
|
176
|
+
margin-right: 8px;
|
177
|
+
|
178
|
+
p {
|
179
|
+
font-size: 0.8em;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
// each part of the menu is a "section"
|
185
|
+
section {
|
186
|
+
border-right:solid 1px #ccc;
|
187
|
+
float: left;
|
188
|
+
margin: 0px;
|
189
|
+
padding-top: 4px;
|
190
|
+
|
191
|
+
&.right {
|
192
|
+
float: right;
|
193
|
+
}
|
194
|
+
|
195
|
+
.top-menu-sectop {
|
196
|
+
height: 34px;
|
197
|
+
padding: 0px 2px;
|
198
|
+
}
|
199
|
+
|
200
|
+
.top-menu-secbot {
|
201
|
+
background: #f9f9f9;
|
202
|
+
|
203
|
+
h1 {
|
204
|
+
color: #666;
|
205
|
+
font-size: 0.75em;
|
206
|
+
font-weight: 400;
|
207
|
+
text-shadow: 0 0.05em #FFF;
|
208
|
+
padding: 3px 0px;
|
209
|
+
text-transform: uppercase;
|
210
|
+
letter-spacing: 0.3em;
|
211
|
+
text-align: center;
|
212
|
+
}
|
213
|
+
|
214
|
+
}
|
215
|
+
|
216
|
+
}
|
217
|
+
|
218
|
+
}
|
@@ -0,0 +1,259 @@
|
|
1
|
+
/* Typography.scss
|
2
|
+
* Headings, body text, lists, code, and more for a versatile and durable typography system
|
3
|
+
* ---------------------------------------------------------------------------------------- */
|
4
|
+
|
5
|
+
|
6
|
+
// BODY TEXT
|
7
|
+
// ---------
|
8
|
+
|
9
|
+
p {
|
10
|
+
@include shorthand-font(normal,$basefont,$baseline);
|
11
|
+
margin-bottom: $baseline / 2;
|
12
|
+
small {
|
13
|
+
font-size: $basefont - 2;
|
14
|
+
color: $gray;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
// HEADINGS
|
20
|
+
// --------
|
21
|
+
|
22
|
+
@mixin header-base {
|
23
|
+
font-family: $sans-headers;
|
24
|
+
line-height: normal;
|
25
|
+
|
26
|
+
small {
|
27
|
+
font-weight: normal;
|
28
|
+
color: $grayLight;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
h1, .h1 {
|
33
|
+
@include header-base;
|
34
|
+
font-size: 30px;
|
35
|
+
font-weight: 400;
|
36
|
+
|
37
|
+
&.header {
|
38
|
+
text-transform: uppercase;
|
39
|
+
font-size: 1.3em;
|
40
|
+
letter-spacing: 0.15em;
|
41
|
+
padding: 6px 0;
|
42
|
+
margin-bottom: 16px;
|
43
|
+
}
|
44
|
+
|
45
|
+
&.indented {
|
46
|
+
padding-left: 8px !important;
|
47
|
+
}
|
48
|
+
|
49
|
+
&.subpage_header {
|
50
|
+
font-size: 3em;
|
51
|
+
margin-bottom: 8px !important;
|
52
|
+
}
|
53
|
+
|
54
|
+
small {
|
55
|
+
font-size: 18px;
|
56
|
+
}
|
57
|
+
|
58
|
+
}
|
59
|
+
|
60
|
+
h2, .h2 {
|
61
|
+
@include header-base;
|
62
|
+
font-size: 24px;
|
63
|
+
|
64
|
+
small {
|
65
|
+
font-size: 18px;
|
66
|
+
}
|
67
|
+
|
68
|
+
}
|
69
|
+
|
70
|
+
h3, .h3 {
|
71
|
+
@include header-base;
|
72
|
+
font-size: 18px;
|
73
|
+
|
74
|
+
small {
|
75
|
+
font-size: 14px;
|
76
|
+
}
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
h4, .h4 {
|
81
|
+
@include header-base;
|
82
|
+
font-size: 16px;
|
83
|
+
|
84
|
+
small {
|
85
|
+
font-size: 12px;
|
86
|
+
}
|
87
|
+
|
88
|
+
}
|
89
|
+
|
90
|
+
h5, .h5 {
|
91
|
+
@include header-base;
|
92
|
+
font-size: 14px;
|
93
|
+
}
|
94
|
+
|
95
|
+
h6, .h6 {
|
96
|
+
@include header-base;
|
97
|
+
}
|
98
|
+
|
99
|
+
h7, .h7 {
|
100
|
+
@include header-base;
|
101
|
+
}
|
102
|
+
|
103
|
+
.header-with-icon {
|
104
|
+
border-bottom: solid 1px #ccc;
|
105
|
+
|
106
|
+
[class^="concertocon-header-"], [class*=" concertocon-header-"] {
|
107
|
+
background-color: $white;
|
108
|
+
margin-top: -10px;
|
109
|
+
margin-bottom: -10px;
|
110
|
+
margin-right: 12px;
|
111
|
+
}
|
112
|
+
|
113
|
+
h3 {
|
114
|
+
padding-top: 10px;
|
115
|
+
}
|
116
|
+
|
117
|
+
.pagination-cont {
|
118
|
+
float: left;
|
119
|
+
padding-top: 8px;
|
120
|
+
margin-left: 35px;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.color-gray { color: $gray; }
|
125
|
+
|
126
|
+
|
127
|
+
// Unordered and Ordered lists
|
128
|
+
ul, ol {
|
129
|
+
margin: 0 0 $baseline 25px;
|
130
|
+
}
|
131
|
+
ul ul,
|
132
|
+
ul ol,
|
133
|
+
ol ol,
|
134
|
+
ol ul {
|
135
|
+
margin-bottom: 0;
|
136
|
+
}
|
137
|
+
ul {
|
138
|
+
list-style: disc;
|
139
|
+
}
|
140
|
+
ol {
|
141
|
+
list-style: decimal;
|
142
|
+
}
|
143
|
+
li {
|
144
|
+
line-height: $baseline;
|
145
|
+
}
|
146
|
+
ul.unstyled {
|
147
|
+
list-style: none;
|
148
|
+
margin-left: 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
// Description Lists
|
152
|
+
dl {
|
153
|
+
margin-bottom: $baseline;
|
154
|
+
dt, dd {
|
155
|
+
line-height: $baseline;
|
156
|
+
}
|
157
|
+
dt {
|
158
|
+
font-weight: bold;
|
159
|
+
}
|
160
|
+
dd {
|
161
|
+
margin-left: $baseline / 2;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
// MISC
|
166
|
+
// ----
|
167
|
+
|
168
|
+
// Horizontal rules
|
169
|
+
hr {
|
170
|
+
margin: 20px 0 19px;
|
171
|
+
border: 0;
|
172
|
+
border-bottom: 1px solid #eee;
|
173
|
+
}
|
174
|
+
|
175
|
+
// Emphasis
|
176
|
+
strong {
|
177
|
+
font-style: inherit;
|
178
|
+
font-weight: bold;
|
179
|
+
}
|
180
|
+
em {
|
181
|
+
font-style: italic;
|
182
|
+
font-weight: inherit;
|
183
|
+
line-height: inherit;
|
184
|
+
}
|
185
|
+
.muted {
|
186
|
+
color: $grayLight;
|
187
|
+
}
|
188
|
+
|
189
|
+
// uppercase
|
190
|
+
.uppercase {
|
191
|
+
text-transform: uppercase;
|
192
|
+
letter-spacing: 0.15em;
|
193
|
+
}
|
194
|
+
|
195
|
+
// Blockquotes
|
196
|
+
blockquote {
|
197
|
+
margin-bottom: $baseline;
|
198
|
+
border-left: 5px solid #eee;
|
199
|
+
padding-left: 15px;
|
200
|
+
p {
|
201
|
+
@include shorthand-font(300,14px,$baseline);
|
202
|
+
margin-bottom: 0;
|
203
|
+
}
|
204
|
+
small {
|
205
|
+
display: block;
|
206
|
+
@include shorthand-font(300,12px,$baseline);
|
207
|
+
color: $grayLight;
|
208
|
+
&:before {
|
209
|
+
content: '\2014 \00A0';
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
// Inline and block code styles
|
215
|
+
code, pre {
|
216
|
+
padding: 0 3px 2px;
|
217
|
+
font-family: Monaco, Andale Mono, Courier New, monospace;
|
218
|
+
font-size: 12px;
|
219
|
+
@include border-radius(3px);
|
220
|
+
}
|
221
|
+
code {
|
222
|
+
background-color: lighten($orange, 40%);
|
223
|
+
color: rgba(0,0,0,.75);
|
224
|
+
padding: 1px 3px;
|
225
|
+
}
|
226
|
+
pre {
|
227
|
+
background-color: #f5f5f5;
|
228
|
+
display: block;
|
229
|
+
padding: ($baseline - 1) / 2;
|
230
|
+
margin: 0 0 $baseline;
|
231
|
+
line-height: $baseline;
|
232
|
+
font-size: 12px;
|
233
|
+
border: 1px solid #ccc;
|
234
|
+
border: 1px solid rgba(0,0,0,.15);
|
235
|
+
@include border-radius(3px);
|
236
|
+
white-space: pre;
|
237
|
+
white-space: pre-wrap;
|
238
|
+
word-wrap: break-word;
|
239
|
+
|
240
|
+
}
|
241
|
+
|
242
|
+
|
243
|
+
// LABELS
|
244
|
+
// ------
|
245
|
+
|
246
|
+
.label {
|
247
|
+
padding: 4px;
|
248
|
+
font-size: $basefont * .75;
|
249
|
+
font-weight: bold;
|
250
|
+
color: $white;
|
251
|
+
white-space: nowrap;
|
252
|
+
background-color: darken($gray, 5%);
|
253
|
+
&.important { background-color: #c43c35; }
|
254
|
+
&.warning { background-color: $orange; }
|
255
|
+
&.success { background-color: $green; }
|
256
|
+
&.notice { background-color: lighten($blue, 25%); }
|
257
|
+
|
258
|
+
a { color: $white; }
|
259
|
+
}
|