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,50 @@
|
|
1
|
+
.navbar-fixed-top,
|
2
|
+
.navbar-fixed-bottom {
|
3
|
+
.navbar-collapse {
|
4
|
+
max-height: $navbar-collapse-max-height;
|
5
|
+
|
6
|
+
@media (max-device-width: $screen-xs-min) and (orientation: landscape) {
|
7
|
+
max-height: 200px;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
//
|
14
|
+
// Navbar alignment options
|
15
|
+
//
|
16
|
+
// Display the navbar across the entirety of the page or fixed it to the top or
|
17
|
+
// bottom of the page.
|
18
|
+
|
19
|
+
// Static top (unfixed, but 100% wide) navbar
|
20
|
+
.navbar-static-top {
|
21
|
+
z-index: $zindex-navbar;
|
22
|
+
border-width: 0 0 1px;
|
23
|
+
|
24
|
+
@media (min-width: $grid-float-breakpoint) {
|
25
|
+
border-radius: 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
// Fix the top/bottom navbars when screen real estate supports it
|
30
|
+
.navbar-fixed-top,
|
31
|
+
.navbar-fixed-bottom {
|
32
|
+
position: fixed;
|
33
|
+
right: 0;
|
34
|
+
left: 0;
|
35
|
+
z-index: $zindex-navbar-fixed;
|
36
|
+
|
37
|
+
// Undo the rounded corners
|
38
|
+
@media (min-width: $grid-float-breakpoint) {
|
39
|
+
border-radius: 0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
.navbar-fixed-top {
|
43
|
+
top: 0;
|
44
|
+
border-width: 0 0 1px;
|
45
|
+
}
|
46
|
+
.navbar-fixed-bottom {
|
47
|
+
bottom: 0;
|
48
|
+
margin-bottom: 0; // override .navbar defaults
|
49
|
+
border-width: 1px 0 0;
|
50
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// Text in navbars
|
2
|
+
//
|
3
|
+
// Add a class to make any element properly align itself vertically within the navbars.
|
4
|
+
|
5
|
+
.navbar-text {
|
6
|
+
@include navbar-vertical-align($line-height-computed);
|
7
|
+
|
8
|
+
@media (min-width: $grid-float-breakpoint) {
|
9
|
+
float: left;
|
10
|
+
margin-left: $navbar-padding-horizontal;
|
11
|
+
margin-right: $navbar-padding-horizontal;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// Navbar toggle
|
2
|
+
//
|
3
|
+
// Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
4
|
+
// JavaScript plugin.
|
5
|
+
|
6
|
+
.navbar-toggle {
|
7
|
+
position: relative;
|
8
|
+
float: right;
|
9
|
+
margin-right: $navbar-padding-horizontal;
|
10
|
+
padding: 9px 10px;
|
11
|
+
@include navbar-vertical-align(34px);
|
12
|
+
background-color: transparent;
|
13
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
14
|
+
border: 1px solid transparent;
|
15
|
+
border-radius: $border-radius-base;
|
16
|
+
|
17
|
+
// We remove the `outline` here, but later compensate by attaching `:hover`
|
18
|
+
// styles to `:focus`.
|
19
|
+
&:focus {
|
20
|
+
outline: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
// Bars
|
24
|
+
.icon-bar {
|
25
|
+
display: block;
|
26
|
+
width: 22px;
|
27
|
+
height: 2px;
|
28
|
+
border-radius: 1px;
|
29
|
+
}
|
30
|
+
.icon-bar + .icon-bar {
|
31
|
+
margin-top: 4px;
|
32
|
+
}
|
33
|
+
|
34
|
+
@media (min-width: $grid-float-breakpoint) {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
$navbar-height: 64px;
|
2
|
+
$navbar-margin-bottom: $line-height-computed;
|
3
|
+
$navbar-border-radius: $border-radius-base;
|
4
|
+
$navbar-padding-horizontal: floor(($grid-gutter-width / 2));
|
5
|
+
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
|
6
|
+
$navbar-collapse-max-height: 340px;
|
7
|
+
$zindex-navbar: 999;
|
8
|
+
$zindex-navbar-fixed: 1030;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Dropdowns // Here or under dropdowns?
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
// Specific dropdowns
|
5
|
+
.nav-tabs .dropdown-menu {
|
6
|
+
// make dropdown border overlap tab border
|
7
|
+
margin-top: -1px;
|
8
|
+
// Remove the top rounded corners here since there is a hard edge above the menu
|
9
|
+
@include border-top-radius(0);
|
10
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Nav variations
|
2
|
+
// --------------------------------------------------
|
3
|
+
|
4
|
+
// Justified nav links
|
5
|
+
// -------------------------
|
6
|
+
|
7
|
+
.nav-justified {
|
8
|
+
width: 100%;
|
9
|
+
|
10
|
+
> li {
|
11
|
+
float: none;
|
12
|
+
> a {
|
13
|
+
text-align: center;
|
14
|
+
margin-bottom: 5px;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
> .dropdown .dropdown-menu {
|
19
|
+
top: auto;
|
20
|
+
left: auto;
|
21
|
+
}
|
22
|
+
|
23
|
+
@media (min-width: $screen-sm-min) {
|
24
|
+
> li {
|
25
|
+
display: table-cell;
|
26
|
+
width: 1%;
|
27
|
+
> a {
|
28
|
+
margin-bottom: 0;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// Pills
|
2
|
+
// -------------------------
|
3
|
+
.nav-pills {
|
4
|
+
> li {
|
5
|
+
float: left;
|
6
|
+
|
7
|
+
// Links rendered as pills
|
8
|
+
> a {
|
9
|
+
border-radius: $nav-pills-border-radius;
|
10
|
+
color: $ink-lighter;
|
11
|
+
transition-property: color, border-color, background-color;
|
12
|
+
transition-duration: 0.15s;
|
13
|
+
transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
|
14
|
+
}
|
15
|
+
+ li {
|
16
|
+
margin-left: 5px;
|
17
|
+
}
|
18
|
+
|
19
|
+
// Active state
|
20
|
+
&.active > a {
|
21
|
+
&,
|
22
|
+
&:hover,
|
23
|
+
&:focus {
|
24
|
+
@include text-color($power-royal);
|
25
|
+
background-color: $power-royal;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
// Stacked pills
|
33
|
+
.nav-stacked {
|
34
|
+
> li {
|
35
|
+
float: none;
|
36
|
+
+ li {
|
37
|
+
margin-top: 2px;
|
38
|
+
margin-left: 0; // no need for this gap between nav items
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Move borders to anchors instead of bottom of list
|
2
|
+
//
|
3
|
+
// Mixin for adding on top the shared `.nav-justified` styles for our tabs
|
4
|
+
.nav-tabs-justified {
|
5
|
+
border-bottom: 0;
|
6
|
+
|
7
|
+
> li > a {
|
8
|
+
// Override margin from .nav-tabs
|
9
|
+
margin-right: 0;
|
10
|
+
border-radius: $border-radius-base;
|
11
|
+
}
|
12
|
+
|
13
|
+
> .active > a,
|
14
|
+
> .active > a:hover,
|
15
|
+
> .active > a:focus {
|
16
|
+
border: 1px solid $nav-tabs-justified-link-border-color;
|
17
|
+
}
|
18
|
+
|
19
|
+
@media (min-width: $screen-sm-min) {
|
20
|
+
> li > a {
|
21
|
+
border-bottom: 1px solid $nav-tabs-justified-link-border-color;
|
22
|
+
border-radius: $border-radius-base $border-radius-base 0 0;
|
23
|
+
}
|
24
|
+
> .active > a,
|
25
|
+
> .active > a:hover,
|
26
|
+
> .active > a:focus {
|
27
|
+
border-bottom-color: $nav-tabs-justified-active-link-border-color;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// Tabs
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
// Give the tabs something to sit on
|
5
|
+
.nav-tabs {
|
6
|
+
border-bottom: 1px solid $nav-tabs-border-color;
|
7
|
+
> li {
|
8
|
+
float: left;
|
9
|
+
// Make the list-items overlay the bottom border
|
10
|
+
margin-bottom: -1px;
|
11
|
+
|
12
|
+
// Actual tabs (as links)
|
13
|
+
> a {
|
14
|
+
margin-right: 2px;
|
15
|
+
line-height: $line-height-base;
|
16
|
+
border: 1px solid transparent;
|
17
|
+
border-radius: $border-radius-base $border-radius-base 0 0;
|
18
|
+
&:hover {
|
19
|
+
border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Active state, and its :hover to override normal :hover
|
24
|
+
&.active > a {
|
25
|
+
&,
|
26
|
+
&:hover,
|
27
|
+
&:focus {
|
28
|
+
color: $nav-tabs-active-link-hover-color;
|
29
|
+
background-color: $nav-tabs-active-link-hover-bg;
|
30
|
+
border: 1px solid $nav-tabs-active-link-hover-border-color;
|
31
|
+
border-bottom-color: transparent;
|
32
|
+
cursor: default;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
// pulling this in mainly for less shorthand
|
37
|
+
&.nav-justified {
|
38
|
+
@extend .nav-justified;
|
39
|
+
@extend .nav-tabs-justified;
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,383 @@
|
|
1
|
+
$header-height: 57px;
|
2
|
+
$header-icon-color: #fff;
|
3
|
+
$header-icon-hover-color: $power-grey;
|
4
|
+
$nav-height: 30px;
|
5
|
+
$nav-caret-color: #fff;
|
6
|
+
|
7
|
+
.header-placeholder {
|
8
|
+
height: $header-height + $nav-height;
|
9
|
+
}
|
10
|
+
|
11
|
+
#header {
|
12
|
+
@include title-font;
|
13
|
+
background: $power-royal;
|
14
|
+
color: #999;
|
15
|
+
min-height: $header-height;
|
16
|
+
left: 0;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
position: fixed;
|
20
|
+
right: 0;
|
21
|
+
top: 0;
|
22
|
+
transition: all .4s ease-out;
|
23
|
+
-webkit-transition: all .4s ease-out;
|
24
|
+
-moz-transition: all .4s ease-out;
|
25
|
+
z-index: z-index-for("header");
|
26
|
+
web-transition: width 1s;
|
27
|
+
|
28
|
+
.logo {
|
29
|
+
display: block;
|
30
|
+
float: left;
|
31
|
+
margin-top: 12px;
|
32
|
+
margin-left: 15px;
|
33
|
+
text-decoration: none;
|
34
|
+
@include media-max-width(380px) {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
h1 { text-indent: -9999px; }
|
39
|
+
|
40
|
+
} /* .logo */
|
41
|
+
|
42
|
+
.navbar-form {
|
43
|
+
margin-top: 10px;
|
44
|
+
margin-bottom: 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
.announcements {
|
48
|
+
position: relative;
|
49
|
+
top: -3px;
|
50
|
+
white-space: nowrap;
|
51
|
+
display: block;
|
52
|
+
text-align: center;
|
53
|
+
.btn {
|
54
|
+
display: block;
|
55
|
+
border-radius: 0;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.triangle {
|
60
|
+
background-image: image-url("widgets/triangle.png");
|
61
|
+
background-size: 14px 7px;
|
62
|
+
height: 7px;
|
63
|
+
margin-top: -7px;
|
64
|
+
margin-left: 70%;
|
65
|
+
width: 14px;
|
66
|
+
}
|
67
|
+
.fa-2x {
|
68
|
+
font-size: 2.2em;
|
69
|
+
}
|
70
|
+
|
71
|
+
.head-nav-link {
|
72
|
+
color: $header-icon-color;
|
73
|
+
display: block;
|
74
|
+
float: left;
|
75
|
+
margin-top: 3px;
|
76
|
+
margin-right: 15px;
|
77
|
+
padding-right: 15px;
|
78
|
+
position: relative;
|
79
|
+
|
80
|
+
&.microphone {
|
81
|
+
margin-top: -1px;
|
82
|
+
}
|
83
|
+
|
84
|
+
span:nth-child(2) {
|
85
|
+
position: absolute;
|
86
|
+
bottom: -14px;
|
87
|
+
right: -4px;
|
88
|
+
|
89
|
+
i:first-child {
|
90
|
+
color: red;
|
91
|
+
}
|
92
|
+
i:last-child {
|
93
|
+
font-size: 10px;
|
94
|
+
color: white;
|
95
|
+
}
|
96
|
+
.fa-play {
|
97
|
+
padding-left: 3px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/* Power P fill color since it's svg */
|
102
|
+
img, svg.powergon-logo {
|
103
|
+
margin-top: 6px;
|
104
|
+
}
|
105
|
+
path {
|
106
|
+
&.bg { fill: $header-icon-color; }
|
107
|
+
&.fg { fill: $power-royal; }
|
108
|
+
}
|
109
|
+
|
110
|
+
.head-nav-link-caret {
|
111
|
+
position: absolute;
|
112
|
+
top: 10px;
|
113
|
+
right: 0;
|
114
|
+
}
|
115
|
+
.head-nav-link-caret span.caret {
|
116
|
+
border-top: 5px solid $nav-caret-color;
|
117
|
+
}
|
118
|
+
|
119
|
+
&.phone {
|
120
|
+
.fa-phone-square { margin-top: 8px; }
|
121
|
+
.head-nav-link-caret { right: 5px; }
|
122
|
+
}
|
123
|
+
|
124
|
+
&.search {
|
125
|
+
.fa-search { margin-top: 6px; }
|
126
|
+
}
|
127
|
+
}
|
128
|
+
.head-nav-link:hover, .head-nav-link:focus, .head-nav-link:active {
|
129
|
+
color: $white;
|
130
|
+
outline: 0;
|
131
|
+
text-decoration: none;
|
132
|
+
|
133
|
+
/* Power P fill color since it's svg */
|
134
|
+
path {
|
135
|
+
&.bg { fill: $header-icon-hover-color; }
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.spotnitro ~ .logo {
|
140
|
+
margin-left: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
.badge-connect-unread-messages {
|
144
|
+
bottom: 0.7em;
|
145
|
+
background: $power-red;
|
146
|
+
display: none;
|
147
|
+
position: absolute;
|
148
|
+
right: 1em;
|
149
|
+
width: 10px;
|
150
|
+
height: 10px;
|
151
|
+
border-radius: 10px;
|
152
|
+
}
|
153
|
+
|
154
|
+
#menu-link {
|
155
|
+
margin: 12px 0 0 15px;
|
156
|
+
}
|
157
|
+
|
158
|
+
.profile {
|
159
|
+
margin-top: 5px;
|
160
|
+
margin-right: 5px;
|
161
|
+
|
162
|
+
.profile-avatar {
|
163
|
+
float: left;
|
164
|
+
height: $header-height - 10px;
|
165
|
+
margin-left: 10px;
|
166
|
+
width: $header-height - 10px;
|
167
|
+
}
|
168
|
+
.profile-avatar img {
|
169
|
+
border-radius: $border-rad-light;
|
170
|
+
height: $header-height - 10px;
|
171
|
+
width: $header-height - 10px;
|
172
|
+
}
|
173
|
+
|
174
|
+
.profile-username {
|
175
|
+
color: #fff;
|
176
|
+
float: left;
|
177
|
+
font-size: 13px;
|
178
|
+
line-height: $header-height - 10px;
|
179
|
+
margin-left: 10px;
|
180
|
+
}
|
181
|
+
|
182
|
+
.profile-caret {
|
183
|
+
float: left;
|
184
|
+
margin-top: 8px;
|
185
|
+
margin-right: 8px;
|
186
|
+
padding-left: 5px;
|
187
|
+
|
188
|
+
span.caret { /* colors the caret */
|
189
|
+
border-top: 5px solid $nav-caret-color;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
} /* .profile */
|
193
|
+
|
194
|
+
div.settings-box {
|
195
|
+
border: 1px solid #c9c9c9;
|
196
|
+
background: #fff;
|
197
|
+
-webkit-box-shadow: 0px 0px 18px rgba(50, 50, 50, 0.2);
|
198
|
+
-moz-box-shadow: 0px 0px 18px rgba(50, 50, 50, 0.2);
|
199
|
+
box-shadow: 0px 0px 18px rgba(50, 50, 50, 0.2);
|
200
|
+
color: #5f5f5f;
|
201
|
+
font-size: 13px;
|
202
|
+
margin-top: 10px;
|
203
|
+
padding: 0;
|
204
|
+
width: auto;
|
205
|
+
|
206
|
+
.profile-navigation {
|
207
|
+
margin: 2px 0px;
|
208
|
+
padding: 0;
|
209
|
+
list-style: none;
|
210
|
+
|
211
|
+
h6 {
|
212
|
+
color: $medium-dark-grey;
|
213
|
+
font-size: 9px;
|
214
|
+
text-transform: uppercase;
|
215
|
+
}
|
216
|
+
|
217
|
+
li {
|
218
|
+
&:hover {
|
219
|
+
background: $ultralight-grey;
|
220
|
+
}
|
221
|
+
&:last-child a {
|
222
|
+
border: 0;
|
223
|
+
}
|
224
|
+
a, span {
|
225
|
+
color: #535457;
|
226
|
+
display: block;
|
227
|
+
margin: 0px 10px;
|
228
|
+
padding: 10px 0px;
|
229
|
+
|
230
|
+
&:hover {
|
231
|
+
text-decoration: none;
|
232
|
+
}
|
233
|
+
i {
|
234
|
+
padding-right: 10px;
|
235
|
+
}
|
236
|
+
|
237
|
+
&.text-danger {
|
238
|
+
color: $danger-color;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
span {
|
242
|
+
color: $medium-dark-grey;
|
243
|
+
cursor: default;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
} /* div.settings-box */
|
248
|
+
|
249
|
+
} /* #header */
|
250
|
+
|
251
|
+
body.training {
|
252
|
+
#header {
|
253
|
+
background: $ink-lighter;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
#connect-notifier {
|
258
|
+
h6 {
|
259
|
+
color: #fff;
|
260
|
+
margin-bottom: 5px;
|
261
|
+
margin-top: 10px;
|
262
|
+
padding-left: 10px;
|
263
|
+
}
|
264
|
+
|
265
|
+
li {
|
266
|
+
color: #777;
|
267
|
+
font-size: 12px;
|
268
|
+
line-height: 12px;
|
269
|
+
list-style-type: none;
|
270
|
+
margin-bottom: 7px;
|
271
|
+
margin-top: 3px;
|
272
|
+
}
|
273
|
+
|
274
|
+
ul {
|
275
|
+
padding-left: 10px;
|
276
|
+
}
|
277
|
+
|
278
|
+
> h6#connect-mention-header > i.fa {
|
279
|
+
padding-right: 0;
|
280
|
+
}
|
281
|
+
|
282
|
+
#connect-mention-header,
|
283
|
+
#connect-notifier-unread-message-names,
|
284
|
+
#connect-notifier-room-names {
|
285
|
+
display: none;
|
286
|
+
}
|
287
|
+
|
288
|
+
#connect-notifier-unread-message-names,
|
289
|
+
#connect-notifier-room-names {
|
290
|
+
padding-bottom: 10px;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
|
294
|
+
.connect-link {
|
295
|
+
cursor: pointer;
|
296
|
+
}
|
297
|
+
|
298
|
+
#main-crumbs.navbar-default {
|
299
|
+
@include title-font;
|
300
|
+
@include box-shadow(0, 2px, 8px, $black-opacity-2);
|
301
|
+
border: none;
|
302
|
+
border-radius: 0;
|
303
|
+
background-color: shade($power-navy, 20%);
|
304
|
+
max-height:$nav-height;
|
305
|
+
min-height: $nav-height;
|
306
|
+
overflow: hidden;
|
307
|
+
padding: 0;
|
308
|
+
position: relative;
|
309
|
+
top: 5px;
|
310
|
+
-webkit-transition: all .4s ease-out;
|
311
|
+
-moz-transition: all .4s ease-out;
|
312
|
+
transition: all .4s ease-out;
|
313
|
+
web-transition: width 1s;
|
314
|
+
display: block;
|
315
|
+
width: 100%;
|
316
|
+
margin-bottom: 0;
|
317
|
+
|
318
|
+
.navbar-nav > li {
|
319
|
+
border-right: solid 1px rgba($white, $opacity-1);
|
320
|
+
}
|
321
|
+
|
322
|
+
.navbar-nav > li > a {
|
323
|
+
color: $white-opacity-8;
|
324
|
+
font-size: 13px;
|
325
|
+
padding: 0 $space-large;
|
326
|
+
line-height: $nav-height;
|
327
|
+
border-bottom: 0;
|
328
|
+
}
|
329
|
+
.navbar-nav > li > a:hover {
|
330
|
+
color: $white;
|
331
|
+
background-color: shade($power-navy, 40%);
|
332
|
+
}
|
333
|
+
|
334
|
+
.navbar-nav > li.back-to-nitro, .navbar-nav > li.back-to-nitro a {
|
335
|
+
color: #fff;
|
336
|
+
}
|
337
|
+
.navbar-nav > li.back-to-nitro a:hover {
|
338
|
+
color: $power-grey;
|
339
|
+
}
|
340
|
+
|
341
|
+
} /* #main-crumbs.navbar-default */
|
342
|
+
|
343
|
+
body.training #main-crumbs {
|
344
|
+
background-color: $ink;
|
345
|
+
}
|
346
|
+
|
347
|
+
.poker-session {
|
348
|
+
a {
|
349
|
+
text-decoration: none;
|
350
|
+
color: $ultralight-grey;
|
351
|
+
}
|
352
|
+
|
353
|
+
a:hover {
|
354
|
+
text-decoration: underline;
|
355
|
+
color: $light-grey-alt;
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
|
360
|
+
@media screen and (max-width: 1000px) {
|
361
|
+
.navbar-default {
|
362
|
+
.navbar-nav {
|
363
|
+
margin: 0;
|
364
|
+
}
|
365
|
+
.navbar-nav > li {
|
366
|
+
float: left;
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
.env-information {
|
372
|
+
position: absolute;
|
373
|
+
left: 65px;
|
374
|
+
bottom: 45px;
|
375
|
+
.label.label-warning {
|
376
|
+
|
377
|
+
}
|
378
|
+
}
|
379
|
+
|
380
|
+
.announcements-hidden .announcements {
|
381
|
+
visibility: hidden;
|
382
|
+
transform: translateX(-2000px);
|
383
|
+
}
|