Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit 6c381fc

Browse files
committed
Update
1 parent 63ecaea commit 6c381fc

File tree

5 files changed

+77
-24
lines changed

5 files changed

+77
-24
lines changed

composer.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"require": {
3+
"npm-asset/css-ui-simple": "^2.4",
4+
"npm-asset/open-sans-fontface": "^1.4",
5+
"bower-asset/jquery": "^3.3",
6+
"npm-asset/font-awesome": "^4.7",
7+
"npm-asset/perfect-scrollbar": "^1.4"
8+
},
9+
"config": {
10+
"fxp-asset": {
11+
"ignore-files": {
12+
"npm-asset/css-ui-simple": [
13+
"src/css/"
14+
],
15+
"npm-asset/open-sans-fontface": [
16+
"sass",
17+
"*.html",
18+
"*.less",
19+
"*.scss"
20+
],
21+
"bower-asset/jquery": [
22+
".*",
23+
"src",
24+
"external"
25+
],
26+
"npm-asset/font-awesome": [
27+
".*",
28+
".txt",
29+
"less",
30+
"scss"
31+
],
32+
"npm-asset/perfect-scrollbar": [
33+
".*",
34+
"src",
35+
"types"
36+
]
37+
},
38+
"installer-paths": {
39+
"npm-asset-library": "www/assets",
40+
"bower-asset-library": "www/assets"
41+
}
42+
}
43+
}
44+
}

src/css/style.menu.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,22 +97,17 @@
9797
/* perfect scrollbar
9898
========================================================================== */
9999
.scrollbar {
100-
overflow: hidden;
101100
position: relative;
102101
}
103102

104103
.ps__thumb-y {
105-
width: 4px;
106-
}
107-
108-
.ps__rail-y {
109-
margin: 10px 0;
110-
width: auto;
104+
width: 5px;
111105
}
112106

113107
.ps__rail-y:hover > .ps__thumb-y,
114-
.ps__rail-y:focus > .ps__thumb-y {
115-
width: 4px;
108+
.ps__rail-y:focus > .ps__thumb-y,
109+
.ps__rail-y.ps--clicking .ps__thumb-y {
110+
width: 5px;
116111
}
117112

118113
@media only screen and (min-width: 768px) {

src/css/style.menu.dark.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,17 @@
8484
/* perfect scrollbar
8585
========================================================================== */
8686
.ps__thumb-y {
87-
background: #515867;
87+
background: #586173;
8888
}
8989

9090
.ps__rail-y:hover > .ps__thumb-y,
91-
.ps__rail-y:focus > .ps__thumb-y {
92-
background: #515867;
91+
.ps__rail-y:focus > .ps__thumb-y,
92+
.ps__rail-y.ps--clicking .ps__thumb-y {
93+
background: #586173;
94+
}
95+
96+
.ps .ps__rail-y:hover,
97+
.ps .ps__rail-y:focus,
98+
.ps .ps__rail-y.ps--clicking {
99+
background: none;
93100
}

src/css/style.menu.light.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,17 @@
8484
/* perfect scrollbar
8585
========================================================================== */
8686
.ps__thumb-y {
87-
background: #d3d3d3;
87+
background: #e0e0e0;
8888
}
8989

9090
.ps__rail-y:hover > .ps__thumb-y,
91-
.ps__rail-y:focus > .ps__thumb-y {
92-
background: #d3d3d3;
91+
.ps__rail-y:focus > .ps__thumb-y,
92+
.ps__rail-y.ps--clicking .ps__thumb-y {
93+
background: #e0e0e0;
94+
}
95+
96+
.ps .ps__rail-y:hover,
97+
.ps .ps__rail-y:focus,
98+
.ps .ps__rail-y.ps--clicking {
99+
background: none;
93100
}

src/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
<title>CSS UI - Responsive menu</title>
99

1010
<!-- css -->
11-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">
12-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/1.3.0/css/perfect-scrollbar.min.css">
13-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
14-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&amp;subset=latin-ext">
15-
<link rel="stylesheet" href="https://css-ui.github.io/css/cssui.min.css">
11+
<link rel="stylesheet" href="../www/assets/normalize.css/normalize.css">
12+
<link rel="stylesheet" href="../www/assets/perfect-scrollbar/css/perfect-scrollbar.css">
13+
<link rel="stylesheet" href="../www/assets/font-awesome/css/font-awesome.css">
14+
<link rel="stylesheet" href="../www/assets/open-sans-fontface/open-sans.css">
15+
<link rel="stylesheet" href="../www/assets/css-ui-simple/src/cssui.css">
1616

1717
<!-- css menu -->
1818
<link rel="stylesheet" href="css/style.menu.css">
19-
<link rel="stylesheet" href="css/style.menu.light.css">
20-
<!--<link rel="stylesheet" href="css/style.menu.dark.css">-->
19+
<!--<link rel="stylesheet" href="css/style.menu.light.css">-->
20+
<link rel="stylesheet" href="css/style.menu.dark.css">
2121

2222
<!-- css only for this page -->
2323
<style>
@@ -105,8 +105,8 @@
105105
<div class="content-wrapper"></div>
106106

107107
<!-- javascript libraries and plugins -->
108-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
109-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/1.3.0/perfect-scrollbar.min.js"></script>
108+
<script src="../www/assets/jquery/dist/jquery.js"></script>
109+
<script src="../www/assets/perfect-scrollbar/dist/perfect-scrollbar.js"></script>
110110
<script>
111111
$(function() {
112112

0 commit comments

Comments
 (0)