sb-styleguide 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.gitignore +21 -16
  2. data/.rvmrc +1 -0
  3. data/Gemfile +45 -3
  4. data/Gemfile.lock +195 -0
  5. data/Guardfile +9 -0
  6. data/LICENSE +2 -2
  7. data/README.md +53 -3
  8. data/Rakefile +30 -0
  9. data/app/assets/images/rails.png +0 -0
  10. data/app/assets/javascripts/application.js +17 -0
  11. data/app/assets/javascripts/lib/modernizr.js +4 -0
  12. data/app/assets/stylesheets/application.css.scss +72 -0
  13. data/app/assets/stylesheets/coderay_githubish.css.scss +131 -0
  14. data/app/controllers/application_controller.rb +3 -0
  15. data/app/controllers/javascripts_controller.rb +4 -0
  16. data/app/controllers/ui_controller.rb +2 -0
  17. data/app/helpers/application_helper.rb +13 -0
  18. data/app/helpers/javascripts_helper.rb +2 -0
  19. data/app/helpers/ui_helper.rb +2 -0
  20. data/app/mailers/.gitkeep +0 -0
  21. data/app/models/.gitkeep +0 -0
  22. data/app/views/javascripts/_js_nav.html.haml +5 -0
  23. data/app/views/javascripts/index.html.haml +45 -0
  24. data/app/views/layouts/_main_nav.html.haml +15 -0
  25. data/app/views/layouts/application.html.haml +41 -0
  26. data/app/views/shared/_placeholder_text.html.haml +1 -0
  27. data/app/views/type/_headings.haml +6 -0
  28. data/app/views/type/_paragraphs.haml +4 -0
  29. data/app/views/ui/_ui_nav.html.haml +13 -0
  30. data/app/views/ui/alert.html.haml +35 -0
  31. data/app/views/ui/buttons.html.haml +116 -0
  32. data/app/views/ui/footer.html.haml +69 -0
  33. data/app/views/ui/forms.html.haml +59 -0
  34. data/app/views/ui/forms/_vertical_form.haml +7 -0
  35. data/app/views/ui/grids.html.haml +18 -0
  36. data/app/views/ui/index.html.haml +5 -0
  37. data/app/views/ui/labels.html.haml +15 -0
  38. data/app/views/ui/modules/panel.html.haml +3 -0
  39. data/app/views/ui/nav.html.haml +48 -0
  40. data/app/views/ui/tabs.html.haml +171 -0
  41. data/app/views/ui/typography.html.haml +128 -0
  42. data/db/development.sqlite3 +0 -0
  43. data/db/seeds.rb +7 -0
  44. data/doc/README_FOR_APP +2 -0
  45. data/lib/assets/.gitkeep +0 -0
  46. data/lib/sb-styleguide.rb +5 -1
  47. data/lib/sb-styleguide/version.rb +1 -1
  48. data/lib/tasks/.gitkeep +0 -0
  49. data/log/.gitkeep +0 -0
  50. data/public/404.html +26 -0
  51. data/public/422.html +26 -0
  52. data/public/500.html +25 -0
  53. data/public/favicon.ico +0 -0
  54. data/public/robots.txt +5 -0
  55. data/sb-styleguide.gemspec +15 -2
  56. data/script/rails +6 -0
  57. data/spec/javascripts/fixtures/plugins/tbg-close_fixture.html.haml +4 -0
  58. data/spec/javascripts/fixtures/plugins/tbg-forms_fixture.html.haml +12 -0
  59. data/spec/javascripts/fixtures/plugins/tbg-switch_fixture.html.haml +11 -0
  60. data/spec/javascripts/plugins/tbg-close_spec.js.coffee +54 -0
  61. data/spec/javascripts/plugins/tbg-forms_spec.js.coffee +61 -0
  62. data/spec/javascripts/plugins/tbg-switch_spec.js.coffee +96 -0
  63. data/spec/javascripts/spec.js.coffee +2 -0
  64. data/vendor/assets/fonts/ss-social-circle.eot +0 -0
  65. data/vendor/assets/fonts/ss-social-circle.svg +139 -0
  66. data/vendor/assets/fonts/ss-social-circle.ttf +0 -0
  67. data/vendor/assets/fonts/ss-social-circle.woff +0 -0
  68. data/vendor/assets/fonts/ss-social-regular.eot +0 -0
  69. data/vendor/assets/fonts/ss-social-regular.svg +133 -0
  70. data/vendor/assets/fonts/ss-social-regular.ttf +0 -0
  71. data/vendor/assets/fonts/ss-social-regular.woff +0 -0
  72. data/vendor/assets/fonts/ss-social.js +75 -0
  73. data/vendor/assets/fonts/ss-standard.eot +0 -0
  74. data/vendor/assets/fonts/ss-standard.js +75 -0
  75. data/vendor/assets/fonts/ss-standard.svg +316 -0
  76. data/vendor/assets/fonts/ss-standard.ttf +0 -0
  77. data/vendor/assets/fonts/ss-standard.woff +0 -0
  78. data/vendor/assets/images/background.png +0 -0
  79. data/vendor/assets/images/logos/sb-logo-white.png +0 -0
  80. data/vendor/assets/images/logos/sb-logo-white.svg +5 -0
  81. data/vendor/assets/images/middleman.png +0 -0
  82. data/vendor/assets/index.html.haml +8 -0
  83. data/vendor/assets/javascripts/.gitkeep +0 -0
  84. data/vendor/assets/javascripts/styleguide/plugins/tbg-close.js.coffee +73 -0
  85. data/vendor/assets/javascripts/styleguide/plugins/tbg-forms.js.coffee +96 -0
  86. data/vendor/assets/javascripts/styleguide/plugins/tbg-switch.js.coffee +85 -0
  87. data/vendor/assets/stylesheets/.gitkeep +0 -0
  88. data/vendor/assets/stylesheets/_functions.scss +28 -0
  89. data/vendor/assets/stylesheets/_mixins.css.scss +163 -0
  90. data/vendor/assets/stylesheets/_settings.css.scss +116 -0
  91. data/vendor/assets/stylesheets/styleguide.css.scss +15 -0
  92. data/vendor/assets/stylesheets/styleguide/base/_all.css.scss +7 -0
  93. data/vendor/assets/stylesheets/styleguide/base/_buttons.css.scss +166 -0
  94. data/vendor/assets/stylesheets/styleguide/base/_form.css.scss +152 -0
  95. data/vendor/assets/stylesheets/styleguide/base/_labels.css.scss +42 -0
  96. data/vendor/assets/stylesheets/styleguide/base/_lists.css.scss +52 -0
  97. data/vendor/assets/stylesheets/styleguide/base/_reset.css.scss +258 -0
  98. data/vendor/assets/stylesheets/styleguide/base/_type.css.scss +306 -0
  99. data/vendor/assets/stylesheets/styleguide/base/webfonts/_all.css.scss +2 -0
  100. data/vendor/assets/stylesheets/styleguide/base/webfonts/ss-social.scss.css +56 -0
  101. data/vendor/assets/stylesheets/styleguide/base/webfonts/ss-standard.css.scss +47 -0
  102. data/vendor/assets/stylesheets/styleguide/grid/_grid.css.scss +106 -0
  103. data/vendor/assets/stylesheets/styleguide/layout/_all.css.scss +5 -0
  104. data/vendor/assets/stylesheets/styleguide/modules/_alert.css.scss +71 -0
  105. data/vendor/assets/stylesheets/styleguide/modules/_all-grid.css.scss +1 -0
  106. data/vendor/assets/stylesheets/styleguide/modules/_all-no-grid.css.scss +4 -0
  107. data/vendor/assets/stylesheets/styleguide/modules/_footer.css.scss +93 -0
  108. data/vendor/assets/stylesheets/styleguide/modules/_nav.css.scss +106 -0
  109. data/vendor/assets/stylesheets/styleguide/modules/_panel.css.scss +28 -0
  110. data/vendor/assets/stylesheets/styleguide/modules/_switch.css.scss +72 -0
  111. data/vendor/assets/views/buttons/_buttons.haml +9 -0
  112. data/vendor/assets/views/forms/_vertical_form.haml +7 -0
  113. data/vendor/assets/views/type/_headings.haml +6 -0
  114. data/vendor/assets/views/type/_paragraphs.haml +4 -0
  115. data/vendor/plugins/.gitkeep +0 -0
  116. metadata +280 -5
