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,48 @@
|
|
1
|
+
.fixed-confirmation-toast {
|
2
|
+
$height: 30px;
|
3
|
+
$spacing-sizes: (
|
4
|
+
"xs": 20px,
|
5
|
+
"sm": 40px,
|
6
|
+
"md": 50px,
|
7
|
+
"lg": 70px,
|
8
|
+
"xl": 100px,
|
9
|
+
);
|
10
|
+
$colors: (
|
11
|
+
"success": $power-green,
|
12
|
+
"tip": $ink-lightest,
|
13
|
+
"error": $power-red,
|
14
|
+
);
|
15
|
+
min-height: $height;
|
16
|
+
display: flex;
|
17
|
+
background: $sky;
|
18
|
+
border-radius: $border-rad-mega;
|
19
|
+
box-shadow: $shadow-deep;
|
20
|
+
color: $white;
|
21
|
+
padding-left: $space-small;
|
22
|
+
padding-right: $space-large;
|
23
|
+
align-items: center;
|
24
|
+
&-icon {
|
25
|
+
font-size: $font-base;
|
26
|
+
margin-right: $space-small;
|
27
|
+
}
|
28
|
+
&-message {
|
29
|
+
font-size: $font-small;
|
30
|
+
font-weight: $bold;
|
31
|
+
flex: 1;
|
32
|
+
text-align: center;
|
33
|
+
}
|
34
|
+
@each $name, $color in $colors {
|
35
|
+
&-#{$name} {
|
36
|
+
background: $color;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
&-bottom {
|
40
|
+
@each $name, $size in $spacing-sizes {
|
41
|
+
&-#{$name} {
|
42
|
+
position: fixed;
|
43
|
+
@include center;
|
44
|
+
bottom: $size;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,168 @@
|
|
1
|
+
@import "../base-mixins/all";
|
2
|
+
@import "../base-variables/all";
|
3
|
+
$slideout-menu-width: 200px;
|
4
|
+
|
5
|
+
.sidebar-loading {
|
6
|
+
margin: 10px;
|
7
|
+
text-align: center;
|
8
|
+
}
|
9
|
+
|
10
|
+
.full-menu {
|
11
|
+
@include title-font;
|
12
|
+
bottom: 0;
|
13
|
+
list-style: none;
|
14
|
+
overflow-y: auto;
|
15
|
+
padding: 0;
|
16
|
+
position: fixed;
|
17
|
+
top: 0;
|
18
|
+
width: $slideout-menu-width;
|
19
|
+
z-index: 10000;
|
20
|
+
|
21
|
+
li {
|
22
|
+
a {
|
23
|
+
background: $white;
|
24
|
+
border-bottom: 1px solid mix($sky, $sky-light, 50%);
|
25
|
+
border-right: 1px solid mix($sky, $sky-light, 50%);
|
26
|
+
color: $ink;
|
27
|
+
display: block;
|
28
|
+
font-size: 13px;
|
29
|
+
margin: 0;
|
30
|
+
padding: 12px 10px;
|
31
|
+
position: relative;
|
32
|
+
font-weight: $bold;
|
33
|
+
@include smooth-font;
|
34
|
+
transition-property: color, border-color, background-color;
|
35
|
+
transition-duration: 0.15s;
|
36
|
+
transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
|
37
|
+
|
38
|
+
.full-menu-icon {
|
39
|
+
display: block;
|
40
|
+
left: 14px;
|
41
|
+
position: absolute;
|
42
|
+
top: 15px;
|
43
|
+
font-size: $font-small;
|
44
|
+
color: $ink-lighter;
|
45
|
+
}
|
46
|
+
span {
|
47
|
+
display: block;
|
48
|
+
float: left;
|
49
|
+
margin-left: 2em;
|
50
|
+
}
|
51
|
+
span.badge {
|
52
|
+
display: block;
|
53
|
+
float: right;
|
54
|
+
font-size: 90%;
|
55
|
+
line-height: 1.1em;
|
56
|
+
border-radius: $border-rad-mega;
|
57
|
+
position: relative;
|
58
|
+
z-index: 1;
|
59
|
+
}
|
60
|
+
.full-menu-caret {
|
61
|
+
border-top-color: $ink;
|
62
|
+
float: none;
|
63
|
+
margin: none;
|
64
|
+
position: absolute;
|
65
|
+
right: 5px;
|
66
|
+
top: 12px;
|
67
|
+
font-size: 17px;
|
68
|
+
}
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
background: $light-yellow;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
&.active {
|
76
|
+
a, a:hover {
|
77
|
+
-webkit-box-shadow: inset 0px 2px 5px 0px #bfbfbf;
|
78
|
+
box-shadow: inset 0px 2px 5px 0px #bfbfbf;
|
79
|
+
background: #e5e5e5;
|
80
|
+
background: -moz-linear-gradient(top, #e5e5e5 0%, #f5f5f5 100%);
|
81
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(100%,#f5f5f5));
|
82
|
+
background: -webkit-linear-gradient(top, #e5e5e5 0%,#f5f5f5 100%);
|
83
|
+
background: -o-linear-gradient(top, #e5e5e5 0%,#f5f5f5 100%);
|
84
|
+
background: -ms-linear-gradient(top, #e5e5e5 0%,#f5f5f5 100%);
|
85
|
+
background: linear-gradient(to bottom, #e5e5e5 0%,#f5f5f5 100%);
|
86
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#f5f5f5',GradientType=0 );
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
/* VACATION STYLE */
|
91
|
+
&.corporate-trip {
|
92
|
+
a {
|
93
|
+
background: #fffdd5;
|
94
|
+
background: -moz-linear-gradient(top, #fffdd5 1%, #eee100 100%);
|
95
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#fffdd5), color-stop(100%,#eee100));
|
96
|
+
background: -webkit-linear-gradient(top, #fffdd5 1%,#eee100 100%);
|
97
|
+
background: -o-linear-gradient(top, #fffdd5 1%,#eee100 100%);
|
98
|
+
background: -ms-linear-gradient(top, #fffdd5 1%,#eee100 100%);
|
99
|
+
background: linear-gradient(to bottom, #fffdd5 1%,#eee100 100%);
|
100
|
+
border-bottom: 1px solid #ffcd3c;
|
101
|
+
border-right: 1px solid #ffcd3c;
|
102
|
+
color: $power-red;
|
103
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fffdd5', endColorstr='#eee100',GradientType=0 );
|
104
|
+
}
|
105
|
+
}
|
106
|
+
/* END VACATION STYLE */
|
107
|
+
}
|
108
|
+
|
109
|
+
/* collapsable menu items */
|
110
|
+
.panel-collapse {
|
111
|
+
li {
|
112
|
+
a {
|
113
|
+
background: $ink-light;
|
114
|
+
border-bottom: none;
|
115
|
+
color: $sky-light;
|
116
|
+
padding: 5px 15px;
|
117
|
+
|
118
|
+
i, svg {
|
119
|
+
font-size: 70%;
|
120
|
+
left: 20px;
|
121
|
+
top: 11px;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
a:hover {
|
125
|
+
-webkit-box-shadow: none;
|
126
|
+
background: $ink-lighter;
|
127
|
+
box-shadow: none;
|
128
|
+
color:$white;
|
129
|
+
filter: none;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
}
|
135
|
+
|
136
|
+
/*
|
137
|
+
* Off Canvas
|
138
|
+
* --------------------------------------------------
|
139
|
+
*/
|
140
|
+
@media screen and (max-width: 3000px) {
|
141
|
+
.row-offcanvas {
|
142
|
+
position: relative;
|
143
|
+
left: 0; /* for firefox */
|
144
|
+
-webkit-transition: all .4s ease-out;
|
145
|
+
-moz-transition: all .4s ease-out;
|
146
|
+
transition: all .4s ease-out;
|
147
|
+
web-transition: width 1s;
|
148
|
+
|
149
|
+
&.active {
|
150
|
+
#header {
|
151
|
+
left: $slideout-menu-width;
|
152
|
+
right: -$slideout-menu-width;
|
153
|
+
-webkit-transition: all .4s ease-out;
|
154
|
+
-moz-transition: all .4s ease-out;
|
155
|
+
transition: all .4s ease-out;
|
156
|
+
web-transition: width 1s;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
.row-offcanvas-right .sidebar-offcanvas { right: -$slideout-menu-width; }
|
162
|
+
.row-offcanvas-left .sidebar-offcanvas { left: -$slideout-menu-width; }
|
163
|
+
|
164
|
+
.row-offcanvas-right.active { right: $slideout-menu-width; }
|
165
|
+
.row-offcanvas-left.active { left: $slideout-menu-width; }
|
166
|
+
|
167
|
+
.sidebar-offcanvas { position: absolute; top: 0; width: $slideout-menu-width; z-index: 10000; }
|
168
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
//
|
2
|
+
// Grid system
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Container widths
|
7
|
+
//
|
8
|
+
// Set the container width, and override it for fixed navbars in media queries.
|
9
|
+
|
10
|
+
.container {
|
11
|
+
@include container-fixed;
|
12
|
+
|
13
|
+
@media (min-width: $screen-sm-min) {
|
14
|
+
width: $container-sm;
|
15
|
+
}
|
16
|
+
@media (min-width: $screen-md-min) {
|
17
|
+
width: $container-md;
|
18
|
+
}
|
19
|
+
@media (min-width: $screen-lg-min) {
|
20
|
+
width: $container-lg;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
// Fluid container
|
26
|
+
//
|
27
|
+
// Utilizes the mixin meant for fixed width containers, but without any defined
|
28
|
+
// width for fluid, full width layouts.
|
29
|
+
|
30
|
+
.container-fluid {
|
31
|
+
@include container-fixed;
|
32
|
+
width: 100%;
|
33
|
+
}
|
34
|
+
|
35
|
+
.container-tablet { max-width: $container-tablet }
|
36
|
+
.container-sm { max-width: $container-sm }
|
37
|
+
.container-desktop { max-width: $container-desktop }
|
38
|
+
.container-md { max-width: $container-md }
|
39
|
+
.container-large-desktop { max-width: $container-large-desktop }
|
40
|
+
.container-lg { max-width: $container-lg }
|
41
|
+
|
42
|
+
|
43
|
+
// Row
|
44
|
+
//
|
45
|
+
// Rows contain and clear the floats of your columns.
|
46
|
+
|
47
|
+
.row {
|
48
|
+
@include make-row;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// Columns
|
53
|
+
//
|
54
|
+
// Common styles for small and large grid columns
|
55
|
+
|
56
|
+
@include make-grid-columns;
|
57
|
+
|
58
|
+
|
59
|
+
// Extra small grid
|
60
|
+
//
|
61
|
+
// Columns, offsets, pushes, and pulls for extra small devices like
|
62
|
+
// smartphones.
|
63
|
+
|
64
|
+
@include make-grid(xs);
|
65
|
+
|
66
|
+
|
67
|
+
// Small grid
|
68
|
+
//
|
69
|
+
// Columns, offsets, pushes, and pulls for the small device range, from phones
|
70
|
+
// to tablets.
|
71
|
+
|
72
|
+
@media (min-width: $screen-sm-min) {
|
73
|
+
@include make-grid(sm);
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
// Medium grid
|
78
|
+
//
|
79
|
+
// Columns, offsets, pushes, and pulls for the desktop device range.
|
80
|
+
|
81
|
+
@media (min-width: $screen-md-min) {
|
82
|
+
@include make-grid(md);
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
// Large grid
|
87
|
+
//
|
88
|
+
// Columns, offsets, pushes, and pulls for the large desktop device range.
|
89
|
+
|
90
|
+
@media (min-width: $screen-lg-min) {
|
91
|
+
@include make-grid(lg);
|
92
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.icon-toggle input[type=checkbox]{
|
2
|
+
|
3
|
+
-webkit-appearance: none;
|
4
|
+
-moz-appearance: none;
|
5
|
+
appearance: none;
|
6
|
+
|
7
|
+
}
|
8
|
+
/* Toggle */
|
9
|
+
|
10
|
+
|
11
|
+
input[type=checkbox]:checked ~ span{
|
12
|
+
|
13
|
+
&[title="icon-1"]{
|
14
|
+
svg{
|
15
|
+
color:none !important;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
&[title="icon-2"]{
|
20
|
+
svg{
|
21
|
+
color:$power-green !important;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
input[type=checkbox]:not(:checked) ~ span{
|
27
|
+
&[title="icon-1"]{
|
28
|
+
svg{
|
29
|
+
color:$power-red !important;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
&[title="icon-2"]{
|
33
|
+
svg{
|
34
|
+
color:none !important;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//== Jumbotron
|
2
|
+
//
|
3
|
+
//##
|
4
|
+
|
5
|
+
$jumbotron-padding: 30px !default;
|
6
|
+
$jumbotron-color: inherit !default;
|
7
|
+
$jumbotron-bg: $gray-5 !default;
|
8
|
+
$jumbotron-heading-color: inherit !default;
|
9
|
+
$jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
|
10
|
+
$jumbotron-heading-font-size: ceil(($font-size-base * 4.5)) !default;
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
//
|
15
|
+
// Jumbotron
|
16
|
+
// --------------------------------------------------
|
17
|
+
|
18
|
+
|
19
|
+
.jumbotron {
|
20
|
+
padding-top: $jumbotron-padding;
|
21
|
+
padding-bottom: $jumbotron-padding;
|
22
|
+
margin-bottom: $jumbotron-padding;
|
23
|
+
color: $jumbotron-color;
|
24
|
+
background-color: $jumbotron-bg;
|
25
|
+
|
26
|
+
h1,
|
27
|
+
.h1 {
|
28
|
+
color: $jumbotron-heading-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
p {
|
32
|
+
margin-bottom: ($jumbotron-padding / 2);
|
33
|
+
font-size: $jumbotron-font-size;
|
34
|
+
font-weight: 200;
|
35
|
+
}
|
36
|
+
|
37
|
+
> hr {
|
38
|
+
border-top-color: darken($jumbotron-bg, 10%);
|
39
|
+
}
|
40
|
+
|
41
|
+
.container &,
|
42
|
+
.container-fluid & {
|
43
|
+
border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
|
44
|
+
}
|
45
|
+
|
46
|
+
.container {
|
47
|
+
max-width: 100%;
|
48
|
+
}
|
49
|
+
|
50
|
+
@media screen and (min-width: $screen-sm-min) {
|
51
|
+
padding-top: ($jumbotron-padding * 1.6);
|
52
|
+
padding-bottom: ($jumbotron-padding * 1.6);
|
53
|
+
|
54
|
+
.container &,
|
55
|
+
.container-fluid & {
|
56
|
+
padding-left: ($jumbotron-padding * 2);
|
57
|
+
padding-right: ($jumbotron-padding * 2);
|
58
|
+
}
|
59
|
+
|
60
|
+
h1,
|
61
|
+
.h1 {
|
62
|
+
font-size: $jumbotron-heading-font-size;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
// MIXINS
|
2
|
+
@mixin link($color, $dark: false, $underline: false) {
|
3
|
+
text-decoration: none;
|
4
|
+
border-bottom: 1px solid transparent;
|
5
|
+
cursor: pointer;
|
6
|
+
transition-property: border, color;
|
7
|
+
transition-duration: 0.15s;
|
8
|
+
transition-timing-function: $bezier;
|
9
|
+
@if $dark {
|
10
|
+
color: $white;
|
11
|
+
@if $underline {
|
12
|
+
border-bottom: 1px solid $color;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
@else {
|
16
|
+
color: $color;
|
17
|
+
@if $underline {
|
18
|
+
border-bottom: 1px solid shade($color, 30%);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
&:hover, &:active, &:focus {
|
22
|
+
outline: 0;
|
23
|
+
text-decoration: none;
|
24
|
+
@if $dark {
|
25
|
+
color: tint(saturate($color, 60%), 20%);
|
26
|
+
border-bottom: 1px solid tint($color, 70%);
|
27
|
+
}
|
28
|
+
@else {
|
29
|
+
color: shade(saturate($color, 60%), 20%);
|
30
|
+
@if $underline {
|
31
|
+
border-bottom: 1px solid shade($color, 100%);
|
32
|
+
}
|
33
|
+
@else {
|
34
|
+
border-bottom: 1px solid shade($color, 30%);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin link-colors($colors-list, $dark: false, $underline: false) {
|
41
|
+
@each $name, $color in $colors-list {
|
42
|
+
&-#{$name} {
|
43
|
+
@include link($color: $color, $dark: $dark, $underline: $underline);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
// BASE STYLE
|
49
|
+
a {
|
50
|
+
@include link($power-royal);
|
51
|
+
border-color: transparent;
|
52
|
+
&:hover, &:active, &:focus {
|
53
|
+
border-color: transparent;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.link {
|
58
|
+
@include link-colors($power-colors);
|
59
|
+
&-inverted {
|
60
|
+
@include link-colors($power-colors, $dark: true);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.link-underline {
|
65
|
+
@include link-colors($power-colors, $underline: true);
|
66
|
+
&-inverted {
|
67
|
+
@include link-colors($power-colors, true, true);
|
68
|
+
}
|
69
|
+
}
|