staple 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/Rakefile +1 -0
  4. data/lib/staple/install_generator.rb +11 -1
  5. data/source/stylesheets/after.scss +5 -0
  6. data/source/stylesheets/before.scss +9 -0
  7. data/source/stylesheets/buttons.scss +0 -0
  8. data/source/stylesheets/color.scss +0 -0
  9. data/source/stylesheets/forms.scss +0 -0
  10. data/source/stylesheets/foundation_and_overrides.scss +3 -0
  11. data/source/stylesheets/sizing.scss +0 -0
  12. data/source/stylesheets/typography.scss +0 -0
  13. data/source/stylesheets/utilities.scss +0 -0
  14. data/staple.gemspec +6 -6
  15. metadata +12 -190
  16. data/config.rb +0 -24
  17. data/source/CNAME +0 -1
  18. data/source/_accordion.html.erb +0 -24
  19. data/source/_accordion_tabs.html.erb +0 -26
  20. data/source/_accordion_tabs_minimal.html.erb +0 -26
  21. data/source/_badges.html.erb +0 -7
  22. data/source/_breadcrumbs.html.erb +0 -7
  23. data/source/_browser.html.erb +0 -29
  24. data/source/_button_group.html.erb +0 -18
  25. data/source/_cards.html.erb +0 -59
  26. data/source/_centered_navigation.html.erb +0 -38
  27. data/source/_code.html.erb +0 -10
  28. data/source/_comment.html.erb +0 -21
  29. data/source/_device.html.erb +0 -10
  30. data/source/_dropdown.html.erb +0 -12
  31. data/source/_expander.html.erb +0 -6
  32. data/source/_flashes.html.erb +0 -15
  33. data/source/_footer.html.erb +0 -28
  34. data/source/_footer_2.html.erb +0 -33
  35. data/source/_grid_items.html.erb +0 -37
  36. data/source/_grid_items_lines.html.erb +0 -44
  37. data/source/_hero.html.erb +0 -11
  38. data/source/_hover_tile_animation.html.erb +0 -11
  39. data/source/_icon_bullet_points.html.erb +0 -30
  40. data/source/_image_gradient_dynamic.html.erb +0 -7
  41. data/source/_intro_text.html.erb +0 -6
  42. data/source/_label_alerts.html.erb +0 -5
  43. data/source/_modal.html.erb +0 -14
  44. data/source/_navigation.html.erb +0 -44
  45. data/source/_pagination.html.erb +0 -17
  46. data/source/_progress_bar.html.erb +0 -3
  47. data/source/_progress_bar_indication.html.erb +0 -5
  48. data/source/_search_bar.html.erb +0 -8
  49. data/source/_search_tools.html.erb +0 -58
  50. data/source/_side_image.html.erb +0 -10
  51. data/source/_sliding_menu.html.erb +0 -13
  52. data/source/_snippet.html.erb +0 -4
  53. data/source/_switch.html.erb +0 -4
  54. data/source/_tables.html.erb +0 -31
  55. data/source/_tables_minimal.html.erb +0 -31
  56. data/source/_texture-legend.html.erb +0 -24
  57. data/source/_textures.html.erb +0 -4
  58. data/source/_tooltip.html.erb +0 -6
  59. data/source/_type_system_geometric.html.erb +0 -18
  60. data/source/_type_system_rounded.html.erb +0 -18
  61. data/source/_type_system_sans.html.erb +0 -18
  62. data/source/_type_system_serif.html.erb +0 -19
  63. data/source/_type_system_slab.html.erb +0 -18
  64. data/source/_type_system_traditional.html.erb +0 -18
  65. data/source/_vertical_tabs.html.erb +0 -30
  66. data/source/_video.html.erb +0 -5
  67. data/source/components.html.erb +0 -174
  68. data/source/foundation/application.html.slim +0 -17
  69. data/source/foundation/foundation_and_overrides.scss +0 -4
  70. data/source/index.html.erb +0 -162
  71. data/source/javascripts/all.js +0 -11
  72. data/source/javascripts/jquery.erToc.js +0 -477
  73. data/source/javascripts/jquery.glide.js +0 -941
  74. data/source/javascripts/staple/accordion.js +0 -5
  75. data/source/javascripts/staple/accordion_tabs.js +0 -19
  76. data/source/javascripts/staple/accordion_tabs_minimal.js +0 -19
  77. data/source/javascripts/staple/centered_navigation.js +0 -14
  78. data/source/javascripts/staple/dropdown.js +0 -9
  79. data/source/javascripts/staple/expander.js +0 -53
  80. data/source/javascripts/staple/navigation.js +0 -23
  81. data/source/javascripts/staple/search_tools.js +0 -110
  82. data/source/javascripts/staple/sliding_menu.js +0 -13
  83. data/source/javascripts/staple/vertical_tabs.js +0 -32
  84. data/source/layouts/layout.erb +0 -1
  85. data/source/refills-hero.html.erb +0 -7
  86. data/source/refills-menu.html.erb +0 -5
  87. data/source/refills-page-scripts.html.erb +0 -66
  88. data/source/stylesheets/_bourbon-nav.scss +0 -86
  89. data/source/stylesheets/_normalize.scss +0 -425
  90. data/source/stylesheets/_refills-nav.scss +0 -102
  91. data/source/stylesheets/_refills-styles.scss +0 -543
  92. data/source/stylesheets/all.scss +0 -61
  93. data/source/stylesheets/staple/_accordion-tabs-minimal.scss +0 -60
  94. data/source/stylesheets/staple/_accordion-tabs.scss +0 -88
  95. data/source/stylesheets/staple/_accordion.scss +0 -55
  96. data/source/stylesheets/staple/_badges.scss +0 -44
  97. data/source/stylesheets/staple/_breadcrumbs.scss +0 -84
  98. data/source/stylesheets/staple/_browser.scss +0 -141
  99. data/source/stylesheets/staple/_button-group.scss +0 -81
  100. data/source/stylesheets/staple/_cards.scss +0 -132
  101. data/source/stylesheets/staple/_centered-navigation.scss +0 -251
  102. data/source/stylesheets/staple/_comment.scss +0 -60
  103. data/source/stylesheets/staple/_device.scss +0 -83
  104. data/source/stylesheets/staple/_dropdown.scss +0 -127
  105. data/source/stylesheets/staple/_expander.scss +0 -30
  106. data/source/stylesheets/staple/_flashes.scss +0 -29
  107. data/source/stylesheets/staple/_footer-2.scss +0 -117
  108. data/source/stylesheets/staple/_footer.scss +0 -76
  109. data/source/stylesheets/staple/_grid-items-lines.scss +0 -86
  110. data/source/stylesheets/staple/_grid-items.scss +0 -97
  111. data/source/stylesheets/staple/_hero.scss +0 -54
  112. data/source/stylesheets/staple/_hover-tile-animation.scss +0 -52
  113. data/source/stylesheets/staple/_icon-bullet-points.scss +0 -63
  114. data/source/stylesheets/staple/_image-gradient-dynamic.scss +0 -59
  115. data/source/stylesheets/staple/_intro-text.scss +0 -67
  116. data/source/stylesheets/staple/_label-alerts.scss +0 -11
  117. data/source/stylesheets/staple/_modal.scss +0 -147
  118. data/source/stylesheets/staple/_navigation.scss +0 -329
  119. data/source/stylesheets/staple/_pagination.scss +0 -51
  120. data/source/stylesheets/staple/_progress-bar-indication.scss +0 -39
  121. data/source/stylesheets/staple/_progress-bar.scss +0 -83
  122. data/source/stylesheets/staple/_search-bar.scss +0 -40
  123. data/source/stylesheets/staple/_search-tools.scss +0 -67
  124. data/source/stylesheets/staple/_side-image.scss +0 -59
  125. data/source/stylesheets/staple/_sliding-menu.scss +0 -63
  126. data/source/stylesheets/staple/_switch.scss +0 -77
  127. data/source/stylesheets/staple/_tables-minimal.scss +0 -60
  128. data/source/stylesheets/staple/_tables.scss +0 -88
  129. data/source/stylesheets/staple/_texture-legend.scss +0 -182
  130. data/source/stylesheets/staple/_textures.scss +0 -119
  131. data/source/stylesheets/staple/_tooltip.scss +0 -57
  132. data/source/stylesheets/staple/_type-system-geometric.scss +0 -103
  133. data/source/stylesheets/staple/_type-system-rounded.scss +0 -107
  134. data/source/stylesheets/staple/_type-system-sans.scss +0 -110
  135. data/source/stylesheets/staple/_type-system-serif.scss +0 -111
  136. data/source/stylesheets/staple/_type-system-slab.scss +0 -107
  137. data/source/stylesheets/staple/_type-system-traditional.scss +0 -114
  138. data/source/stylesheets/staple/_vertical-tabs.scss +0 -105
  139. data/source/stylesheets/staple/_video.scss +0 -21
  140. data/source/type-systems.html.erb +0 -67
  141. data/source/vendor/javascripts/ZeroClipboard.min.js +0 -9
  142. data/source/vendor/javascripts/fixedsticky.js +0 -185
  143. data/source/vendor/javascripts/prism.js +0 -13
  144. data/source/vendor/javascripts/smooth-scroll.js +0 -125
  145. data/source/vendor/stylesheets/fixedsticky.css +0 -22
  146. data/source/vendor/stylesheets/prism.css +0 -126