@@ -0,0 +1,42 @@
1
+ //
2
+ // Labels
3
+ // $author Ad Taylor
4
+ //
5
+ @import "compass/css3";
6
+
7
+
8
+ // ==========================================================================
9
+ // Default alert
10
+ // ==========================================================================
11
+ .label {
12
+ display: inline-block;
13
+ @include ie7-inline-block;
14
+ padding: -1px+ms(0)/4 ms(0)/2 1px+ms(0)/4 ;
15
+ margin-bottom: 0; // For input.btn
16
+ @include ie7-restore-left-whitespace;
17
+
18
+ @include border-radius( ms(0)/4 );
19
+
20
+ background-color: mono(2);
21
+
22
+ color: $white;
23
+ @extend small;
24
+ line-height: 1;
25
+ text-align: center;
26
+ letter-spacing: 1px;
27
+ vertical-align: middle;
28
+
29
+ /* Label colors */
30
+ &.orange {
31
+ background-color: orange();
32
+ }
33
+
34
+ &.blue {
35
+ background-color: blue();
36
+ }
37
+
38
+ &.green {
39
+ background-color: green();
40
+ }
41
+
42
+ }
@@ -0,0 +1,52 @@
1
+ //
2
+ // Lists
3
+ // $author Ad Taylor
4
+ //
5
+
6
+ // ==========================================================================
7
+ // Action list - hoz
8
+ // ==========================================================================
9
+
10
+ .action-list {
11
+ @include clearfix();
12
+ padding: 0;
13
+
14
+ & > li {
15
+ display: inline-block;
16
+ margin-right: $column-gutter/4;
17
+ *display: inline;
18
+ *zoom: 1;
19
+
20
+ &:last-child {
21
+ margin-right: 0;
22
+ }
23
+
24
+ }
25
+
26
+ .divider {
27
+ border-left: 1px solid mono(2);
28
+ height: $base-line-height-px/2;
29
+ }
30
+ }
31
+
32
+
33
+ // ==========================================================================
34
+ // Action list Collapse state
35
+ // ==========================================================================
36
+
37
+ @mixin test {
38
+ $gridSize: length($grids);
39
+ $lastMQ: nth( nth($grids, $gridSize), 4);
40
+
41
+ @media ( $lastMQ ) {
42
+
43
+ .action-list.collapse {
44
+ & > li {
45
+ display: block;
46
+ }
47
+ }
48
+
49
+ }
50
+ }
51
+
52
+ @include test();
@@ -0,0 +1,258 @@
1
+ //
2
+ // normalize.css - Global resets to level out browser handling or default elements
3
+ // MIT License | git.io/normalize
4
+ // @author Nicolas Gallagher and Jonathan Neal
5
+ //
6
+
7
+ @import "compass/css3/box-sizing";
8
+
9
+ // ==========================================================================
10
+ // HTML5 display definitions
11
+ // ==========================================================================
12
+
13
+ // Corrects `block` display not defined in IE6/7/8/9 & FF3.
14
+
15
+ article,
16
+ aside,
17
+ details,
18
+ figcaption,
19
+ figure,
20
+ footer,
21
+ header,
22
+ hgroup,
23
+ nav,
24
+ section,
25
+ summary {
26
+ display: block;
27
+ }
28
+
29
+ // Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
30
+
31
+ audio,
32
+ canvas,
33
+ video {
34
+ display: inline-block;
35
+ *display: inline;
36
+ *zoom: 1;
37
+ }
38
+
39
+ // Prevents modern browsers from displaying `audio` without controls.
40
+ // Remove excess height in iOS5 devices.
41
+
42
+ audio:not([controls]) {
43
+ display: none;
44
+ height: 0;
45
+ }
46
+
47
+ // Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
48
+ // Known issue: no IE6 support.
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ // Set default box model
55
+ @if $setBoxSizing {
56
+ * {
57
+ @include box-sizing(border-box);
58
+ *behavior: url(/boxsizing.htc);
59
+ }
60
+ }
61
+
62
+ // ==========================================================================
63
+ // Lists
64
+ // ==========================================================================
65
+
66
+ // Addresses margins set differently in IE6/7.
67
+
68
+ dl,
69
+ menu,
70
+ ol,
71
+ ul {
72
+ margin: 0 0 ms(0);
73
+ }
74
+
75
+ dd {
76
+ margin: 0 0 0 ms(1);
77
+ }
78
+
79
+ // Addresses paddings set differently in IE6/7.
80
+
81
+ menu,
82
+ ol,
83
+ ul {
84
+ padding: 0 0 0 $column-gutter*2;
85
+ }
86
+
87
+ // Corrects list images handled incorrectly in IE7.
88
+
89
+ nav ul,
90
+ nav ol {
91
+ list-style: none;
92
+ list-style-image: none;
93
+ }
94
+
95
+ // ==========================================================================
96
+ // Embedded content
97
+ // ==========================================================================
98
+
99
+ //
100
+ // 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
101
+ // 2. Improves image quality when scaled in IE7.
102
+ // code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
103
+
104
+ img {
105
+ border: 0; // 1
106
+ -ms-interpolation-mode: bicubic; // 2
107
+ }
108
+
109
+ // Corrects overflow displayed oddly in IE9.
110
+
111
+ svg:not(:root) {
112
+ overflow: hidden;
113
+ }
114
+
115
+ // ==========================================================================
116
+ // Figures
117
+ // ==========================================================================
118
+
119
+ // Addresses margin not present in IE6/7/8/9, S5, O11.
120
+
121
+ figure {
122
+ margin: 0;
123
+ }
124
+
125
+ // ==========================================================================
126
+ // Forms
127
+ // ==========================================================================
128
+
129
+ // Corrects margin displayed oddly in IE6/7.
130
+
131
+ form {
132
+ margin: 0;
133
+ }
134
+
135
+ // Define consistent border, margin, and padding.
136
+
137
+ fieldset {
138
+ border: 1px solid #c0c0c0;
139
+ margin: 0 2px;
140
+ padding: 0.35em 0.625em 0.75em;
141
+ }
142
+
143
+ // 1. Corrects color not being inherited in IE6/7/8/9.
144
+ // 2. Corrects text not wrapping in FF3.
145
+ // 3. Corrects alignment displayed oddly in IE6/7.
146
+
147
+ legend {
148
+ border: 0; // 1
149
+ padding: 0;
150
+ white-space: normal; // 2
151
+ *margin-left: -7px; // 3
152
+ }
153
+
154
+ // 1. Corrects font size not being inherited in all browsers.
155
+ // 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
156
+ // 3. Improves appearance and consistency in all browsers
157
+
158
+ button,
159
+ input,
160
+ select,
161
+ textarea {
162
+ font-size: 100%; // 1
163
+ margin: 0; // 2
164
+ vertical-align: baseline; // 3
165
+ *vertical-align: middle; // 3
166
+ }
167
+
168
+ //
169
+ // Addresses FF3/4 setting `line-height` on `input` using `!important` in the
170
+ // UA stylesheet
171
+
172
+ button,
173
+ input {
174
+ line-height: normal;
175
+ }
176
+
177
+ // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
178
+ // and `video` controls.
179
+ // 2. Corrects inability to style clickable `input` types in iOS.
180
+ // 3. Improves usability and consistency of cursor style between image-type
181
+ // `input` and others.
182
+ // 4. Removes inner spacing in IE7 without affecting normal text inputs.
183
+ // Known issue: inner spacing remains in IE6.
184
+
185
+ button,
186
+ html input[type="button"], // 1
187
+ input[type="reset"],
188
+ input[type="submit"] {
189
+ -webkit-appearance: button; // 2
190
+ cursor: pointer; // 3
191
+ *overflow: visible; // 4
192
+ }
193
+
194
+ // Re-set default cursor for disabled elements.
195
+
196
+ button[disabled],
197
+ input[disabled] {
198
+ cursor: default;
199
+ }
200
+
201
+ // 1. Addresses box sizing set to content-box in IE8/9.
202
+ // 2. Removes excess padding in IE8/9.
203
+ // 3. Removes excess padding in IE7.
204
+ // Known issue: excess padding remains in IE6.
205
+
206
+ input[type="checkbox"],
207
+ input[type="radio"] {
208
+ box-sizing: border-box; // 1
209
+ padding: 0; // 2
210
+ *height: 13px; // 3
211
+ *width: 13px; // 3
212
+ }
213
+
214
+
215
+ // 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
216
+ // 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz`
217
+ // to future-proof).
218
+
219
+ input[type="search"] {
220
+ -webkit-appearance: textfield; // 1
221
+ -moz-box-sizing: content-box;
222
+ -webkit-box-sizing: content-box; // 2
223
+ box-sizing: content-box;
224
+ }
225
+
226
+ // Removes inner padding and search cancel button in S5, Chrome on OS X.
227
+
228
+ input[type="search"]::-webkit-search-cancel-button,
229
+ input[type="search"]::-webkit-search-decoration {
230
+ -webkit-appearance: none;
231
+ }
232
+
233
+ // Removes inner padding and border in FF3+.
234
+
235
+ button::-moz-focus-inner,
236
+ input::-moz-focus-inner {
237
+ border: 0;
238
+ padding: 0;
239
+ }
240
+
241
+ // 1. Removes default vertical scrollbar in IE6/7/8/9.
242
+ // 2. Improves readability and alignment in all browsers.
243
+
244
+ textarea {
245
+ overflow: auto; // 1
246
+ vertical-align: top; // 2
247
+ }
248
+
249
+ // ==========================================================================
250
+ // Tables
251
+ // ==========================================================================
252
+
253
+ // Remove most spacing between table cells.
254
+
255
+ table {
256
+ border-collapse: collapse;
257
+ border-spacing: 0;
258
+ }
@@ -0,0 +1,306 @@
1
+ //
2
+ // Type Defaults - Using Normalize.css rules as starting point
3
+ // $author Ad Taylor
4
+
5
+ // ==========================================================================
6
+ // Base
7
+ // ==========================================================================
8
+
9
+
10
+ // 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using
11
+ // `em` units.
12
+ // 2. Prevents iOS text size adjust after orientation change, without disabling
13
+ // user zoom.
14
+
15
+
16
+ html {
17
+ font-size: 100%; // 1
18
+ -webkit-text-size-adjust: 100%; // 2
19
+ -ms-text-size-adjust: 100%; // 2
20
+ }
21
+
22
+ // Addresses `font-family` inconsistency between `textarea` and other form
23
+ // elements.
24
+
25
+ html,
26
+ button,
27
+ input,
28
+ select,
29
+ textarea {
30
+ font-family: $base-font-family;
31
+ }
32
+
33
+ // Addresses margins handled incorrectly in IE6/7.
34
+
35
+ body {
36
+ margin: 0;
37
+ background-color: $body-color;
38
+ font-size: ms(0);
39
+ line-height: $base-line-height;
40
+ color: $body-font-color;
41
+ -webkit-font-smoothing: antialiased;
42
+ }
43
+
44
+ // ==========================================================================
45
+ // Links
46
+ // ==========================================================================
47
+
48
+ a {
49
+ border-bottom: 1px dotted $txt-color;
50
+ text-decoration: none;
51
+ color: $txt-color;
52
+ }
53
+
54
+ // Addresses `outline` inconsistency between Chrome and other browsers.
55
+
56
+ a:focus {
57
+ outline: thin dotted;
58
+ }
59
+
60
+ // Improves readability when focused and also mouse hovered in all browsers.
61
+ // people.opera.com/patrickl/experiments/keyboard/test
62
+
63
+ a:active,
64
+ a.is-active,
65
+ .is-active > a,
66
+ a:hover {
67
+ border-color: $main-color;
68
+ outline: 0;
69
+ color: $main-color;
70
+ }
71
+
72
+ a.prominent {
73
+ color: $main-color;
74
+ text-decoration: none;
75
+ font-weight: bold;
76
+
77
+ &:active,
78
+ &.is-active,
79
+ &:hover {
80
+ border-bottom: 1px dotted $main-color;
81
+ }
82
+ }
83
+
84
+ // ==========================================================================
85
+ // Basic Typography
86
+ // ==========================================================================
87
+
88
+ /* Headings */
89
+ h1, .h1, h2, .h2, h3, .h3,
90
+ h4, .h4, h5, .h5 {
91
+ margin-bottom: ms(0);
92
+ margin-top: ms(0);
93
+ font-family: $header-font-family;
94
+ font-weight: bold;
95
+ }
96
+
97
+ h1, .h1 {
98
+ font-size: ms(5);
99
+ line-height: 1.34;
100
+ }
101
+
102
+ h2, .h2 {
103
+ font-size: ms(4);
104
+ line-height: 1.19;
105
+ }
106
+
107
+ h3, .h3 {
108
+ font-size: ms(3);
109
+ }
110
+
111
+ h4, .h4{
112
+ font-size: ms(2);
113
+ }
114
+
115
+ h5, .h5 {
116
+ font-size: ms(1);
117
+ }
118
+
119
+ .h-light {
120
+ font-weight: normal;
121
+ }
122
+
123
+ // Addresses styling not present in IE7/8/9, S5, Chrome.
124
+
125
+ abbr[title] {
126
+ border-bottom: 1px dotted;
127
+ }
128
+
129
+ // Addresses style set to `bolder` in FF3+, S4/5, Chrome.
130
+
131
+
132
+ b,
133
+ strong {
134
+ font-weight: bold;
135
+ }
136
+
137
+ blockquote {
138
+ margin: 1em 40px;
139
+ }
140
+
141
+ // Addresses styling not present in S5, Chrome.
142
+
143
+
144
+ dfn {
145
+ font-style: italic;
146
+ }
147
+
148
+ // Addresses styling not present in IE6/7/8/9.
149
+
150
+
151
+ mark {
152
+ background: #ff0;
153
+ color: #000;
154
+ }
155
+
156
+ // Addresses margins set differently in IE6/7.
157
+
158
+ p,
159
+ pre {
160
+ margin-bottom: ms(0);
161
+ margin-top: 0;
162
+ }
163
+
164
+
165
+ // Corrects font family set oddly in IE6, S4/5, Chrome.
166
+ // en.wikipedia.org/wiki/User:Davidgothberg/Test59
167
+
168
+ code,
169
+ kbd,
170
+ pre,
171
+ samp {
172
+ font-family: monospace, serif;
173
+ _font-family: 'courier new', monospace;
174
+ font-size: 1em;
175
+ }
176
+
177
+ code {
178
+ background-color: transparentize( $main-color, 0.7);
179
+ }
180
+
181
+ // Improves readability of pre-formatted text in all browsers.
182
+
183
+ pre {
184
+ white-space: pre;
185
+ white-space: pre-wrap;
186
+ word-wrap: break-word;
187
+ }
188
+
189
+ // Addresses CSS quotes not supported in IE6/7.
190
+
191
+ q {
192
+ quotes: none;
193
+ }
194
+
195
+ // Addresses `quotes` property not supported in S4.
196
+
197
+ q:before,
198
+ q:after {
199
+ content: '';
200
+ content: none;
201
+ }
202
+
203
+ small {
204
+ font-size: 0.785em;
205
+ }
206
+
207
+ // Prevents `sub` and `sup` affecting `line-height` in all browsers.
208
+ // gist.github.com/413930
209
+
210
+ sub,
211
+ sup {
212
+ font-size: 75%;
213
+ line-height: 0;
214
+ position: relative;
215
+ vertical-align: baseline;
216
+ }
217
+
218
+ sup {
219
+ top: -0.5em;
220
+ }
221
+
222
+ sub {
223
+ bottom: -0.25em;
224
+ }
225
+
226
+
227
+ // ==========================================================================
228
+ // Web fonts
229
+ // ==========================================================================
230
+ @import "webfonts/all";
231
+
232
+
233
+ // ==========================================================================
234
+ // Icons
235
+ // ==========================================================================
236
+
237
+ a[href*='twitter.com'], .twitter {
238
+ color: $twitter-color;
239
+ }
240
+ a[href*='twitter.com'], a.twitter {
241
+ &:hover, &:focus {
242
+ color: darken($twitter-color, 10%);
243
+ }
244
+ }
245
+
246
+ a[href*='mailto:'], .email {
247
+ color: $email-color;
248
+ }
249
+ a[href*='mailto:'], a.email {
250
+ &:hover, &:focus {
251
+ color: darken($email-color, 10%);
252
+ }
253
+ }
254
+
255
+
256
+ a[href*='facebook.com'], .facebook {
257
+ color: $facebook-color;
258
+ }
259
+ a[href*='facebook.com'], a.facebook {
260
+ &:hover, &:focus {
261
+ color: darken($facebook-color, 10%);
262
+ }
263
+ }
264
+
265
+
266
+ // ==========================================================================
267
+ // Typographic Extensions
268
+ // ==========================================================================
269
+
270
+ // Standout copy like leading paragraphs
271
+
272
+ .standout {
273
+ font-size: ms(1);
274
+ }
275
+
276
+ // Supporting text
277
+
278
+ .support {
279
+ @extend small;
280
+ margin-bottom: ms(0)/2;
281
+ }
282
+
283
+ // Secondary text
284
+
285
+ .secondary {
286
+ color: mono(2);
287
+ }
288
+
289
+ // Shout
290
+
291
+ .shout {
292
+ font-weight: bold;
293
+
294
+ &.small {
295
+ color: $main-color;
296
+ }
297
+
298
+ &.medium {
299
+ font-size: ms(1);
300
+ }
301
+
302
+ &.large {
303
+ font-size: ms(5);
304
+ }
305
+ }
306
+