fleetio_spark 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,9 @@
6
6
 
7
7
  [role=treeitem][aria-expanded=false] > [role=group] {
8
8
  max-height: 0;
9
+ padding: 0;
9
10
  }
11
+
10
12
  [role=treeitem][aria-expanded=true] .expand-icon {
11
13
  transform: rotate(180deg);
12
14
  }
@@ -5,7 +5,7 @@
5
5
  height: $app-nav-header-height;
6
6
  border-bottom: 1px solid $fl-gray-100;
7
7
  background-color: $fl-white;
8
- padding: 0 $pad-lg;
8
+ padding: 0 $pad-lg { left: 68px }
9
9
  position: fixed;
10
10
  z-index: 1040;
11
11
  top: 0;
@@ -15,26 +15,12 @@
15
15
  line-height: $base-line-height;
16
16
 
17
17
  @include at-least( $width-sm ) {
18
- padding: 0 $pad-xl;
18
+ padding: 0 $pad-xl { left: 60px }
19
19
  }
20
20
 
21
21
  @include at-least( $width-md ) {
22
- left: $primary-sidebar-width;
23
- }
24
-
25
- .sidebar-nav-toggle {
26
- @include circular-button(32px);
27
- flex-shrink: 0;
28
- color: $fl-gray-500;
29
- margin-left: -$pad-base;
30
- margin-right: $pad-lg;
31
- transition: all $duration $timing;
32
-
33
- &:hover {
34
- color: $fl-gray-700;
35
- border-radius: 50%;
36
- background-color: $fl-gray-50;
37
- }
22
+ left: $sidebar-nav-width;
23
+ padding-left: $pad-xl;
38
24
  }
39
25
 
40
26
  .app-navbar-logo {
@@ -48,36 +34,16 @@
48
34
 
49
35
  // Styles for Top Navbar Dropdown Menus
50
36
  .dropdown-menu {
51
- border: 1px solid transparent;
52
- max-height: 85vh;
53
- overflow-y: auto;
54
- min-width: 260px;
55
- @include elevation(4);
56
- border-radius: 6px;
57
- margin-top: $pad-base;
37
+ margin-top: $pad-sm;
58
38
  margin-right: -$pad-base;
59
- padding: $pad-md $pad-base;
60
- font-size: 14px;
61
-
62
- .divider { margin: $pad-base; }
63
-
64
- > li {
65
- > a {
66
- border-radius: 3px;
67
- padding: 5px $pad-base 6px;
68
- }
39
+ }
69
40
 
70
- // Existing Material icons styling (will replace with svg in future)
71
- i {
72
- font-size: 16px;
73
- margin-right: $pad-md;
74
- }
75
- .pull-right {
76
- i {
77
- font-size: 14px;
78
- margin-right: 0;
79
- }
80
- }
41
+ // When search modal is active increase the
42
+ // z-index so sidebar toggle is behind
43
+ // the search input
44
+ [data-modal=search-results] & {
45
+ @include until( $width-base ) {
46
+ z-index: 1060;
81
47
  }
82
48
  }
83
49
  }
@@ -107,7 +73,8 @@
107
73
  }
108
74
 
109
75
  .quick-add-btn,
110
- .help-menu-btn {
76
+ .help-menu-btn,
77
+ .alert-btn {
111
78
  @include circular-button(32px);
112
79
  color: $fl-gray-500;
113
80
  border: 1px solid $fl-gray-100;
@@ -122,6 +89,15 @@
122
89
  }
123
90
  }
124
91
 
92
+ .alert-btn {
93
+ &,
94
+ &:hover,
95
+ &:focus {
96
+ color: $fl-yellow-600;
97
+ border-color: $fl-yellow-600;
98
+ }
99
+ }
100
+
125
101
  .help-menu-btn {
126
102
  // New announcement indicator dot
127
103
  &.new-announcements {
@@ -109,13 +109,9 @@
109
109
  }
110
110
 
111
111
  .modal-panel {
112
- @include elevation(4);
113
- background: $fl-white;
114
112
  border-radius: 8px;
115
113
  padding-top: 38px;
116
- top: 1px;
117
- left: -$pad-sm;
118
- right: -$pad-sm;
114
+ top: 0px;
119
115
 
120
116
  &:before {
121
117
  content: "";
@@ -124,7 +120,6 @@
124
120
  height: 15px;
125
121
  z-index: 1;
126
122
  border-top: 1px solid $fl-gray-100;
127
- //background-image: linear-gradient( to bottom, white, rgba(#fff, .45), rgba(#fff, 0) );
128
123
  }
129
124
  &-header {
130
125
  background: $fl-gray-25;
@@ -140,6 +135,10 @@
140
135
  -webkit-transform-style: preserve-3d;
141
136
  }
142
137
 
138
+ .no-results {
139
+ padding: $pad-base $pad-lg;
140
+ }
141
+
143
142
  kbd {
144
143
  display: inline-block;
145
144
  height: 18px;
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  @include at-least( $width-md ) {
12
- margin-left: $primary-sidebar-width;
12
+ margin-left: $sidebar-nav-width;
13
13
  }
14
14
  }
15
15
 
@@ -21,6 +21,36 @@
21
21
  }
22
22
  }
23
23
 
