nitro_sg 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/fonts/fontawesome.js +1978 -0
  3. data/fonts/regular.js +1217 -0
  4. data/lib/nitro_sg/version.rb +1 -1
  5. data/sass-mixins/_global.scss +415 -0
  6. data/sass-mixins/_normalize.scss +424 -0
  7. data/sass-mixins/_print.scss +101 -0
  8. data/sass-mixins/application.scss +29 -0
  9. data/sass-mixins/application.scss.flow +1592 -0
  10. data/sass-mixins/base-mixins/_all.scss +11 -0
  11. data/sass-mixins/base-mixins/_all.scss.flow +6 -0
  12. data/sass-mixins/base-mixins/_border-radius.scss +25 -0
  13. data/sass-mixins/base-mixins/_breakpoints.scss +95 -0
  14. data/sass-mixins/base-mixins/_color.sass +22 -0
  15. data/sass-mixins/base-mixins/_forms.scss +33 -0
  16. data/sass-mixins/base-mixins/_general.scss +599 -0
  17. data/sass-mixins/base-mixins/_grid-framework.scss +81 -0
  18. data/sass-mixins/base-mixins/_grid.scss +126 -0
  19. data/sass-mixins/base-mixins/_hover.scss +26 -0
  20. data/sass-mixins/base-mixins/_images.scss +33 -0
  21. data/sass-mixins/base-mixins/_media-queries.sass +58 -0
  22. data/sass-mixins/base-mixins/_type.scss +46 -0
  23. data/sass-mixins/base-variables/_all.scss +11 -0
  24. data/sass-mixins/base-variables/_animation-curves.scss +37 -0
  25. data/sass-mixins/base-variables/_bootstrap-variables.scss +284 -0
  26. data/sass-mixins/base-variables/_border-radius.sass +27 -0
  27. data/sass-mixins/base-variables/_color-bootstrap.scss +62 -0
  28. data/sass-mixins/base-variables/_color-deprecated.scss +26 -0
  29. data/sass-mixins/base-variables/_color-ui-elements.scss +20 -0
  30. data/sass-mixins/base-variables/_colors-export.scss +13 -0
  31. data/sass-mixins/base-variables/_colors-export.scss.flow +92 -0
  32. data/sass-mixins/base-variables/_colors.scss +267 -0
  33. data/sass-mixins/base-variables/_colors.scss.flow +5 -0
  34. data/sass-mixins/base-variables/_fonts.scss +97 -0
  35. data/sass-mixins/base-variables/_forms.scss +44 -0
  36. data/sass-mixins/base-variables/_opacity.scss +9 -0
  37. data/sass-mixins/base-variables/_positioning.scss +24 -0
  38. data/sass-mixins/base-variables/_shadows.scss +5 -0
  39. data/sass-mixins/base-variables/_sizing-ui-elements.scss +2 -0
  40. data/sass-mixins/base-variables/_spacing.sass +27 -0
  41. data/sass-mixins/base-variables/_typography.sass +79 -0
  42. data/sass-mixins/class-helpers/_all.scss +17 -0
  43. data/sass-mixins/class-helpers/_borders.scss +40 -0
  44. data/sass-mixins/class-helpers/_color.sass +61 -0
  45. data/sass-mixins/class-helpers/_display.scss +40 -0
  46. data/sass-mixins/class-helpers/_flexbox.scss +213 -0
  47. data/sass-mixins/class-helpers/_glyphicons.scss +307 -0
  48. data/sass-mixins/class-helpers/_line-height.scss +21 -0
  49. data/sass-mixins/class-helpers/_radius-and-shadows.scss +49 -0
  50. data/sass-mixins/class-helpers/_responsive-utilities.scss +179 -0
  51. data/sass-mixins/class-helpers/_screen-readers.scss +34 -0
  52. data/sass-mixins/class-helpers/_spacing.scss +51 -0
  53. data/sass-mixins/class-helpers/_type.scss +323 -0
  54. data/sass-mixins/class-helpers/_z-index.scss +10 -0
  55. data/sass-mixins/components.scss +5 -0
  56. data/sass-mixins/nitro-ui/_alerts.scss +139 -0
  57. data/sass-mixins/nitro-ui/_all.scss +33 -0
  58. data/sass-mixins/nitro-ui/_animations.scss +37 -0
  59. data/sass-mixins/nitro-ui/_carousel.scss +281 -0
  60. data/sass-mixins/nitro-ui/_code.scss +87 -0
  61. data/sass-mixins/nitro-ui/_connect-cards.scss +150 -0
  62. data/sass-mixins/nitro-ui/_dashboards.scss +516 -0
  63. data/sass-mixins/nitro-ui/_fixed-confirmation-toast.scss +48 -0
  64. data/sass-mixins/nitro-ui/_full-menu.scss +168 -0
  65. data/sass-mixins/nitro-ui/_grid.scss +92 -0
  66. data/sass-mixins/nitro-ui/_icon-toggle.scss +37 -0
  67. data/sass-mixins/nitro-ui/_jumbotron.scss +65 -0
  68. data/sass-mixins/nitro-ui/_links.scss +69 -0
  69. data/sass-mixins/nitro-ui/_list-group.scss +219 -0
  70. data/sass-mixins/nitro-ui/_media.scss +66 -0
  71. data/sass-mixins/nitro-ui/_modals.scss +311 -0
  72. data/sass-mixins/nitro-ui/_notify.scss +56 -0
  73. data/sass-mixins/nitro-ui/_popovers.scss +167 -0
  74. data/sass-mixins/nitro-ui/_progress-bars.scss +125 -0
  75. data/sass-mixins/nitro-ui/_responsive-embed.scss +35 -0
  76. data/sass-mixins/nitro-ui/_side-modal.scss +92 -0
  77. data/sass-mixins/nitro-ui/_tables-responsive.scss +253 -0
  78. data/sass-mixins/nitro-ui/_tables.scss +296 -0
  79. data/sass-mixins/nitro-ui/_thumbnails.scss +38 -0
  80. data/sass-mixins/nitro-ui/_tooltip.scss +124 -0
  81. data/sass-mixins/nitro-ui/_typography.scss +176 -0
  82. data/sass-mixins/nitro-ui/_value-stat.scss +149 -0
  83. data/sass-mixins/nitro-ui/_wells.scss +37 -0
  84. data/sass-mixins/nitro-ui/buttons/_all.scss +97 -0
  85. data/sass-mixins/nitro-ui/buttons/_button-capping.scss +21 -0
  86. data/sass-mixins/nitro-ui/buttons/_button-groups.scss +236 -0
  87. data/sass-mixins/nitro-ui/buttons/_button-mixins.scss +66 -0
  88. data/sass-mixins/nitro-ui/buttons/_button-variables.scss +51 -0
  89. data/sass-mixins/nitro-ui/buttons/_choice-buttons.scss +9 -0
  90. data/sass-mixins/nitro-ui/buttons/_circle-buttons.scss +30 -0
  91. data/sass-mixins/nitro-ui/buttons/_close.scss +45 -0
  92. data/sass-mixins/nitro-ui/buttons/_dropdowns.scss +270 -0
  93. data/sass-mixins/nitro-ui/buttons/_ghost-buttons.scss +58 -0
  94. data/sass-mixins/nitro-ui/buttons/_link-buttons.scss +53 -0
  95. data/sass-mixins/nitro-ui/buttons/_solid-buttons.scss +69 -0
  96. data/sass-mixins/nitro-ui/cards-panels/_all.scss +3 -0
  97. data/sass-mixins/nitro-ui/cards-panels/_cards.scss +409 -0
  98. data/sass-mixins/nitro-ui/cards-panels/_collapsible-card.scss +19 -0
  99. data/sass-mixins/nitro-ui/cards-panels/_panel-collapse.scss +34 -0
  100. data/sass-mixins/nitro-ui/cards-panels/_panel-list-groups.scss +41 -0
  101. data/sass-mixins/nitro-ui/cards-panels/_panel-tables.scss +111 -0
  102. data/sass-mixins/nitro-ui/cards-panels/_panels.scss +120 -0
  103. data/sass-mixins/nitro-ui/forms/_all.scss +18 -0
  104. data/sass-mixins/nitro-ui/forms/_checkbox-radio.scss +154 -0
  105. data/sass-mixins/nitro-ui/forms/_checkbox-toggle.scss +77 -0
  106. data/sass-mixins/nitro-ui/forms/_color-feedback.scss +53 -0
  107. data/sass-mixins/nitro-ui/forms/_dropdown.scss +12 -0
  108. data/sass-mixins/nitro-ui/forms/_form-group.scss +104 -0
  109. data/sass-mixins/nitro-ui/forms/_general-element-reset.scss +120 -0
  110. data/sass-mixins/nitro-ui/forms/_help-block.scss +11 -0
  111. data/sass-mixins/nitro-ui/forms/_horizontal-forms.scss +69 -0
  112. data/sass-mixins/nitro-ui/forms/_input-groups.scss +169 -0
  113. data/sass-mixins/nitro-ui/forms/_label.scss +29 -0
  114. data/sass-mixins/nitro-ui/forms/_multi-input-group.scss +89 -0
  115. data/sass-mixins/nitro-ui/forms/_static-form-text.scss +19 -0
  116. data/sass-mixins/nitro-ui/forms/_validation-states.scss +78 -0
  117. data/sass-mixins/nitro-ui/layouts/_sidebar-layout.scss +59 -0
  118. data/sass-mixins/nitro-ui/navigation/_all.scss +36 -0
  119. data/sass-mixins/nitro-ui/navigation/_breadcrumbs.scss +30 -0
  120. data/sass-mixins/nitro-ui/navigation/_pager.scss +71 -0
  121. data/sass-mixins/nitro-ui/navigation/_pagination.scss +212 -0
  122. data/sass-mixins/nitro-ui/navigation/navbar/_brand.scss +25 -0
  123. data/sass-mixins/nitro-ui/navigation/navbar/_collapse-content.scss +49 -0
  124. data/sass-mixins/nitro-ui/navigation/navbar/_default-navbar.scss +33 -0
  125. data/sass-mixins/nitro-ui/navigation/navbar/_dropdowns-buttons.scss +29 -0
  126. data/sass-mixins/nitro-ui/navigation/navbar/_floats.scss +21 -0
  127. data/sass-mixins/nitro-ui/navigation/navbar/_flush.scss +14 -0
  128. data/sass-mixins/nitro-ui/navigation/navbar/_forms.scss +41 -0
  129. data/sass-mixins/nitro-ui/navigation/navbar/_header.scss +31 -0
  130. data/sass-mixins/nitro-ui/navigation/navbar/_inverse-navbar.scss +32 -0
  131. data/sass-mixins/nitro-ui/navigation/navbar/_light-navbar.scss +36 -0
  132. data/sass-mixins/nitro-ui/navigation/navbar/_links.scss +52 -0
  133. data/sass-mixins/nitro-ui/navigation/navbar/_mixins.scss +161 -0
  134. data/sass-mixins/nitro-ui/navigation/navbar/_navbar.scss +29 -0
  135. data/sass-mixins/nitro-ui/navigation/navbar/_position.scss +50 -0
  136. data/sass-mixins/nitro-ui/navigation/navbar/_text.scss +13 -0
  137. data/sass-mixins/nitro-ui/navigation/navbar/_toggle-button.scss +37 -0
  138. data/sass-mixins/nitro-ui/navigation/navbar/_variables.scss +8 -0
  139. data/sass-mixins/nitro-ui/navigation/navs/_nav-dropdowns.scss +10 -0
  140. data/sass-mixins/nitro-ui/navigation/navs/_nav-justified.scss +32 -0
  141. data/sass-mixins/nitro-ui/navigation/navs/_nav-pills.scss +41 -0
  142. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs-justified.scss +30 -0
  143. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs.scss +41 -0
  144. data/sass-mixins/nitro-ui/navigation/navs/_nav.scss +383 -0
  145. data/sass-mixins/nitro-ui/navigation/navs/_navs.scss +70 -0
  146. data/sass-mixins/nitro-ui/navigation/navs/_tabbable-tabs.scss +12 -0
  147. data/sass-mixins/nitro-ui/navigation/navs/_variables.scss +23 -0
  148. data/sass-mixins/nitro-ui/tables/_all.scss +14 -0
  149. data/sass-mixins/nitro-ui/tables/_as-cards.scss +49 -0
  150. data/sass-mixins/nitro-ui/tables/_content.scss +13 -0
  151. data/sass-mixins/nitro-ui/tables/_headers.scss +17 -0
  152. data/sass-mixins/nitro-ui/tables/_hover.scss +66 -0
  153. data/sass-mixins/nitro-ui/tables/_mixins.scss +0 -0
  154. data/sass-mixins/nitro-ui/tables/_mobile.scss +138 -0
  155. data/sass-mixins/nitro-ui/tables/_reset.scss +17 -0
  156. data/sass-mixins/nitro-ui/tables/_single-line.scss +35 -0
  157. data/sass-mixins/nitro-ui/tables/_structure.scss +39 -0
  158. data/sass-mixins/nitro-ui/tables/_table-card.scss +88 -0
  159. data/sass-mixins/nitro-ui/tables/_table-dark.scss +92 -0
  160. data/sass-mixins/nitro-ui/tables/_variables.scss +23 -0
  161. data/sass-mixins/vendor/_bootstrap-overrides.scss +41 -0
  162. data/sass-mixins/vendor/_dropzone.scss +388 -0
  163. data/sass-mixins/vendor/_nitro-bootstrap.scss +95 -0
  164. data/sass-mixins/vendor/_nitro-dropzone.scss +56 -0
  165. data/sass-mixins/vendor/_react-datetime.scss +105 -0
  166. data/sass-mixins/vendor/_selectize.scss +407 -0
  167. data/sass-mixins/vendor/_sweet-alert-extended.scss +3 -0
  168. data/sass-mixins/vendor/react-select.css +375 -0
  169. data/sass-mixins/vendor/svg-with-js.css +5 -0
  170. data/sass-mixins/vendor/type-ahead.scss +43 -0
  171. metadata +170 -2