@@ -1,251 +0,0 @@
1
- .centered-navigation {
2
- $centered-navigation-padding: 1em;
3
- $centered-navigation-logo-height: 2em;
4
- $centered-navigation-background: #E7F1EC;
5
- $centered-navigation-color: transparentize($base-font-color, 0.3);
6
- $centered-navigation-color-hover: $base-font-color;
7
- $centered-navigation-height: 60px;
8
- $centered-navigation-item-padding: 1em;
9
- $centered-navigation-submenu-padding: 1em;
10
- $centered-navigation-submenu-width: 12em;
11
- $centered-navigation-item-nudge: 2.2em;
12
- $horizontal-bar-mode: $large-screen;
13
-
14
- background-color: $centered-navigation-background;
15
- border-bottom: 1px solid darken($centered-navigation-background, 6);
16
- font-family: $serif;
17
- height: $centered-navigation-height;
18
- width: 100%;
19
- z-index: 9999;
20
-
21
- // Mobile view
22
-
23
- .mobile-logo {
24
- display: inline;
25
- float: left;
26
- max-height: $centered-navigation-height;
27
- padding-left: $centered-navigation-padding;
28
-
29
- img {
30
- max-height: $centered-navigation-height;
31
- opacity: .6;
32
- padding: .8em 0;
33
- }
34
-
35
- @include media($horizontal-bar-mode) {
36
- display: none;
37
- }
38
- }
39
-
40
- .centered-navigation-menu-button {
41
- color: $centered-navigation-color;
42
- display: block;
43
- float: right;
44
- font-weight: 700;
45
- line-height: $centered-navigation-height;
46
- margin: 0;
47
- padding-right: $centered-navigation-submenu-padding;
48
- text-transform: uppercase;
49
-
50
- @include media ($horizontal-bar-mode) {
51
- display: none;
52
- }
53
-
54
- &:hover {
55
- color: $centered-navigation-color-hover;
56
- }
57
- }
58
-
59
- // Nav menu
60
-
61
- .centered-navigation-wrapper {
62
- @include outer-container;
63
- @include clearfix;
64
- position: relative;
65
- z-index: 999;
66
- }
67
-
68
- ul.centered-navigation-menu {
69
- -webkit-transform-style: preserve-3d; // stop webkit flicker
70
- clear: both;
71
- display: none;
72
- margin: 0 auto;
73
- overflow: visible;
74
- padding: 0;
75
- width: 100%;
76
- z-index: 99999;
77
-
78
- @include media ($horizontal-bar-mode) {
79
- display: block;
80
- text-align: center;
81
- }
82
- }
83
-
84
- // The nav items
85
-
86
- .nav-link:first-child {
87
- @include media($horizontal-bar-mode) {
88
- margin-left: $centered-navigation-item-nudge;
89
- }
90
- }
91
-
92
- ul li.nav-link {
93
- background: $centered-navigation-background;
94
- display: block;
95
- line-height: $centered-navigation-height;
96
- overflow: hidden;
97
- padding-right: $centered-navigation-submenu-padding;
98
- text-align: right;
99
- width: 100%;
100
- z-index: 9999;
101
-
102
- @include media($horizontal-bar-mode) {
103
- background: transparent;
104
- display: inline;
105
- line-height: $centered-navigation-height;
106
-
107
- a {
108
- padding-right: $centered-navigation-item-padding;
109
- }
110
- }
111
-
112
- a {
113
- color: $centered-navigation-color;
114
- display: inline-block;
115
-
116
-
117
- &:hover {
118
- color: $centered-navigation-color-hover;
119
- }
120
- }
121
- }
122
-
123
- li.logo.nav-link {
124
- display: none;
125
- line-height: 0;
126
-
127
- @include media($large-screen) {
128
- display: inline;
129
- }
130
- }
131
-
132
- .logo img {
133
- margin-bottom: -$centered-navigation-logo-height / 3;
134
- max-height: $centered-navigation-logo-height;
135
- opacity: .6;
136
- }
137
-
138
- // Sub menus
139
-
140
- li.more.nav-link {
141
- padding-right: 0;
142
-
143
- @include media($large-screen) {
144
- padding-right: $centered-navigation-submenu-padding;
145
- }
146
-
147
- > ul > li:first-child a {
148
- padding-top: 1em;
149
- }
150
-
151
- a {
152
- margin-right: $centered-navigation-submenu-padding;
153
- }
154
-
155
- > a {
156
- padding-right: 0.6em;
157
- }
158
-
159
- > a:after {
160
- @include position(absolute, auto -.4em auto auto);
161
- color: $centered-navigation-color;
162
- content: '\25BE';
163
- }
164
- }
165
-
166
- li.more {
167
- overflow: visible;
168
- padding-right: 0;
169
-
170
- a {
171
- padding-right: $centered-navigation-submenu-padding;
172
- }
173
-
174
- > a {
175
- padding-right: 1.6em;
176
- position: relative;
177
-
178
- @include media($large-screen) {
179
- margin-right: $centered-navigation-submenu-padding;
180
- }
181
-
182
- &:after {
183
- content: '›';
184
- font-size: 1.2em;
185
- position: absolute;
186
- right: $centered-navigation-submenu-padding / 2;
187
- }
188
- }
189
-
190
- &:hover > .submenu {
191
- display: block;
192
- }
193
-
194
- @include media($horizontal-bar-mode) {
195
- padding-right: $centered-navigation-submenu-padding;
196
- position: relative;
197
- }
198
- }
199
-
200
- ul.submenu {
201
- display: none;
202
- padding-left: 0;
203
-
204
- @include media($horizontal-bar-mode) {
205
- left: -$centered-navigation-submenu-padding;
206
- position: absolute;
207
- top: 1.5em;
208
- }
209
-
210
- .submenu {
211
- @include media($horizontal-bar-mode) {
212
- left: $centered-navigation-submenu-width - .2em;
213
- top: 0;
214
- }
215
- }
216
-
217
- li {
218
- display: block;
219
- padding-right: 0;
220
-
221
- @include media($horizontal-bar-mode) {
222
- line-height: $centered-navigation-height / 1.3;
223
-
224
- &:first-child > a {
225
- border-top-left-radius: $base-border-radius;
226
- border-top-right-radius: $base-border-radius;
227
- }
228
-
229
- &:last-child > a {
230
- border-bottom-left-radius: $base-border-radius;
231
- border-bottom-right-radius: $base-border-radius;
232
- padding-bottom: .7em;
233
- }
234
- }
235
-
236
- a {
237
- background-color: darken($centered-navigation-background, 3);
238
- display: inline-block;
239
- text-align: right;
240
- width: 100%;
241
-
242
- @include media($horizontal-bar-mode) {
243
- background-color: $centered-navigation-background;
244
- padding-left: $centered-navigation-submenu-padding;
245
- text-align: left;
246
- width: $centered-navigation-submenu-width;
247
- }
248
- }
249
- }
250
- }
251
- }
@@ -1,60 +0,0 @@
1
- .comment {
2
- $comment-gutter: 1.4em;
3
- $comment-image-padding: .7em;
4
- $comment-image-width: 4em;
5
- $comment-color: $base-font-color;
6
- $comment-background: lighten($base-accent-color, 15);
7
- $comment-detail-color: transparentize($comment-color, .5);
8
- $comment-image-vert-alignment: top;
9
-
10
- display: table;
11
- width: 100%;
12
- margin-bottom: $base-spacing;
13
- padding-bottom: 1em;
14
- border-bottom: 1px solid transparentize($comment-color, .9);
15
-
16
- .comment-image,
17
- .comment-content {
18
- display: table-cell;
19
- vertical-align: $comment-image-vert-alignment;
20
- }
21
-
22
- .comment-image {
23
- padding-right: $comment-gutter;
24
-
25
- > img {
26
- width: $comment-image-width;
27
- height: auto;
28
- border-radius: $base-border-radius;
29
- padding: $comment-image-padding;
30
- background: $comment-background;
31
- display: block;
32
- max-width: none;
33
- }
34
-
35
- .comment-reverse-order & {
36
- padding-right: 0;
37
- padding-left: 10px;
38
- }
39
- }
40
-
41
- .comment-content {
42
- width: 100%;
43
-
44
- h1 {
45
- font-size: 1em;
46
- margin-bottom: .5em;
47
- }
48
-
49
- p {
50
- margin-bottom: .5em;
51
- }
52
-
53
- p.comment-detail {
54
- font-style: italic;
55
- font-size: .9em;
56
- color: $comment-detail-color;
57
- }
58
- }
59
- }
60
-
@@ -1,83 +0,0 @@
1
- $device-padding-vertical: 5em;
2
- $device-padding-horizontal: .4em;
3
- $device-screen-width: 14em;
4
- $device-screen-height: 25em;
5
- $device-background: darken(gray, 40);
6
- $device-backside-background: darken($device-background, 10);
7
- $device-text-color: white;
8
-
9
- $device-background-top: #162C4C;
10
- $device-background-bottom: #0A120D;
11
- $gradient-angle: 10deg;
12
- $device-image: 'https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains.png';
13
- $device-screen-image: 'https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/cosmin_capitanu_screen.jpg';
14
-
15
- .device-background {
16
- @include background(url($device-image), linear-gradient($gradient-angle, $device-background-bottom, $device-background-top), no-repeat $device-background-top scroll);
17
- background-repeat: no-repeat;
18
- background-size: cover;
19
- width: 100%;
20
- height: 20em;
21
- }
22
-
23
- .device-text {
24
- color: $device-text-color;
25
- padding: 2em;
26
-
27
- @include media($large-screen) {
28
- max-width: 50%;
29
- padding: 4em;
30
- float: left;
31
- }
32
-
33
- h4 {
34
- margin-bottom: .5em;
35
- padding-bottom: .5em;
36
- border-bottom: 1px solid transparentize($device-text-color, .7);
37
- }
38
-
39
- p {
40
- font-family: $serif;
41
- margin-bottom: 1.5em;
42
- }
43
- }
44
-
45
- .device {
46
- display: none;
47
- position: relative;
48
-
49
- @include media($large-screen) {
50
- @include transform(
51
- perspective(800px)
52
- translateX(0px)
53
- translateY(-100px)
54
- translateZ(50px)
55
- rotateX(0deg)
56
- rotateY(-20deg)
57
- rotateZ(-0deg));
58
- display: block;
59
- float: right;
60
- margin-bottom: -12em;
61
- margin-right: 5em;
62
- padding: $device-padding-vertical 0;
63
- width: $device-screen-width + (2 * $device-padding-horizontal);
64
- border-radius: 2em;
65
- background: $device-background;
66
- box-shadow:
67
- 1px 0px lighten($device-backside-background, 20),
68
- 4px 0px lighten($device-backside-background, 2),
69
- 7px 0px $device-backside-background,
70
- 10px 0px $device-backside-background,
71
- 13px 0px $device-backside-background;
72
- z-index: 99999;
73
-
74
- .screen {
75
- @include size($device-screen-width $device-screen-height);
76
- background-image: url($device-screen-image);
77
- background-size: cover;
78
- box-shadow: inset 0 1px 8px transparentize(black, .5);
79
- margin: auto;
80
- border-radius: .2em;
81
- }
82
- }
83
- }
@@ -1,127 +0,0 @@
1
- $dropdown-color: $base-font-color;
2
- $dropdown-description-color: lighten($dropdown-color, 40);
3
- $dropdown-border: 1px solid silver;
4
- $dropdown-background: $base-background-color;
5
- $dropdown-background-hover: darken($dropdown-background, 3);
6
- $dropdown-inner-border: 1px solid silver;
7
- $dropdown-height: 40px;
8
- $dropdown-padding: 1em;
9
- $dropdown-distance-from-menu: 50px;
10
- $dropdown-arrow-top-distance: 0;
11
-
12
- .dropdown {
13
- text-align: center;
14
- }
15
-
16
- .dropdown-container {
17
- display: inline-block;
18
- position: relative;
19
- }
20
-
21
- .dropdown-description {
22
- background: $dropdown-background;
23
- border-bottom-left-radius: $base-border-radius;
24
- border-bottom: $dropdown-border;
25
- border-left: $dropdown-border;
26
- border-top-left-radius: $base-border-radius;
27
- border-top: $dropdown-border;
28
- color: $dropdown-description-color;
29
- float: left;
30
- font-size: .7em;
31
- line-height: $dropdown-height;
32
- margin-bottom: 0;
33
- padding: 0 ($dropdown-padding / 2) 0 $dropdown-padding;
34
-
35
- @include media($large-screen) {
36
- font-size: 1em;
37
- }
38
- }
39
-
40
- .dropdown-button {
41
- background: $dropdown-background;
42
- border-bottom-right-radius: $base-border-radius;
43
- border-top-right-radius: $base-border-radius;
44
- border-top: $dropdown-border;
45
- border-right: $dropdown-border;
46
- border-bottom: $dropdown-border;
47
- cursor: pointer;
48
- float: right;
49
- font-size: .7em;
50
- font-weight: 800;
51
- line-height: $dropdown-height;
52
- margin-bottom: 0;
53
- padding: 0 ($dropdown-padding * 3.5) 0 ($dropdown-padding / 2);
54
- position: relative;
55
-
56
- @include media($large-screen) {
57
- font-size: 1em;
58
- padding: 0 ($dropdown-padding * 2.5) 0 ($dropdown-padding / 2);
59
- }
60
- }
61
-
62
- .dropdown-button:hover{
63
- background-color: $dropdown-background-hover;
64
- }
65
-
66
- .dropdown-button:after {
67
- color: $base-font-color;
68
- content: "\25BE";
69
- display: block;
70
- position: absolute;
71
- right: $dropdown-padding;
72
- top: $dropdown-arrow-top-distance;
73
- }
74
-
75
- .menu {
76
- @include transition (all 0.2s ease-in-out);
77
- background: $dropdown-background;
78
- border-radius: $base-border-radius;
79
- border: $dropdown-border;
80
- box-shadow: 0 2px 2px transparentize(black, .8);
81
- color: $dropdown-color;
82
- cursor: pointer;
83
- display: none;
84
- overflow: show;
85
- position: absolute;
86
- right: 0;
87
- top: $dropdown-distance-from-menu;
88
- width: 228px;
89
- z-index: 99999;
90
-
91
- &:before {
92
- @include position(absolute, 0 1em 0 0);
93
- color: $dropdown-background;
94
- content: "\25b2";
95
- font-size: 1.4em;
96
- pointer-events: none;
97
- text-shadow: 0 -2px 2px transparentize(black, .7);
98
- top: -1em;
99
- }
100
- }
101
-
102
- .menu li {
103
- border-bottom: $dropdown-inner-border;
104
- color: $dropdown-color;
105
- padding: $dropdown-padding / 2;
106
- }
107
-
108
- .menu li:hover {
109
- background: $dropdown-background-hover;
110
- }
111
-
112
- .menu li:first-child {
113
- border-top-left-radius: $base-border-radius;
114
- border-top-right-radius: $base-border-radius;
115
- }
116
-
117
- .menu li:last-child {
118
- border: none;
119
- border-bottom-left-radius: $base-border-radius;
120
- border-bottom-right-radius: $base-border-radius;
121
- }
122
-
123
- .show-menu {
124
- display: block;
125
- }
126
-
127
- // Inspired by code by www.HUSAMUI.com
@@ -1,30 +0,0 @@
1
- $expander-arrow-width: 5px;
2
- $expander-toggle-size: 1em;
3
- $expander-toggle-arrow-size: $expander-toggle-size * .75;
4
- $expander-toggle-margin: 1em;
5
-
6
- .expander {
7
- margin: auto;
8
- width: 60%;
9
- }
10
-
11
- .expander a.expander-toggle {
12
- @include user-select(none);
13
- border-bottom: 1px solid $light-gray;
14
- cursor: pointer;
15
- display: block;
16
- font-size: $expander-toggle-size;
17
- margin-bottom: $expander-toggle-size;
18
- padding-bottom: $expander-toggle-size / 4;
19
-
20
- &:before {
21
- content: '\25BA';
22
- font-size: $expander-toggle-arrow-size;
23
- margin-right: 1em;
24
- }
25
- }
26
-
27
- .expander.expanded .expander-toggle:before {
28
- content: '\25BC';
29
- margin-right: .95em;
30
- }
@@ -1,29 +0,0 @@
1
- $flash-red: #FBE3E4;
2
- $flash-yellow: #FFF6BF;
3
- $flash-green: #E6EFC2;
4
-
5
- %flash-base {
6
- display: block;
7
- font-weight: bold;
8
- margin-bottom: $base-spacing / 2;
9
- padding: $base-spacing / 2;
10
- }
11
-
12
- $flashes: (alert: $flash-yellow, error: $flash-red, notice: lighten($base-accent-color, 40), success: $flash-green);
13
-
14
- @each $flash, $color in $flashes {
15
- .flash-#{$flash} {
16
- @extend %flash-base;
17
- background: $color;
18
- color: darken($color, 60);
19
-
20
- a {
21
- color: darken($color, 70);
22
- border-bottom: 1px solid transparentize(darken($color, 70), .7);
23
-
24
- &:hover {
25
- color: darken($color, 90);
26
- }
27
- }
28
- }
29
- }
@@ -1,117 +0,0 @@
1
- // Uncomment this for a sticky footer.
2
- //
3
- // .wrapper-for-content-outside-of-footer {
4
- // min-height: 100%;
5
- // height: auto !important;
6
- // height: 100%;
7
- // margin: 0 auto -4em;
8
- // }
9
-
10
- // html, body {
11
- // height: 100%;
12
- // }
13
-
14
- // .wrapper-for-content-outside-of-footer:after {
15
- // content: "";
16
- // display: block;
17
- // }
18
-
19
- // .footer-2, .wrapper-for-content-outside-of-footer:after {
20
- // height: 17em;
21
-
22
- // @include media($large-screen) {
23
- // height: 4em;
24
- // }
25
- // }
26
-
27
- .footer-2 {
28
- $footer-background: desaturate(darken($base-accent-color, 20), 30);
29
- $footer-color: white;
30
- $footer-link-color: transparentize($footer-color, .6);
31
- $footer-disclaimer-color: transparentize($footer-color, .6);
32
-
33
- background: $footer-background;
34
- padding: $base-spacing;
35
- width: 100%;
36
-
37
- .footer-logo {
38
- margin-right: 1em;
39
- margin-bottom: 1em;
40
-
41
- @include media($large-screen) {
42
- float: left;
43
- margin-bottom: 0;
44
- }
45
- }
46
-
47
- .footer-logo img {
48
- height: 1.6em;
49
- }
50
-
51
- ul {
52
- margin-bottom: 1em;
53
- @include media($large-screen) {
54
- float: left;
55
- margin-left: 1em;
56
- margin-bottom: 0;
57
- }
58
- }
59
-
60
- ul li {
61
- padding-right: 1em;
62
- font-weight: 800;
63
-
64
- @include media($large-screen) {
65
- display: inline;
66
- text-align: left;
67
- }
68
- }
69
-
70
- ul li a {
71
- color: $footer-link-color;
72
-
73
- &:hover {
74
- color: transparentize($footer-color, 0);
75
- }
76
- }
77
-
78
- .footer-secondary-links {
79
- @include media($large-screen) {
80
- float: right;
81
- }
82
-
83
- li {
84
- font-size: .8em;
85
- font-weight: 400;
86
- }
87
-
88
- ul.footer-social {
89
- margin-top: 1em;
90
-
91
- @include media($large-screen) {
92
- float: right;
93
- margin-top: 0;
94
- }
95
-
96
- li {
97
- float: left;
98
- font-size: 1em;
99
- padding-right: .7em;
100
-
101
- &:last-child {
102
- padding-right: 0;
103
- }
104
- }
105
-
106
- img {
107
- opacity: .7;
108
- height: 1.6em;
109
- padding: 1px;
110
-
111
- &:hover {
112
- opacity: 1;
113
- }
114
- }
115
- }
116
- }
117
- }