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,38 @@
1
+ //
2
+ // Thumbnails
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Mixin and adjust the regular image class
7
+ .thumbnail {
8
+ display: block;
9
+ padding: $thumbnail-padding;
10
+ margin-bottom: $line-height-computed;
11
+ line-height: $line-height-base;
12
+ background-color: $thumbnail-bg;
13
+ border: 1px solid $thumbnail-border;
14
+ border-radius: $thumbnail-border-radius;
15
+ @include transition(border .2s ease-in-out);
16
+
17
+ > img,
18
+ a > img {
19
+ @include img-responsive;
20
+ margin-left: auto;
21
+ margin-right: auto;
22
+ }
23
+
24
+ // [converter] extracted a&:hover, a&:focus, a&.active to a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active
25
+
26
+ // Image captions
27
+ .caption {
28
+ padding: $thumbnail-caption-padding;
29
+ color: $thumbnail-caption-color;
30
+ }
31
+ }
32
+
33
+ // Add a hover state for linked versions only
34
+ a.thumbnail:hover,
35
+ a.thumbnail:focus,
36
+ a.thumbnail.active {
37
+ border-color: $link-color;
38
+ }
@@ -0,0 +1,124 @@
1
+ $zindex-tooltip: 1070 !default;
2
+
3
+
4
+
5
+ //== Tooltips
6
+ //
7
+ //##
8
+
9
+ //** Tooltip max width
10
+ $tooltip-max-width: 200px !default;
11
+ //** Tooltip text color
12
+ $tooltip-color: #fff !default;
13
+ //** Tooltip background color
14
+ $tooltip-bg: #000 !default;
15
+ $tooltip-opacity: .9 !default;
16
+
17
+ //** Tooltip arrow width
18
+ $tooltip-arrow-width: 5px !default;
19
+ //** Tooltip arrow color
20
+ $tooltip-arrow-color: $tooltip-bg !default;
21
+
22
+
23
+
24
+ //
25
+ // Tooltips
26
+ // --------------------------------------------------
27
+
28
+
29
+ // Base class
30
+ .tooltip {
31
+ position: absolute;
32
+ z-index: $zindex-tooltip;
33
+ display: block;
34
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
35
+ // So reset our font and text properties to avoid inheriting weird values.
36
+ @include reset-text;
37
+ font-size: $font-size-small;
38
+
39
+ @include opacity(0);
40
+
41
+ &.in { @include opacity($tooltip-opacity); }
42
+ &.top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
43
+ &.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
44
+ &.bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
45
+ &.left { margin-left: -3px; padding: 0 $tooltip-arrow-width; }
46
+ }
47
+
48
+ // Wrapper for the tooltip content
49
+ .tooltip-inner {
50
+ max-width: $tooltip-max-width;
51
+ padding: 3px 8px;
52
+ color: $tooltip-color;
53
+ text-align: center;
54
+ background-color: $tooltip-bg;
55
+ border-radius: $border-radius-base;
56
+ }
57
+
58
+ // Arrows
59
+ .tooltip-arrow {
60
+ position: absolute;
61
+ width: 0;
62
+ height: 0;
63
+ border-color: transparent;
64
+ border-style: solid;
65
+ }
66
+ // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
67
+ .tooltip {
68
+ &.top .tooltip-arrow {
69
+ bottom: 0;
70
+ left: 50%;
71
+ margin-left: -$tooltip-arrow-width;
72
+ border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
73
+ border-top-color: $tooltip-arrow-color;
74
+ }
75
+ &.top-left .tooltip-arrow {
76
+ bottom: 0;
77
+ right: $tooltip-arrow-width;
78
+ margin-bottom: -$tooltip-arrow-width;
79
+ border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
80
+ border-top-color: $tooltip-arrow-color;
81
+ }
82
+ &.top-right .tooltip-arrow {
83
+ bottom: 0;
84
+ left: $tooltip-arrow-width;
85
+ margin-bottom: -$tooltip-arrow-width;
86
+ border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
87
+ border-top-color: $tooltip-arrow-color;
88
+ }
89
+ &.right .tooltip-arrow {
90
+ top: 50%;
91
+ left: 0;
92
+ margin-top: -$tooltip-arrow-width;
93
+ border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
94
+ border-right-color: $tooltip-arrow-color;
95
+ }
96
+ &.left .tooltip-arrow {
97
+ top: 50%;
98
+ right: 0;
99
+ margin-top: -$tooltip-arrow-width;
100
+ border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
101
+ border-left-color: $tooltip-arrow-color;
102
+ }
103
+ &.bottom .tooltip-arrow {
104
+ top: 0;
105
+ left: 50%;
106
+ margin-left: -$tooltip-arrow-width;
107
+ border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
108
+ border-bottom-color: $tooltip-arrow-color;
109
+ }
110
+ &.bottom-left .tooltip-arrow {
111
+ top: 0;
112
+ right: $tooltip-arrow-width;
113
+ margin-top: -$tooltip-arrow-width;
114
+ border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
115
+ border-bottom-color: $tooltip-arrow-color;
116
+ }
117
+ &.bottom-right .tooltip-arrow {
118
+ top: 0;
119
+ left: $tooltip-arrow-width;
120
+ margin-top: -$tooltip-arrow-width;
121
+ border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
122
+ border-bottom-color: $tooltip-arrow-color;
123
+ }
124
+ }
@@ -0,0 +1,176 @@
1
+ // -----------
2
+ // Typography
3
+ // -----------
4
+
5
+ // Use modular scale to make our type relitive http://www.modularscale.com/
6
+
7
+ @mixin general-heading-styles ($size: 'large') {
8
+ line-height: 1.1;
9
+ color: $ink-light;
10
+ small, .small {
11
+ font-weight: normal;
12
+ line-height: 1;
13
+ color: $ink-lightest;
14
+ }
15
+ @if $size == 'large' {
16
+ small, .small {
17
+ font-size: 65%;
18
+ }
19
+ } @else {
20
+ small, .small {
21
+ font-size: 75%;
22
+ }
23
+ }
24
+ }
25
+
26
+ // General type should not include margin. However heading tags are acceptable.
27
+ h1, h2, h3 {
28
+ margin-top: $line-height-computed;
29
+ margin-bottom: ($line-height-computed / 2);
30
+ &:first-of-type {
31
+ margin-top: ($line-height-computed / 3);
32
+ }
33
+ }
34
+ h4, h5, h6 {
35
+ margin-top: ($line-height-computed / 2);
36
+ margin-bottom: ($line-height-computed / 2);
37
+ &:first-of-type {
38
+ margin-top: ($line-height-computed / 3);
39
+ }
40
+ }
41
+
42
+ .text-display, h1, .h1 {
43
+ font-size: $font-jumbo;
44
+ font-weight: $regular;
45
+ @include general-heading-styles;
46
+ @include mobile-only {
47
+ font-size: ($font-jumbo - 2px);
48
+ }
49
+ &-bold {
50
+ font-weight: $bold;
51
+ font-size: $font-jumbo;
52
+ @include general-heading-styles;
53
+ @include mobile-only {
54
+ font-size: ($font-jumbo - 2px);
55
+ }
56
+ }
57
+ }
58
+
59
+ .text-headline, h2, .h2 {
60
+ font-size: $font-largest;
61
+ font-weight: $regular;
62
+ @include general-heading-styles;
63
+ @include mobile-only {
64
+ font-size: ($font-largest - 2px);
65
+ }
66
+ &-bold {
67
+ font-weight: $bold;
68
+ font-size: $font-largest;
69
+ @include general-heading-styles;
70
+ @include mobile-only {
71
+ font-size: ($font-largest - 2px);
72
+ }
73
+ }
74
+ }
75
+
76
+ .text-title, h3, .h3 {
77
+ font-size: $font-larger;
78
+ font-weight: $regular;
79
+ @include general-heading-styles;
80
+ @include mobile-only {
81
+ font-size: ($font-larger - 2px);
82
+ }
83
+ &-bold {
84
+ font-weight: $bold;
85
+ font-size: $font-larger;
86
+ @include general-heading-styles;
87
+ @include mobile-only {
88
+ font-size: ($font-larger - 2px);
89
+ }
90
+ }
91
+ }
92
+
93
+ .text-subheader, h4, .h4 {
94
+ font-size: $font-large;
95
+ font-weight: $regular;
96
+ @include general-heading-styles('small');
97
+ @include mobile-only {
98
+ font-size: ($font-large - 2px);
99
+ }
100
+ &-bold {
101
+ font-weight: $bold;
102
+ font-size: $font-large;
103
+ @include general-heading-styles('small');
104
+ @include mobile-only {
105
+ font-size: ($font-large - 2px);
106
+ }
107
+ }
108
+ }
109
+
110
+ .text-body, h5, .h5 {
111
+ font-size: $font-base;
112
+ font-weight: $regular;
113
+ @include general-heading-styles('small');
114
+ @include mobile-only {
115
+ font-size: $font-small;
116
+ }
117
+ &-bold {
118
+ font-weight: $bold;
119
+ font-size: $font-base;
120
+ @include general-heading-styles('small');
121
+ @include mobile-only {
122
+ font-size: $font-small;
123
+ }
124
+ }
125
+ }
126
+
127
+ .text-meta, h6, .h6 {
128
+ font-size: $font-small;
129
+ font-weight: $regular;
130
+ @include general-heading-styles('small');
131
+ @include mobile-only {
132
+ font-size: $font-smaller;
133
+ }
134
+ &-bold {
135
+ font-weight: $bold;
136
+ font-size: $font-small;
137
+ @include general-heading-styles('small');
138
+ @include mobile-only {
139
+ font-size: $font-smaller;
140
+ }
141
+ }
142
+ }
143
+
144
+ .text-caption {
145
+ font-size: $font-smaller;
146
+ font-weight: $regular;
147
+ @include general-heading-styles('small');
148
+ @include mobile-only {
149
+ font-size: $font-smallest;
150
+ }
151
+ &-bold {
152
+ font-weight: $bold;
153
+ font-size: $font-smaller;
154
+ @include general-heading-styles('small');
155
+ @include mobile-only {
156
+ font-size: $font-smallest;
157
+ }
158
+ }
159
+ }
160
+
161
+ .text-discalimer {
162
+ font-size: $font-smallest;
163
+ font-weight: $regular;
164
+ @include general-heading-styles('small');
165
+ @include mobile-only {
166
+ font-size: ($font-smallest - 1px);
167
+ }
168
+ &-bold {
169
+ font-weight: $bold;
170
+ font-size: $font-smallest;
171
+ @include general-heading-styles('small');
172
+ @include mobile-only {
173
+ font-size: ($font-smallest - 1px);
174
+ }
175
+ }
176
+ }
@@ -0,0 +1,149 @@
1
+ // This is a text pattern used to style up stats and values.
2
+
3
+
4
+ .value-stat {
5
+ $selector: ".value-stat";
6
+ &-container {
7
+ line-height: $font-large;
8
+ height: $font-large;
9
+ position: relative;
10
+ font-size: 0;
11
+ display: block;
12
+ }
13
+ &-pre {
14
+ color: $ink;
15
+ font-size: $font-smaller;
16
+ position: relative;
17
+ top: -6px;
18
+ display: inline-block;
19
+ padding-right: 1px;
20
+ @include smooth-font-off;
21
+ }
22
+ &-value {
23
+ color: $ink;
24
+ font-size: $font-large;
25
+ font-weight: $bold;
26
+ display: inline-block;
27
+ }
28
+ &-post {
29
+ font-size: $font-smaller;
30
+ color: $ink-lightest;
31
+ display: inline-block;
32
+ padding-left: 1px;
33
+ @include smooth-font-off;
34
+ }
35
+ &-description {
36
+ color: $ink-lightest;
37
+ font-size: $font-smaller;
38
+ display: block;
39
+ }
40
+ &-subtext {
41
+ color: $ink-lightest;
42
+ font-size: $font-smaller;
43
+ font-style: italic;
44
+ font-weight: $light;
45
+ display: block;
46
+ }
47
+ &.mega {
48
+ $font-mega: 40px;
49
+ #{$selector}-container {
50
+ line-height: $font-mega;
51
+ height: $font-mega;
52
+ }
53
+ #{$selector}-value {
54
+ font-size: ($font-mega - 2px);
55
+ }
56
+ #{$selector}-pre {
57
+ font-size: $font-base + 4px;
58
+ top: -13px;
59
+ }
60
+ #{$selector}-post {
61
+ font-size: $font-base + 2px;
62
+ }
63
+ }
64
+ &.jumbo {
65
+ #{$selector}-container {
66
+ line-height: $font-jumbo;
67
+ height: $font-jumbo;
68
+ }
69
+ #{$selector}-value {
70
+ font-size: ($font-jumbo - 2px);
71
+ }
72
+ #{$selector}-pre {
73
+ font-size: $font-base + 2px;
74
+ top: -11px;
75
+ }
76
+ #{$selector}-post {
77
+ font-size: $font-base;
78
+ }
79
+ }
80
+ &.largest {
81
+ #{$selector}-value {
82
+ font-size: $font-largest;
83
+ }
84
+ #{$selector}-pre {
85
+ font-size: $font-base;
86
+ top: -9px;
87
+ }
88
+ #{$selector}-post {
89
+ font-size: $font-small;
90
+ }
91
+ }
92
+ &.large {
93
+ #{$selector}-value {
94
+ font-size: $font-larger;
95
+ }
96
+ #{$selector}-pre {
97
+ font-size: $font-base;
98
+ top: -9px;
99
+ }
100
+ #{$selector}-post {
101
+ font-size: $font-small;
102
+ }
103
+ }
104
+ &.small {
105
+ #{$selector}-value {
106
+ font-size: $font-base;
107
+ }
108
+ #{$selector}-pre {
109
+ font-size: $font-smaller;
110
+ top: -3px;
111
+ }
112
+ #{$selector}-post {
113
+ font-size: $font-smaller;
114
+ padding-left: 2px;
115
+ }
116
+ }
117
+ &.white {
118
+ #{$selector}-value, #{$selector}-pre {
119
+ color: $white;
120
+ @include smooth-font;
121
+ }
122
+ #{$selector}-post, #{$selector}-description, #{$selector}-subtext {
123
+ color: $white-opacity-5;
124
+ }
125
+ }
126
+ &.royal {
127
+ #{$selector}-value, #{$selector}-pre {
128
+ color: $power-royal;
129
+ @include smooth-font;
130
+ }
131
+ }
132
+ &.green {
133
+ #{$selector}-value, #{$selector}-pre {
134
+ color: $power-green;
135
+ @include smooth-font;
136
+ }
137
+ }
138
+ &.red {
139
+ #{$selector}-value, #{$selector}-pre {
140
+ color: $power-red;
141
+ @include smooth-font;
142
+ }
143
+ }
144
+ &.one-line {
145
+ #{$selector}-container {
146
+ display: inline-block;
147
+ }
148
+ }
149
+ }