material-sass 4.0.0.alpha6 → 4.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +36 -8
  4. data/Rakefile +16 -3
  5. data/app/assets/javascripts/material-sprockets.js +6 -1
  6. data/app/assets/javascripts/material.js +654 -417
  7. data/app/assets/javascripts/material.min.js +1 -0
  8. data/app/assets/javascripts/material/addons/picker.date.js +234 -0
  9. data/app/assets/javascripts/material/addons/picker.js +172 -0
  10. data/app/assets/javascripts/material/addons/textarea-autosize.js +20 -2
  11. data/app/assets/javascripts/material/addons/waves.js +127 -0
  12. data/app/assets/javascripts/material/components/floating-label.js +92 -0
  13. data/app/assets/javascripts/material/components/navdrawer.js +353 -0
  14. data/app/assets/javascripts/material/components/selection-control-focus.js +47 -0
  15. data/app/assets/javascripts/material/components/tab-switch.js +148 -0
  16. data/app/assets/javascripts/material/components/util.js +133 -0
  17. data/app/assets/javascripts/material/initializers/picker.js +171 -0
  18. data/app/assets/javascripts/material/initializers/textarea-autosize.js +10 -0
  19. data/app/assets/javascripts/material/initializers/waves.js +13 -0
  20. data/app/assets/stylesheets/material/_colours.scss +324 -0
  21. data/app/assets/stylesheets/material/_functions.scss +65 -0
  22. data/app/assets/stylesheets/material/_mixins.scss +23 -23
  23. data/app/assets/stylesheets/material/_print.scss +102 -0
  24. data/app/assets/stylesheets/material/_utilities.scss +21 -17
  25. data/app/assets/stylesheets/material/_variables.scss +13 -42
  26. data/app/assets/stylesheets/material/base/_base.scss +420 -5
  27. data/app/assets/stylesheets/material/base/_grid.scss +34 -33
  28. data/app/assets/stylesheets/material/base/_typography.scss +165 -174
  29. data/app/assets/stylesheets/material/bootstrap/_alert.scss +32 -39
  30. data/app/assets/stylesheets/material/bootstrap/_badge.scss +34 -0
  31. data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +18 -18
  32. data/app/assets/stylesheets/material/bootstrap/_carousel.scss +127 -142
  33. data/app/assets/stylesheets/material/bootstrap/_close.scss +18 -19
  34. data/app/assets/stylesheets/material/bootstrap/_code.scss +10 -7
  35. data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +50 -56
  36. data/app/assets/stylesheets/material/bootstrap/_form.scss +159 -129
  37. data/app/assets/stylesheets/material/bootstrap/_image.scss +19 -16
  38. data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +10 -7
  39. data/app/assets/stylesheets/material/bootstrap/_nav.scss +71 -69
  40. data/app/assets/stylesheets/material/bootstrap/_pagination.scss +34 -26
  41. data/app/assets/stylesheets/material/bootstrap/_popover.scss +26 -59
  42. data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +4 -4
  43. data/app/assets/stylesheets/material/bootstrap/_transition.scss +10 -8
  44. data/app/assets/stylesheets/material/material.scss +75 -62
  45. data/app/assets/stylesheets/material/material/_button-flat.scss +26 -39
  46. data/app/assets/stylesheets/material/material/_button-float.scss +10 -14
  47. data/app/assets/stylesheets/material/material/_button-group.scss +268 -0
  48. data/app/assets/stylesheets/material/material/_button.scss +133 -189
  49. data/app/assets/stylesheets/material/material/_card.scss +300 -248
  50. data/app/assets/stylesheets/material/material/_chip.scss +65 -64
  51. data/app/assets/stylesheets/material/material/_data-table.scss +135 -45
  52. data/app/assets/stylesheets/material/material/_dialog.scss +141 -110
  53. data/app/assets/stylesheets/material/material/_expansion-panel.scss +86 -119
  54. data/app/assets/stylesheets/material/material/_menu.scss +308 -228
  55. data/app/assets/stylesheets/material/material/_navdrawer.scss +239 -234
  56. data/app/assets/stylesheets/material/material/_picker.scss +157 -155
  57. data/app/assets/stylesheets/material/material/_progress-circular.scss +80 -80
  58. data/app/assets/stylesheets/material/material/_progress.scss +180 -115
  59. data/app/assets/stylesheets/material/material/_selection-control.scss +132 -139
  60. data/app/assets/stylesheets/material/material/_stepper.scss +94 -93
  61. data/app/assets/stylesheets/material/material/_tab.scss +74 -93
  62. data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +29 -20
  63. data/app/assets/stylesheets/material/material/_text-field-input-group.scss +94 -24
  64. data/app/assets/stylesheets/material/material/_text-field-textarea.scss +13 -26
  65. data/app/assets/stylesheets/material/material/_text-field.scss +127 -118
  66. data/app/assets/stylesheets/material/material/_toolbar.scss +308 -313
  67. data/app/assets/stylesheets/material/material/_tooltip.scss +23 -62
  68. data/app/assets/stylesheets/material/mixins/_background-variant.scss +6 -6
  69. data/app/assets/stylesheets/material/mixins/_border-radius.scss +17 -17
  70. data/app/assets/stylesheets/material/mixins/_breakpoint.scss +32 -2
  71. data/app/assets/stylesheets/material/mixins/_clearfix.scss +1 -1
  72. data/app/assets/stylesheets/material/mixins/_form.scss +62 -25
  73. data/app/assets/stylesheets/material/mixins/_grid-framework.scss +8 -16
  74. data/app/assets/stylesheets/material/mixins/_grid.scss +40 -64
  75. data/app/assets/stylesheets/material/mixins/_material-icons.scss +36 -0
  76. data/app/assets/stylesheets/material/mixins/_nav-divider.scss +1 -1
  77. data/app/assets/stylesheets/material/mixins/_reset-text.scss +2 -21
  78. data/app/assets/stylesheets/material/mixins/_screenreader.scss +14 -12
  79. data/app/assets/stylesheets/material/mixins/_text-alignment.scss +23 -0
  80. data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +6 -6
  81. data/app/assets/stylesheets/material/mixins/_transition.scss +42 -10
  82. data/app/assets/stylesheets/material/utilities/_background.scss +18 -18
  83. data/app/assets/stylesheets/material/utilities/_border.scss +88 -41
  84. data/app/assets/stylesheets/material/utilities/_display.scss +63 -30
  85. data/app/assets/stylesheets/material/utilities/_flex.scss +139 -134
  86. data/app/assets/stylesheets/material/utilities/_material-icons.scss +3 -5
  87. data/app/assets/stylesheets/material/utilities/_position.scss +19 -22
  88. data/app/assets/stylesheets/material/utilities/_sizing.scss +11 -12
  89. data/app/assets/stylesheets/material/utilities/_spacing.scss +51 -56
  90. data/app/assets/stylesheets/material/utilities/_text.scss +80 -75
  91. data/app/assets/stylesheets/material/utilities/_visibility.scss +5 -46
  92. data/app/assets/stylesheets/material/utilities/_waves.scss +11 -18
  93. data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +89 -82
  94. data/app/assets/stylesheets/material/variables/_grid.scss +29 -26
  95. data/app/assets/stylesheets/material/variables/_palette.scss +45 -0
  96. data/app/assets/stylesheets/material/variables/_spacer.scss +34 -88
  97. data/app/assets/stylesheets/material/variables/_transition.scss +29 -0
  98. data/app/assets/stylesheets/material/variables/_typography.scss +88 -74
  99. data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +196 -133
  100. data/app/assets/stylesheets/material/variables/_variable-material.scss +481 -429
  101. data/lib/material-sass/version.rb +1 -1
  102. data/material-sass.gemspec +3 -3
  103. metadata +26 -21
  104. data/app/assets/javascripts/material/addons-materialise/pickadate.js +0 -139
  105. data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +0 -11
  106. data/app/assets/javascripts/material/addons-materialise/wave.js +0 -15
  107. data/app/assets/javascripts/material/addons/pickadate.js +0 -7
  108. data/app/assets/javascripts/material/addons/wave.js +0 -5
  109. data/app/assets/javascripts/material/src/floating-label.js +0 -91
  110. data/app/assets/javascripts/material/src/navdrawer.js +0 -352
  111. data/app/assets/javascripts/material/src/tab-switch.js +0 -133
  112. data/app/assets/javascripts/material/src/util.js +0 -138
  113. data/app/assets/stylesheets/material/base/_normalize.scss +0 -253
  114. data/app/assets/stylesheets/material/base/_reboot.scss +0 -239
  115. data/app/assets/stylesheets/material/bootstrap/_button-group.scss +0 -134
  116. data/app/assets/stylesheets/material/mixins/_tab-focus.scss +0 -5
  117. data/app/assets/stylesheets/material/mixins/_transform.scss +0 -9
  118. data/app/assets/stylesheets/material/variables/_animation.scss +0 -22
  119. data/app/assets/stylesheets/material/variables/_colour.scss +0 -389
