nex-bootstrap 4.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +7 -0
  2. data/.gitattributes +14 -0
  3. data/.gitignore +19 -0
  4. data/.travis.yml +31 -0
  5. data/CHANGELOG.md +25 -0
  6. data/Gemfile +11 -0
  7. data/LICENSE +21 -0
  8. data/README.md +109 -0
  9. data/Rakefile +63 -0
  10. data/assets/javascripts/bootstrap/alert.js +183 -0
  11. data/assets/javascripts/bootstrap/button.js +225 -0
  12. data/assets/javascripts/bootstrap/carousel.js +640 -0
  13. data/assets/javascripts/bootstrap/collapse.js +394 -0
  14. data/assets/javascripts/bootstrap/dropdown.js +557 -0
  15. data/assets/javascripts/bootstrap/modal.js +660 -0
  16. data/assets/javascripts/bootstrap/popover.js +243 -0
  17. data/assets/javascripts/bootstrap/scrollspy.js +337 -0
  18. data/assets/javascripts/bootstrap/tab.js +259 -0
  19. data/assets/javascripts/bootstrap/toast.js +265 -0
  20. data/assets/javascripts/bootstrap/tooltip.js +886 -0
  21. data/assets/javascripts/bootstrap/util.js +189 -0
  22. data/assets/javascripts/bootstrap-sprockets.js +12 -0
  23. data/assets/javascripts/bootstrap.js +4356 -0
  24. data/assets/javascripts/bootstrap.min.js +6 -0
  25. data/assets/stylesheets/_bootstrap-grid.scss +30 -0
  26. data/assets/stylesheets/_bootstrap-reboot.scss +12 -0
  27. data/assets/stylesheets/_bootstrap.scss +44 -0
  28. data/assets/stylesheets/bootstrap/_alert.scss +52 -0
  29. data/assets/stylesheets/bootstrap/_badge.scss +54 -0
  30. data/assets/stylesheets/bootstrap/_breadcrumb.scss +42 -0
  31. data/assets/stylesheets/bootstrap/_button-group.scss +163 -0
  32. data/assets/stylesheets/bootstrap/_buttons.scss +142 -0
  33. data/assets/stylesheets/bootstrap/_card.scss +286 -0
  34. data/assets/stylesheets/bootstrap/_carousel.scss +200 -0
  35. data/assets/stylesheets/bootstrap/_close.scss +40 -0
  36. data/assets/stylesheets/bootstrap/_code.scss +48 -0
  37. data/assets/stylesheets/bootstrap/_custom-forms.scss +526 -0
  38. data/assets/stylesheets/bootstrap/_dropdown.scss +192 -0
  39. data/assets/stylesheets/bootstrap/_forms.scss +347 -0
  40. data/assets/stylesheets/bootstrap/_functions.scss +190 -0
  41. data/assets/stylesheets/bootstrap/_grid.scss +73 -0
  42. data/assets/stylesheets/bootstrap/_images.scss +42 -0
  43. data/assets/stylesheets/bootstrap/_input-group.scss +211 -0
  44. data/assets/stylesheets/bootstrap/_jumbotron.scss +17 -0
  45. data/assets/stylesheets/bootstrap/_list-group.scss +154 -0
  46. data/assets/stylesheets/bootstrap/_media.scss +8 -0
  47. data/assets/stylesheets/bootstrap/_mixins.scss +47 -0
  48. data/assets/stylesheets/bootstrap/_modal.scss +240 -0
  49. data/assets/stylesheets/bootstrap/_nav.scss +125 -0
  50. data/assets/stylesheets/bootstrap/_navbar.scss +332 -0
  51. data/assets/stylesheets/bootstrap/_pagination.scss +74 -0
  52. data/assets/stylesheets/bootstrap/_popover.scss +170 -0
  53. data/assets/stylesheets/bootstrap/_print.scss +132 -0
  54. data/assets/stylesheets/bootstrap/_progress.scss +47 -0
  55. data/assets/stylesheets/bootstrap/_reboot.scss +484 -0
  56. data/assets/stylesheets/bootstrap/_root.scss +19 -0
  57. data/assets/stylesheets/bootstrap/_spinners.scss +65 -0
  58. data/assets/stylesheets/bootstrap/_tables.scss +185 -0
  59. data/assets/stylesheets/bootstrap/_toasts.scss +46 -0
  60. data/assets/stylesheets/bootstrap/_tooltip.scss +115 -0
  61. data/assets/stylesheets/bootstrap/_transitions.scss +26 -0
  62. data/assets/stylesheets/bootstrap/_type.scss +125 -0
  63. data/assets/stylesheets/bootstrap/_utilities.scss +18 -0
  64. data/assets/stylesheets/bootstrap/_variables.scss +1149 -0
  65. data/assets/stylesheets/bootstrap/mixins/_alert.scss +13 -0
  66. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +23 -0
  67. data/assets/stylesheets/bootstrap/mixins/_badge.scss +17 -0
  68. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +76 -0
  69. data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +20 -0
  70. data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +123 -0
  71. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +110 -0
  72. data/assets/stylesheets/bootstrap/mixins/_caret.scss +62 -0
  73. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +7 -0
  74. data/assets/stylesheets/bootstrap/mixins/_deprecate.scss +10 -0
  75. data/assets/stylesheets/bootstrap/mixins/_float.scss +14 -0
  76. data/assets/stylesheets/bootstrap/mixins/_forms.scss +195 -0
  77. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +45 -0
  78. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +80 -0
  79. data/assets/stylesheets/bootstrap/mixins/_grid.scss +69 -0
  80. data/assets/stylesheets/bootstrap/mixins/_hover.scss +37 -0
  81. data/assets/stylesheets/bootstrap/mixins/_image.scss +36 -0
  82. data/assets/stylesheets/bootstrap/mixins/_list-group.scss +21 -0
  83. data/assets/stylesheets/bootstrap/mixins/_lists.scss +7 -0
  84. data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +11 -0
  85. data/assets/stylesheets/bootstrap/mixins/_pagination.scss +22 -0
  86. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +17 -0
  87. data/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  88. data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +34 -0
  89. data/assets/stylesheets/bootstrap/mixins/_size.scss +7 -0
  90. data/assets/stylesheets/bootstrap/mixins/_table-row.scss +39 -0
  91. data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +17 -0
  92. data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +11 -0
  93. data/assets/stylesheets/bootstrap/mixins/_text-truncate.scss +8 -0
  94. data/assets/stylesheets/bootstrap/mixins/_transition.scss +26 -0
  95. data/assets/stylesheets/bootstrap/mixins/_visibility.scss +8 -0
  96. data/assets/stylesheets/bootstrap/utilities/_align.scss +8 -0
  97. data/assets/stylesheets/bootstrap/utilities/_background.scss +19 -0
  98. data/assets/stylesheets/bootstrap/utilities/_borders.scss +75 -0
  99. data/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
  100. data/assets/stylesheets/bootstrap/utilities/_display.scss +26 -0
  101. data/assets/stylesheets/bootstrap/utilities/_embed.scss +39 -0
  102. data/assets/stylesheets/bootstrap/utilities/_flex.scss +51 -0
  103. data/assets/stylesheets/bootstrap/utilities/_float.scss +11 -0
  104. data/assets/stylesheets/bootstrap/utilities/_interactions.scss +5 -0
  105. data/assets/stylesheets/bootstrap/utilities/_overflow.scss +5 -0
  106. data/assets/stylesheets/bootstrap/utilities/_position.scss +32 -0
  107. data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
  108. data/assets/stylesheets/bootstrap/utilities/_shadows.scss +6 -0
  109. data/assets/stylesheets/bootstrap/utilities/_sizing.scss +20 -0
  110. data/assets/stylesheets/bootstrap/utilities/_spacing.scss +73 -0
  111. data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +19 -0
  112. data/assets/stylesheets/bootstrap/utilities/_text.scss +72 -0
  113. data/assets/stylesheets/bootstrap/utilities/_visibility.scss +13 -0
  114. data/assets/stylesheets/bootstrap/vendor/_rfs.scss +228 -0
  115. data/bootstrap.gemspec +38 -0
  116. data/lib/bootstrap/engine.rb +15 -0
  117. data/lib/bootstrap/version.rb +6 -0
  118. data/lib/bootstrap.rb +75 -0
  119. data/tasks/updater/js.rb +68 -0
  120. data/tasks/updater/logger.rb +57 -0
  121. data/tasks/updater/network.rb +103 -0
  122. data/tasks/updater/scss.rb +26 -0
  123. data/tasks/updater.rb +67 -0
  124. data/test/dummy_rails/README.rdoc +3 -0
  125. data/test/dummy_rails/Rakefile +6 -0
  126. data/test/dummy_rails/app/assets/config/manifest.js +3 -0
  127. data/test/dummy_rails/app/assets/images/.keep +0 -0
  128. data/test/dummy_rails/app/assets/javascripts/application.js +7 -0
  129. data/test/dummy_rails/app/assets/stylesheets/.browserslistrc +1 -0
  130. data/test/dummy_rails/app/assets/stylesheets/application.sass +4 -0
  131. data/test/dummy_rails/app/controllers/application_controller.rb +5 -0
  132. data/test/dummy_rails/app/controllers/pages_controller.rb +4 -0
  133. data/test/dummy_rails/app/helpers/application_helper.rb +2 -0
  134. data/test/dummy_rails/app/views/layouts/application.html.erb +14 -0
  135. data/test/dummy_rails/app/views/pages/root.html.slim +58 -0
  136. data/test/dummy_rails/config/application.rb +35 -0
  137. data/test/dummy_rails/config/boot.rb +5 -0
  138. data/test/dummy_rails/config/environment.rb +5 -0
  139. data/test/dummy_rails/config/environments/development.rb +23 -0
  140. data/test/dummy_rails/config/environments/production.rb +82 -0
  141. data/test/dummy_rails/config/environments/test.rb +38 -0
  142. data/test/dummy_rails/config/initializers/backtrace_silencers.rb +7 -0
  143. data/test/dummy_rails/config/initializers/filter_parameter_logging.rb +4 -0
  144. data/test/dummy_rails/config/initializers/inflections.rb +16 -0
  145. data/test/dummy_rails/config/initializers/mime_types.rb +5 -0
  146. data/test/dummy_rails/config/initializers/secret_token.rb +18 -0
  147. data/test/dummy_rails/config/initializers/session_store.rb +3 -0
  148. data/test/dummy_rails/config/initializers/wrap_parameters.rb +14 -0
  149. data/test/dummy_rails/config/locales/en.yml +3 -0
  150. data/test/dummy_rails/config/locales/es.yml +3 -0
  151. data/test/dummy_rails/config/routes.rb +3 -0
  152. data/test/dummy_rails/config.ru +4 -0
  153. data/test/dummy_rails/log/.keep +0 -0
  154. data/test/gemfiles/rails_4_2.gemfile +7 -0
  155. data/test/gemfiles/rails_5_0.gemfile +8 -0
  156. data/test/gemfiles/rails_5_1.gemfile +8 -0
  157. data/test/gemfiles/rails_6_0.gemfile +7 -0
  158. data/test/rails_test.rb +24 -0
  159. data/test/support/dummy_rails_integration.rb +31 -0
  160. data/test/support/reporting.rb +27 -0
  161. data/test/test_helper.rb +41 -0
  162. data/test/test_helper_rails.rb +6 -0
  163. metadata +445 -0
