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,87 @@
|
|
1
|
+
// Code
|
2
|
+
//
|
3
|
+
//##
|
4
|
+
|
5
|
+
$code-color: #c7254e;
|
6
|
+
$code-bg: #f9f2f4;
|
7
|
+
|
8
|
+
$kbd-color: $inverse;
|
9
|
+
$kbd-bg: $brand-primary;
|
10
|
+
|
11
|
+
$pre-bg: $inverse;
|
12
|
+
$pre-color: inherit;
|
13
|
+
$pre-border-color: mix($brand-primary, $inverse, 12%);
|
14
|
+
$pre-scrollable-max-height: 340px;
|
15
|
+
$pre-border-radius: $border-radius-large;
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
//
|
20
|
+
// Code (inline and block)
|
21
|
+
// --------------------------------------------------
|
22
|
+
|
23
|
+
|
24
|
+
// Inline and block code styles
|
25
|
+
code,
|
26
|
+
kbd,
|
27
|
+
pre,
|
28
|
+
samp {
|
29
|
+
font-family: $font-family-monospace;
|
30
|
+
}
|
31
|
+
|
32
|
+
// Inline code
|
33
|
+
code {
|
34
|
+
padding: 2px 4px;
|
35
|
+
font-size: 90%;
|
36
|
+
color: $code-color;
|
37
|
+
background-color: $code-bg;
|
38
|
+
border-radius: $border-radius-base;
|
39
|
+
}
|
40
|
+
|
41
|
+
// User input typically entered via keyboard
|
42
|
+
kbd {
|
43
|
+
padding: 2px 4px;
|
44
|
+
font-size: 90%;
|
45
|
+
color: $kbd-color;
|
46
|
+
background-color: $kbd-bg;
|
47
|
+
border-radius: $border-radius-small;
|
48
|
+
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
|
49
|
+
|
50
|
+
kbd {
|
51
|
+
padding: 0;
|
52
|
+
font-size: 100%;
|
53
|
+
font-weight: bold;
|
54
|
+
box-shadow: none;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
// Blocks of code
|
59
|
+
pre {
|
60
|
+
display: block;
|
61
|
+
padding: (($line-height-computed - 1) / 2);
|
62
|
+
margin: 0 0 ($line-height-computed / 2);
|
63
|
+
font-size: ($font-size-base - 1); // 14px to 13px
|
64
|
+
line-height: $line-height-base;
|
65
|
+
word-break: break-all;
|
66
|
+
word-wrap: break-word;
|
67
|
+
color: $pre-color;
|
68
|
+
background-color: $pre-bg;
|
69
|
+
border: 1px solid $pre-border-color;
|
70
|
+
border-radius: $border-radius-base;
|
71
|
+
|
72
|
+
// Account for some code outputs that place code tags in pre tags
|
73
|
+
code {
|
74
|
+
padding: 0;
|
75
|
+
font-size: inherit;
|
76
|
+
color: inherit;
|
77
|
+
white-space: pre-wrap;
|
78
|
+
background-color: transparent;
|
79
|
+
border-radius: 0;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
// Enable scrollable blocks of code
|
84
|
+
.pre-scrollable {
|
85
|
+
max-height: $pre-scrollable-max-height;
|
86
|
+
overflow-y: scroll;
|
87
|
+
}
|
@@ -0,0 +1,150 @@
|
|
1
|
+
.connect-card {
|
2
|
+
$card-border: $sky;
|
3
|
+
border-radius: $border-rad-heaviest + 1px;
|
4
|
+
border: 1px solid $card-border;
|
5
|
+
box-shadow: $shadow-shallow;
|
6
|
+
background: $white;
|
7
|
+
min-height: $space-base;
|
8
|
+
overflow: hidden;
|
9
|
+
width: 250px;
|
10
|
+
.new-style & .btn {
|
11
|
+
margin-bottom: 0;
|
12
|
+
}
|
13
|
+
&-stat {
|
14
|
+
padding: $space-larger $space-base;
|
15
|
+
background: $white;
|
16
|
+
border-bottom: 1px solid $card-border;
|
17
|
+
&.bg-power-green, &.bg-ink, &.bg-power-navy, &.bg-power-navy-darker {
|
18
|
+
border: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
&-image {
|
22
|
+
img, .image {
|
23
|
+
display: block;
|
24
|
+
height: 155px;
|
25
|
+
width: 100%;
|
26
|
+
object-fit: cover;
|
27
|
+
background-size: cover;
|
28
|
+
background-position: center;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
&-text {
|
32
|
+
padding: $space-larger $space-base;
|
33
|
+
background: $white;
|
34
|
+
border-bottom: 1px solid $card-border;
|
35
|
+
&-title {
|
36
|
+
font-size: $font-small;
|
37
|
+
color: $ink;
|
38
|
+
}
|
39
|
+
&-description {
|
40
|
+
color: $ink-lightest;
|
41
|
+
font-size: $font-smaller;
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
&-subtext {
|
45
|
+
color: $ink-lightest;
|
46
|
+
font-size: $font-smaller;
|
47
|
+
font-style: italic;
|
48
|
+
font-weight: $light;
|
49
|
+
display: block;
|
50
|
+
}
|
51
|
+
|
52
|
+
}
|
53
|
+
&-list {
|
54
|
+
padding: $space-large $space-large $space-base $space-large;
|
55
|
+
.progress {
|
56
|
+
margin-bottom: 0;
|
57
|
+
&.small {
|
58
|
+
height: 10px;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
&-title {
|
62
|
+
text-transform: uppercase;
|
63
|
+
color: $ink;
|
64
|
+
font-size: $font-base;
|
65
|
+
line-height: $font-base + 2px;
|
66
|
+
margin-bottom: $space-large;
|
67
|
+
svg {
|
68
|
+
float: left;
|
69
|
+
margin: 0 $space-base 0 0
|
70
|
+
}
|
71
|
+
small {
|
72
|
+
text-transform: none;
|
73
|
+
font-size: $font-smaller;
|
74
|
+
line-height: $font-smaller + 1px;
|
75
|
+
display: block;
|
76
|
+
color: $ink-lighter;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
.one-line {
|
80
|
+
display: inline-block;
|
81
|
+
}
|
82
|
+
&-avatar {
|
83
|
+
width: 30px;
|
84
|
+
height: 30px;
|
85
|
+
border-radius: $border-rad-lighter;
|
86
|
+
object-fit: cover;
|
87
|
+
margin-right: $space-small;
|
88
|
+
display: block;
|
89
|
+
}
|
90
|
+
&-item {
|
91
|
+
display: block;
|
92
|
+
font-weight: $bold;
|
93
|
+
font-size: $font-small;
|
94
|
+
line-height: $font-base;
|
95
|
+
color: $ink;
|
96
|
+
margin-right: $space-small;
|
97
|
+
svg {
|
98
|
+
margin-right: $space-small;
|
99
|
+
}
|
100
|
+
small {
|
101
|
+
text-transform: uppercase;
|
102
|
+
font-weight: $regular;
|
103
|
+
font-size: $font-smaller;
|
104
|
+
color: $ink-lighter
|
105
|
+
}
|
106
|
+
}
|
107
|
+
&-value {
|
108
|
+
text-align: center;
|
109
|
+
margin-left: auto;
|
110
|
+
white-space: nowrap;
|
111
|
+
color: $ink-lighter;
|
112
|
+
font-size: $font-small;
|
113
|
+
}
|
114
|
+
ul, ol {
|
115
|
+
margin: 0;
|
116
|
+
padding: 0;
|
117
|
+
list-style: none;
|
118
|
+
}
|
119
|
+
ol {
|
120
|
+
counter-reset: connect-list-counter;
|
121
|
+
li:before {
|
122
|
+
content: counter(connect-list-counter);
|
123
|
+
counter-increment: connect-list-counter;
|
124
|
+
display: block;
|
125
|
+
width: 20px;
|
126
|
+
flex: 0 0 20px;
|
127
|
+
text-align: center;
|
128
|
+
color: $ink-lightest;
|
129
|
+
font-weight: $bold;
|
130
|
+
margin-right: $space-small;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
li {
|
134
|
+
border-bottom: 1px solid $card-border;
|
135
|
+
padding: $space-base 0;
|
136
|
+
display: flex;
|
137
|
+
align-items: center;
|
138
|
+
&:last-child {
|
139
|
+
border-bottom: 0;
|
140
|
+
padding-bottom: 0;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
&.no-borders li {
|
144
|
+
border-bottom: 0;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
div:last-child {
|
148
|
+
border-bottom: 0;
|
149
|
+
}
|
150
|
+
}
|
@@ -0,0 +1,516 @@
|
|
1
|
+
$dashboard-container: transparent;
|
2
|
+
$dashboard-region: transparent;
|
3
|
+
$dashboard-border-width: 1px;
|
4
|
+
$dashboard-border-color: $sky;
|
5
|
+
|
6
|
+
@mixin flexbox {
|
7
|
+
display: -webkit-box;
|
8
|
+
display: -webkit-flex;
|
9
|
+
display: -moz-flex;
|
10
|
+
display: -ms-flexbox;
|
11
|
+
display: flex;
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin flex-direction($value: row) {
|
15
|
+
@if $value == row-reverse {
|
16
|
+
-webkit-box-direction: reverse;
|
17
|
+
-webkit-box-orient: horizontal;
|
18
|
+
} @else if $value == column {
|
19
|
+
-webkit-box-direction: normal;
|
20
|
+
-webkit-box-orient: vertical;
|
21
|
+
} @else if $value == column-reverse {
|
22
|
+
-webkit-box-direction: reverse;
|
23
|
+
-webkit-box-orient: vertical;
|
24
|
+
} @else {
|
25
|
+
-webkit-box-direction: normal;
|
26
|
+
-webkit-box-orient: horizontal;
|
27
|
+
}
|
28
|
+
-webkit-flex-direction: $value;
|
29
|
+
-moz-flex-direction: $value;
|
30
|
+
-ms-flex-direction: $value;
|
31
|
+
flex-direction: $value;
|
32
|
+
}
|
33
|
+
|
34
|
+
@mixin flex-grow($int: 0) {
|
35
|
+
-webkit-box-flex: $int;
|
36
|
+
-webkit-flex-grow: $int;
|
37
|
+
-moz-flex-grow: $int;
|
38
|
+
-ms-flex-positive: $int;
|
39
|
+
flex-grow: $int;
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin flex-shrink($int: 1) {
|
43
|
+
-webkit-flex-shrink: $int;
|
44
|
+
-moz-flex-shrink: $int;
|
45
|
+
-ms-flex-negative: $int;
|
46
|
+
flex-shrink: $int;
|
47
|
+
}
|
48
|
+
|
49
|
+
@mixin flex-wrap($value: nowrap) {
|
50
|
+
// No Webkit Box fallback.
|
51
|
+
-webkit-flex-wrap: $value;
|
52
|
+
-moz-flex-wrap: $value;
|
53
|
+
@if $value == nowrap {
|
54
|
+
-ms-flex-wrap: none;
|
55
|
+
} @else {
|
56
|
+
-ms-flex-wrap: $value;
|
57
|
+
}
|
58
|
+
flex-wrap: $value;
|
59
|
+
}
|
60
|
+
|
61
|
+
.dashboard_container {
|
62
|
+
box-sizing: border-box;
|
63
|
+
@include flexbox;
|
64
|
+
@include flex-direction(row);
|
65
|
+
@include flex-grow(1);
|
66
|
+
@include flex-shrink(0);
|
67
|
+
@include flex-wrap(wrap);
|
68
|
+
margin: 0;
|
69
|
+
margin: 0;
|
70
|
+
|
71
|
+
&> div {
|
72
|
+
@include flexbox;
|
73
|
+
@include flex-grow(1);
|
74
|
+
@include flex-shrink(0);
|
75
|
+
align-items: stretch;
|
76
|
+
justify-content: center;
|
77
|
+
margin: 0;
|
78
|
+
padding: 0;
|
79
|
+
|
80
|
+
&> * {
|
81
|
+
@include flex-shrink(0);
|
82
|
+
width: 100%;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.expand {
|
87
|
+
@include flexbox;
|
88
|
+
justify-content: center;
|
89
|
+
height: 100%;
|
90
|
+
}
|
91
|
+
|
92
|
+
.dashboard_region {
|
93
|
+
@include flexbox;
|
94
|
+
@include flex-direction(column);
|
95
|
+
@include flex-wrap(nowrap);
|
96
|
+
@include flex-grow(1);
|
97
|
+
@include flex-shrink(0);
|
98
|
+
height: 100%;
|
99
|
+
margin: 0;
|
100
|
+
|
101
|
+
&> div {
|
102
|
+
@include flex-grow(1);
|
103
|
+
@include flex-shrink(0);
|
104
|
+
@include flexbox;
|
105
|
+
@include flex-direction(column);
|
106
|
+
align-items: stretch;
|
107
|
+
justify-content: center;
|
108
|
+
margin: 0;
|
109
|
+
padding: 0;
|
110
|
+
background: $dashboard-region;
|
111
|
+
width: 100%;
|
112
|
+
|
113
|
+
&> * {
|
114
|
+
@include flex-shrink(0);
|
115
|
+
// width: 100%;
|
116
|
+
}
|
117
|
+
|
118
|
+
iframe {
|
119
|
+
width: 100%;
|
120
|
+
border: 0;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.dashboard_flex_row {
|
125
|
+
clear: both;
|
126
|
+
float: none;
|
127
|
+
width: 100%;
|
128
|
+
@include flexbox;
|
129
|
+
@include flex-direction(row);
|
130
|
+
@include flex-grow(0);
|
131
|
+
@include flex-shrink(0);
|
132
|
+
|
133
|
+
&> div {
|
134
|
+
@include flexbox;
|
135
|
+
@include flex-grow(1);
|
136
|
+
@include flex-shrink(0);
|
137
|
+
align-items: stretch;
|
138
|
+
justify-content: center;
|
139
|
+
margin: 0;
|
140
|
+
padding: 0;
|
141
|
+
|
142
|
+
&> * {
|
143
|
+
@include flex-shrink(0);
|
144
|
+
width: 100%;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
&.grid {
|
149
|
+
@include flex-wrap(wrap);
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
.dashboard_flex_column {
|
154
|
+
clear: both;
|
155
|
+
float: none;
|
156
|
+
width: 100%;
|
157
|
+
@include flexbox;
|
158
|
+
@include flex-direction(column);
|
159
|
+
@include flex-grow(1);
|
160
|
+
@include flex-shrink(0);
|
161
|
+
|
162
|
+
&> div {
|
163
|
+
@include flex-grow(1);
|
164
|
+
@include flex-shrink(0);
|
165
|
+
@include flexbox;
|
166
|
+
align-items: stretch;
|
167
|
+
justify-content: center;
|
168
|
+
margin: 0;
|
169
|
+
padding: 0;
|
170
|
+
|
171
|
+
&> * {
|
172
|
+
@include flex-shrink(0);
|
173
|
+
width: 100%;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
&.flip {
|
179
|
+
@include flex-direction(column-reverse);
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
&.flip {
|
184
|
+
.dashboard_region {
|
185
|
+
@include flex-direction(column-reverse);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
&.reverse {
|
189
|
+
@include flex-direction(row-reverse);
|
190
|
+
}
|
191
|
+
|
192
|
+
&.dashboard_bordered {
|
193
|
+
.dashboard_region {
|
194
|
+
& > div {
|
195
|
+
border-width: $dashboard-border-width;
|
196
|
+
border-bottom-width: 0;
|
197
|
+
border-color: $dashboard-border-color;
|
198
|
+
border-style: solid;
|
199
|
+
|
200
|
+
&.dashboard_flex_row {
|
201
|
+
border-width: 0;
|
202
|
+
|
203
|
+
& > div {
|
204
|
+
border-width: $dashboard-border-width;
|
205
|
+
border-right-width: 0;
|
206
|
+
border-bottom-width: 0;
|
207
|
+
border-color: $dashboard-border-color;
|
208
|
+
border-style: solid;
|
209
|
+
|
210
|
+
&:last-child {
|
211
|
+
border-right-width: $dashboard-border-width;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
&:last-child {
|
217
|
+
border-bottom-width: $dashboard-border-width;
|
218
|
+
|
219
|
+
&.dashboard_flex_row {
|
220
|
+
border-bottom-width: $dashboard-border-width;
|
221
|
+
}
|
222
|
+
.dashboard_flex_column {
|
223
|
+
border-width: 0;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
.dashboard_flex_column {
|
228
|
+
border-width: 0;
|
229
|
+
|
230
|
+
& > div {
|
231
|
+
border-width: 0;
|
232
|
+
border-bottom-width: $dashboard-border-width;
|
233
|
+
border-color: $dashboard-border-color;
|
234
|
+
border-style: solid;
|
235
|
+
|
236
|
+
&:last-child {
|
237
|
+
border-bottom-width: 0;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
@for $i from 1 through 10 {
|
244
|
+
&.border-width-#{$i} {
|
245
|
+
.dashboard_region {
|
246
|
+
& > div {
|
247
|
+
border-width: #{$i}px;
|
248
|
+
border-bottom-width: 0;
|
249
|
+
|
250
|
+
&.dashboard_flex_row {
|
251
|
+
border-width: 0;
|
252
|
+
|
253
|
+
& > div {
|
254
|
+
border-width: #{$i}px;
|
255
|
+
border-right-width: 0;
|
256
|
+
border-bottom-width: 0;
|
257
|
+
|
258
|
+
&:last-child {
|
259
|
+
border-right-width: #{$i}px;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
264
|
+
&:last-child {
|
265
|
+
border-bottom-width: #{$i}px;
|
266
|
+
|
267
|
+
&.dashboard_flex_row {
|
268
|
+
border-bottom-width: #{$i}px;
|
269
|
+
}
|
270
|
+
.dashboard_flex_column {
|
271
|
+
border-width: 0;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|
275
|
+
.dashboard_flex_column {
|
276
|
+
border-width: 0;
|
277
|
+
|
278
|
+
& > div {
|
279
|
+
border-width: 0;
|
280
|
+
border-bottom-width: #{$i}px;
|
281
|
+
|
282
|
+
&:last-child {
|
283
|
+
border-bottom-width: 0;
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}
|
290
|
+
|
291
|
+
&.kiosk {
|
292
|
+
height: 100vh;
|
293
|
+
width: 100vw;
|
294
|
+
|
295
|
+
.dashboard_flex_row {
|
296
|
+
flex-grow: 1;
|
297
|
+
}
|
298
|
+
|
299
|
+
.flex-no-grow {
|
300
|
+
flex-grow: 0;
|
301
|
+
}
|
302
|
+
.flex-no-shrink {
|
303
|
+
flex-shrink: 0;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
.border-right {
|
308
|
+
border-right-style: solid;
|
309
|
+
border-right-width: 1px;
|
310
|
+
}
|
311
|
+
.border-left {
|
312
|
+
border-right-style: solid;
|
313
|
+
border-left-width: 1px;
|
314
|
+
}
|
315
|
+
.border-top {
|
316
|
+
border-right-style: solid;
|
317
|
+
border-top-width: 1px;
|
318
|
+
}
|
319
|
+
.border-bottom {
|
320
|
+
border-right-style: solid;
|
321
|
+
border-bottom-width: 1px;
|
322
|
+
}
|
323
|
+
|
324
|
+
.border-right-0 {
|
325
|
+
border-right-width: 0;
|
326
|
+
}
|
327
|
+
.border-left-0 {
|
328
|
+
border-left-width: 0;
|
329
|
+
}
|
330
|
+
.border-top-0 {
|
331
|
+
border-top-width: 0;
|
332
|
+
}
|
333
|
+
.border-bottom-0 {
|
334
|
+
border-bottom-width: 0;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
@media (max-width: 575px) {
|
339
|
+
.dashboard_container {
|
340
|
+
.xs-flex-nowrap {
|
341
|
+
@include flex-wrap(nowrap);
|
342
|
+
}
|
343
|
+
.xs-flex-wrap {
|
344
|
+
@include flex-wrap(wrap);
|
345
|
+
}
|
346
|
+
.xs-text-center {
|
347
|
+
text-align: center;
|
348
|
+
}
|
349
|
+
.xs-text-left {
|
350
|
+
text-align: left;
|
351
|
+
}
|
352
|
+
.xs-text-right {
|
353
|
+
text-align: right;
|
354
|
+
}
|
355
|
+
.xs-border-right {
|
356
|
+
border-right-style: solid;
|
357
|
+
border-right-width: 1px;
|
358
|
+
}
|
359
|
+
.xs-border-left {
|
360
|
+
border-left-style: solid;
|
361
|
+
border-left-width: 1px;
|
362
|
+
}
|
363
|
+
.xs-border-top {
|
364
|
+
border-top-style: solid;
|
365
|
+
border-top-width: 1px;
|
366
|
+
}
|
367
|
+
.xs-border-bottom {
|
368
|
+
border-bottom-style: solid;
|
369
|
+
border-bottom-width: 1px;
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
@media (min-width: 576px) and (max-width: 768px) {
|
375
|
+
.dashboard_container {
|
376
|
+
.sm-flex-nowrap {
|
377
|
+
@include flex-wrap(nowrap);
|
378
|
+
}
|
379
|
+
.sm-flex-wrap {
|
380
|
+
@include flex-wrap(wrap);
|
381
|
+
}
|
382
|
+
.sm-text-center {
|
383
|
+
text-align: center;
|
384
|
+
}
|
385
|
+
.sm-text-left {
|
386
|
+
text-align: left;
|
387
|
+
}
|
388
|
+
.sm-text-right {
|
389
|
+
text-align: right;
|
390
|
+
}
|
391
|
+
.sm-border-right {
|
392
|
+
border-right-style: solid;
|
393
|
+
border-right-width: 1px;
|
394
|
+
}
|
395
|
+
.sm-border-left {
|
396
|
+
border-left-style: solid;
|
397
|
+
border-left-width: 1px;
|
398
|
+
}
|
399
|
+
.sm-border-top {
|
400
|
+
border-top-style: solid;
|
401
|
+
border-top-width: 1px;
|
402
|
+
}
|
403
|
+
.sm-border-bottom {
|
404
|
+
border-bottom-style: solid;
|
405
|
+
border-bottom-width: 1px;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
}
|
409
|
+
|
410
|
+
@media (min-width: 769px) and (max-width: 992px) {
|
411
|
+
.dashboard_container {
|
412
|
+
.md-flex-nowrap {
|
413
|
+
@include flex-wrap(nowrap);
|
414
|
+
}
|
415
|
+
.md-flex-wrap {
|
416
|
+
@include flex-wrap(wrap);
|
417
|
+
}
|
418
|
+
.md-text-center {
|
419
|
+
text-align: center;
|
420
|
+
}
|
421
|
+
.md-text-left {
|
422
|
+
text-align: left;
|
423
|
+
}
|
424
|
+
.md-text-right {
|
425
|
+
text-align: right;
|
426
|
+
}
|
427
|
+
.md-border-right {
|
428
|
+
border-right-style: solid;
|
429
|
+
border-right-width: 1px;
|
430
|
+
}
|
431
|
+
.md-border-left {
|
432
|
+
border-left-style: solid;
|
433
|
+
border-left-width: 1px;
|
434
|
+
}
|
435
|
+
.md-border-top {
|
436
|
+
border-top-style: solid;
|
437
|
+
border-top-width: 1px;
|
438
|
+
}
|
439
|
+
.md-border-bottom {
|
440
|
+
border-bottom-style: solid;
|
441
|
+
border-bottom-width: 1px;
|
442
|
+
}
|
443
|
+
}
|
444
|
+
}
|
445
|
+
|
446
|
+
@media (min-width: 993px) and (max-width: 1200px) {
|
447
|
+
.dashboard_container {
|
448
|
+
.lg-flex-nowrap {
|
449
|
+
@include flex-wrap(nowrap);
|
450
|
+
}
|
451
|
+
.lg-flex-wrap {
|
452
|
+
@include flex-wrap(wrap);
|
453
|
+
}
|
454
|
+
.lg-text-center {
|
455
|
+
text-align: center;
|
456
|
+
}
|
457
|
+
.lg-text-left {
|
458
|
+
text-align: left;
|
459
|
+
}
|
460
|
+
.lg-text-right {
|
461
|
+
text-align: right;
|
462
|
+
}
|
463
|
+
.lg-border-right {
|
464
|
+
border-right-style: solid;
|
465
|
+
border-right-width: 1px;
|
466
|
+
}
|
467
|
+
.lg-border-left {
|
468
|
+
border-left-style: solid;
|
469
|
+
border-left-width: 1px;
|
470
|
+
}
|
471
|
+
.lg-border-top {
|
472
|
+
border-top-style: solid;
|
473
|
+
border-top-width: 1px;
|
474
|
+
}
|
475
|
+
.lg-border-bottom {
|
476
|
+
border-bottom-style: solid;
|
477
|
+
border-bottom-width: 1px;
|
478
|
+
}
|
479
|
+
}
|
480
|
+
}
|
481
|
+
|
482
|
+
@media (min-width: 1201px) {
|
483
|
+
.dashboard_container {
|
484
|
+
.xl-flex-nowrap {
|
485
|
+
@include flex-wrap(nowrap);
|
486
|
+
}
|
487
|
+
.xl-flex-wrap {
|
488
|
+
@include flex-wrap(wrap);
|
489
|
+
}
|
490
|
+
.xl-text-center {
|
491
|
+
text-align: center;
|
492
|
+
}
|
493
|
+
.xl-text-left {
|
494
|
+
text-align: left;
|
495
|
+
}
|
496
|
+
.xl-text-right {
|
497
|
+
text-align: right;
|
498
|
+
}
|
499
|
+
.xl-border-right {
|
500
|
+
border-right-style: solid;
|
501
|
+
border-right-width: 1px;
|
502
|
+
}
|
503
|
+
.xl-border-left {
|
504
|
+
border-left-style: solid;
|
505
|
+
border-left-width: 1px;
|
506
|
+
}
|
507
|
+
.xl-border-top {
|
508
|
+
border-top-style: solid;
|
509
|
+
border-top-width: 1px;
|
510
|
+
}
|
511
|
+
.xl-border-bottom {
|
512
|
+
border-bottom-style: solid;
|
513
|
+
border-bottom-width: 1px;
|
514
|
+
}
|
515
|
+
}
|
516
|
+
}
|