@@ -0,0 +1,102 @@
1
+ @if $enable-print-styles {
2
+ @media print {
3
+ *,
4
+ *::after,
5
+ *::before {
6
+ box-shadow: none !important;
7
+ text-shadow: none !important;
8
+ }
9
+
10
+ a,
11
+ a:visited {
12
+ text-decoration: underline;
13
+ }
14
+
15
+ abbr {
16
+ &[title]::after {
17
+ content: ' (" attr(title) ") ';
18
+ }
19
+ }
20
+
21
+ blockquote {
22
+ page-break-inside: avoid;
23
+ }
24
+
25
+ h2,
26
+ h3,
27
+ p {
28
+ orphans: 3;
29
+ widows: 3;
30
+ }
31
+
32
+ h2,
33
+ h3 {
34
+ page-break-inside: avoid;
35
+ }
36
+
37
+ img {
38
+ page-break-inside: avoid;
39
+ }
40
+
41
+ pre {
42
+ page-break-inside: avoid;
43
+ white-space: pre-wrap !important;
44
+ }
45
+
46
+ thead {
47
+ display: table-header-group;
48
+ }
49
+
50
+ tr {
51
+ page-break-inside: avoid;
52
+ }
53
+
54
+ .card {
55
+ border: $border-width solid $border-color-solid;
56
+ }
57
+
58
+ .dropdown-menu {
59
+ border: $border-width solid $border-color-solid;
60
+ }
61
+
62
+ .list-group-item {
63
+ border: $border-width solid $border-color-solid;
64
+ margin-bottom: ($border-width * -1);
65
+
66
+ &:last-child {
67
+ margin-bottom: 0;
68
+ }
69
+ }
70
+
71
+ .list-group-flush {
72
+ &:first-child .list-group-item:first-child {
73
+ border-top: 0;
74
+ }
75
+
76
+ &:last-child .list-group-item:last-child {
77
+ border-bottom: 0;
78
+ }
79
+
80
+ .list-group-item {
81
+ border-right: 0;
82
+ border-left: 0;
83
+ }
84
+ }
85
+
86
+ .nav-tabs {
87
+ border-bottom: $border-width solid $border-color-solid;
88
+ }
89
+
90
+ .navbar {
91
+ display: none;
92
+ }
93
+
94
+ .popover {
95
+ border: $border-width solid $border-color-solid;
96
+ }
97
+
98
+ .table-bordered {
99
+ border: $border-width solid $border-color-solid;
100
+ }
101
+ }
102
+ }
@@ -1,18 +1,22 @@
1
- // bootstrap
2
- @import "utilities/align";
3
- @import "utilities/border";
4
- @import "utilities/background";
5
- @import "utilities/clearfix";
6
- @import "utilities/display";
7
- @import "utilities/flex";
8
- @import "utilities/float";
9
- @import "utilities/position";
10
- @import "utilities/screenreader";
11
- @import "utilities/sizing";
12
- @import "utilities/spacing";
13
- @import "utilities/text";
14
- @import "utilities/visibility";
1
+ // Bootstrap
15
2
 