@@ -0,0 +1,65 @@
1
+ //
2
+ // Rotating border
3
+ //
4
+
5
+ @keyframes spinner-border {
6
+ to { transform: rotate(360deg); }
7
+ }
8
+
9
+ .spinner-border {
10
+ display: inline-block;
11
+ width: $spinner-width;
12
+ height: $spinner-height;
13
+ vertical-align: $spinner-vertical-align;
14
+ border: $spinner-border-width solid currentcolor;
15
+ border-right-color: transparent;
16
+ // stylelint-disable-next-line property-disallowed-list
17
+ border-radius: 50%;
18
+ animation: .75s linear infinite spinner-border;
19
+ }
20
+
21
+ .spinner-border-sm {
22
+ width: $spinner-width-sm;
23
+ height: $spinner-height-sm;
24
+ border-width: $spinner-border-width-sm;
25
+ }
26
+
27
+ //
28
+ // Growing circle
29
+ //
30
+
31
+ @keyframes spinner-grow {
32
+ 0% {
33
+ transform: scale(0);
34
+ }
35
+ 50% {
36
+ opacity: 1;
37
+ transform: none;
38
+ }
39
+ }
40
+
41
+ .spinner-grow {
42
+ display: inline-block;
43
+ width: $spinner-width;
44
+ height: $spinner-height;
45
+ vertical-align: $spinner-vertical-align;
46
+ background-color: currentcolor;
47
+ // stylelint-disable-next-line property-disallowed-list
48
+ border-radius: 50%;
49
+ opacity: 0;
50
+ animation: .75s linear infinite spinner-grow;
51
+ }
52
+
53
+ .spinner-grow-sm {
54
+ width: $spinner-width-sm;
55
+ height: $spinner-height-sm;
56
+ }
57
+
58
+ @if $enable-prefers-reduced-motion-media-query {
59
+ @media (prefers-reduced-motion: reduce) {
60
+ .spinner-border,
61
+ .spinner-grow {
62
+ animation-duration: 1.5s;
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,185 @@
1
+ //
2
+ // Basic Bootstrap table
3
+ //
4
+
5
+ .table {
6
+ width: 100%;
7
+ margin-bottom: $spacer;
8
+ color: $table-color;
9
+ background-color: $table-bg; // Reset for nesting within parents with `background-color`.
10
+
11
+ th,
12
+ td {
13
+ padding: $table-cell-padding;
14
+ vertical-align: top;
15
+ border-top: $table-border-width solid $table-border-color;
16
+ }
17
+
18
+ thead th {
19
+ vertical-align: bottom;
20
+ border-bottom: (2 * $table-border-width) solid $table-border-color;
21
+ }
22
+
23
+ tbody + tbody {
24
+ border-top: (2 * $table-border-width) solid $table-border-color;
25
+ }
26
+ }
27
+
28
+
29
+ //
30
+ // Condensed table w/ half padding
31
+ //
32
+
33
+ .table-sm {
34
+ th,
35
+ td {
36
+ padding: $table-cell-padding-sm;
37
+ }
38
+ }
39
+
40
+
41
+ // Border versions
42
+ //
43
+ // Add or remove borders all around the table and between all the columns.
44
+
45
+ .table-bordered {
46
+ border: $table-border-width solid $table-border-color;
47
+
48
+ th,
49
+ td {
50
+ border: $table-border-width solid $table-border-color;
51
+ }
52
+
53
+ thead {
54
+ th,
55
+ td {
56
+ border-bottom-width: 2 * $table-border-width;
57
+ }
58
+ }
59
+ }
60
+
61
+ .table-borderless {
62
+ th,
63
+ td,
64
+ thead th,
65
+ tbody + tbody {
66
+ border: 0;
67
+ }
68
+ }
69
+
70
+ // Zebra-striping
71
+ //
72
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
73
+
74
+ .table-striped {
75
+ tbody tr:nth-of-type(#{$table-striped-order}) {
76
+ background-color: $table-accent-bg;
77
+ }
78
+ }
79
+
80
+
81
+ // Hover effect
82
+ //
83
+ // Placed here since it has to come after the potential zebra striping
84
+
85
+ .table-hover {
86
+ tbody tr {
87
+ @include hover() {
88
+ color: $table-hover-color;
89
+ background-color: $table-hover-bg;
90
+ }
91
+ }
92
+ }
93
+
94
+
95
+ // Table backgrounds
96
+ //
97
+ // Exact selectors below required to override `.table-striped` and prevent
98
+ // inheritance to nested tables.
99
+
100
+ @each $color, $value in $theme-colors {
101
+ @include table-row-variant($color, theme-color-level($color, $table-bg-level), theme-color-level($color, $table-border-level));
102
+ }
103
+
104
+ @include table-row-variant(active, $table-active-bg);
105
+
106
+
107
+ // Dark styles
108
+ //
109
+ // Same table markup, but inverted color scheme: dark background and light text.
110
+
111
+ // stylelint-disable-next-line no-duplicate-selectors
112
+ .table {
113
+ .thead-dark {
114
+ th {
115
+ color: $table-dark-color;
116
+ background-color: $table-dark-bg;
117
+ border-color: $table-dark-border-color;
118
+ }
119
+ }
120
+
121
+ .thead-light {
122
+ th {
123
+ color: $table-head-color;
124
+ background-color: $table-head-bg;
125
+ border-color: $table-border-color;
126
+ }
127
+ }
128
+ }
129
+
130
+ .table-dark {
131
+ color: $table-dark-color;
132
+ background-color: $table-dark-bg;
133
+
134
+ th,
135
+ td,
136
+ thead th {
137
+ border-color: $table-dark-border-color;
138
+ }
139
+
140
+ &.table-bordered {
141
+ border: 0;
142
+ }
143
+
144
+ &.table-striped {
145
+ tbody tr:nth-of-type(#{$table-striped-order}) {
146
+ background-color: $table-dark-accent-bg;
147
+ }
148
+ }
149
+
150
+ &.table-hover {
151
+ tbody tr {
152
+ @include hover() {
153
+ color: $table-dark-hover-color;
154
+ background-color: $table-dark-hover-bg;
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+
161
+ // Responsive tables
162
+ //
163
+ // Generate series of `.table-responsive-*` classes for configuring the screen
164
+ // size of where your table will overflow.
165
+
166
+ .table-responsive {
167
+ @each $breakpoint in map-keys($grid-breakpoints) {
168
+ $next: breakpoint-next($breakpoint, $grid-breakpoints);
169
+ $infix: breakpoint-infix($next, $grid-breakpoints);
170
+
171
+ &#{$infix} {
172
+ @include media-breakpoint-down($breakpoint) {
173
+ display: block;
174
+ width: 100%;
175
+ overflow-x: auto;
176
+ -webkit-overflow-scrolling: touch;
177
+
178
+ // Prevent double border on horizontal scroll due to use of `display: block;`
179
+ > .table-bordered {
180
+ border: 0;
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
@@ -0,0 +1,46 @@
1
+ .toast {
2
+ // Prevents from shrinking in IE11, when in a flex container
3
+ // See https://github.com/twbs/bootstrap/issues/28341
4
+ flex-basis: $toast-max-width;
5
+ max-width: $toast-max-width;
6
+ @include font-size($toast-font-size);
7
+ color: $toast-color;
8
+ background-color: $toast-background-color;
9
+ background-clip: padding-box;
10
+ border: $toast-border-width solid $toast-border-color;
11
+ box-shadow: $toast-box-shadow;
12
+ opacity: 0;
13
+ @include border-radius($toast-border-radius);
14
+
15
+ &:not(:last-child) {
16
+ margin-bottom: $toast-padding-x;
17
+ }
18
+
19
+ &.showing {
20
+ opacity: 1;
21
+ }
22
+
23
+ &.show {
24
+ display: block;
25
+ opacity: 1;
26
+ }
27
+
28
+ &.hide {
29
+ display: none;
30
+ }
31
+ }
32
+
33
+ .toast-header {
34
+ display: flex;
35
+ align-items: center;
36
+ padding: $toast-padding-y $toast-padding-x;
37
+ color: $toast-header-color;
38
+ background-color: $toast-header-background-color;
39
+ background-clip: padding-box;
40
+ border-bottom: $toast-border-width solid $toast-header-border-color;
41
+ @include border-top-radius(subtract($toast-border-radius, $toast-border-width));
42
+ }
43
+
44
+ .toast-body {
45
+ padding: $toast-padding-x; // apply to both vertical and horizontal
46
+ }
@@ -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
+ .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
+ .arrow {
36
+ bottom: 0;
37
+
38
+ &::before {
39
+ top: 0;
40
+ border-width: $tooltip-arrow-height ($tooltip-arrow-width * .5) 0;
41
+ border-top-color: $tooltip-arrow-color;
42
+ }
43
+ }
44
+ }
45
+
46
+ .bs-tooltip-right {
47
+ padding: 0 $tooltip-arrow-height;
48
+
49
+ .arrow {
50
+ left: 0;
51
+ width: $tooltip-arrow-height;
52
+ height: $tooltip-arrow-width;
53
+
54
+ &::before {
55
+ right: 0;
56
+ border-width: ($tooltip-arrow-width * .5) $tooltip-arrow-height ($tooltip-arrow-width * .5) 0;
57
+ border-right-color: $tooltip-arrow-color;
58
+ }
59
+ }
60
+ }
61
+
62
+ .bs-tooltip-bottom {
63
+ padding: $tooltip-arrow-height 0;
64
+
65
+ .arrow {
66
+ top: 0;
67
+
68
+ &::before {
69
+ bottom: 0;
70
+ border-width: 0 ($tooltip-arrow-width * .5) $tooltip-arrow-height;
71
+ border-bottom-color: $tooltip-arrow-color;
72
+ }
73
+ }
74
+ }
75
+
76
+ .bs-tooltip-left {
77
+ padding: 0 $tooltip-arrow-height;
78
+
79
+ .arrow {
80
+ right: 0;
81
+ width: $tooltip-arrow-height;
82
+ height: $tooltip-arrow-width;
83
+
84
+ &::before {
85
+ left: 0;
86
+ border-width: ($tooltip-arrow-width * .5) 0 ($tooltip-arrow-width * .5) $tooltip-arrow-height;
87
+ border-left-color: $tooltip-arrow-color;
88
+ }
89
+ }
90
+ }
91
+
92
+ .bs-tooltip-auto {
93
+ &[x-placement^="top"] {
94
+ @extend .bs-tooltip-top;
95
+ }
96
+ &[x-placement^="right"] {
97
+ @extend .bs-tooltip-right;
98
+ }
99
+ &[x-placement^="bottom"] {
100
+ @extend .bs-tooltip-bottom;
101
+ }
102
+ &[x-placement^="left"] {
103
+ @extend .bs-tooltip-left;
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,26 @@
1
+ .fade {
2
+ @include transition($transition-fade);
3
+
4
+ &:not(.show) {
5
+ opacity: 0;
6
+ }
7
+ }
8
+
9
+ .collapse {
10
+ &:not(.show) {
11
+ display: none;
12
+ }
13
+ }
14
+
15
+ .collapsing {
16
+ position: relative;
17
+ height: 0;
18
+ overflow: hidden;
19
+ @include transition($transition-collapse);
20
+
21
+ &.width {
22
+ width: 0;
23
+ height: auto;
24
+ @include transition($transition-collapse-width);
25
+ }
26
+ }
@@ -0,0 +1,125 @@
1
+ // stylelint-disable selector-list-comma-newline-after
2
+
3
+ //
4
+ // Headings
5
+ //
6
+
7
+ h1, h2, h3, h4, h5, h6,
8
+ .h1, .h2, .h3, .h4, .h5, .h6 {
9
+ margin-bottom: $headings-margin-bottom;
10
+ font-family: $headings-font-family;
11
+ font-weight: $headings-font-weight;
12
+ line-height: $headings-line-height;
13
+ color: $headings-color;
14
+ }
15
+
16
+ h1, .h1 { @include font-size($h1-font-size); }
17
+ h2, .h2 { @include font-size($h2-font-size); }
18
+ h3, .h3 { @include font-size($h3-font-size); }
19
+ h4, .h4 { @include font-size($h4-font-size); }
20
+ h5, .h5 { @include font-size($h5-font-size); }
21
+ h6, .h6 { @include font-size($h6-font-size); }
22
+
23
+ .lead {
24
+ @include font-size($lead-font-size);
25
+ font-weight: $lead-font-weight;
26
+ }
27
+
28
+ // Type display classes
29
+ .display-1 {
30
+ @include font-size($display1-size);
31
+ font-weight: $display1-weight;
32
+ line-height: $display-line-height;
33
+ }
34
+ .display-2 {
35
+ @include font-size($display2-size);
36
+ font-weight: $display2-weight;
37
+ line-height: $display-line-height;
38
+ }
39
+ .display-3 {
40
+ @include font-size($display3-size);
41
+ font-weight: $display3-weight;
42
+ line-height: $display-line-height;
43
+ }
44
+ .display-4 {
45
+ @include font-size($display4-size);
46
+ font-weight: $display4-weight;
47
+ line-height: $display-line-height;
48
+ }
49
+
50
+
51
+ //
52
+ // Horizontal rules
53
+ //
54
+
55
+ hr {
56
+ margin-top: $hr-margin-y;
57
+ margin-bottom: $hr-margin-y;
58
+ border: 0;
59
+ border-top: $hr-border-width solid $hr-border-color;
60
+ }
61
+
62
+
63
+ //
64
+ // Emphasis
65
+ //
66
+
67
+ small,
68
+ .small {
69
+ @include font-size($small-font-size);
70
+ font-weight: $font-weight-normal;
71
+ }
72
+
73
+ mark,
74
+ .mark {
75
+ padding: $mark-padding;
76
+ background-color: $mark-bg;
77
+ }
78
+
79
+
80
+ //
81
+ // Lists
82
+ //
83
+
84
+ .list-unstyled {
85
+ @include list-unstyled();
86
+ }
87
+
88
+ // Inline turns list items into inline-block
89
+ .list-inline {
90
+ @include list-unstyled();
91
+ }
92
+ .list-inline-item {
93
+ display: inline-block;
94
+
95
+ &:not(:last-child) {
96
+ margin-right: $list-inline-padding;
97
+ }
98
+ }
99
+
100
+
101
+ //
102
+ // Misc
103
+ //
104
+
105
+ // Builds on `abbr`
106
+ .initialism {
107
+ @include font-size(90%);
108
+ text-transform: uppercase;
109
+ }
110
+
111
+ // Blockquotes
112
+ .blockquote {
113
+ margin-bottom: $spacer;
114
+ @include font-size($blockquote-font-size);
115
+ }
116
+
117
+ .blockquote-footer {
118
+ display: block;
119
+ @include font-size($blockquote-small-font-size);
120
+ color: $blockquote-small-color;
121
+
122
+ &::before {
123
+ content: "\2014\00A0"; // em dash, nbsp
124
+ }
125
+ }
@@ -0,0 +1,18 @@
1
+ @import "utilities/align";
2
+ @import "utilities/background";
3
+ @import "utilities/borders";
4
+ @import "utilities/clearfix";
5
+ @import "utilities/display";
6
+ @import "utilities/embed";
7
+ @import "utilities/flex";
8
+ @import "utilities/float";
9
+ @import "utilities/interactions";
10
+ @import "utilities/overflow";
11
+ @import "utilities/position";
12
+ @import "utilities/screenreaders";
13
+ @import "utilities/shadows";
14
+ @import "utilities/sizing";
15
+ @import "utilities/spacing";
16
+ @import "utilities/stretched-link";
17
+ @import "utilities/text";
18
+ @import "utilities/visibility";