24
+ @include until( $width-md ) {
25
+ .app-nav-header,
26
+ .app-container,
27
+ .sidebar-nav {
28
+ transition: transform $duration $timing;
29
+ }
30
+
31
+ .sidebar-nav {
32
+ transform: translateX(-$sidebar-nav-width);
33
+ }
34
+ }
35
+
36
+ @include until( $width-md ) {
37
+ .show-sidebar {
38
+ overflow: hidden;
39
+ max-height: 100vh;
40
+
41
+ .app-nav-header,
42
+ .app-container {
43
+ transform: translateX($sidebar-nav-width);
44
+ }
45
+
46
+ .sidebar-nav {
47
+ transform: translateX(0);
48
+ z-index: 1050;
49
+ }
50
+
51
+ }
52
+ }
53
+
24
54
  .app-container {
25
55
  flex-grow: 1;
26
56
  position: relative;
@@ -8,8 +8,10 @@ $base-font: -apple-system, BlinkMacSystemFont, 'Avenir Next', Avenir, 'Segoe UI'
8
8
  $mono-font: 'Roboto Mono', Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace;
9
9
 
10
10
  // Sidebar & Navbar
11
- $primary-sidebar-width: 250px;
12
- $primary-sidebar-bg: $fl-blue-900;
11
+ $sidebar-nav-width: 250px;
12
+ $sidebar-nav-bg: $fl-blue-900;
13
+ $sidebar-nav-item-hover: lighten($sidebar-nav-bg, 2%);
14
+ $sidebar-nav-item-active: darken($sidebar-nav-bg, 4%);
13
15
  $app-nav-header-height: 60px;
14
16
  $app-admin-header-height: 39px;
15
17
 
@@ -41,9 +43,9 @@ $timing: cubic-bezier(0.4, 0.0, 0.2, 1);
41
43
 
42
44
  // Shadows and Elevation depth mapping
43
45
  $elevation-base-color: black;
44
- $elevation-umbra-opacity: .12;
45
- $elevation-penumbra-opacity: .08;
46
- $elevation-ambient-opacity: .10;
46
+ $elevation-umbra-opacity: .10;
47
+ $elevation-penumbra-opacity: .06;
48
+ $elevation-ambient-opacity: .08;
47
49
 
48
50
  $elevation-umbra-map: (
49
51
  0: "0px 0px 0px 0px",
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M23.119 19L13.772 1.15C13.6026 0.826739 13.348 0.555993 13.0357 0.367088C12.7235 0.178184 12.3655 0.0783234 12.0005 0.0783234C11.6355 0.0783234 11.2775 0.178184 10.9653 0.367088C10.653 0.555993 10.3984 0.826739 10.229 1.15L0.881002 19C0.721322 19.3048 0.643006 19.6457 0.653624 19.9897C0.664243 20.3337 0.763438 20.6691 0.941617 20.9635C1.1198 21.2579 1.37093 21.5014 1.67073 21.6704C1.97054 21.8393 2.30887 21.9281 2.653 21.928H21.347C21.6911 21.9281 22.0295 21.8393 22.3293 21.6704C22.6291 21.5014 22.8802 21.2579 23.0584 20.9635C23.2366 20.6691 23.3358 20.3337 23.3464 19.9897C23.357 19.6457 23.2787 19.3048 23.119 19ZM11 7.423C11 7.15778 11.1054 6.90343 11.2929 6.71589C11.4804 6.52836 11.7348 6.423 12 6.423C12.2652 6.423 12.5196 6.52836 12.7071 6.71589C12.8946 6.90343 13 7.15778 13 7.423V13.423C13 13.6882 12.8946 13.9426 12.7071 14.1301C12.5196 14.3176 12.2652 14.423 12 14.423C11.7348 14.423 11.4804 14.3176 11.2929 14.1301C11.1054 13.9426 11 13.6882 11 13.423V7.423ZM12.05 18.933H12.022C11.6276 18.9317 11.249 18.778 10.9654 18.5041C10.6817 18.2301 10.515 17.8571 10.5 17.463C10.4928 17.267 10.5247 17.0715 10.5939 16.888C10.6631 16.7045 10.7682 16.5366 10.903 16.3942C11.0378 16.2517 11.1996 16.1376 11.3791 16.0584C11.5585 15.9792 11.7519 15.9366 11.948 15.933H11.976C12.3703 15.9335 12.7491 16.0864 13.0332 16.3599C13.3172 16.6333 13.4845 17.006 13.5 17.4C13.5078 17.5964 13.4762 17.7924 13.4071 17.9765C13.338 18.1605 13.2328 18.3289 13.0977 18.4718C12.9626 18.6146 12.8004 18.729 12.6204 18.8082C12.4405 18.8874 12.2466 18.9298 12.05 18.933Z" fill="black"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="12" cy="12" r="11.5" fill="black"/>
3
+ </svg>
@@ -4,6 +4,37 @@ module Spark
4
4
  JSON.parse( cookies[ key ] ) if cookies[ key ].present?
5
5
  end
6
6
 
7
+ def sidebar_toggle
8
+ link_to( "#", class: 'sidebar-nav-toggle' ) do
9
+ concat content_tag( :span, class: "icon-wrapper" ) {
10
+ tag( :span, class: 'close-sidebar-icon', "aria-label"=>"toggle sidebar " )
11
+ }
12
+ end
13
+
14
+ end
15
+
16
+ def account_nav( options, &block )
17
+ account = options.delete(:account)
18
+ contact = options.delete(:contact)
19
+ avatar = options.delete(:avatar)
20
+
21
+ content_tag( :header, class: 'sidebar-nav-header sidebar-nav-header dropdown' ) do
22
+ concat link_to( 'javascript:void(0)', class: 'dropdown-toggle', data: { toggle: 'dropdown' } ) {
23
+ concat content_tag( :div, class: 'details' ) {
24
+ concat content_tag( :div, class: 'account-name' ) {
25
+ concat account
26
+ concat use_svg( 'chevron-down', class: 'dropdown-icon', width: 9 )
27
+ }
28
+ concat content_tag( :div, class: 'user-name' ) { contact }
29
+ }
30
+ concat content_tag( :div, class: 'user-avatar' ) {
31
+ concat tag(:img, src: avatar, alt: "User photo")
32
+ }
33
+ }
34
+ concat capture(&block) if block_given?
35
+ end
36
+ end
37
+
7
38
  class NavMenu < Spark::MenuHelper::Menu
8
39
 
9
40
  def initialize( title = nil, options = {} )
@@ -95,6 +126,12 @@ module Spark
95
126
  super( title, options )
96
127
  end
97
128
 
129
+ def display(body)
130
+ content_tag( :div, class: 'sidebar-nav-wrapper' ) do
131
+ super(body)
132
+ end
133
+ end
134
+
98
135
  def item( content, url, options={}, &block )
99
136
  options = options.stringify_keys
100
137
  new = is_new?( options.delete( 'new' ) )
@@ -0,0 +1,7 @@
1
+ module Spark
2
+ module SearchHelper
3
+ def universal_search_footer
4
+ "Use <kbd>↑</kbd> <kbd>↓</kbd> to navigate, <kbd>enter</kbd> to select, <kbd>esc</kbd> to dismiss, and <kbd>/</kbd> to activate search.".html_safe
5
+ end
6
+ end
7
+ end
@@ -16,7 +16,7 @@ module Spark
16
16
  content_tag( :div, options ) do
17
17
  concat content_tag( :span, class: 'trial-status-text' ) { text }
18
18
  concat " "
19
- concat link_to "Upgrade", url, class: 'trial-status-link'
19
+ concat link_to "Manage", url, class: 'trial-status-link'
20
20
  end
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module FleetioSpark
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -45,6 +45,27 @@ svg {
45
45
  .hide-sidebar .sidebar-nav {
46
46
  z-index: -1; } }
47
47
 
48
+ @media all and (max-width: 999px) {
49
+ .app-nav-header, .app-container, .sidebar-nav {
50
+ -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
51
+ transition: -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
52
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
53
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
54
+
55
+ .sidebar-nav {
56
+ -webkit-transform: translateX(-250px);
57
+ transform: translateX(-250px); } }
58
+ @media all and (max-width: 999px) {
59
+ .show-sidebar {
60
+ overflow: hidden;
61
+ max-height: 100vh; }
62
+ .show-sidebar .app-nav-header, .show-sidebar .app-container {
63
+ -webkit-transform: translateX(250px);
64
+ transform: translateX(250px); }
65
+ .show-sidebar .sidebar-nav {
66
+ -webkit-transform: translateX(0);
67
+ transform: translateX(0);
68
+ z-index: 1050; } }
48
69
  .app-container {
49
70
  -webkit-box-flex: 1;
50
71
  -ms-flex-positive: 1;
@@ -563,8 +584,8 @@ input:checked + .check-switch-panel {
563
584
  border-radius: 5px;
564
585
  border: 1px solid rgba(0, 0, 0, 0.2);
565
586
  background: #FFFFFF;
566
- -webkit-box-shadow: 0px 12px 14px -7px rgba(0, 0, 0, 0.12), 0px 24px 40px 3px rgba(0, 0, 0, 0.08), 0px 10px 48px 10px rgba(0, 0, 0, 0.1);
567
- box-shadow: 0px 12px 14px -7px rgba(0, 0, 0, 0.12), 0px 24px 40px 3px rgba(0, 0, 0, 0.08), 0px 10px 48px 10px rgba(0, 0, 0, 0.1);
587
+ -webkit-box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.1), 0px 16px 24px 2px rgba(0, 0, 0, 0.06), 0px 6px 32px 6px rgba(0, 0, 0, 0.08);
588
+ box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.1), 0px 16px 24px 2px rgba(0, 0, 0, 0.06), 0px 6px 32px 6px rgba(0, 0, 0, 0.08);
568
589
  position: absolute;
569
590
  left: 0;
570
591
  right: 0; }
@@ -584,7 +605,8 @@ input:checked + .check-switch-panel {
584
605
  border-bottom: 1px solid #D3D9DB;
585
606
  margin-bottom: -1px;
586
607
  position: relative;
587
- z-index: 2; }
608
+ z-index: 2;
609
+ line-height: 1.4; }
588
610
  .modal-panel-header [data-stack-nav] {
589
611
  -ms-flex-item-align: start;
590
612
  align-self: flex-start;
@@ -595,16 +617,18 @@ input:checked + .check-switch-panel {
595
617
  -ms-flex-order: -1;
596
618
  order: -1;
597
619
  color: inherit;
598
- line-height: 1.1em;
599
- text-decoration: none; }
620
+ text-decoration: none;
621
+ color: #0091E6; }
600
622
  .modal-panel-header [data-stack-nav]:hover, .modal-panel-header [data-stack-nav]:focus {
601
- color: #0091E6;
623
+ color: #006CB8;
602
624
  outline: none; }
603
625
  .modal-panel-title {
604
626
  text-transform: uppercase;
605
627
  font-size: 11px;
606
628
  font-weight: normal;
607
- margin: 0 auto; }
629
+ margin: 0 auto;
630
+ line-height: inherit;
631
+ color: #636F73; }
608
632
  .modal-panel-footer {
609
633
  border-top: 1px solid rgba(0, 0, 0, 0.1); }
610
634
  .modal-panel [aria-hidden=true] {
@@ -638,13 +662,16 @@ input:checked + .check-switch-panel {
638
662
  display: -webkit-box;
639
663
  display: -ms-flexbox;
640
664
  display: flex;
641
- padding: 16px 16px 8px;
665
+ padding: 24px 16px 8px;
642
666
  background: #F6F7F7; }
667
+ .nav-menu-header:first-of-type {
668
+ padding-top: 16px; }
643
669
  .nav-menu-header .nav-menu-title {
644
670
  margin: 0;
645
671
  text-transform: uppercase;
646
672
  font-size: 11px;
647
- font-weight: normal; }
673
+ font-weight: normal;
674
+ color: #636F73; }
648
675
  .nav-menu-wrapper {
649
676
  display: -webkit-box;
650
677
  display: -ms-flexbox;
@@ -664,18 +691,18 @@ input:checked + .check-switch-panel {
664
691
  -webkit-box-flex: 1;
665
692
  -ms-flex-positive: 1;
666
693
  flex-grow: 1;
667
- border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
694
+ border-bottom: 1px solid #EDF1F2; }
668
695
  .nav-menu-item:hover, .nav-menu-item:focus {
669
- background-color: #d8eefc;
696
+ background-color: #ddf0fd;
670
697
  outline: none;
671
698
  position: relative;
672
699
  z-index: 1;
673
- -webkit-box-shadow: 0 0 0 1px #d8eefc;
674
- box-shadow: 0 0 0 1px #d8eefc; }
700
+ -webkit-box-shadow: 0 0 0 1px #ddf0fd;
701
+ box-shadow: 0 0 0 1px #ddf0fd; }
675
702
  .nav-menu-item:hover .nav-menu-item-content, .nav-menu-item:focus .nav-menu-item-content {
676
703
  border-color: transparent; }
677
704
  .nav-menu-more {
678
- color: #4EB3EF;
705
+ color: #0091E6;
679
706
  font-size: 12px; }
680
707
 
681
708
  [data-stack='root'] {
@@ -702,6 +729,7 @@ input:checked + .check-switch-panel {
702
729
  animation: fade-out .12s forwards; }
703
730
 
704
731
  .sidebar-nav {
732
+ z-index: 1050;
705
733
  height: 100%;
706
734
  background-color: #00467A;
707
735
  position: fixed;
@@ -713,10 +741,101 @@ input:checked + .check-switch-panel {
713
741
  line-height: 1.5;
714
742
  -webkit-font-smoothing: antialiased;
715
743
  -moz-osx-font-smoothing: grayscale; }
744
+ .sidebar-nav-toggle {
745
+ position: absolute;
746
+ right: -45px;
747
+ z-index: 1;
748
+ top: 13px;
749
+ -ms-flex-negative: 0;
750
+ flex-shrink: 0;
751
+ cursor: default; }
752
+ .sidebar-nav-toggle:after {
753
+ content: "";
754
+ opacity: 0;
755
+ -webkit-transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
756
+ transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
757
+ -webkit-box-shadow: 5px -30px 20px rgba(0, 0, 0, 0.4) inset;
758
+ box-shadow: 5px -30px 20px rgba(0, 0, 0, 0.4) inset;
759
+ background: rgba(0, 0, 0, 0.2);
760
+ top: 0;
761
+ left: 250px;
762
+ width: 100vw;
763
+ bottom: -30px;
764
+ z-index: -1; }
765
+ .sidebar-nav-toggle .icon-wrapper {
766
+ cursor: pointer;
767
+ display: -webkit-box;
768
+ display: -ms-flexbox;
769
+ display: flex;
770
+ -webkit-box-pack: center;
771
+ -ms-flex-pack: center;
772
+ justify-content: center;
773
+ -webkit-box-align: center;
774
+ -ms-flex-align: center;
775
+ align-items: center;
776
+ width: 32px;
777
+ height: 32px;
778
+ border-radius: 50%;
779
+ text-align: center;
780
+ -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
781
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
782
+ .sidebar-nav-toggle .icon-wrapper:hover {
783
+ background-color: #EDF1F2; }
716
784
  @media all and (min-width: 1000px) {
717
- .sidebar-nav {
718
- z-index: 1050; } }
719
- .sidebar-nav .nav-wrapper {
785
+ .sidebar-nav-toggle {
786
+ opacity: 0;
787
+ overflow: hidden;
788
+ width: 0; }
789
+ .sidebar-nav-toggle:after {
790
+ position: static; } }
791
+ .show-sidebar .sidebar-nav-toggle:after {
792
+ position: fixed; }
793
+ .show-sidebar .sidebar-nav-toggle .icon-wrapper:focus, .show-sidebar .sidebar-nav-toggle .icon-wrapper:hover {
794
+ background: none; }
795
+ .show-sidebar .sidebar-nav-toggle:after {
796
+ opacity: 1; }
797
+ .sidebar-nav .close-sidebar-icon {
798
+ width: 18px;
799
+ color: #78858A; }
800
+ .sidebar-nav .close-sidebar-icon:hover {
801
+ color: #4E595C; }
802
+ .sidebar-nav .close-sidebar-icon, .sidebar-nav .close-sidebar-icon:before, .sidebar-nav .close-sidebar-icon:after {
803
+ position: relative;
804
+ display: block;
805
+ height: 2px;
806
+ background: currentColor;
807
+ -webkit-transform: translate3d(0, 0, 0);
808
+ transform: translate3d(0, 0, 0);
809
+ -webkit-transform-origin: center middle;
810
+ transform-origin: center middle;
811
+ -webkit-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
812
+ transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
813
+ -webkit-transition-property: background-color, -webkit-transform;
814
+ transition-property: background-color, -webkit-transform;
815
+ transition-property: transform, background-color;
816
+ transition-property: transform, background-color, -webkit-transform; }
817
+ .sidebar-nav .close-sidebar-icon:before, .sidebar-nav .close-sidebar-icon:after {
818
+ width: 100%;
819
+ content: ""; }
820
+ .sidebar-nav .close-sidebar-icon:before {
821
+ top: -5px; }
822
+ .sidebar-nav .close-sidebar-icon:after {
823
+ top: 3px; }
824
+ .show-sidebar .sidebar-nav .close-sidebar-icon {
825
+ color: #121515;
826
+ background: transparent; }
827
+ .show-sidebar .sidebar-nav .close-sidebar-icon, .show-sidebar .sidebar-nav .close-sidebar-icon:before, .show-sidebar .sidebar-nav .close-sidebar-icon:after {
828
+ -webkit-transition-delay: 0.1s;
829
+ transition-delay: 0.1s; }
830
+ .show-sidebar .sidebar-nav .close-sidebar-icon:before {
831
+ -webkit-transform: rotate(-45deg) translate3d(0, 0, 0);
832
+ transform: rotate(-45deg) translate3d(0, 0, 0);
833
+ top: 0px; }
834
+ .show-sidebar .sidebar-nav .close-sidebar-icon:after {
835
+ -webkit-transform: rotate(45deg) translate3d(0, 0, 0);
836
+ transform: rotate(45deg) translate3d(0, 0, 0);
837
+ top: -2px; }
838
+ .sidebar-nav .sidebar-nav-wrapper {
720
839
  position: relative;
721
840
  width: auto;
722
841
  height: 100%; }
@@ -735,8 +854,8 @@ input:checked + .check-switch-panel {
735
854
  flex-shrink: 0;
736
855
  width: 18px;
737
856
  height: 18px; }
738
- .sidebar-nav .nav-tree-item-icon + .nav-tree-item-content {
739
- margin-left: 16px; }
857
+ .sidebar-nav .nav-tree-item-icon:first-child {
858
+ margin-right: 16px; }
740
859
  .sidebar-nav .nav-tree-item-content {
741
860
  border: none; }
742
861
  .sidebar-nav .nav-tree-item {
@@ -769,21 +888,27 @@ input:checked + .check-switch-panel {
769
888
  flex-shrink: 0;
770
889
  height: 9px;
771
890
  width: 9px;
772
- -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
773
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
774
- color: rgba(255, 255, 255, 0.5); }
891
+ -webkit-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
892
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
893
+ -webkit-transition-property: opacity;
894
+ transition-property: opacity;
895
+ color: rgba(255, 255, 255, 0.4); }
775
896
  .sidebar-nav .nav-tree-item.item-active {
776
897
  color: #FFFFFF;
777
- background-color: #003d6b; }
778
- .sidebar-nav .nav-tree-item.item-active + .nav-tree-group {
779
- background-color: #003d6b; }
898
+ background-color: #003a66; }
780
899
  .sidebar-nav .nav-tree-item-content {
781
900
  width: 100%;
782
901
  min-width: 0;
783
902
  white-space: nowrap;
784
903
  text-overflow: ellipsis;
785
904
  overflow: hidden; }
905
+ .sidebar-nav .tree-active > .nav-tree-item {
906
+ color: #FFFFFF; }
907
+ .sidebar-nav .tree-active > .nav-tree-item, .sidebar-nav .tree-active > .nav-tree-item + .nav-tree-group {
908
+ background-color: #003a66; }
786
909
  .sidebar-nav .nav-tree-group {
910
+ padding-top: 2px;
911
+ padding-bottom: 8px;
787
912
  list-style: none;
788
913
  opacity: 0; }
789
914
  .sidebar-nav .nav-tree-group .nav-tree-item {
@@ -791,6 +916,8 @@ input:checked + .check-switch-panel {
791
916
  padding-left: 54px;
792
917
  color: rgba(255, 255, 255, 0.55);
793
918
  font-size: 13px; }
919
+ .sidebar-nav .nav-tree-group .nav-tree-item.item-active {
920
+ color: #FFFFFF; }
794
921
  .sidebar-nav .nav-tree-group .nav-tree-item:hover, .sidebar-nav .nav-tree-group .nav-tree-item:focus {
795
922
  color: #FFFFFF;
796
923
  background-color: transparent; }
@@ -804,6 +931,8 @@ input:checked + .check-switch-panel {
804
931
  width: 6px;
805
932
  height: 6px;
806
933
  border-radius: 50%; }
934
+ .sidebar-nav .nav-tree-group .item-active:before {
935
+ background-color: #0091E6; }
807
936
  .sidebar-nav .nav-tree-group .item-new .nav-tree-item-content:after {
808
937
  content: " New";
809
938
  font-size: 85%;
@@ -812,10 +941,6 @@ input:checked + .check-switch-panel {
812
941
  margin-left: 2px; }
813
942
  .sidebar-nav .nav-tree-group .item-new:before {
814
943
  background-color: #F2AA2A; }
815
- .sidebar-nav .nav-tree-group .item-active {
816
- color: #FFFFFF; }
817
- .sidebar-nav .nav-tree-group .item-active:before {
818
- background-color: #0091E6; }
819
944
  .sidebar-nav .triggered .nav-tree-group {
820
945
  -webkit-transition-property: max-height, opacity, padding;
821
946
  transition-property: max-height, opacity, padding;
@@ -823,10 +948,9 @@ input:checked + .check-switch-panel {
823
948
  transition-duration: 0.2s;
824
949
  -webkit-transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
825
950
  transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); }
826
- .sidebar-nav [aria-expanded=true] > .nav-tree-group {
951
+ .sidebar-nav [aria-expanded=true] > [role=group] {
827
952
  max-height: 800px;
828
953
  opacity: 1;
829
- padding: 2px 0 8px;
830
954
  -webkit-transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
831
955
  transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); }
832
956
 
@@ -846,18 +970,20 @@ input:checked + .check-switch-panel {
846
970
  text-decoration: none;
847
971
  -webkit-transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
848
972
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
849
- background-color: #00345b;
973
+ background-color: transparent;
850
974
  line-height: 1.4; }
851
975
  .sidebar-nav-header > a:hover, .sidebar-nav-header > a:focus {
852
976
  color: #FFFFFF;
853
- background-color: #002f51; }
977
+ background-color: #004c84; }
854
978
  .sidebar-nav-header > a:hover .dropdown-icon, .sidebar-nav-header > a:focus .dropdown-icon {
855
979
  color: inherit; }
856
980
  .sidebar-nav-header .dropdown-icon {
857
- margin: 0 8px;
858
- color: rgba(255, 255, 255, 0.5);
981
+ margin: 0 6px;
982
+ color: rgba(255, 255, 255, 0.4);
859
983
  -webkit-transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
860
- transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
984
+ transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
985
+ position: relative;
986
+ top: .1em; }
861
987
  .sidebar-nav-header .details {
862
988
  display: -webkit-box;
863
989
  display: -ms-flexbox;
@@ -888,23 +1014,10 @@ input:checked + .check-switch-panel {
888
1014
  width: 32px;
889
1015
  height: 32px; }
890
1016
  .sidebar-nav-header .dropdown-menu {
891
- border: 1px solid transparent;
892
- max-height: 85vh;
893
- overflow-y: auto;
894
- min-width: 260px;
895
- -webkit-box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.12), 0px 16px 24px 2px rgba(0, 0, 0, 0.08), 0px 6px 32px 6px rgba(0, 0, 0, 0.1);
896
- box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.12), 0px 16px 24px 2px rgba(0, 0, 0, 0.08), 0px 6px 32px 6px rgba(0, 0, 0, 0.1);
897
- border-radius: 6px;
898
- margin-top: -4px;
899
- margin-left: 16px;
900
- padding: 12px 8px; }
901
- .sidebar-nav-header .dropdown-menu .divider {
902
- margin: 8px; }
903
- .sidebar-nav-header .dropdown-menu .divider.full-width {
904
- margin-left: -8px;
905
- margin-right: -8px; }
1017
+ margin-top: -8px;
1018
+ margin-left: 16px; }
906
1019
  .sidebar-nav-header .dropdown-menu .user-name {
907
- padding: 0 8px;
1020
+ padding: 0 16px;
908
1021
  margin: 12px 0; }
909
1022
  .sidebar-nav-header .dropdown-menu .user-avatar {
910
1023
  width: 40px;
@@ -913,23 +1026,12 @@ input:checked + .check-switch-panel {
913
1026
  margin: 8px 0; }
914
1027
  .sidebar-nav-header .dropdown-menu .nav-group .nav-header {
915
1028
  padding: 4px 8px; }
916
- .sidebar-nav-header .dropdown-menu > li > a, .sidebar-nav-header .dropdown-menu > li > label {
917
- font-size: 14px;
918
- border-radius: 3px;
919
- padding: 5px 8px 6px;
920
- margin-bottom: 0;
921
- color: #3A4245; }
922
- .sidebar-nav-header .dropdown-menu > li i {
923
- font-size: 16px;
924
- margin-right: 12px; }
925
- .sidebar-nav-header .dropdown-menu > li .pull-right i {
926
- font-size: 14px;
927
- margin-right: 0; }
928
1029
 
929
1030
  [role=tree] [role=group] {
930
1031
  overflow: hidden; }
931
1032
  [role=tree] [role=treeitem][aria-expanded=false] > [role=group] {
932
- max-height: 0; }
1033
+ max-height: 0;
1034
+ padding: 0; }
933
1035
  [role=tree] [role=treeitem][aria-expanded=true] .expand-icon {
934
1036
  -webkit-transform: rotate(180deg);
935
1037
  transform: rotate(180deg); }
@@ -975,6 +1077,80 @@ input:checked + .check-switch-panel {
975
1077
  top: 100%;
976
1078
  content: ""; }
977
1079
 
1080
+ .app-nav-header .dropdown-menu, .sidebar-nav .dropdown-menu {
1081
+ border: 1px solid rgba(0, 0, 0, 0.15);
1082
+ max-height: 85vh;
1083
+ overflow-y: auto;
1084
+ min-width: 260px;
1085
+ -webkit-box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.1), 0px 16px 24px 2px rgba(0, 0, 0, 0.06), 0px 6px 32px 6px rgba(0, 0, 0, 0.08);
1086
+ box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.1), 0px 16px 24px 2px rgba(0, 0, 0, 0.06), 0px 6px 32px 6px rgba(0, 0, 0, 0.08);
1087
+ border-radius: 6px;
1088
+ padding: 12px 0;
1089
+ font-size: 14px; }
1090
+ .app-nav-header .dropdown-menu .divider, .sidebar-nav .dropdown-menu .divider {
1091
+ margin: 8px 16px; }
1092
+ .app-nav-header .dropdown-menu .divider.full-width, .sidebar-nav .dropdown-menu .divider.full-width {
1093
+ margin-left: 0;
1094
+ margin-right: 0; }
1095
+ .app-nav-header .dropdown-menu > li > a, .sidebar-nav .dropdown-menu > li > a {
1096
+ padding: 5px 16px 6px; }
1097
+ .app-nav-header .dropdown-menu > li i, .sidebar-nav .dropdown-menu > li i {
1098
+ font-size: 16px;
1099
+ margin-right: 12px; }
1100
+ .app-nav-header .dropdown-menu > li .pull-right i, .sidebar-nav .dropdown-menu > li .pull-right i {
1101
+ font-size: 14px;
1102
+ margin-right: 0; }
1103
+ .app-nav-header .alerts-dropdown .dropdown-menu, .sidebar-nav .alerts-dropdown .dropdown-menu {
1104
+ padding: 0; }
1105
+ .app-nav-header .alerts-dropdown .dropdown-header, .sidebar-nav .alerts-dropdown .dropdown-header {
1106
+ padding: 12px 16px;
1107
+ border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
1108
+ .app-nav-header .alerts-dropdown .dropdown-header-title, .sidebar-nav .alerts-dropdown .dropdown-header-title {
1109
+ font-size: 14px;
1110
+ font-weight: 600;
1111
+ color: #262C2D;
1112
+ margin: 0; }
1113
+ .app-nav-header .alerts-dropdown .dropdown-list-item > a, .sidebar-nav .alerts-dropdown .dropdown-list-item > a {
1114
+ font-size: 13px;
1115
+ display: -webkit-box;
1116
+ display: -ms-flexbox;
1117
+ display: flex;
1118
+ -webkit-box-orient: horizontal;
1119
+ -webkit-box-direction: normal;
1120
+ -ms-flex-direction: row;
1121
+ flex-direction: row;
1122
+ -ms-flex-wrap: nowrap;
1123
+ flex-wrap: nowrap;
1124
+ padding: 12px 16px; }
1125
+ .app-nav-header .alerts-dropdown .dropdown-list-item:not(:last-of-type), .sidebar-nav .alerts-dropdown .dropdown-list-item:not(:last-of-type) {
1126
+ border-bottom: 1px solid #EDF1F2; }
1127
+ .app-nav-header .alerts-dropdown .dropdown-list-item .icon, .sidebar-nav .alerts-dropdown .dropdown-list-item .icon {
1128
+ display: -webkit-box;
1129
+ display: -ms-flexbox;
1130
+ display: flex;
1131
+ -ms-flex-negative: 0;
1132
+ flex-shrink: 0;
1133
+ position: relative;
1134
+ top: 4px;
1135
+ margin-right: 12px;
1136
+ fill: #F2AA2A; }
1137
+ .app-nav-header .alerts-dropdown .dropdown-list-item .list-item-text, .sidebar-nav .alerts-dropdown .dropdown-list-item .list-item-text {
1138
+ display: -webkit-box;
1139
+ display: -ms-flexbox;
1140
+ display: flex;
1141
+ -webkit-box-orient: vertical;
1142
+ -webkit-box-direction: normal;
1143
+ -ms-flex-direction: column;
1144
+ flex-direction: column;
1145
+ -ms-flex-wrap: wrap;
1146
+ flex-wrap: wrap; }
1147
+ .app-nav-header .alerts-dropdown .dropdown-list-item .list-item-text h5, .sidebar-nav .alerts-dropdown .dropdown-list-item .list-item-text h5 {
1148
+ font-size: 14px;
1149
+ margin: 0; }
1150
+ .app-nav-header .alerts-dropdown .dropdown-list-item .list-item-text p, .sidebar-nav .alerts-dropdown .dropdown-list-item .list-item-text p {
1151
+ margin: 4px 0;
1152
+ color: #78858A; }
1153
+
978
1154
  .app-nav-header {
979
1155
  display: -webkit-box;
980
1156
  display: -ms-flexbox;
@@ -986,6 +1162,7 @@ input:checked + .check-switch-panel {
986
1162
  border-bottom: 1px solid #D3D9DB;
987
1163
  background-color: #FFFFFF;
988
1164
  padding: 0 16px;
1165
+ padding-left: 68px;
989
1166
  position: fixed;
990
1167
  z-index: 1040;
991
1168
  top: 0;
@@ -995,35 +1172,12 @@ input:checked + .check-switch-panel {
995
1172
  line-height: 1.5; }
996
1173
  @media all and (min-width: 600px) {
997
1174
  .app-nav-header {
998
- padding: 0 24px; } }
1175
+ padding: 0 24px;
1176
+ padding-left: 60px; } }
999
1177
  @media all and (min-width: 1000px) {
1000
1178
  .app-nav-header {
1001
- left: 250px; } }
1002
- .app-nav-header .sidebar-nav-toggle {
1003
- display: -webkit-box;
1004
- display: -ms-flexbox;
1005
- display: flex;
1006
- -webkit-box-pack: center;
1007
- -ms-flex-pack: center;
1008
- justify-content: center;
1009
- -webkit-box-align: center;
1010
- -ms-flex-align: center;
1011
- align-items: center;
1012
- width: 32px;
1013
- height: 32px;
1014
- border-radius: 50%;
1015
- text-align: center;
1016
- -ms-flex-negative: 0;
1017
- flex-shrink: 0;
1018
- color: #78858A;
1019
- margin-left: -8px;
1020
- margin-right: 16px;
1021
- -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1022
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
1023
- .app-nav-header .sidebar-nav-toggle:hover {
1024
- color: #4E595C;
1025
- border-radius: 50%;
1026
- background-color: #EDF1F2; }
1179
+ left: 250px;
1180
+ padding-left: 24px; } }
1027
1181
  .app-nav-header .app-navbar-logo {
1028
1182
  display: -webkit-box;
1029
1183
  display: -ms-flexbox;
@@ -1033,28 +1187,11 @@ input:checked + .check-switch-panel {
1033
1187
  .app-nav-header .app-navbar-logo {
1034
1188
  margin-right: 24px; } }
1035
1189
  .app-nav-header .dropdown-menu {
1036
- border: 1px solid transparent;
1037
- max-height: 85vh;
1038
- overflow-y: auto;
1039
- min-width: 260px;
1040
- -webkit-box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.12), 0px 16px 24px 2px rgba(0, 0, 0, 0.08), 0px 6px 32px 6px rgba(0, 0, 0, 0.1);
1041
- box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.12), 0px 16px 24px 2px rgba(0, 0, 0, 0.08), 0px 6px 32px 6px rgba(0, 0, 0, 0.1);
1042
- border-radius: 6px;
1043
- margin-top: 8px;
1044
- margin-right: -8px;
1045
- padding: 12px 8px;
1046
- font-size: 14px; }
1047
- .app-nav-header .dropdown-menu .divider {
1048
- margin: 8px; }
1049
- .app-nav-header .dropdown-menu > li > a {
1050
- border-radius: 3px;
1051
- padding: 5px 8px 6px; }
1052
- .app-nav-header .dropdown-menu > li i {
1053
- font-size: 16px;
1054
- margin-right: 12px; }
1055
- .app-nav-header .dropdown-menu > li .pull-right i {
1056
- font-size: 14px;
1057
- margin-right: 0; }
1190
+ margin-top: 4px;
1191
+ margin-right: -8px; }
1192
+ @media all and (max-width: 799px) {
1193
+ [data-modal=search-results] .app-nav-header {
1194
+ z-index: 1060; } }
1058
1195
 
1059
1196
  .app-nav-actions {
1060
1197
  display: -webkit-box;
@@ -1075,7 +1212,7 @@ input:checked + .check-switch-panel {
1075
1212
  .app-nav-actions .dropdown-menu {
1076
1213
  left: auto;
1077
1214
  right: 0; }
1078
- .app-nav-actions .quick-add-btn, .app-nav-actions .help-menu-btn {
1215
+ .app-nav-actions .quick-add-btn, .app-nav-actions .help-menu-btn, .app-nav-actions .alert-btn {
1079
1216
  display: -webkit-box;
1080
1217
  display: -ms-flexbox;
1081
1218
  display: flex;
@@ -1097,9 +1234,12 @@ input:checked + .check-switch-panel {
1097
1234
  transition-duration: 0.2s;
1098
1235
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1099
1236
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
1100
- .app-nav-actions .quick-add-btn:hover, .app-nav-actions .quick-add-btn:focus, .app-nav-actions .help-menu-btn:hover, .app-nav-actions .help-menu-btn:focus {
1237
+ .app-nav-actions .quick-add-btn:hover, .app-nav-actions .quick-add-btn:focus, .app-nav-actions .help-menu-btn:hover, .app-nav-actions .help-menu-btn:focus, .app-nav-actions .alert-btn:hover, .app-nav-actions .alert-btn:focus {
1101
1238
  color: #4E595C;
1102
1239
  border-color: #A2ABAE; }
1240
+ .app-nav-actions .alert-btn, .app-nav-actions .alert-btn:hover, .app-nav-actions .alert-btn:focus {
1241
+ color: #F2AA2A;
1242
+ border-color: #F2AA2A; }
1103
1243
  .app-nav-actions .help-menu-btn.new-announcements:before {
1104
1244
  content: '';
1105
1245
  display: block;
@@ -1353,14 +1493,9 @@ input:checked + .check-switch-panel {
1353
1493
  cursor: pointer;
1354
1494
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 20'%3E%3Cpolygon fill='%237A7B7C' points='3.5,14 0,8 7,8'/%3E%3C/svg%3E") calc(100% - 14px) 50%/7px 18px no-repeat; }
1355
1495
  .search-panel .modal-panel {
1356
- -webkit-box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.12), 0px 16px 24px 2px rgba(0, 0, 0, 0.08), 0px 6px 32px 6px rgba(0, 0, 0, 0.1);
1357
- box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.12), 0px 16px 24px 2px rgba(0, 0, 0, 0.08), 0px 6px 32px 6px rgba(0, 0, 0, 0.1);
1358
- background: #FFFFFF;
1359
1496
  border-radius: 8px;
1360
1497
  padding-top: 38px;
1361
- top: 1px;
1362
- left: -4px;
1363
- right: -4px; }
1498
+ top: 0px; }
1364
1499
  .search-panel .modal-panel:before {
1365
1500
  content: "";
1366
1501
  position: absolute;
@@ -1379,6 +1514,8 @@ input:checked + .check-switch-panel {
1379
1514
  position: relative;
1380
1515
  top: .1em;
1381
1516
  -webkit-transform-style: preserve-3d; }
1517
+ .search-panel .no-results {
1518
+ padding: 8px 16px; }
1382
1519
  .search-panel kbd {
1383
1520
  display: inline-block;
1384
1521
  height: 18px;