administrate-bootstrap-theme 0.1.0 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -11
  3. data/Rakefile +10 -14
  4. data/app/assets/config/administrate-bootstrap-theme_manifest.js +1 -0
  5. data/app/assets/javascripts/administrate-bootstrap-theme/theme.js +2 -0
  6. data/app/assets/stylesheets/administrate-bootstrap-theme/_base.scss +17 -1
  7. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss +17 -3
  8. data/app/assets/stylesheets/administrate-bootstrap-theme/components/_form.scss +52 -16
  9. data/app/assets/stylesheets/administrate-bootstrap-theme/theme.scss +12 -0
  10. data/lib/administrate-bootstrap-theme/engine.rb +2 -0
  11. data/lib/administrate-bootstrap-theme/version.rb +1 -1
  12. data/node_modules/bootstrap/js/src/alert.js +141 -0
  13. data/node_modules/bootstrap/js/src/base-component.js +46 -0
  14. data/node_modules/bootstrap/js/src/button.js +95 -0
  15. data/node_modules/bootstrap/js/src/carousel.js +624 -0
  16. data/node_modules/bootstrap/js/src/collapse.js +410 -0
  17. data/node_modules/bootstrap/js/src/dom/data.js +57 -0
  18. data/node_modules/bootstrap/js/src/dom/event-handler.js +331 -0
  19. data/node_modules/bootstrap/js/src/dom/manipulator.js +80 -0
  20. data/node_modules/bootstrap/js/src/dom/selector-engine.js +75 -0
  21. data/node_modules/bootstrap/js/src/dropdown.js +543 -0
  22. data/node_modules/bootstrap/js/src/modal.js +582 -0
  23. data/node_modules/bootstrap/js/src/offcanvas.js +279 -0
  24. data/node_modules/bootstrap/js/src/popover.js +171 -0
  25. data/node_modules/bootstrap/js/src/scrollspy.js +319 -0
  26. data/node_modules/bootstrap/js/src/tab.js +220 -0
  27. data/node_modules/bootstrap/js/src/toast.js +219 -0
  28. data/node_modules/bootstrap/js/src/tooltip.js +802 -0
  29. data/node_modules/bootstrap/js/src/util/index.js +253 -0
  30. data/node_modules/bootstrap/js/src/util/sanitizer.js +127 -0
  31. data/node_modules/bootstrap/js/src/util/scrollbar.js +70 -0
  32. data/node_modules/bootstrap/scss/_accordion.scss +116 -0
  33. data/node_modules/bootstrap/scss/_alert.scss +57 -0
  34. data/node_modules/bootstrap/scss/_badge.scss +29 -0
  35. data/node_modules/bootstrap/scss/_breadcrumb.scss +28 -0
  36. data/node_modules/bootstrap/scss/_button-group.scss +139 -0
  37. data/node_modules/bootstrap/scss/_buttons.scss +111 -0
  38. data/node_modules/bootstrap/scss/_card.scss +215 -0
  39. data/node_modules/bootstrap/scss/_carousel.scss +229 -0
  40. data/node_modules/bootstrap/scss/_close.scss +40 -0
  41. data/node_modules/bootstrap/scss/_containers.scss +41 -0
  42. data/node_modules/bootstrap/scss/_dropdown.scss +246 -0
  43. data/node_modules/bootstrap/scss/_forms.scss +9 -0
  44. data/node_modules/bootstrap/scss/_functions.scss +205 -0
  45. data/node_modules/bootstrap/scss/_grid.scss +22 -0
  46. data/node_modules/bootstrap/scss/_helpers.scss +7 -0
  47. data/node_modules/bootstrap/scss/_images.scss +42 -0
  48. data/node_modules/bootstrap/scss/_list-group.scss +174 -0
  49. data/node_modules/bootstrap/scss/_mixins.scss +41 -0
  50. data/node_modules/bootstrap/scss/_modal.scss +237 -0
  51. data/node_modules/bootstrap/scss/_nav.scss +139 -0
  52. data/node_modules/bootstrap/scss/_navbar.scss +306 -0
  53. data/node_modules/bootstrap/scss/_offcanvas.scss +77 -0
  54. data/node_modules/bootstrap/scss/_pagination.scss +64 -0
  55. data/node_modules/bootstrap/scss/_popover.scss +158 -0
  56. data/node_modules/bootstrap/scss/_progress.scss +48 -0
  57. data/node_modules/bootstrap/scss/_reboot.scss +621 -0
  58. data/node_modules/bootstrap/scss/_root.scss +16 -0
  59. data/node_modules/bootstrap/scss/_spinners.scss +69 -0
  60. data/node_modules/bootstrap/scss/_tables.scss +150 -0
  61. data/node_modules/bootstrap/scss/_toasts.scss +51 -0
  62. data/node_modules/bootstrap/scss/_tooltip.scss +115 -0
  63. data/node_modules/bootstrap/scss/_transitions.scss +21 -0
  64. data/node_modules/bootstrap/scss/_type.scss +104 -0
  65. data/node_modules/bootstrap/scss/_utilities.scss +594 -0
  66. data/node_modules/bootstrap/scss/_variables.scss +1464 -0
  67. data/node_modules/bootstrap/scss/bootstrap-grid.scss +65 -0
  68. data/node_modules/bootstrap/scss/bootstrap-reboot.scss +15 -0
  69. data/node_modules/bootstrap/scss/bootstrap-utilities.scss +18 -0
  70. data/node_modules/bootstrap/scss/bootstrap.scss +52 -0
  71. data/node_modules/bootstrap/scss/forms/_floating-labels.scss +61 -0
  72. data/node_modules/bootstrap/scss/forms/_form-check.scss +152 -0
  73. data/node_modules/bootstrap/scss/forms/_form-control.scss +219 -0
  74. data/node_modules/bootstrap/scss/forms/_form-range.scss +91 -0
  75. data/node_modules/bootstrap/scss/forms/_form-select.scss +67 -0
  76. data/node_modules/bootstrap/scss/forms/_form-text.scss +11 -0
  77. data/node_modules/bootstrap/scss/forms/_input-group.scss +121 -0
  78. data/node_modules/bootstrap/scss/forms/_labels.scss +36 -0
  79. data/node_modules/bootstrap/scss/forms/_validation.scss +12 -0
  80. data/node_modules/bootstrap/scss/helpers/_clearfix.scss +3 -0
  81. data/node_modules/bootstrap/scss/helpers/_colored-links.scss +12 -0
  82. data/node_modules/bootstrap/scss/helpers/_position.scss +30 -0
  83. data/node_modules/bootstrap/scss/helpers/_ratio.scss +26 -0
  84. data/node_modules/bootstrap/scss/helpers/_stretched-link.scss +15 -0
  85. data/node_modules/bootstrap/scss/helpers/_text-truncation.scss +7 -0
  86. data/node_modules/bootstrap/scss/helpers/_visually-hidden.scss +8 -0
  87. data/node_modules/bootstrap/scss/mixins/_alert.scss +11 -0
  88. data/node_modules/bootstrap/scss/mixins/_border-radius.scss +78 -0
  89. data/node_modules/bootstrap/scss/mixins/_box-shadow.scss +18 -0
  90. data/node_modules/bootstrap/scss/mixins/_breakpoints.scss +127 -0
  91. data/node_modules/bootstrap/scss/mixins/_buttons.scss +133 -0
  92. data/node_modules/bootstrap/scss/mixins/_caret.scss +64 -0
  93. data/node_modules/bootstrap/scss/mixins/_clearfix.scss +9 -0
  94. data/node_modules/bootstrap/scss/mixins/_container.scss +9 -0
  95. data/node_modules/bootstrap/scss/mixins/_deprecate.scss +10 -0
  96. data/node_modules/bootstrap/scss/mixins/_forms.scss +134 -0
  97. data/node_modules/bootstrap/scss/mixins/_gradients.scss +47 -0
  98. data/node_modules/bootstrap/scss/mixins/_grid.scss +120 -0
  99. data/node_modules/bootstrap/scss/mixins/_image.scss +16 -0
  100. data/node_modules/bootstrap/scss/mixins/_list-group.scss +24 -0
  101. data/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
  102. data/node_modules/bootstrap/scss/mixins/_pagination.scss +31 -0
  103. data/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
  104. data/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
  105. data/node_modules/bootstrap/scss/mixins/_table-variants.scss +21 -0
  106. data/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  107. data/node_modules/bootstrap/scss/mixins/_transition.scss +26 -0
  108. data/node_modules/bootstrap/scss/mixins/_utilities.scss +68 -0
  109. data/node_modules/bootstrap/scss/mixins/_visually-hidden.scss +29 -0
  110. data/node_modules/bootstrap/scss/utilities/_api.scss +47 -0
  111. data/node_modules/bootstrap/scss/vendor/_rfs.scss +312 -0
  112. metadata +106 -19
