liuxiaolong
2019-05-06 2ab7a76a38fbf8fa107bf6371f5410ba54e1d394
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$rtl-support: true;
 
@import "../_appwork/include";
@import "../_theme/common";
@import "../_theme/libs";
@import "../_theme/uikit";
 
$primary-color: #17b3a3;
$body-bg: #f8f8f8;
 
body {
  background: $body-bg;
}
 
@include appwork-common-theme($primary-color);
@include appwork-libs-theme($primary-color);
@include appwork-uikit-theme($primary-color);
 
// Navbar
 
@include appwork-navbar-variant('.bg-navbar-theme', #fff, $color: $text-muted, $active-color: $body-color);
 
.layout-navbar {
  box-shadow: 0 0 0 1px rgba($black, 0.04);
}
 
// Sidenav
 
@include appwork-sidenav-variant('.bg-sidenav-theme', #fff, $color: $text-muted, $active-color: $body-color, $menu-bg: darken($body-bg, 2.5%));
 
.bg-sidenav-theme {
  .sidenav-inner > .sidenav-item > .sidenav-link .sidenav-icon,
  .sidenav-inner > .sidenav-item > .sidenav-link:hover .sidenav-icon,
  .sidenav-inner > .sidenav-item > .sidenav-link:focus .sidenav-icon {
    color: $gray-300;
  }
  .sidenav-inner > .sidenav-item.active > .sidenav-link .sidenav-icon {
    color: $primary-color !important;
  }
  .sidenav-item.active > .sidenav-link:not(.sidenav-toggle) {
    color: $primary-color !important;
    background: none !important;
  }
}
 
.layout-sidenav {
  box-shadow: 0 0 0 1px rgba($black, 0.04);
}
.layout-sidenav-horizontal {
  box-shadow: 0 -1px 0 rgba($black, 0.04) inset;
}
 
// Footer
 
@include appwork-footer-variant('.bg-footer-theme', #f3f3f3, $color: $text-muted, $active-color: $body-color);