@luzhaoqi/test 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,16 @@
1
+ /**
2
+ $base-menu-color:hsla(0,0%,100%,.65);
3
+ $base-menu-color-active:#fff;
4
+ $base-menu-background:#001529;
5
+ $base-logo-title-color: #ffffff;
6
+
7
+ $base-menu-light-color:rgba(0,0,0,.70);
8
+ $base-menu-light-background:#ffffff;
9
+ $base-logo-light-title-color: #001529;
10
+
11
+ $base-sub-menu-background:#000c17;
12
+ $base-sub-menu-hover:#001528;
13
+ */
1
14
  @font-face {
2
15
  font-family: "element-icons";
3
16
  src: url("../fonts/element-icons.woff") format("woff"), url("../fonts/element-icons.ttf") format("truetype");
@@ -22,16 +35,67 @@
22
35
  * {
23
36
  color: green;
24
37
  }
25
- /**
26
- $base-menu-color:hsla(0,0%,100%,.65);
27
- $base-menu-color-active:#fff;
28
- $base-menu-background:#001529;
29
- $base-logo-title-color: #ffffff;
38
+ /* Make clicks pass-through */
39
+ #nprogress {
40
+ pointer-events: none;
41
+ }
30
42
 
31
- $base-menu-light-color:rgba(0,0,0,.70);
32
- $base-menu-light-background:#ffffff;
33
- $base-logo-light-title-color: #001529;
43
+ #nprogress .bar {
44
+ background: #29d;
45
+
46
+ position: fixed;
47
+ z-index: 1031;
48
+ top: 0;
49
+ left: 0;
50
+
51
+ width: 100%;
52
+ height: 2px;
53
+ }
54
+
55
+ /* Fancy blur effect */
56
+ #nprogress .peg {
57
+ display: block;
58
+ position: absolute;
59
+ right: 0px;
60
+ width: 100px;
61
+ height: 100%;
62
+ box-shadow: 0 0 10px #29d, 0 0 5px #29d;
63
+ opacity: 1.0;
64
+ transform: rotate(3deg) translate(0px, -4px);
65
+ }
66
+
67
+ /* Remove these to get rid of the spinner */
68
+ #nprogress .spinner {
69
+ display: block;
70
+ position: fixed;
71
+ z-index: 1031;
72
+ top: 15px;
73
+ right: 15px;
74
+ }
75
+
76
+ #nprogress .spinner-icon {
77
+ width: 18px;
78
+ height: 18px;
79
+ box-sizing: border-box;
80
+
81
+ border: solid 2px transparent;
82
+ border-top-color: #29d;
83
+ border-left-color: #29d;
84
+ border-radius: 50%;
85
+ animation: nprogress-spinner 400ms linear infinite;
86
+ }
87
+
88
+ .nprogress-custom-parent {
89
+ overflow: hidden;
90
+ position: relative;
91
+ }
92
+
93
+ .nprogress-custom-parent #nprogress .spinner,
94
+ .nprogress-custom-parent #nprogress .bar {
95
+ position: absolute;
96
+ }
97
+ @keyframes nprogress-spinner {
98
+ 0% { transform: rotate(0deg); }
99
+ 100% { transform: rotate(360deg); }
100
+ }
34
101
 
35
- $base-sub-menu-background:#000c17;
36
- $base-sub-menu-hover:#001528;
37
- */