@coreui/coreui 2.1.10 → 2.1.16
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.
- package/CHANGELOG.md +395 -313
- package/README.md +150 -147
- package/dist/css/bootstrap.css.map +1 -1
- package/dist/css/coreui-standalone.css +138 -2
- package/dist/css/coreui-standalone.css.map +1 -1
- package/dist/css/coreui-standalone.min.css +2 -2
- package/dist/css/coreui-standalone.min.css.map +1 -1
- package/dist/css/coreui.css +138 -2
- package/dist/css/coreui.css.map +1 -1
- package/dist/css/coreui.min.css +2 -2
- package/dist/css/coreui.min.css.map +1 -1
- package/dist/js/coreui-utilities.js +205 -122
- package/dist/js/coreui-utilities.js.map +1 -1
- package/dist/js/coreui-utilities.min.js +2 -2
- package/dist/js/coreui-utilities.min.js.map +1 -1
- package/dist/js/coreui.js +295 -166
- package/dist/js/coreui.js.map +1 -1
- package/dist/js/coreui.min.js +2 -2
- package/dist/js/coreui.min.js.map +1 -1
- package/js/dist/ajax-load.js +9 -3
- package/js/dist/ajax-load.js.map +1 -1
- package/js/dist/aside-menu.js +9 -3
- package/js/dist/aside-menu.js.map +1 -1
- package/js/dist/index.js +1 -1
- package/js/dist/index.js.map +1 -1
- package/js/dist/sidebar.js +25 -7
- package/js/dist/sidebar.js.map +1 -1
- package/js/dist/toggle-classes.js +1 -1
- package/js/dist/toggle-classes.js.map +1 -1
- package/js/dist/utilities/get-color.js +1 -1
- package/js/dist/utilities/get-color.js.map +1 -1
- package/js/dist/utilities/get-css-custom-properties.js +1 -1
- package/js/dist/utilities/get-css-custom-properties.js.map +1 -1
- package/js/dist/utilities/get-style.js +1 -1
- package/js/dist/utilities/get-style.js.map +1 -1
- package/js/dist/utilities/hex-to-rgb.js +1 -1
- package/js/dist/utilities/hex-to-rgb.js.map +1 -1
- package/js/dist/utilities/hex-to-rgba.js +1 -1
- package/js/dist/utilities/hex-to-rgba.js.map +1 -1
- package/js/dist/utilities/rgb-to-hex.js +1 -1
- package/js/dist/utilities/rgb-to-hex.js.map +1 -1
- package/js/src/ajax-load.js +7 -2
- package/js/src/aside-menu.js +8 -3
- package/js/src/index.js +1 -1
- package/js/src/sidebar.js +27 -6
- package/js/src/toggle-classes.js +1 -1
- package/js/src/utilities/classes.js +1 -1
- package/js/src/utilities/get-color.js +1 -1
- package/js/src/utilities/get-css-custom-properties.js +1 -1
- package/js/src/utilities/get-style.js +1 -1
- package/js/src/utilities/hex-to-rgb.js +1 -1
- package/js/src/utilities/hex-to-rgba.js +1 -1
- package/js/src/utilities/rgb-to-hex.js +1 -1
- package/package.json +30 -30
- package/scss/_header.scss +1 -1
- package/scss/_layout.scss +24 -8
- package/scss/_navbar.scss +1 -1
- package/scss/_sidebar.scss +18 -2
- package/scss/_variables.scss +4 -0
- package/scss/coreui-standalone.scss +1 -1
- package/scss/coreui.scss +1 -1
package/js/src/ajax-load.js
CHANGED
|
@@ -2,7 +2,7 @@ import $ from 'jquery'
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* --------------------------------------------------------------------------
|
|
5
|
-
* CoreUI (v2.1.
|
|
5
|
+
* CoreUI (v2.1.16): ajax-load.js
|
|
6
6
|
* Licensed under MIT (https://coreui.io/license)
|
|
7
7
|
* --------------------------------------------------------------------------
|
|
8
8
|
*/
|
|
@@ -16,7 +16,7 @@ const AjaxLoad = (($) => {
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
const NAME = 'ajaxLoad'
|
|
19
|
-
const VERSION = '2.1.
|
|
19
|
+
const VERSION = '2.1.16'
|
|
20
20
|
const DATA_KEY = 'coreui.ajaxLoad'
|
|
21
21
|
const JQUERY_NO_CONFLICT = $.fn[NAME]
|
|
22
22
|
|
|
@@ -58,6 +58,7 @@ const AjaxLoad = (($) => {
|
|
|
58
58
|
} else {
|
|
59
59
|
this.setUpUrl(this._config.defaultPage)
|
|
60
60
|
}
|
|
61
|
+
this._removeEventListeners()
|
|
61
62
|
this._addEventListeners()
|
|
62
63
|
}
|
|
63
64
|
|
|
@@ -167,6 +168,10 @@ const AjaxLoad = (($) => {
|
|
|
167
168
|
})
|
|
168
169
|
}
|
|
169
170
|
|
|
171
|
+
_removeEventListeners() {
|
|
172
|
+
$(document).off(Event.CLICK, `${Selector.NAV_LINK}[href!="#"]`)
|
|
173
|
+
}
|
|
174
|
+
|
|
170
175
|
// Static
|
|
171
176
|
|
|
172
177
|
static _jQueryInterface(config) {
|
package/js/src/aside-menu.js
CHANGED
|
@@ -3,7 +3,7 @@ import toggleClasses from './toggle-classes'
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
|
-
* CoreUI (v2.1.
|
|
6
|
+
* CoreUI (v2.1.16): aside-menu.js
|
|
7
7
|
* Licensed under MIT (https://coreui.io/license)
|
|
8
8
|
* --------------------------------------------------------------------------
|
|
9
9
|
*/
|
|
@@ -16,7 +16,7 @@ const AsideMenu = (($) => {
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
const NAME = 'aside-menu'
|
|
19
|
-
const VERSION = '2.1.
|
|
19
|
+
const VERSION = '2.1.16'
|
|
20
20
|
const DATA_KEY = 'coreui.aside-menu'
|
|
21
21
|
const EVENT_KEY = `.${DATA_KEY}`
|
|
22
22
|
const DATA_API_KEY = '.data-api'
|
|
@@ -51,6 +51,7 @@ const AsideMenu = (($) => {
|
|
|
51
51
|
class AsideMenu {
|
|
52
52
|
constructor(element) {
|
|
53
53
|
this._element = element
|
|
54
|
+
this._removeEventListeners()
|
|
54
55
|
this._addEventListeners()
|
|
55
56
|
}
|
|
56
57
|
|
|
@@ -71,6 +72,10 @@ const AsideMenu = (($) => {
|
|
|
71
72
|
})
|
|
72
73
|
}
|
|
73
74
|
|
|
75
|
+
_removeEventListeners() {
|
|
76
|
+
$(document).off(Event.CLICK, Selector.ASIDE_MENU_TOGGLER)
|
|
77
|
+
}
|
|
78
|
+
|
|
74
79
|
// Static
|
|
75
80
|
|
|
76
81
|
static _jQueryInterface() {
|
|
@@ -92,7 +97,7 @@ const AsideMenu = (($) => {
|
|
|
92
97
|
* ------------------------------------------------------------------------
|
|
93
98
|
*/
|
|
94
99
|
|
|
95
|
-
$(window).
|
|
100
|
+
$(window).one(Event.LOAD_DATA_API, () => {
|
|
96
101
|
const asideMenu = $(Selector.ASIDE_MENU)
|
|
97
102
|
AsideMenu._jQueryInterface.call(asideMenu)
|
|
98
103
|
})
|
package/js/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import Sidebar from './sidebar'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* --------------------------------------------------------------------------
|
|
8
|
-
* CoreUI (v2.1.
|
|
8
|
+
* CoreUI (v2.1.16): index.js
|
|
9
9
|
* Licensed under MIT (https://coreui.io/license)
|
|
10
10
|
* --------------------------------------------------------------------------
|
|
11
11
|
*/
|
package/js/src/sidebar.js
CHANGED
|
@@ -5,7 +5,7 @@ import toggleClasses from './toggle-classes'
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* --------------------------------------------------------------------------
|
|
8
|
-
* CoreUI (v2.1.
|
|
8
|
+
* CoreUI (v2.1.16): sidebar.js
|
|
9
9
|
* Licensed under MIT (https://coreui.io/license)
|
|
10
10
|
* --------------------------------------------------------------------------
|
|
11
11
|
*/
|
|
@@ -18,7 +18,7 @@ const Sidebar = (($) => {
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
const NAME = 'sidebar'
|
|
21
|
-
const VERSION = '2.1.
|
|
21
|
+
const VERSION = '2.1.16'
|
|
22
22
|
const DATA_KEY = 'coreui.sidebar'
|
|
23
23
|
const EVENT_KEY = `.${DATA_KEY}`
|
|
24
24
|
const DATA_API_KEY = '.data-api'
|
|
@@ -32,6 +32,7 @@ const Sidebar = (($) => {
|
|
|
32
32
|
ACTIVE : 'active',
|
|
33
33
|
BRAND_MINIMIZED : 'brand-minimized',
|
|
34
34
|
NAV_DROPDOWN_TOGGLE : 'nav-dropdown-toggle',
|
|
35
|
+
NAV_LINK_QUERIED : 'nav-link-queried',
|
|
35
36
|
OPEN : 'open',
|
|
36
37
|
SIDEBAR_FIXED : 'sidebar-fixed',
|
|
37
38
|
SIDEBAR_MINIMIZED : 'sidebar-minimized',
|
|
@@ -59,7 +60,8 @@ const Sidebar = (($) => {
|
|
|
59
60
|
NAVIGATION : '.sidebar-nav > .nav',
|
|
60
61
|
SIDEBAR : '.sidebar',
|
|
61
62
|
SIDEBAR_MINIMIZER : '.sidebar-minimizer',
|
|
62
|
-
SIDEBAR_TOGGLER : '.sidebar-toggler'
|
|
63
|
+
SIDEBAR_TOGGLER : '.sidebar-toggler',
|
|
64
|
+
SIDEBAR_SCROLL : '.sidebar-scroll'
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
const ShowClassNames = [
|
|
@@ -85,6 +87,7 @@ const Sidebar = (($) => {
|
|
|
85
87
|
this.setActiveLink()
|
|
86
88
|
this._breakpointTest = this._breakpointTest.bind(this)
|
|
87
89
|
this._clickOutListener = this._clickOutListener.bind(this)
|
|
90
|
+
this._removeEventListeners()
|
|
88
91
|
this._addEventListeners()
|
|
89
92
|
this._addMediaQuery()
|
|
90
93
|
}
|
|
@@ -127,7 +130,17 @@ const Sidebar = (($) => {
|
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
|
|
130
|
-
makeScrollbar(
|
|
133
|
+
makeScrollbar() {
|
|
134
|
+
let container = Selector.SIDEBAR_SCROLL
|
|
135
|
+
|
|
136
|
+
if (document.querySelector(container) === null) {
|
|
137
|
+
container = Selector.NAVIGATION_CONTAINER
|
|
138
|
+
|
|
139
|
+
if (document.querySelector(container) === null) {
|
|
140
|
+
return null
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
131
144
|
const ps = new PerfectScrollbar(document.querySelector(container), {
|
|
132
145
|
suppressScrollX: true
|
|
133
146
|
})
|
|
@@ -148,7 +161,7 @@ const Sidebar = (($) => {
|
|
|
148
161
|
let link = value
|
|
149
162
|
let cUrl
|
|
150
163
|
|
|
151
|
-
if (link.classList.contains(
|
|
164
|
+
if (link.classList.contains(ClassName.NAV_LINK_QUERIED)) {
|
|
152
165
|
cUrl = String(window.location)
|
|
153
166
|
} else {
|
|
154
167
|
cUrl = String(window.location).split('?')[0]
|
|
@@ -248,6 +261,14 @@ const Sidebar = (($) => {
|
|
|
248
261
|
})
|
|
249
262
|
}
|
|
250
263
|
|
|
264
|
+
_removeEventListeners() {
|
|
265
|
+
$(document).off(Event.CLICK, Selector.BRAND_MINIMIZER)
|
|
266
|
+
$(document).off(Event.CLICK, Selector.NAV_DROPDOWN_TOGGLE)
|
|
267
|
+
$(document).off(Event.CLICK, Selector.SIDEBAR_MINIMIZER)
|
|
268
|
+
$(document).off(Event.CLICK, Selector.SIDEBAR_TOGGLER)
|
|
269
|
+
$(`${Selector.NAVIGATION} > ${Selector.NAV_ITEM} ${Selector.NAV_LINK}:not(${Selector.NAV_DROPDOWN_TOGGLE})`).off(Event.CLICK)
|
|
270
|
+
}
|
|
271
|
+
|
|
251
272
|
// Static
|
|
252
273
|
|
|
253
274
|
static _jQueryInterface() {
|
|
@@ -269,7 +290,7 @@ const Sidebar = (($) => {
|
|
|
269
290
|
* ------------------------------------------------------------------------
|
|
270
291
|
*/
|
|
271
292
|
|
|
272
|
-
$(window).
|
|
293
|
+
$(window).one(Event.LOAD_DATA_API, () => {
|
|
273
294
|
const sidebar = $(Selector.SIDEBAR)
|
|
274
295
|
Sidebar._jQueryInterface.call(sidebar)
|
|
275
296
|
})
|
package/js/src/toggle-classes.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI (v2.1.
|
|
3
|
+
* CoreUI (v2.1.16): toggle-classes.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI Utilities (v2.1.
|
|
3
|
+
* CoreUI Utilities (v2.1.16): classes.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI Utilities (v2.1.
|
|
3
|
+
* CoreUI Utilities (v2.1.16): get-color.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI Utilities (v2.1.
|
|
3
|
+
* CoreUI Utilities (v2.1.16): get-css-custom-properties.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* @returns {string} css custom property name
|
|
6
6
|
* --------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI Utilities (v2.1.
|
|
3
|
+
* CoreUI Utilities (v2.1.16): get-style.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI Utilities (v2.1.
|
|
3
|
+
* CoreUI Utilities (v2.1.16): hex-to-rgb.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI Utilities (v2.1.
|
|
3
|
+
* CoreUI Utilities (v2.1.16): hex-to-rgba.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* --------------------------------------------------------------------------
|
|
3
|
-
* CoreUI (v2.1.
|
|
3
|
+
* CoreUI (v2.1.16): rgb-to-hex.js
|
|
4
4
|
* Licensed under MIT (https://coreui.io/license)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/coreui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.16",
|
|
4
4
|
"description": "Open Source UI Kit built on top of Bootstrap 4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bootstrap",
|
|
@@ -74,44 +74,44 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@coreui/coreui-plugin-npm-postinstall": "^1.0.2",
|
|
76
76
|
"bootstrap": "^4.3.1",
|
|
77
|
-
"core-js": "^3.
|
|
78
|
-
"regenerator-runtime": "^0.13.
|
|
77
|
+
"core-js": "^3.3.4",
|
|
78
|
+
"regenerator-runtime": "^0.13.3"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@babel/cli": "^7.
|
|
82
|
-
"@babel/core": "^7.4
|
|
81
|
+
"@babel/cli": "^7.6.4",
|
|
82
|
+
"@babel/core": "^7.6.4",
|
|
83
83
|
"@babel/plugin-external-helpers": "^7.2.0",
|
|
84
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
84
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
|
|
85
85
|
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
|
|
86
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
87
|
-
"@babel/preset-env": "^7.
|
|
88
|
-
"autoprefixer": "^9.
|
|
89
|
-
"babel-eslint": "^10.0.
|
|
90
|
-
"babel-plugin-istanbul": "^5.
|
|
86
|
+
"@babel/plugin-transform-runtime": "^7.6.2",
|
|
87
|
+
"@babel/preset-env": "^7.6.3",
|
|
88
|
+
"autoprefixer": "^9.7.0",
|
|
89
|
+
"babel-eslint": "^10.0.3",
|
|
90
|
+
"babel-plugin-istanbul": "^5.2.0",
|
|
91
91
|
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
|
|
92
92
|
"clean-css-cli": "^4.3.0",
|
|
93
|
-
"copyfiles": "^2.1.
|
|
94
|
-
"cross-env": "^5.2.
|
|
95
|
-
"eslint": "^5.
|
|
96
|
-
"eslint-plugin-compat": "^3.
|
|
97
|
-
"node-sass": "^4.
|
|
98
|
-
"nodemon": "^1.19.
|
|
93
|
+
"copyfiles": "^2.1.1",
|
|
94
|
+
"cross-env": "^5.2.1",
|
|
95
|
+
"eslint": "^6.5.1",
|
|
96
|
+
"eslint-plugin-compat": "^3.3.0",
|
|
97
|
+
"node-sass": "^4.13.0",
|
|
98
|
+
"nodemon": "^1.19.4",
|
|
99
99
|
"npm-run-all": "^4.1.5",
|
|
100
|
-
"postcss-cli": "^6.1.
|
|
101
|
-
"rimraf": "^2.
|
|
102
|
-
"rollup": "^1.
|
|
103
|
-
"rollup-plugin-babel": "^4.3.
|
|
104
|
-
"rollup-plugin-commonjs": "^10.
|
|
105
|
-
"rollup-plugin-node-resolve": "^5.0
|
|
106
|
-
"semver": "^6.
|
|
100
|
+
"postcss-cli": "^6.1.3",
|
|
101
|
+
"rimraf": "^2.7.1",
|
|
102
|
+
"rollup": "^1.25.2",
|
|
103
|
+
"rollup-plugin-babel": "^4.3.3",
|
|
104
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
105
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
106
|
+
"semver": "^6.3.0",
|
|
107
107
|
"shelljs": "^0.8.3",
|
|
108
108
|
"shx": "^0.3.2",
|
|
109
|
-
"stylelint": "^
|
|
110
|
-
"stylelint-config-recommended-scss": "^
|
|
111
|
-
"stylelint-config-standard": "^
|
|
112
|
-
"stylelint-order": "^3.
|
|
113
|
-
"stylelint-scss": "^3.
|
|
114
|
-
"uglify-js": "^3.6.
|
|
109
|
+
"stylelint": "^11.1.1",
|
|
110
|
+
"stylelint-config-recommended-scss": "^4.0.0",
|
|
111
|
+
"stylelint-config-standard": "^19.0.0",
|
|
112
|
+
"stylelint-order": "^3.1.1",
|
|
113
|
+
"stylelint-scss": "^3.12.0",
|
|
114
|
+
"uglify-js": "^3.6.4"
|
|
115
115
|
},
|
|
116
116
|
"peerDependencies": {
|
|
117
117
|
"jquery": "1.9.1 - 3",
|
package/scss/_header.scss
CHANGED
package/scss/_layout.scss
CHANGED
|
@@ -67,7 +67,7 @@ html[dir="rtl"] {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
@include media-breakpoint-up(
|
|
70
|
+
@include media-breakpoint-up($breakpoint-mobile-up) {
|
|
71
71
|
//
|
|
72
72
|
// Header
|
|
73
73
|
//
|
|
@@ -256,9 +256,17 @@ html[dir="rtl"] {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
&.sidebar-minimized {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
259
|
+
@include media-breakpoint-down($breakpoint-mobile-down) {
|
|
260
|
+
.main,
|
|
261
|
+
.app-footer {
|
|
262
|
+
margin-left: $sidebar-width;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
@include media-breakpoint-up($breakpoint-mobile-up) {
|
|
266
|
+
.main,
|
|
267
|
+
.app-footer {
|
|
268
|
+
margin-left: $sidebar-minimized-width;
|
|
269
|
+
}
|
|
262
270
|
}
|
|
263
271
|
}
|
|
264
272
|
}
|
|
@@ -320,9 +328,17 @@ html[dir="rtl"] {
|
|
|
320
328
|
}
|
|
321
329
|
}
|
|
322
330
|
&.sidebar-minimized {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
331
|
+
@include media-breakpoint-down($breakpoint-mobile-down) {
|
|
332
|
+
.main,
|
|
333
|
+
.app-footer {
|
|
334
|
+
margin-right: $sidebar-width;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
@include media-breakpoint-up($breakpoint-mobile-up) {
|
|
338
|
+
.main,
|
|
339
|
+
.app-footer {
|
|
340
|
+
margin-right: $sidebar-minimized-width;
|
|
341
|
+
}
|
|
326
342
|
}
|
|
327
343
|
}
|
|
328
344
|
}
|
|
@@ -432,7 +448,7 @@ html[dir="rtl"] {
|
|
|
432
448
|
//
|
|
433
449
|
// Mobile layout
|
|
434
450
|
//
|
|
435
|
-
@include media-breakpoint-down(
|
|
451
|
+
@include media-breakpoint-down($breakpoint-mobile-down) {
|
|
436
452
|
.app-header {
|
|
437
453
|
position: fixed;
|
|
438
454
|
z-index: $zindex-sticky;
|
package/scss/_navbar.scss
CHANGED
package/scss/_sidebar.scss
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.sidebar-
|
|
48
|
+
.sidebar-scroll {
|
|
49
49
|
position: relative;
|
|
50
50
|
flex: 1;
|
|
51
51
|
overflow-x: hidden;
|
|
@@ -53,6 +53,17 @@
|
|
|
53
53
|
@include sidebar-width($sidebar-borders, $sidebar-width);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
.sidebar-nav {
|
|
57
|
+
position: relative;
|
|
58
|
+
flex: 1;
|
|
59
|
+
@include sidebar-width($sidebar-borders, $sidebar-width);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
> .sidebar-nav {
|
|
63
|
+
overflow-x: hidden;
|
|
64
|
+
overflow-y: auto;
|
|
65
|
+
}
|
|
66
|
+
|
|
56
67
|
.nav {
|
|
57
68
|
@include sidebar-width($sidebar-borders, $sidebar-width);
|
|
58
69
|
flex-direction: column;
|
|
@@ -310,7 +321,7 @@
|
|
|
310
321
|
}
|
|
311
322
|
}
|
|
312
323
|
|
|
313
|
-
@include media-breakpoint-up(
|
|
324
|
+
@include media-breakpoint-up($breakpoint-mobile-up) {
|
|
314
325
|
.sidebar-compact {
|
|
315
326
|
.sidebar {
|
|
316
327
|
.sidebar-nav {
|
|
@@ -365,6 +376,11 @@
|
|
|
365
376
|
.sidebar {
|
|
366
377
|
z-index: $zindex-sticky - 1;
|
|
367
378
|
|
|
379
|
+
.sidebar-scroll {
|
|
380
|
+
overflow: visible;
|
|
381
|
+
@include sidebar-width($sidebar-borders, $sidebar-minimized-width);
|
|
382
|
+
}
|
|
383
|
+
|
|
368
384
|
.sidebar-nav {
|
|
369
385
|
overflow: visible;
|
|
370
386
|
@include sidebar-width($sidebar-borders, $sidebar-minimized-width);
|
package/scss/_variables.scss
CHANGED