16
- // material
17
- @import "utilities/material-icons";
18
- @import "utilities/waves";
3
+ @import 'utilities/align';
4
+ @import 'utilities/border';
5
+ @import 'utilities/background';
6
+ @import 'utilities/clearfix';
7
+ @import 'utilities/display';
8
+ @import 'utilities/flex';
9
+ @import 'utilities/float';
10
+ @import 'utilities/position';
11
+ @import 'utilities/screenreader';
12
+ @import 'utilities/sizing';
13
+ @import 'utilities/spacing';
14
+ @import 'utilities/text';
15
+ @import 'utilities/visibility';
16
+
17
+
18
+
19
+ // Material
20
+
21
+ @import 'utilities/material-icons';
22
+ @import 'utilities/waves';
@@ -1,47 +1,18 @@
1
- @mixin _assert-ascending($map, $map-name) {
2
- $prev-key: null;
3
- $prev-num: null;
1
+ // Sass option
4
2
 
5
- @each $key, $num in $map {
6
- @if $prev-num == null {
7
- // do nothing
8
- } @else if not comparable($num, $prev-num) {
9
- @warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}'!";
10
- } @else if $num <= $prev-num {
11
- @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}'!";
12
- }
3
+ $enable-grid-classes: true !default;
4
+ $enable-hover-media-query: false !default;
5
+ $enable-print-styles: true !default;
13
6
 