@@ -0,0 +1,21 @@
1
+ .lh-tightest {
2
+ line-height: 1 !important;
3
+ }
4
+ .lh-tighter {
5
+ line-height: 1.2 !important;
6
+ }
7
+ .lh-tight {
8
+ line-height: 1.4 !important;
9
+ }
10
+ .lh-normal {
11
+ line-height: 1.5 !important;
12
+ }
13
+ .lh-loose {
14
+ line-height: 1.6 !important;
15
+ }
16
+ .lh-looser {
17
+ line-height: 1.8 !important;
18
+ }
19
+ .lh-loosest {
20
+ line-height: 2 !important;
21
+ }
@@ -0,0 +1,49 @@
1
+ //
2
+ // Border-radius
3
+ //
4
+
5
+ .rounded {
6
+ @include border-radius($border-radius);
7
+ }
8
+ .rounded-top {
9
+ @include border-top-radius($border-radius);
10
+ }
11
+ .rounded-right {
12
+ @include border-right-radius($border-radius);
13
+ }
14
+ .rounded-bottom {
15
+ @include border-bottom-radius($border-radius);
16
+ }
17
+ .rounded-left {
18
+ @include border-left-radius($border-radius);
19
+ }
20
+
21
+ .rounded-circle {
22
+ border-radius: 50%;
23
+ }
24
+
25
+ .rounded-0{
26
+ border-radius: 0;
27
+ }
28
+
29
+
30
+ //
31
+ // Shadows
32
+ //
33
+
34
+ .shadow-shallow {
35
+ box-shadow: $shadow-shallow;
36
+ }
37
+
38
+ .shadow-default {
39
+ box-shadow: $shadow-default;
40
+ }
41
+ .shadow-deep {
42
+ box-shadow: $shadow-deep;
43
+ }
44
+ .shadow-deeper {
45
+ box-shadow: $shadow-deeper;
46
+ }
47
+ .shadow-deepest {
48
+ box-shadow: $shadow-deepest;
49
+ }
@@ -0,0 +1,179 @@
1
+ //
2
+ // Responsive: Utility classes
3
+ // --------------------------------------------------
4
+
5
+
6
+ // IE10 in Windows (Phone) 8
7
+ //
8
+ // Support for responsive views via media queries is kind of borked in IE10, for
9
+ // Surface/desktop in split view and for Windows Phone 8. This particular fix
10
+ // must be accompanied by a snippet of JavaScript to sniff the user agent and
11
+ // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
12
+ // our Getting Started page for more information on this bug.
13
+ //
14
+ // For more information, see the following:
15
+ //
16
+ // Issue: https://github.com/twbs/bootstrap/issues/10497
17
+ // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
18
+ // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
19
+ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
20
+
21
+ @at-root {
22
+ @-ms-viewport {
23
+ width: device-width;
24
+ }
25
+ }
26
+
27
+
28
+ // Visibility utilities
29
+ // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
30
+
31
+ @include responsive-invisibility('.visible-xs');
32
+ @include responsive-invisibility('.visible-sm');
33
+ @include responsive-invisibility('.visible-md');
34
+ @include responsive-invisibility('.visible-lg');
35
+
36
+ .visible-xs-block,
37
+ .visible-xs-inline,
38
+ .visible-xs-inline-block,
39
+ .visible-sm-block,
40
+ .visible-sm-inline,
41
+ .visible-sm-inline-block,
42
+ .visible-md-block,
43
+ .visible-md-inline,
44
+ .visible-md-inline-block,
45
+ .visible-lg-block,
46
+ .visible-lg-inline,
47
+ .visible-lg-inline-block {
48
+ display: none !important;
49
+ }
50
+
51
+ @media (max-width: $screen-xs-max) {
52
+ @include responsive-visibility('.visible-xs');
53
+ }
54
+ .visible-xs-block {
55
+ @media (max-width: $screen-xs-max) {
56
+ display: block !important;
57
+ }
58
+ }
59
+ .visible-xs-inline {
60
+ @media (max-width: $screen-xs-max) {
61
+ display: inline !important;
62
+ }
63
+ }
64
+ .visible-xs-inline-block {
65
+ @media (max-width: $screen-xs-max) {
66
+ display: inline-block !important;
67
+ }
68
+ }
69
+
70
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
71
+ @include responsive-visibility('.visible-sm');
72
+ }
73
+ .visible-sm-block {
74
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
75
+ display: block !important;
76
+ }
77
+ }
78
+ .visible-sm-inline {
79
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
80
+ display: inline !important;
81
+ }
82
+ }
83
+ .visible-sm-inline-block {
84
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
85
+ display: inline-block !important;
86
+ }
87
+ }
88
+
89
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
90
+ @include responsive-visibility('.visible-md');
91
+ }
92
+ .visible-md-block {
93
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
94
+ display: block !important;
95
+ }
96
+ }
97
+ .visible-md-inline {
98
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
99
+ display: inline !important;
100
+ }
101
+ }
102
+ .visible-md-inline-block {
103
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
104
+ display: inline-block !important;
105
+ }
106
+ }
107
+
108
+ @media (min-width: $screen-lg-min) {
109
+ @include responsive-visibility('.visible-lg');
110
+ }
111
+ .visible-lg-block {
112
+ @media (min-width: $screen-lg-min) {
113
+ display: block !important;
114
+ }
115
+ }
116
+ .visible-lg-inline {
117
+ @media (min-width: $screen-lg-min) {
118
+ display: inline !important;
119
+ }
120
+ }
121
+ .visible-lg-inline-block {
122
+ @media (min-width: $screen-lg-min) {
123
+ display: inline-block !important;
124
+ }
125
+ }
126
+
127
+ @media (max-width: $screen-xs-max) {
128
+ @include responsive-invisibility('.hidden-xs');
129
+ }
130
+
131
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
132
+ @include responsive-invisibility('.hidden-sm');
133
+ }
134
+
135
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
136
+ @include responsive-invisibility('.hidden-md');
137
+ }
138
+
139
+ @media (min-width: $screen-lg-min) {
140
+ @include responsive-invisibility('.hidden-lg');
141
+ }
142
+
143
+
144
+ // Print utilities
145
+ //
146
+ // Media queries are placed on the inside to be mixin-friendly.
147
+
148
+ // Note: Deprecated .visible-print as of v3.2.0
149
+
150
+ @include responsive-invisibility('.visible-print');
151
+
152
+ @media print {
153
+ @include responsive-visibility('.visible-print');
154
+ }
155
+ .visible-print-block {
156
+ display: none !important;
157
+
158
+ @media print {
159
+ display: block !important;
160
+ }
161
+ }
162
+ .visible-print-inline {
163
+ display: none !important;
164
+
165
+ @media print {
166
+ display: inline !important;
167
+ }
168
+ }
169
+ .visible-print-inline-block {
170
+ display: none !important;
171
+
172
+ @media print {
173
+ display: inline-block !important;
174
+ }
175
+ }
176
+
177
+ @media print {
178
+ @include responsive-invisibility('.hidden-print');
179
+ }
@@ -0,0 +1,34 @@
1
+ // Only display content to screen readers
2
+ //
3
+ // See: http://a11yproject.com/posts/how-to-hide-content/
4
+
5
+ .sr-only {
6
+ position: absolute;
7
+ width: 1px;
8
+ height: 1px;
9
+ margin: -1px;
10
+ padding: 0;
11
+ overflow: hidden;
12
+ clip: rect(0,0,0,0);
13
+ border: 0;
14
+ &.col-sm-4 {
15
+ width: 33.33333%;
16
+ position: relative;
17
+ }
18
+ }
19
+
20
+ // Use in conjunction with .sr-only to only display content when it's focused.
21
+ // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
22
+ // Credit: HTML5 Boilerplate
23
+
24
+ .sr-only-focusable {
25
+ &:active,
26
+ &:focus {
27
+ position: static;
28
+ width: auto;
29
+ height: auto;
30
+ margin: 0;
31
+ overflow: visible;
32
+ clip: auto;
33
+ }
34
+ }
@@ -0,0 +1,51 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ // Margin and Padding
4
+
5
+ @each $breakpoint in map-keys($grid-breakpoints) {
6
+ @include media-breakpoint-up($breakpoint) {
7
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
8
+
9
+ @each $prop, $abbrev in (margin: m, padding: p) {
10
+ @each $size, $length in $spacers {
11
+
12
+ .#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; }
13
+ .#{$abbrev}t#{$infix}-#{$size},
14
+ .#{$abbrev}y#{$infix}-#{$size} {
15
+ #{$prop}-top: $length !important;
16
+ }
17
+ .#{$abbrev}r#{$infix}-#{$size},
18
+ .#{$abbrev}x#{$infix}-#{$size} {
19
+ #{$prop}-right: $length !important;
20
+ }
21
+ .#{$abbrev}b#{$infix}-#{$size},
22
+ .#{$abbrev}y#{$infix}-#{$size} {
23
+ #{$prop}-bottom: $length !important;
24
+ }
25
+ .#{$abbrev}l#{$infix}-#{$size},
26
+ .#{$abbrev}x#{$infix}-#{$size} {
27
+ #{$prop}-left: $length !important;
28
+ }
29
+ }
30
+ }
31
+
32
+ // Some special margin utils
33
+ .m#{$infix}-auto { margin: auto !important; }
34
+ .mt#{$infix}-auto,
35
+ .my#{$infix}-auto {
36
+ margin-top: auto !important;
37
+ }
38
+ .mr#{$infix}-auto,
39
+ .mx#{$infix}-auto {
40
+ margin-right: auto !important;
41
+ }
42
+ .mb#{$infix}-auto,
43
+ .my#{$infix}-auto {
44
+ margin-bottom: auto !important;
45
+ }
46
+ .ml#{$infix}-auto,
47
+ .mx#{$infix}-auto {
48
+ margin-left: auto !important;
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,323 @@
1
+ // THESE ARE CLASSES
2
+ //
3
+ // Text
4
+ //
5
+
6
+ // Alignment
7
+
8
+ .text-justify { text-align: justify !important; }
9
+ .text-nowrap { white-space: nowrap !important; }
10
+ .text-truncate { @include text-truncate; }
11
+
12
+ // Responsive alignment
13
+
14
+ @each $breakpoint in map-keys($grid-breakpoints) {
15
+ @include media-breakpoint-up($breakpoint) {
16
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
17
+
18
+ .text#{$infix}-left { text-align: left !important; }
19
+ .text#{$infix}-right { text-align: right !important; }
20
+ .text#{$infix}-center { text-align: center !important; }
21
+ }
22
+ }
23
+
24
+ // Transformation
25
+
26
+ .text-lowercase { text-transform: lowercase !important; }
27
+ .text-uppercase { text-transform: uppercase !important; }
28
+ .text-capitalize { text-transform: capitalize !important; }
29
+
30
+ // Weight and italics
31
+
32
+ .font-weight-normal { font-weight: $regular; }
33
+ .font-weight-bold { font-weight: $bold; }
34
+ .font-italic { font-style: italic; }
35
+
36
+ // Contextual colors
37
+
38
+ .text-white {
39
+ color: #fff !important;
40
+ }
41
+
42
+
43
+
44
+ // Display and Position?
45
+ // Misc
46
+
47
+ .text-hide {
48
+ @include text-hide();
49
+ }
50
+
51
+
52
+
53
+
54
+ // Body text
55
+ // -------------------------
56
+
57
+ p {
58
+ margin: 0 0 ($line-height-computed / 2);
59
+ }
60
+
61
+ .lead {
62
+ margin-bottom: $line-height-computed;
63
+ font-size: floor(($font-size-base * 1.15));
64
+ font-weight: 300;
65
+ line-height: 1.4;
66
+
67
+ @media (min-width: $screen-sm-min) {
68
+ font-size: ($font-size-base * 1.5);
69
+ }
70
+ }
71
+
72
+
73
+ // Emphasis & misc
74
+ // -------------------------
75
+
76
+ // Ex: (12px small font / 14px base font) * 100% = about 85%
77
+ small,
78
+ .small {
79
+ font-size: floor((100% * $font-size-small / $font-size-base));
80
+ }
81
+
82
+ mark,
83
+ .mark {
84
+ background-color: $state-warning-bg;
85
+ padding: .2em;
86
+ }
87
+
88
+ // Alignment
89
+ .text-left { text-align: left; }
90
+ .text-right { text-align: right; }
91
+ .text-center { text-align: center; }
92
+ .text-justify { text-align: justify; }
93
+ .text-nowrap { white-space: nowrap; }
94
+
95
+
96
+
97
+ // Contextual colors
98
+ .text-muted {
99
+ color: $text-muted;
100
+ }
101
+
102
+ @include text-emphasis-variant('.text-primary', $brand-primary);
103
+
104
+ @include text-emphasis-variant('.text-success', $state-success-text);
105
+
106
+ @include text-emphasis-variant('.text-info', $state-info-text);
107
+
108
+ @include text-emphasis-variant('.text-warning', $state-warning-text);
109
+
110
+ @include text-emphasis-variant('.text-danger', $state-danger-text);
111
+
112
+
113
+
114
+
115
+ // Page header
116
+ // -------------------------
117
+
118
+ .page-header {
119
+ padding-bottom: (($line-height-computed / 2) - 1);
120
+ margin: ($line-height-computed * 2) 0 $line-height-computed;
121
+ border-bottom: 1px solid $page-header-border-color;
122
+ }
123
+
124
+
125
+ // Lists
126
+ // -------------------------
127
+
128
+ // Unordered and Ordered lists
129
+ ul,
130
+ ol {
131
+ margin-top: 0;
132
+ margin-bottom: ($line-height-computed / 2);
133
+ ul,
134
+ ol {
135
+ margin-bottom: 0;
136
+ }
137
+ }
138
+
139
+ // List options
140
+
141
+ // [converter] extracted from `.list-unstyled` for libsass compatibility
142
+ @mixin list-unstyled {
143
+ padding-left: 0;
144
+ list-style: none;
145
+ }
146
+ // [converter] extracted as `@mixin list-unstyled` for libsass compatibility
147
+ .list-unstyled {
148
+ @include list-unstyled;
149
+ }
150
+
151
+
152
+ // Inline turns list items into inline-block
153
+ .list-inline {
154
+ @include list-unstyled;
155
+ margin-left: -5px;
156
+
157
+ > li {
158
+ display: inline-block;
159
+ padding-left: 5px;
160
+ padding-right: 5px;
161
+ }
162
+ }
163
+
164
+ // Description Lists
165
+ dl {
166
+ margin-top: 0; // Remove browser default
167
+ margin-bottom: $line-height-computed;
168
+ }
169
+ dt,
170
+ dd {
171
+ line-height: $line-height-base;
172
+ }
173
+ dt {
174
+ font-weight: bold;
175
+ }
176
+ dd {
177
+ margin-left: 0; // Undo browser default
178
+ }
179
+
180
+
181
+
182
+
183
+ // Misc
184
+ // -------------------------
185
+
186
+ // Abbreviations and acronyms
187
+ abbr[title],
188
+ // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
189
+ abbr[data-original-title] {
190
+ cursor: help;
191
+ border-bottom: 1px dotted $abbr-border-color;
192
+ }
193
+ .initialism {
194
+ font-size: 90%;
195
+ @extend .text-uppercase;
196
+ }
197
+
198
+ // Blockquotes
199
+ blockquote {
200
+ padding: ($line-height-computed / 2) $line-height-computed;
201
+ margin: 0 0 $line-height-computed;
202
+ font-size: $font-large;
203
+ border-left: 5px solid $border-color;
204
+
205
+ p,
206
+ ul,
207
+ ol {
208
+ &:last-child {
209
+ margin-bottom: 0;
210
+ }
211
+ }
212
+
213
+ // Note: Deprecated small and .small as of v3.1.0
214
+ // Context: https://github.com/twbs/bootstrap/issues/11660
215
+ footer,
216
+ small,
217
+ .small {
218
+ display: block;
219
+ font-size: 80%; // back to default font-size
220
+ line-height: $line-height-base;
221
+ color: $blockquote-small-color;
222
+
223
+ &:before {
224
+ content: '\2014 \00A0'; // em dash, nbsp
225
+ }
226
+ }
227
+ }
228
+
229
+ // Opposite alignment of blockquote
230
+ //
231
+ // Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
232
+ .blockquote-reverse,
233
+ blockquote.pull-right {
234
+ padding-right: 15px;
235
+ padding-left: 0;
236
+ border-right: 5px solid $blockquote-border-color;
237
+ border-left: 0;
238
+ text-align: right;
239
+
240
+ // Account for citation
241
+ footer,
242
+ small,
243
+ .small {
244
+ &:before { content: ''; }
245
+ &:after {
246
+ content: '\00A0 \2014'; // nbsp, em dash
247
+ }
248
+ }
249
+ }
250
+
251
+ // Addresses
252
+ address {
253
+ margin-bottom: $line-height-computed;
254
+ font-style: normal;
255
+ line-height: $line-height-base;
256
+ }
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+ //
270
+ // Utility classes
271
+ // --------------------------------------------------
272
+
273
+
274
+ // Floats
275
+ // -------------------------
276
+
277
+ .clearfix {
278
+ @include clearfix;
279
+ }
280
+ .center-block {
281
+ @include center-block;
282
+ }
283
+ .pull-right {
284
+ float: right !important;
285
+ }
286
+ .pull-left {
287
+ float: left !important;
288
+ }
289
+
290
+
291
+ // Toggling content
292
+ // -------------------------
293
+
294
+ // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
295
+ .hide {
296
+ display: none !important;
297
+ }
298
+ .show {
299
+ display: block !important;
300
+ }
301
+ .invisible {
302
+ visibility: hidden;
303
+ }
304
+ .text-hide {
305
+ @include text-hide;
306
+ }
307
+
308
+
309
+ // Hide from screenreaders and browsers
310
+ //
311
+ // Credit: HTML5 Boilerplate
312
+
313
+ .hidden {
314
+ display: none !important;
315
+ }
316
+
317
+
318
+ // For Affix plugin
319
+ // -------------------------
320
+
321
+ .affix {
322
+ position: fixed;
323
+ }