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.
- checksums.yaml +4 -4
- data/fonts/fontawesome.js +1978 -0
- data/fonts/regular.js +1217 -0
- data/lib/nitro_sg/version.rb +1 -1
- data/sass-mixins/_global.scss +415 -0
- data/sass-mixins/_normalize.scss +424 -0
- data/sass-mixins/_print.scss +101 -0
- data/sass-mixins/application.scss +29 -0
- data/sass-mixins/application.scss.flow +1592 -0
- data/sass-mixins/base-mixins/_all.scss +11 -0
- data/sass-mixins/base-mixins/_all.scss.flow +6 -0
- data/sass-mixins/base-mixins/_border-radius.scss +25 -0
- data/sass-mixins/base-mixins/_breakpoints.scss +95 -0
- data/sass-mixins/base-mixins/_color.sass +22 -0
- data/sass-mixins/base-mixins/_forms.scss +33 -0
- data/sass-mixins/base-mixins/_general.scss +599 -0
- data/sass-mixins/base-mixins/_grid-framework.scss +81 -0
- data/sass-mixins/base-mixins/_grid.scss +126 -0
- data/sass-mixins/base-mixins/_hover.scss +26 -0
- data/sass-mixins/base-mixins/_images.scss +33 -0
- data/sass-mixins/base-mixins/_media-queries.sass +58 -0
- data/sass-mixins/base-mixins/_type.scss +46 -0
- data/sass-mixins/base-variables/_all.scss +11 -0
- data/sass-mixins/base-variables/_animation-curves.scss +37 -0
- data/sass-mixins/base-variables/_bootstrap-variables.scss +284 -0
- data/sass-mixins/base-variables/_border-radius.sass +27 -0
- data/sass-mixins/base-variables/_color-bootstrap.scss +62 -0
- data/sass-mixins/base-variables/_color-deprecated.scss +26 -0
- data/sass-mixins/base-variables/_color-ui-elements.scss +20 -0
- data/sass-mixins/base-variables/_colors-export.scss +13 -0
- data/sass-mixins/base-variables/_colors-export.scss.flow +92 -0
- data/sass-mixins/base-variables/_colors.scss +267 -0
- data/sass-mixins/base-variables/_colors.scss.flow +5 -0
- data/sass-mixins/base-variables/_fonts.scss +97 -0
- data/sass-mixins/base-variables/_forms.scss +44 -0
- data/sass-mixins/base-variables/_opacity.scss +9 -0
- data/sass-mixins/base-variables/_positioning.scss +24 -0
- data/sass-mixins/base-variables/_shadows.scss +5 -0
- data/sass-mixins/base-variables/_sizing-ui-elements.scss +2 -0
- data/sass-mixins/base-variables/_spacing.sass +27 -0
- data/sass-mixins/base-variables/_typography.sass +79 -0
- data/sass-mixins/class-helpers/_all.scss +17 -0
- data/sass-mixins/class-helpers/_borders.scss +40 -0
- data/sass-mixins/class-helpers/_color.sass +61 -0
- data/sass-mixins/class-helpers/_display.scss +40 -0
- data/sass-mixins/class-helpers/_flexbox.scss +213 -0
- data/sass-mixins/class-helpers/_glyphicons.scss +307 -0
- data/sass-mixins/class-helpers/_line-height.scss +21 -0
- data/sass-mixins/class-helpers/_radius-and-shadows.scss +49 -0
- data/sass-mixins/class-helpers/_responsive-utilities.scss +179 -0
- data/sass-mixins/class-helpers/_screen-readers.scss +34 -0
- data/sass-mixins/class-helpers/_spacing.scss +51 -0
- data/sass-mixins/class-helpers/_type.scss +323 -0
- data/sass-mixins/class-helpers/_z-index.scss +10 -0
- data/sass-mixins/components.scss +5 -0
- data/sass-mixins/nitro-ui/_alerts.scss +139 -0
- data/sass-mixins/nitro-ui/_all.scss +33 -0
- data/sass-mixins/nitro-ui/_animations.scss +37 -0
- data/sass-mixins/nitro-ui/_carousel.scss +281 -0
- data/sass-mixins/nitro-ui/_code.scss +87 -0
- data/sass-mixins/nitro-ui/_connect-cards.scss +150 -0
- data/sass-mixins/nitro-ui/_dashboards.scss +516 -0
- data/sass-mixins/nitro-ui/_fixed-confirmation-toast.scss +48 -0
- data/sass-mixins/nitro-ui/_full-menu.scss +168 -0
- data/sass-mixins/nitro-ui/_grid.scss +92 -0
- data/sass-mixins/nitro-ui/_icon-toggle.scss +37 -0
- data/sass-mixins/nitro-ui/_jumbotron.scss +65 -0
- data/sass-mixins/nitro-ui/_links.scss +69 -0
- data/sass-mixins/nitro-ui/_list-group.scss +219 -0
- data/sass-mixins/nitro-ui/_media.scss +66 -0
- data/sass-mixins/nitro-ui/_modals.scss +311 -0
- data/sass-mixins/nitro-ui/_notify.scss +56 -0
- data/sass-mixins/nitro-ui/_popovers.scss +167 -0
- data/sass-mixins/nitro-ui/_progress-bars.scss +125 -0
- data/sass-mixins/nitro-ui/_responsive-embed.scss +35 -0
- data/sass-mixins/nitro-ui/_side-modal.scss +92 -0
- data/sass-mixins/nitro-ui/_tables-responsive.scss +253 -0
- data/sass-mixins/nitro-ui/_tables.scss +296 -0
- data/sass-mixins/nitro-ui/_thumbnails.scss +38 -0
- data/sass-mixins/nitro-ui/_tooltip.scss +124 -0
- data/sass-mixins/nitro-ui/_typography.scss +176 -0
- data/sass-mixins/nitro-ui/_value-stat.scss +149 -0
- data/sass-mixins/nitro-ui/_wells.scss +37 -0
- data/sass-mixins/nitro-ui/buttons/_all.scss +97 -0
- data/sass-mixins/nitro-ui/buttons/_button-capping.scss +21 -0
- data/sass-mixins/nitro-ui/buttons/_button-groups.scss +236 -0
- data/sass-mixins/nitro-ui/buttons/_button-mixins.scss +66 -0
- data/sass-mixins/nitro-ui/buttons/_button-variables.scss +51 -0
- data/sass-mixins/nitro-ui/buttons/_choice-buttons.scss +9 -0
- data/sass-mixins/nitro-ui/buttons/_circle-buttons.scss +30 -0
- data/sass-mixins/nitro-ui/buttons/_close.scss +45 -0
- data/sass-mixins/nitro-ui/buttons/_dropdowns.scss +270 -0
- data/sass-mixins/nitro-ui/buttons/_ghost-buttons.scss +58 -0
- data/sass-mixins/nitro-ui/buttons/_link-buttons.scss +53 -0
- data/sass-mixins/nitro-ui/buttons/_solid-buttons.scss +69 -0
- data/sass-mixins/nitro-ui/cards-panels/_all.scss +3 -0
- data/sass-mixins/nitro-ui/cards-panels/_cards.scss +409 -0
- data/sass-mixins/nitro-ui/cards-panels/_collapsible-card.scss +19 -0
- data/sass-mixins/nitro-ui/cards-panels/_panel-collapse.scss +34 -0
- data/sass-mixins/nitro-ui/cards-panels/_panel-list-groups.scss +41 -0
- data/sass-mixins/nitro-ui/cards-panels/_panel-tables.scss +111 -0
- data/sass-mixins/nitro-ui/cards-panels/_panels.scss +120 -0
- data/sass-mixins/nitro-ui/forms/_all.scss +18 -0
- data/sass-mixins/nitro-ui/forms/_checkbox-radio.scss +154 -0
- data/sass-mixins/nitro-ui/forms/_checkbox-toggle.scss +77 -0
- data/sass-mixins/nitro-ui/forms/_color-feedback.scss +53 -0
- data/sass-mixins/nitro-ui/forms/_dropdown.scss +12 -0
- data/sass-mixins/nitro-ui/forms/_form-group.scss +104 -0
- data/sass-mixins/nitro-ui/forms/_general-element-reset.scss +120 -0
- data/sass-mixins/nitro-ui/forms/_help-block.scss +11 -0
- data/sass-mixins/nitro-ui/forms/_horizontal-forms.scss +69 -0
- data/sass-mixins/nitro-ui/forms/_input-groups.scss +169 -0
- data/sass-mixins/nitro-ui/forms/_label.scss +29 -0
- data/sass-mixins/nitro-ui/forms/_multi-input-group.scss +89 -0
- data/sass-mixins/nitro-ui/forms/_static-form-text.scss +19 -0
- data/sass-mixins/nitro-ui/forms/_validation-states.scss +78 -0
- data/sass-mixins/nitro-ui/layouts/_sidebar-layout.scss +59 -0
- data/sass-mixins/nitro-ui/navigation/_all.scss +36 -0
- data/sass-mixins/nitro-ui/navigation/_breadcrumbs.scss +30 -0
- data/sass-mixins/nitro-ui/navigation/_pager.scss +71 -0
- data/sass-mixins/nitro-ui/navigation/_pagination.scss +212 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_brand.scss +25 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_collapse-content.scss +49 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_default-navbar.scss +33 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_dropdowns-buttons.scss +29 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_floats.scss +21 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_flush.scss +14 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_forms.scss +41 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_header.scss +31 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_inverse-navbar.scss +32 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_light-navbar.scss +36 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_links.scss +52 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_mixins.scss +161 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_navbar.scss +29 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_position.scss +50 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_text.scss +13 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_toggle-button.scss +37 -0
- data/sass-mixins/nitro-ui/navigation/navbar/_variables.scss +8 -0
- data/sass-mixins/nitro-ui/navigation/navs/_nav-dropdowns.scss +10 -0
- data/sass-mixins/nitro-ui/navigation/navs/_nav-justified.scss +32 -0
- data/sass-mixins/nitro-ui/navigation/navs/_nav-pills.scss +41 -0
- data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs-justified.scss +30 -0
- data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs.scss +41 -0
- data/sass-mixins/nitro-ui/navigation/navs/_nav.scss +383 -0
- data/sass-mixins/nitro-ui/navigation/navs/_navs.scss +70 -0
- data/sass-mixins/nitro-ui/navigation/navs/_tabbable-tabs.scss +12 -0
- data/sass-mixins/nitro-ui/navigation/navs/_variables.scss +23 -0
- data/sass-mixins/nitro-ui/tables/_all.scss +14 -0
- data/sass-mixins/nitro-ui/tables/_as-cards.scss +49 -0
- data/sass-mixins/nitro-ui/tables/_content.scss +13 -0
- data/sass-mixins/nitro-ui/tables/_headers.scss +17 -0
- data/sass-mixins/nitro-ui/tables/_hover.scss +66 -0
- data/sass-mixins/nitro-ui/tables/_mixins.scss +0 -0
- data/sass-mixins/nitro-ui/tables/_mobile.scss +138 -0
- data/sass-mixins/nitro-ui/tables/_reset.scss +17 -0
- data/sass-mixins/nitro-ui/tables/_single-line.scss +35 -0
- data/sass-mixins/nitro-ui/tables/_structure.scss +39 -0
- data/sass-mixins/nitro-ui/tables/_table-card.scss +88 -0
- data/sass-mixins/nitro-ui/tables/_table-dark.scss +92 -0
- data/sass-mixins/nitro-ui/tables/_variables.scss +23 -0
- data/sass-mixins/vendor/_bootstrap-overrides.scss +41 -0
- data/sass-mixins/vendor/_dropzone.scss +388 -0
- data/sass-mixins/vendor/_nitro-bootstrap.scss +95 -0
- data/sass-mixins/vendor/_nitro-dropzone.scss +56 -0
- data/sass-mixins/vendor/_react-datetime.scss +105 -0
- data/sass-mixins/vendor/_selectize.scss +407 -0
- data/sass-mixins/vendor/_sweet-alert-extended.scss +3 -0
- data/sass-mixins/vendor/react-select.css +375 -0
- data/sass-mixins/vendor/svg-with-js.css +5 -0
- data/sass-mixins/vendor/type-ahead.scss +43 -0
- 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
|
+
}
|