14
- $prev-key: $key;
15
- $prev-num: $num;
16
- }
17
- }
18
7
 
19
- @mixin _assert-starts-at-zero($map) {
20
- $first-value: nth(map-values($map), 1);
21
8
 
22
- @if $first-value != 0 {
23
- @warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
24
- }
25
- }
9
+ // Variables
26
10
 
27
- // sass option
28
- $enable-grid-classes: true !default;
29
- $enable-hover-media-query: false !default;
30
- $enable-print-styles: true !default;
31
-
32
- // the following bootstrap options are not supported in material
33
- // this is because these features are required by material design guidelines
34
-
35
- // $enable-gradients: true !default;
36
- // $enable-rounded: true !default;
37
- // $enable-shadows: true !default;
38
- // $enable-transitions: true !default;
39
-
40
- @import "variables/animation";
41
- @import "variables/colour";
42
- @import "variables/elevation-shadow";
43
- @import "variables/grid";
44
- @import "variables/spacer";
45
- @import "variables/typography";
46
- @import "variables/variable-bootstrap";
47
- @import "variables/variable-material";
11
+ @import 'variables/elevation-shadow';
12
+ @import 'variables/grid';
13
+ @import 'variables/palette';
14
+ @import 'variables/spacer';
15
+ @import 'variables/transition';
16
+ @import 'variables/typography';
17
+ @import 'variables/variable-bootstrap';
18
+ @import 'variables/variable-material';
@@ -1,5 +1,420 @@
1
- //
2
- // includes normalize and reboot from bootstrap's (v4.0.0-alpha.6)
3
- //
4
- @import "_normalize.scss";
5
- @import "_reboot.scss";
1
+ // Reboot from Bootstrap
2
+
3
+
4
+
5
+ // Box sizing
6
+
7
+ *,
8
+ *::after,
9
+ *::before {
10
+ box-sizing: inherit;
11
+ }
12
+
13
+ @at-root {
14
+ @-ms-viewport {
15
+ width: device-width;
16
+ }
17
+ }
18
+
19
+
20
+
21
+ // Document
22
+
23
+ article,
24
+ aside,
25
+ dialog,
26
+ figcaption,
27
+ figure,
28
+ footer,
29
+ header,
30
+ hgroup,
31
+ main,
32
+ nav,
33
+ section {
34
+ display: block;
35
+ }
36
+
37
+ body {
38
+ @include text-align(left);
39
+
40
+ background-color: $body-bg;
41
+ color: $body-color;
42
+ font-family: $font-family-base;
43
+ font-size: $font-size-base;
44
+ font-weight: $font-weight-base;
45
+ line-height: $line-height-base;
46
+ margin: 0;
47
+ }
48
+
49
+ html {
50
+ box-sizing: border-box;
51
+ font-family: sans-serif;
52
+ line-height: 1.15;
53
+ text-size-adjust: 100%;
54
+ -ms-overflow-style: scrollbar;
55
+ -webkit-tap-highlight-color: $webkit-tap-highlight-color;
56
+ }
57
+
58
+ [tabindex='-1']:focus {
59
+ outline: 0 !important;
60
+ }
61
+
62
+
63
+
64
+ // Clickable element
65
+
66
+ a,
67
+ area,
68
+ button,
69
+ input,
70
+ label,
71
+ select,
72
+ summary,
73
+ textarea,
74
+ [role="button"] {
75
+ touch-action: manipulation;
76
+ }
77
+
78
+
79
+
80
+ // Code
81
+
82
+ code,
83
+ kbd,
84
+ pre,
85
+ samp {
86
+ font-family: monospace, monospace;
87
+ font-size: 1em;
88
+ }
89
+
90
+ pre {
91
+ margin-top: 0;
92
+ margin-bottom: $paragraph-margin-y;
93
+ overflow: auto;
94
+ }
95
+
96
+
97
+
98
+ // Content grouping
99
+
100
+ figure {
101
+ margin: 0 0 $paragraph-margin-y;
102
+ }
103
+
104
+ hr {
105
+ box-sizing: content-box;
106
+ height: 0;
107
+ overflow: visible;
108
+ }
109
+
110
+
111
+
112
+ // Form
113
+
114
+ button,
115
+ input,
116
+ optgroup,
117
+ select,
118
+ textarea {
119
+ font-family: inherit;
120
+ font-size: inherit;
121
+ line-height: inherit;
122
+ margin: 0;
123
+ }
124
+
125
+ button,
126
+ html [type="button"],
127
+ [type="reset"],
128
+ [type="submit"] {
129
+ -webkit-appearance: button;
130
+ }
131
+
132
+ button::-moz-focus-inner,
133
+ [type="button"]::-moz-focus-inner,
134
+ [type="reset"]::-moz-focus-inner,
135
+ [type="submit"]::-moz-focus-inner {
136
+ border-style: none;
137
+ padding: 0;
138
+ }
139
+
140
+ button,
141
+ input {
142
+ overflow: visible;
143
+ }
144
+
145
+ button,
146
+ select {
147
+ text-transform: none;
148
+ }
149
+
150
+ button:focus {
151
+ // scss-lint:disable DuplicateProperty
152
+ outline: 1px dotted;
153
+ outline: 5px auto -webkit-focus-ring-color;
154
+ // scss-lint:enable DuplicateProperty
155
+ }
156
+
157
+ fieldset {
158
+ border: 0;
159
+ margin: 0;
160
+ min-width: 0;
161
+ padding: 0;
162
+ }
163
+
164
+ input {
165
+ &[type="checkbox"],
166
+ &[type="radio"] {
167
+ box-sizing: border-box;
168
+ padding: 0;
169
+ }
170
+
171
+ &[type="date"],
172
+ &[type="datetime-local"],
173
+ &[type="month"],
174
+ &[type="time"] {
175
+ -webkit-appearance: listbox;
176
+ }
177
+ }
178
+
179
+ label {
180
+ @include typography-caption;
181
+
182
+ color: $textfield-hint-color;
183
+ display: inline-block;
184
+ }
185
+
186
+ legend {
187
+ @include typography-headline;
188
+
189
+ color: inherit;
190
+ display: block;
191
+ margin-bottom: $headings-margin-y;
192
+ max-width: 100%;
193
+ padding: 0;
194
+ white-space: normal;
195
+ width: 100%;
196
+ }
197
+
198
+ output {
199
+ display: inline-block;
200
+ }
201
+
202
+ progress {
203
+ vertical-align: baseline;
204
+ }
205
+
206
+ select {
207
+ &[multiple],
208
+ &[size] {
209
+ overflow: auto;
210
+ }
211
+ }
212
+
213
+ textarea {
214
+ overflow: auto;
215
+ resize: vertical;
216
+ }
217
+
218
+ [type="number"]::-webkit-inner-spin-button,
219
+ [type="number"]::-webkit-outer-spin-button {
220
+ height: auto;
221
+ }
222
+
223
+ [type="search"] {
224
+ -webkit-appearance: none;
225
+ outline-offset: -2px;
226
+ }
227
+
228
+ [type="search"]::-webkit-search-cancel-button,
229
+ [type="search"]::-webkit-search-decoration {
230
+ -webkit-appearance: none;
231
+ }
232
+
233
+ ::-webkit-file-upload-button {
234
+ -webkit-appearance: button;
235
+ font: inherit;
236
+ }
237
+
238
+
239
+
240
+ // Hidden
241
+
242
+ [hidden] {
243
+ display: none !important;
244
+ }
245
+
246
+
247
+
248
+ // Images
249
+
250
+ img {
251
+ border-style: none;
252
+ vertical-align: middle;
253
+ }
254
+
255
+ svg:not(:root) {
256
+ overflow: hidden;
257
+ }
258
+
259
+
260
+
261
+ // Interactive
262
+
263
+ summary {
264
+ display: list-item;
265
+ }
266
+
267
+
268
+
269
+ // Link
270
+
271
+ a {
272
+ background-color: transparent;
273
+ color: $link-color;
274
+ text-decoration: $link-decoration;
275
+ -webkit-text-decoration-skip: objects;
276
+
277
+ @include active-focus-hover {
278
+ color: $link-color-hover;
279
+ text-decoration: $link-decoration-hover;
280
+ }
281
+ }
282
+
283
+ a:not([href]):not([tabindex]) {
284
+ color: inherit;
285
+ text-decoration: none;
286
+
287
+ @include active-focus-hover {
288
+ color: inherit;
289
+ text-decoration: none;
290
+ }
291
+
292
+ &:focus {
293
+ outline: 0;
294
+ }
295
+ }
296
+
297
+
298
+
299
+ // Scripting
300
+
301
+ template {
302
+ display: none;
303
+ }
304
+
305
+
306
+
307
+ // Table
308
+
309
+ caption {
310
+ @include text-align(left);
311
+ @include typography-caption;
312
+
313
+ caption-side: bottom;
314
+ color: $table-caption-color;
315
+ min-height: $table-thead-cell-height;
316
+ padding: $table-thead-padding-y $table-cell-padding-x-alt;
317
+ }
318
+
319
+ table {
320
+ border-collapse: collapse;
321
+ }
322
+
323
+ th {
324
+ text-align: inherit;
325
+ }
326
+
327
+
328
+
329
+ // Typography
330
+
331
+ abbr {
332
+ &[data-original-title],
333
+ &[title] {
334
+ border-bottom: 0;
335
+ cursor: help;
336
+ text-decoration: underline dotted;
337
+ }
338
+ }
339
+
340
+ address {
341
+ font-style: normal;
342
+ line-height: inherit;
343
+ margin-bottom: $paragraph-margin-y;
344
+ }
345
+
346
+ b,
347
+ strong {
348
+ font-weight: bolder;
349
+ }
350
+
351
+ blockquote {
352
+ margin: 0 0 $paragraph-margin-y;
353
+ }
354
+
355
+ dd {
356
+ margin-bottom: $headings-margin-y;
357
+ margin-left: 0;
358
+ }
359
+
360
+ dfn {
361
+ font-style: italic;
362
+ }
363
+
364
+ dl,
365
+ ol,
366
+ ul {
367
+ margin-top: 0;
368
+ margin-bottom: $paragraph-margin-y;
369
+ }
370
+
371
+ dt {
372
+ font-weight: $dt-font-weight;
373
+ }
374
+
375
+ h1,
376
+ h2,
377
+ h3,
378
+ h4,
379
+ h5,
380
+ h6 {
381
+ margin-top: 0;
382
+ margin-bottom: $headings-margin-y;
383
+ }
384
+
385
+ mark {
386
+ background-color: $mark-bg;
387
+ color: $mark-color;
388
+ }
389
+
390
+ ol ol,
391
+ ol ul,
392
+ ul ol,
393
+ ul ul {
394
+ margin-bottom: 0;
395
+ }
396
+
397
+ p {
398
+ margin-top: 0;
399
+ margin-bottom: $paragraph-margin-y;
400
+ }
401
+
402
+ small {
403
+ font-size: 80%;
404
+ }
405
+
406
+ sub,
407
+ sup {
408
+ font-size: 75%;
409
+ line-height: 0;
410
+ position: relative;
411
+ vertical-align: baseline;
412
+ }
413
+
414
+ sub {
415
+ bottom: -.25em;
416
+ }
417
+
418
+ sup {
419
+ top: -.5em;
420
+ }