@@ -0,0 +1,16 @@
1
+ :root {
2
+ // Custom variable values only support SassScript inside `#{}`.
3
+ @each $color, $value in $colors {
4
+ --#{$variable-prefix}#{$color}: #{$value};
5
+ }
6
+
7
+ @each $color, $value in $theme-colors {
8
+ --#{$variable-prefix}#{$color}: #{$value};
9
+ }
10
+
11
+ // Use `inspect` for lists so that quoted items keep the quotes.
12
+ // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
13
+ --#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
14
+ --#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};
15
+ --#{$variable-prefix}gradient: #{$gradient};
16
+ }
@@ -0,0 +1,69 @@
1
+ //
2
+ // Rotating border
3
+ //
4
+
5
+ // scss-docs-start spinner-border-keyframes
6
+ @keyframes spinner-border {
7
+ to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }
8
+ }
9
+ // scss-docs-end spinner-border-keyframes
10
+
11
+ .spinner-border {
12
+ display: inline-block;
13
+ width: $spinner-width;
14
+ height: $spinner-height;
15
+ vertical-align: text-bottom;
16
+ border: $spinner-border-width solid currentColor;
17
+ border-right-color: transparent;
18
+ // stylelint-disable-next-line property-disallowed-list
19
+ border-radius: 50%;
20
+ animation: $spinner-animation-speed linear infinite spinner-border;
21
+ }
22
+
23
+ .spinner-border-sm {
24
+ width: $spinner-width-sm;
25
+ height: $spinner-height-sm;
26
+ border-width: $spinner-border-width-sm;
27
+ }
28
+
29
+ //
30
+ // Growing circle
31
+ //
32
+
33
+ // scss-docs-start spinner-grow-keyframes
34
+ @keyframes spinner-grow {
35
+ 0% {
36
+ transform: scale(0);
37
+ }
38
+ 50% {
39
+ opacity: 1;
40
+ transform: none;
41
+ }
42
+ }
43
+ // scss-docs-end spinner-grow-keyframes
44
+
45
+ .spinner-grow {
46
+ display: inline-block;
47
+ width: $spinner-width;
48
+ height: $spinner-height;
49
+ vertical-align: text-bottom;
50
+ background-color: currentColor;
51
+ // stylelint-disable-next-line property-disallowed-list
52
+ border-radius: 50%;
53
+ opacity: 0;
54
+ animation: $spinner-animation-speed linear infinite spinner-grow;
55
+ }
56
+
57
+ .spinner-grow-sm {
58
+ width: $spinner-width-sm;
59
+ height: $spinner-height-sm;
60
+ }
61
+
62
+ @if $enable-reduced-motion {
63
+ @media (prefers-reduced-motion: reduce) {
64
+ .spinner-border,
65
+ .spinner-grow {
66
+ animation-duration: $spinner-animation-speed * 2;
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,150 @@
1
+ //
2
+ // Basic Bootstrap table
3
+ //
4
+
5
+ .table {
6
+ --#{$variable-prefix}table-bg: #{$table-bg};
7
+ --#{$variable-prefix}table-striped-color: #{$table-striped-color};
8
+ --#{$variable-prefix}table-striped-bg: #{$table-striped-bg};
9
+ --#{$variable-prefix}table-active-color: #{$table-active-color};
10
+ --#{$variable-prefix}table-active-bg: #{$table-active-bg};
11
+ --#{$variable-prefix}table-hover-color: #{$table-hover-color};
12
+ --#{$variable-prefix}table-hover-bg: #{$table-hover-bg};
13
+
14
+ width: 100%;
15
+ margin-bottom: $spacer;
16
+ color: $table-color;
17
+ vertical-align: $table-cell-vertical-align;
18
+ border-color: $table-border-color;
19
+
20
+ // Target th & td
21
+ // We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.
22
+ // We use the universal selectors here to simplify the selector (else we would need 6 different selectors).
23
+ // Another advantage is that this generates less code and makes the selector less specific making it easier to override.
24
+ // stylelint-disable-next-line selector-max-universal
25
+ > :not(caption) > * > * {
26
+ padding: $table-cell-padding-y $table-cell-padding-x;
27
+ background-color: var(--#{$variable-prefix}table-bg);
28
+ border-bottom-width: $table-border-width;
29
+ box-shadow: inset 0 0 0 9999px var(--#{$variable-prefix}table-accent-bg);
30
+ }
31
+
32
+ > tbody {
33
+ vertical-align: inherit;
34
+ }
35
+
36
+ > thead {
37
+ vertical-align: bottom;
38
+ }
39
+
40
+ // Highlight border color between thead, tbody and tfoot.
41
+ > :not(:last-child) > :last-child > * {
42
+ border-bottom-color: $table-group-separator-color;
43
+ }
44
+ }
45
+
46
+
47
+ //
48
+ // Change placement of captions with a class
49
+ //
50
+
51
+ .caption-top {
52
+ caption-side: top;
53
+ }
54
+
55
+
56
+ //
57
+ // Condensed table w/ half padding
58
+ //
59
+
60
+ .table-sm {
61
+ // stylelint-disable-next-line selector-max-universal
62
+ > :not(caption) > * > * {
63
+ padding: $table-cell-padding-y-sm $table-cell-padding-x-sm;
64
+ }
65
+ }
66
+
67
+
68
+ // Border versions
69
+ //
70
+ // Add or remove borders all around the table and between all the columns.
71
+ //
72
+ // When borders are added on all sides of the cells, the corners can render odd when
73
+ // these borders do not have the same color or if they are semi-transparent.
74
+ // Therefor we add top and border bottoms to the `tr`s and left and right borders
75
+ // to the `td`s or `th`s
76
+
77
+ .table-bordered {
78
+ > :not(caption) > * {
79
+ border-width: $table-border-width 0;
80
+
81
+ // stylelint-disable-next-line selector-max-universal
82
+ > * {
83
+ border-width: 0 $table-border-width;
84
+ }
85
+ }
86
+ }
87
+
88
+ .table-borderless {
89
+ // stylelint-disable-next-line selector-max-universal
90
+ > :not(caption) > * > * {
91
+ border-bottom-width: 0;
92
+ }
93
+ }
94
+
95
+ // Zebra-striping
96
+ //
97
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
98
+
99
+ .table-striped {
100
+ > tbody > tr:nth-of-type(#{$table-striped-order}) {
101
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-striped-bg);
102
+ color: var(--#{$variable-prefix}table-striped-color);
103
+ }
104
+ }
105
+
106
+ // Active table
107
+ //
108
+ // The `.table-active` class can be added to highlight rows or cells
109
+
110
+ .table-active {
111
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-active-bg);
112
+ color: var(--#{$variable-prefix}table-active-color);
113
+ }
114
+
115
+ // Hover effect
116
+ //
117
+ // Placed here since it has to come after the potential zebra striping
118
+
119
+ .table-hover {
120
+ > tbody > tr:hover {
121
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
122
+ color: var(--#{$variable-prefix}table-hover-color);
123
+ }
124
+ }
125
+
126
+
127
+ // Table variants
128
+ //
129
+ // Table variants set the table cell backgrounds, border colors
130
+ // and the colors of the striped, hovered & active tables
131
+
132
+ @each $color, $value in $table-variants {
133
+ @include table-variant($color, $value);
134
+ }
135
+
136
+ // Responsive tables
137
+ //
138
+ // Generate series of `.table-responsive-*` classes for configuring the screen
139
+ // size of where your table will overflow.
140
+
141
+ @each $breakpoint in map-keys($grid-breakpoints) {
142
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
143
+
144
+ @include media-breakpoint-down($breakpoint) {
145
+ .table-responsive#{$infix} {
146
+ overflow-x: auto;
147
+ -webkit-overflow-scrolling: touch;
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,51 @@
1
+ .toast {
2
+ width: $toast-max-width;
3
+ max-width: 100%;
4
+ @include font-size($toast-font-size);
5
+ color: $toast-color;
6
+ pointer-events: auto;
7
+ background-color: $toast-background-color;
8
+ background-clip: padding-box;
9
+ border: $toast-border-width solid $toast-border-color;
10
+ box-shadow: $toast-box-shadow;
11
+ @include border-radius($toast-border-radius);
12
+
13
+ &:not(.showing):not(.show) {
14
+ opacity: 0;
15
+ }
16
+
17
+ &.hide {
18
+ display: none;
19
+ }
20
+ }
21
+
22
+ .toast-container {
23
+ width: max-content;
24
+ max-width: 100%;
25
+ pointer-events: none;
26
+
27
+ > :not(:last-child) {
28
+ margin-bottom: $toast-spacing;
29
+ }
30
+ }
31
+
32
+ .toast-header {
33
+ display: flex;
34
+ align-items: center;
35
+ padding: $toast-padding-y $toast-padding-x;
36
+ color: $toast-header-color;
37
+ background-color: $toast-header-background-color;
38
+ background-clip: padding-box;
39
+ border-bottom: $toast-border-width solid $toast-header-border-color;
40
+ @include border-top-radius(subtract($toast-border-radius, $toast-border-width));
41
+
42
+ .btn-close {
43
+ margin-right: $toast-padding-x / -2;
44
+ margin-left: $toast-padding-x;
45
+ }
46
+ }
47
+
48
+ .toast-body {
49
+ padding: $toast-padding-x; // apply to both vertical and horizontal
50
+ word-wrap: break-word;
51
+ }
@@ -0,0 +1,115 @@
1
+ // Base class
2
+ .tooltip {
3
+ position: absolute;
4
+ z-index: $zindex-tooltip;
5
+ display: block;
6
+ margin: $tooltip-margin;
7
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
8
+ // So reset our font and text properties to avoid inheriting weird values.
9
+ @include reset-text();
10
+ @include font-size($tooltip-font-size);
11
+ // Allow breaking very long words so they don't overflow the tooltip's bounds
12
+ word-wrap: break-word;
13
+ opacity: 0;
14
+
15
+ &.show { opacity: $tooltip-opacity; }
16
+
17
+ .tooltip-arrow {
18
+ position: absolute;
19
+ display: block;
20
+ width: $tooltip-arrow-width;
21
+ height: $tooltip-arrow-height;
22
+
23
+ &::before {
24
+ position: absolute;
25
+ content: "";
26
+ border-color: transparent;
27
+ border-style: solid;
28
+ }
29
+ }
30
+ }
31
+
32
+ .bs-tooltip-top {
33
+ padding: $tooltip-arrow-height 0;
34
+
35
+ .tooltip-arrow {
36
+ bottom: 0;
37
+
38
+ &::before {
39
+ top: -1px;
40
+ border-width: $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
41
+ border-top-color: $tooltip-arrow-color;
42
+ }
43
+ }
44
+ }
45
+
46
+ .bs-tooltip-end {
47
+ padding: 0 $tooltip-arrow-height;
48
+
49
+ .tooltip-arrow {
50
+ left: 0;
51
+ width: $tooltip-arrow-height;
52
+ height: $tooltip-arrow-width;
53
+
54
+ &::before {
55
+ right: -1px;
56
+ border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
57
+ border-right-color: $tooltip-arrow-color;
58
+ }
59
+ }
60
+ }
61
+
62
+ .bs-tooltip-bottom {
63
+ padding: $tooltip-arrow-height 0;
64
+
65
+ .tooltip-arrow {
66
+ top: 0;
67
+
68
+ &::before {
69
+ bottom: -1px;
70
+ border-width: 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
71
+ border-bottom-color: $tooltip-arrow-color;
72
+ }
73
+ }
74
+ }
75
+
76
+ .bs-tooltip-start {
77
+ padding: 0 $tooltip-arrow-height;
78
+
79
+ .tooltip-arrow {
80
+ right: 0;
81
+ width: $tooltip-arrow-height;
82
+ height: $tooltip-arrow-width;
83
+
84
+ &::before {
85
+ left: -1px;
86
+ border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
87
+ border-left-color: $tooltip-arrow-color;
88
+ }
89
+ }
90
+ }
91
+
92
+ .bs-tooltip-auto {
93
+ &[data-popper-placement^="top"] {
94
+ @extend .bs-tooltip-top;
95
+ }
96
+ &[data-popper-placement^="right"] {
97
+ @extend .bs-tooltip-end;
98
+ }
99
+ &[data-popper-placement^="bottom"] {
100
+ @extend .bs-tooltip-bottom;
101
+ }
102
+ &[data-popper-placement^="left"] {
103
+ @extend .bs-tooltip-start;
104
+ }
105
+ }
106
+
107
+ // Wrapper for the tooltip content
108
+ .tooltip-inner {
109
+ max-width: $tooltip-max-width;
110
+ padding: $tooltip-padding-y $tooltip-padding-x;
111
+ color: $tooltip-color;
112
+ text-align: center;
113
+ background-color: $tooltip-bg;
114
+ @include border-radius($tooltip-border-radius);
115
+ }
@@ -0,0 +1,21 @@
1
+ .fade {
2
+ @include transition($transition-fade);
3
+
4
+ &:not(.show) {
5
+ opacity: 0;
6
+ }
7
+ }
8
+
9
+ // scss-docs-start collapse-classes
10
+ .collapse {
11
+ &:not(.show) {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .collapsing {
17
+ height: 0;
18
+ overflow: hidden;
19
+ @include transition($transition-collapse);
20
+ }
21
+ // scss-docs-end collapse-classes
@@ -0,0 +1,104 @@
1
+ //
2
+ // Headings
3
+ //
4
+ .h1 {
5
+ @extend h1;
6
+ }
7
+
8
+ .h2 {
9
+ @extend h2;
10
+ }
11
+
12
+ .h3 {
13
+ @extend h3;
14
+ }
15
+
16
+ .h4 {
17
+ @extend h4;
18
+ }
19
+
20
+ .h5 {
21
+ @extend h5;
22
+ }
23
+
24
+ .h6 {
25
+ @extend h6;
26
+ }
27
+
28
+
29
+ .lead {
30
+ @include font-size($lead-font-size);
31
+ font-weight: $lead-font-weight;
32
+ }
33
+
34
+ // Type display classes
35
+ @each $display, $font-size in $display-font-sizes {
36
+ .display-#{$display} {
37
+ @include font-size($font-size);
38
+ font-weight: $display-font-weight;
39
+ line-height: $display-line-height;
40
+ }
41
+ }
42
+
43
+ //
44
+ // Emphasis
45
+ //
46
+ .small {
47
+ @extend small;
48
+ }
49
+
50
+ .mark {
51
+ @extend mark;
52
+ }
53
+
54
+ //
55
+ // Lists
56
+ //
57
+
58
+ .list-unstyled {
59
+ @include list-unstyled();
60
+ }
61
+
62
+ // Inline turns list items into inline-block
63
+ .list-inline {
64
+ @include list-unstyled();
65
+ }
66
+ .list-inline-item {
67
+ display: inline-block;
68
+
69
+ &:not(:last-child) {
70
+ margin-right: $list-inline-padding;
71
+ }
72
+ }
73
+
74
+
75
+ //
76
+ // Misc
77
+ //
78
+
79
+ // Builds on `abbr`
80
+ .initialism {
81
+ @include font-size($initialism-font-size);
82
+ text-transform: uppercase;
83
+ }
84
+
85
+ // Blockquotes
86
+ .blockquote {
87
+ margin-bottom: $blockquote-margin-y;
88
+ @include font-size($blockquote-font-size);
89
+
90
+ > :last-child {
91
+ margin-bottom: 0;
92
+ }
93
+ }
94
+
95
+ .blockquote-footer {
96
+ margin-top: -$blockquote-margin-y;
97
+ margin-bottom: $blockquote-margin-y;
98
+ @include font-size($blockquote-footer-font-size);
99
+ color: $blockquote-footer-color;
100
+
101
+ &::before {
102
+ content: "\2014\00A0"; // em dash, nbsp
103
+ }
104
+ }