sparrow-jekyll-theme 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/README.md +170 -178
- data/_includes/analytics.html +13 -13
- data/_includes/breadcrumbs.html +31 -31
- data/_includes/comments.html +26 -26
- data/_includes/figure +12 -12
- data/_includes/paginator.html +8 -69
- data/_includes/post-entry.html +15 -15
- data/_includes/seo.html +77 -77
- data/_includes/social-share.html +42 -42
- data/_includes/topnav.html +46 -46
- data/_layouts/default.html +46 -46
- data/_layouts/home.html +11 -11
- data/_layouts/page.html +16 -16
- data/_layouts/post.html +38 -38
- data/_sass/_base.scss +359 -359
- data/_sass/_buttons.scss +61 -61
- data/_sass/_footer.scss +53 -53
- data/_sass/_navigation.scss +216 -216
- data/_sass/_page.scss +60 -60
- data/_sass/_post.scss +85 -85
- data/_sass/_reset.scss +186 -186
- data/_sass/_rrssb.scss +276 -276
- data/_sass/_slimmenu.scss +177 -177
- data/_sass/_syntax.scss +125 -125
- data/_sass/_utilities.scss +67 -67
- data/_sass/_variables.scss +73 -73
- data/_sass/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/vendor/breakpoint/_context.scss +94 -94
- data/_sass/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/vendor/font-awesome/_animated.scss +34 -34
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -25
- data/_sass/vendor/font-awesome/_core.scss +12 -12
- data/_sass/vendor/font-awesome/_fixed-width.scss +6 -6
- data/_sass/vendor/font-awesome/_font-awesome.scss +18 -18
- data/_sass/vendor/font-awesome/_icons.scss +789 -789
- data/_sass/vendor/font-awesome/_larger.scss +13 -13
- data/_sass/vendor/font-awesome/_list.scss +19 -19
- data/_sass/vendor/font-awesome/_mixins.scss +60 -60
- data/_sass/vendor/font-awesome/_path.scss +15 -15
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -20
- data/_sass/vendor/font-awesome/_screen-reader.scss +5 -5
- data/_sass/vendor/font-awesome/_stacked.scss +20 -20
- data/_sass/vendor/font-awesome/_variables.scss +800 -800
- data/_sass/vendor/susy/_su.scss +4 -4
- data/_sass/vendor/susy/_susy.scss +4 -4
- data/_sass/vendor/susy/_susyone.scss +4 -4
- data/_sass/vendor/susy/susy/_su.scss +7 -7
- data/_sass/vendor/susy/susy/language/_susy.scss +24 -24
- data/_sass/vendor/susy/susy/language/_susyone.scss +13 -13
- data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -385
- data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -200
- data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
- data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
- data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -81
- data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -36
- data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -94
- data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -64
- data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -154
- data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -77
- data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -94
- data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -74
- data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -138
- data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -216
- data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -163
- data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -16
- data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -18
- data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -377
- data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -312
- data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
- data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -93
- data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -105
- data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -92
- data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -60
- data/_sass/vendor/susy/susy/output/_float.scss +9 -9
- data/_sass/vendor/susy/susy/output/_shared.scss +15 -15
- data/_sass/vendor/susy/susy/output/_support.scss +9 -9
- data/_sass/vendor/susy/susy/output/float/_container.scss +16 -16
- data/_sass/vendor/susy/susy/output/float/_end.scss +40 -40
- data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -22
- data/_sass/vendor/susy/susy/output/float/_span.scss +35 -35
- data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -26
- data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -21
- data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -42
- data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -25
- data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -23
- data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -14
- data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -23
- data/_sass/vendor/susy/susy/output/support/_background.scss +58 -58
- data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
- data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -18
- data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -19
- data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -22
- data/_sass/vendor/susy/susy/output/support/_support.scss +85 -85
- data/_sass/vendor/susy/susy/su/_grid.scss +103 -103
- data/_sass/vendor/susy/susy/su/_settings.scss +73 -73
- data/_sass/vendor/susy/susy/su/_utilities.scss +111 -111
- data/_sass/vendor/susy/susy/su/_validation.scss +57 -57
- data/assets/css/main.scss +43 -43
- data/assets/fonts/fontawesome-webfont.svg +2671 -2671
- data/assets/js/main.js +35 -35
- data/assets/js/plugins/jquery-1.12.4.min.js +4 -4
- data/assets/js/slimmenu.js +154 -154
- metadata +6 -6
data/_sass/_rrssb.scss
CHANGED
@@ -1,277 +1,277 @@
|
|
1
|
-
// Ridiculously Responsive Social Sharing Buttons
|
2
|
-
// Team: @dbox, @joshuatuscan
|
3
|
-
// Site: http://rrssb.ml
|
4
|
-
// Twitter: @therealkni
|
5
|
-
//
|
6
|
-
// ___ ___
|
7
|
-
// /__/| /__/\ ___
|
8
|
-
// | |:| \ \:\ / /\
|
9
|
-
// | |:| \ \:\ / /:/
|
10
|
-
// __| |:| _____\__\:\ /__/::\
|
11
|
-
// /__/\_|:|____ /__/::::::::\ \__\/\:\__
|
12
|
-
// \ \:\/:::::/ \ \:\~~\~~\/ \ \:\/\
|
13
|
-
// \ \::/~~~~ \ \:\ ~~~ \__\::/
|
14
|
-
// \ \:\ \ \:\ /__/:/
|
15
|
-
// \ \:\ \ \:\ \__\/
|
16
|
-
// \__\/ \__\/
|
17
|
-
//
|
18
|
-
// Note: You can and should add or remove buttons from config settings and
|
19
|
-
// $social-list based on your specific needs.
|
20
|
-
|
21
|
-
// config settings
|
22
|
-
$rrssb-txt: #fff !default;
|
23
|
-
$rrssb-email: #0a88ff !default;
|
24
|
-
$rrssb-facebook: #306199 !default;
|
25
|
-
$rrssb-tumblr: #32506d !default;
|
26
|
-
$rrssb-linkedin: #007bb6 !default;
|
27
|
-
$rrssb-twitter: #26c4f1 !default;
|
28
|
-
$rrssb-googleplus: #e93f2e !default;
|
29
|
-
$rrssb-reddit: #8bbbe3 !default;
|
30
|
-
$rrssb-youtube: #df1c31 !default;
|
31
|
-
$rrssb-pinterest: #b81621 !default;
|
32
|
-
$rrssb-pocket: #ed4054 !default;
|
33
|
-
$rrssb-github: #444 !default;
|
34
|
-
$rrssb-instagram: #125688 !default;
|
35
|
-
$rrssb-hackernews: #ff6600 !default;
|
36
|
-
$rrssb-delicious: #0b79e5 !default;
|
37
|
-
$rrssb-vk: #4d71a9 !default;
|
38
|
-
$rrssb-print: #8d98a2 !default;
|
39
|
-
$rrssb-whatsapp: #43d854 !default;
|
40
|
-
$rrssb-xing: #005A5F !default;
|
41
|
-
|
42
|
-
// Set the border radius for the buttons
|
43
|
-
$rrssb-border-radius: 2px !default;
|
44
|
-
$rrssb-main-font: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
45
|
-
|
46
|
-
// Variable list for all social button colors to be iterated over.
|
47
|
-
$social-list: (rrssb-email $rrssb-email, rrssb-facebook $rrssb-facebook, rrssb-tumblr $rrssb-tumblr, rrssb-linkedin $rrssb-linkedin, rrssb-twitter $rrssb-twitter, rrssb-googleplus $rrssb-googleplus, rrssb-youtube $rrssb-youtube, rrssb-reddit $rrssb-reddit, rrssb-pinterest $rrssb-pinterest, rrssb-pocket $rrssb-pocket, rrssb-github $rrssb-github, rrssb-instagram $rrssb-instagram, rrssb-delicious $rrssb-delicious, rrssb-vk $rrssb-vk, rrssb-hackernews $rrssb-hackernews,rrssb-whatsapp $rrssb-whatsapp, rrssb-print $rrssb-print, rrssb-xing $rrssb-xing);
|
48
|
-
|
49
|
-
|
50
|
-
// fade-in animation so it doesnt blink
|
51
|
-
@keyframes fade-in {
|
52
|
-
0% { opacity: 0; }
|
53
|
-
100% { opacity: 1;}
|
54
|
-
}
|
55
|
-
|
56
|
-
// The meat and potatoes
|
57
|
-
.rrssb-buttons {
|
58
|
-
box-sizing: border-box;
|
59
|
-
font-family: $rrssb-main-font;
|
60
|
-
font-size: 12px;
|
61
|
-
height: 36px;
|
62
|
-
margin: 0;
|
63
|
-
padding: 0;
|
64
|
-
width: 100%;
|
65
|
-
animation-duration: .3s;
|
66
|
-
animation-fill-mode: both;
|
67
|
-
animation-iteration-count: 1;
|
68
|
-
animation-timing-function: ease-out;
|
69
|
-
animation-name: fade-in;
|
70
|
-
animation-delay: .2s;
|
71
|
-
|
72
|
-
// clearfix buttons for large-format
|
73
|
-
&:after {
|
74
|
-
clear: both;
|
75
|
-
}
|
76
|
-
|
77
|
-
&:before,
|
78
|
-
&:after {
|
79
|
-
content: ' ';
|
80
|
-
display: table;
|
81
|
-
}
|
82
|
-
|
83
|
-
li {
|
84
|
-
box-sizing: border-box;
|
85
|
-
float: left;
|
86
|
-
height: 100%;
|
87
|
-
line-height: 13px;
|
88
|
-
list-style: none;
|
89
|
-
margin: 0;
|
90
|
-
padding: 0 2px;
|
91
|
-
|
92
|
-
// This generates individual button classes for each item in social list on line 39.
|
93
|
-
@each $s-name in $social-list {
|
94
|
-
&.#{nth($s-name, 1)} {
|
95
|
-
a {
|
96
|
-
background-color: nth($s-name, 2);
|
97
|
-
|
98
|
-
&:hover {
|
99
|
-
background-color: darken(nth($s-name, 2), 10%);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
// end @each directive
|
105
|
-
|
106
|
-
a {
|
107
|
-
background-color: #ccc;
|
108
|
-
border-radius: $rrssb-border-radius;
|
109
|
-
box-sizing: border-box;
|
110
|
-
display: block;
|
111
|
-
-moz-osx-font-smoothing: grayscale;
|
112
|
-
-webkit-font-smoothing: antialiased;
|
113
|
-
font-weight: bold;
|
114
|
-
height: 100%;
|
115
|
-
padding: 11px 7px 12px 27px;
|
116
|
-
position: relative;
|
117
|
-
text-align: center;
|
118
|
-
text-decoration: none;
|
119
|
-
text-transform: uppercase;
|
120
|
-
transition: background-color 0.2s ease-in-out;
|
121
|
-
width: 100%;
|
122
|
-
|
123
|
-
.rrssb-icon {
|
124
|
-
display: block;
|
125
|
-
left: 10px;
|
126
|
-
padding-top: 9px;
|
127
|
-
position: absolute;
|
128
|
-
top: 0;
|
129
|
-
width: 10%;
|
130
|
-
|
131
|
-
svg {
|
132
|
-
height: 17px;
|
133
|
-
width: 17px;
|
134
|
-
|
135
|
-
path, circle {
|
136
|
-
fill: $rrssb-txt;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
.rrssb-text {
|
142
|
-
color: $rrssb-txt;
|
143
|
-
}
|
144
|
-
|
145
|
-
&:active {
|
146
|
-
box-shadow: inset 1px 3px 15px 0 rgba(22, 0, 0, .25);
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
&.small {
|
151
|
-
a {
|
152
|
-
padding: 0;
|
153
|
-
|
154
|
-
.rrssb-icon {
|
155
|
-
left: auto;
|
156
|
-
margin: 0 auto;
|
157
|
-
overflow: hidden;
|
158
|
-
position: relative;
|
159
|
-
top: auto;
|
160
|
-
width: 100%;
|
161
|
-
}
|
162
|
-
|
163
|
-
.rrssb-text {
|
164
|
-
visibility: hidden;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
&.large-format {
|
171
|
-
height: auto;
|
172
|
-
|
173
|
-
li {
|
174
|
-
height: auto;
|
175
|
-
|
176
|
-
a {
|
177
|
-
backface-visibility: hidden;
|
178
|
-
border-radius: 0.2em;
|
179
|
-
padding: 8.5% 0 8.5% 12%;
|
180
|
-
|
181
|
-
.rrssb-icon {
|
182
|
-
height: 100%;
|
183
|
-
left: 7%;
|
184
|
-
padding-top: 0;
|
185
|
-
width: 12%;
|
186
|
-
|
187
|
-
svg {
|
188
|
-
height: 100%;
|
189
|
-
position: absolute;
|
190
|
-
top: 0;
|
191
|
-
width: 100%;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
|
195
|
-
.rrssb-text {
|
196
|
-
backface-visibility: hidden;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
}
|
200
|
-
}
|
201
|
-
|
202
|
-
&.small-format {
|
203
|
-
padding-top: 5px;
|
204
|
-
|
205
|
-
li {
|
206
|
-
height: 80%;
|
207
|
-
padding: 0 1px;
|
208
|
-
|
209
|
-
a {
|
210
|
-
.rrssb-icon {
|
211
|
-
height: 100%;
|
212
|
-
padding-top: 0;
|
213
|
-
|
214
|
-
svg {
|
215
|
-
height: 48%;
|
216
|
-
position: relative;
|
217
|
-
top: 6px;
|
218
|
-
width: 80%;
|
219
|
-
}
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
224
|
-
|
225
|
-
&.tiny-format {
|
226
|
-
height: 22px;
|
227
|
-
position: relative;
|
228
|
-
|
229
|
-
li {
|
230
|
-
padding-right: 7px;
|
231
|
-
|
232
|
-
a {
|
233
|
-
background-color: transparent;
|
234
|
-
padding: 0;
|
235
|
-
|
236
|
-
.rrssb-icon {
|
237
|
-
// Avoids a shifting effect in IE11, ref #144
|
238
|
-
height: 100%;
|
239
|
-
svg {
|
240
|
-
height: 70%;
|
241
|
-
width: 100%;
|
242
|
-
}
|
243
|
-
}
|
244
|
-
|
245
|
-
&:hover,
|
246
|
-
&:active {
|
247
|
-
background-color: transparent;
|
248
|
-
}
|
249
|
-
}
|
250
|
-
|
251
|
-
// This generates individual button classes for each item in social list on line 39.
|
252
|
-
@each $s-name in $social-list {
|
253
|
-
&.#{nth($s-name, 1)} {
|
254
|
-
a {
|
255
|
-
.rrssb-icon {
|
256
|
-
svg {
|
257
|
-
path {
|
258
|
-
fill: nth($s-name, 2);
|
259
|
-
}
|
260
|
-
}
|
261
|
-
|
262
|
-
&:hover {
|
263
|
-
.rrssb-icon {
|
264
|
-
svg {
|
265
|
-
path {
|
266
|
-
fill: darken(nth($s-name, 2), 20%);
|
267
|
-
}
|
268
|
-
}
|
269
|
-
}
|
270
|
-
}
|
271
|
-
}
|
272
|
-
}
|
273
|
-
}
|
274
|
-
} // end @each directive
|
275
|
-
}
|
276
|
-
}
|
1
|
+
// Ridiculously Responsive Social Sharing Buttons
|
2
|
+
// Team: @dbox, @joshuatuscan
|
3
|
+
// Site: http://rrssb.ml
|
4
|
+
// Twitter: @therealkni
|
5
|
+
//
|
6
|
+
// ___ ___
|
7
|
+
// /__/| /__/\ ___
|
8
|
+
// | |:| \ \:\ / /\
|
9
|
+
// | |:| \ \:\ / /:/
|
10
|
+
// __| |:| _____\__\:\ /__/::\
|
11
|
+
// /__/\_|:|____ /__/::::::::\ \__\/\:\__
|
12
|
+
// \ \:\/:::::/ \ \:\~~\~~\/ \ \:\/\
|
13
|
+
// \ \::/~~~~ \ \:\ ~~~ \__\::/
|
14
|
+
// \ \:\ \ \:\ /__/:/
|
15
|
+
// \ \:\ \ \:\ \__\/
|
16
|
+
// \__\/ \__\/
|
17
|
+
//
|
18
|
+
// Note: You can and should add or remove buttons from config settings and
|
19
|
+
// $social-list based on your specific needs.
|
20
|
+
|
21
|
+
// config settings
|
22
|
+
$rrssb-txt: #fff !default;
|
23
|
+
$rrssb-email: #0a88ff !default;
|
24
|
+
$rrssb-facebook: #306199 !default;
|
25
|
+
$rrssb-tumblr: #32506d !default;
|
26
|
+
$rrssb-linkedin: #007bb6 !default;
|
27
|
+
$rrssb-twitter: #26c4f1 !default;
|
28
|
+
$rrssb-googleplus: #e93f2e !default;
|
29
|
+
$rrssb-reddit: #8bbbe3 !default;
|
30
|
+
$rrssb-youtube: #df1c31 !default;
|
31
|
+
$rrssb-pinterest: #b81621 !default;
|
32
|
+
$rrssb-pocket: #ed4054 !default;
|
33
|
+
$rrssb-github: #444 !default;
|
34
|
+
$rrssb-instagram: #125688 !default;
|
35
|
+
$rrssb-hackernews: #ff6600 !default;
|
36
|
+
$rrssb-delicious: #0b79e5 !default;
|
37
|
+
$rrssb-vk: #4d71a9 !default;
|
38
|
+
$rrssb-print: #8d98a2 !default;
|
39
|
+
$rrssb-whatsapp: #43d854 !default;
|
40
|
+
$rrssb-xing: #005A5F !default;
|
41
|
+
|
42
|
+
// Set the border radius for the buttons
|
43
|
+
$rrssb-border-radius: 2px !default;
|
44
|
+
$rrssb-main-font: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
45
|
+
|
46
|
+
// Variable list for all social button colors to be iterated over.
|
47
|
+
$social-list: (rrssb-email $rrssb-email, rrssb-facebook $rrssb-facebook, rrssb-tumblr $rrssb-tumblr, rrssb-linkedin $rrssb-linkedin, rrssb-twitter $rrssb-twitter, rrssb-googleplus $rrssb-googleplus, rrssb-youtube $rrssb-youtube, rrssb-reddit $rrssb-reddit, rrssb-pinterest $rrssb-pinterest, rrssb-pocket $rrssb-pocket, rrssb-github $rrssb-github, rrssb-instagram $rrssb-instagram, rrssb-delicious $rrssb-delicious, rrssb-vk $rrssb-vk, rrssb-hackernews $rrssb-hackernews,rrssb-whatsapp $rrssb-whatsapp, rrssb-print $rrssb-print, rrssb-xing $rrssb-xing);
|
48
|
+
|
49
|
+
|
50
|
+
// fade-in animation so it doesnt blink
|
51
|
+
@keyframes fade-in {
|
52
|
+
0% { opacity: 0; }
|
53
|
+
100% { opacity: 1;}
|
54
|
+
}
|
55
|
+
|
56
|
+
// The meat and potatoes
|
57
|
+
.rrssb-buttons {
|
58
|
+
box-sizing: border-box;
|
59
|
+
font-family: $rrssb-main-font;
|
60
|
+
font-size: 12px;
|
61
|
+
height: 36px;
|
62
|
+
margin: 0;
|
63
|
+
padding: 0;
|
64
|
+
width: 100%;
|
65
|
+
animation-duration: .3s;
|
66
|
+
animation-fill-mode: both;
|
67
|
+
animation-iteration-count: 1;
|
68
|
+
animation-timing-function: ease-out;
|
69
|
+
animation-name: fade-in;
|
70
|
+
animation-delay: .2s;
|
71
|
+
|
72
|
+
// clearfix buttons for large-format
|
73
|
+
&:after {
|
74
|
+
clear: both;
|
75
|
+
}
|
76
|
+
|
77
|
+
&:before,
|
78
|
+
&:after {
|
79
|
+
content: ' ';
|
80
|
+
display: table;
|
81
|
+
}
|
82
|
+
|
83
|
+
li {
|
84
|
+
box-sizing: border-box;
|
85
|
+
float: left;
|
86
|
+
height: 100%;
|
87
|
+
line-height: 13px;
|
88
|
+
list-style: none;
|
89
|
+
margin: 0;
|
90
|
+
padding: 0 2px;
|
91
|
+
|
92
|
+
// This generates individual button classes for each item in social list on line 39.
|
93
|
+
@each $s-name in $social-list {
|
94
|
+
&.#{nth($s-name, 1)} {
|
95
|
+
a {
|
96
|
+
background-color: nth($s-name, 2);
|
97
|
+
|
98
|
+
&:hover {
|
99
|
+
background-color: darken(nth($s-name, 2), 10%);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
// end @each directive
|
105
|
+
|
106
|
+
a {
|
107
|
+
background-color: #ccc;
|
108
|
+
border-radius: $rrssb-border-radius;
|
109
|
+
box-sizing: border-box;
|
110
|
+
display: block;
|
111
|
+
-moz-osx-font-smoothing: grayscale;
|
112
|
+
-webkit-font-smoothing: antialiased;
|
113
|
+
font-weight: bold;
|
114
|
+
height: 100%;
|
115
|
+
padding: 11px 7px 12px 27px;
|
116
|
+
position: relative;
|
117
|
+
text-align: center;
|
118
|
+
text-decoration: none;
|
119
|
+
text-transform: uppercase;
|
120
|
+
transition: background-color 0.2s ease-in-out;
|
121
|
+
width: 100%;
|
122
|
+
|
123
|
+
.rrssb-icon {
|
124
|
+
display: block;
|
125
|
+
left: 10px;
|
126
|
+
padding-top: 9px;
|
127
|
+
position: absolute;
|
128
|
+
top: 0;
|
129
|
+
width: 10%;
|
130
|
+
|
131
|
+
svg {
|
132
|
+
height: 17px;
|
133
|
+
width: 17px;
|
134
|
+
|
135
|
+
path, circle {
|
136
|
+
fill: $rrssb-txt;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.rrssb-text {
|
142
|
+
color: $rrssb-txt;
|
143
|
+
}
|
144
|
+
|
145
|
+
&:active {
|
146
|
+
box-shadow: inset 1px 3px 15px 0 rgba(22, 0, 0, .25);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
&.small {
|
151
|
+
a {
|
152
|
+
padding: 0;
|
153
|
+
|
154
|
+
.rrssb-icon {
|
155
|
+
left: auto;
|
156
|
+
margin: 0 auto;
|
157
|
+
overflow: hidden;
|
158
|
+
position: relative;
|
159
|
+
top: auto;
|
160
|
+
width: 100%;
|
161
|
+
}
|
162
|
+
|
163
|
+
.rrssb-text {
|
164
|
+
visibility: hidden;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
&.large-format {
|
171
|
+
height: auto;
|
172
|
+
|
173
|
+
li {
|
174
|
+
height: auto;
|
175
|
+
|
176
|
+
a {
|
177
|
+
backface-visibility: hidden;
|
178
|
+
border-radius: 0.2em;
|
179
|
+
padding: 8.5% 0 8.5% 12%;
|
180
|
+
|
181
|
+
.rrssb-icon {
|
182
|
+
height: 100%;
|
183
|
+
left: 7%;
|
184
|
+
padding-top: 0;
|
185
|
+
width: 12%;
|
186
|
+
|
187
|
+
svg {
|
188
|
+
height: 100%;
|
189
|
+
position: absolute;
|
190
|
+
top: 0;
|
191
|
+
width: 100%;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
.rrssb-text {
|
196
|
+
backface-visibility: hidden;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
&.small-format {
|
203
|
+
padding-top: 5px;
|
204
|
+
|
205
|
+
li {
|
206
|
+
height: 80%;
|
207
|
+
padding: 0 1px;
|
208
|
+
|
209
|
+
a {
|
210
|
+
.rrssb-icon {
|
211
|
+
height: 100%;
|
212
|
+
padding-top: 0;
|
213
|
+
|
214
|
+
svg {
|
215
|
+
height: 48%;
|
216
|
+
position: relative;
|
217
|
+
top: 6px;
|
218
|
+
width: 80%;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
&.tiny-format {
|
226
|
+
height: 22px;
|
227
|
+
position: relative;
|
228
|
+
|
229
|
+
li {
|
230
|
+
padding-right: 7px;
|
231
|
+
|
232
|
+
a {
|
233
|
+
background-color: transparent;
|
234
|
+
padding: 0;
|
235
|
+
|
236
|
+
.rrssb-icon {
|
237
|
+
// Avoids a shifting effect in IE11, ref #144
|
238
|
+
height: 100%;
|
239
|
+
svg {
|
240
|
+
height: 70%;
|
241
|
+
width: 100%;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
&:hover,
|
246
|
+
&:active {
|
247
|
+
background-color: transparent;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
// This generates individual button classes for each item in social list on line 39.
|
252
|
+
@each $s-name in $social-list {
|
253
|
+
&.#{nth($s-name, 1)} {
|
254
|
+
a {
|
255
|
+
.rrssb-icon {
|
256
|
+
svg {
|
257
|
+
path {
|
258
|
+
fill: nth($s-name, 2);
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
&:hover {
|
263
|
+
.rrssb-icon {
|
264
|
+
svg {
|
265
|
+
path {
|
266
|
+
fill: darken(nth($s-name, 2), 20%);
|
267
|
+
}
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}
|
273
|
+
}
|
274
|
+
} // end @each directive
|
275
|
+
}
|
276
|
+
}
|
277
277
|
}
|