Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/compostrap/sidebar-skeleton
:page_with_curl: Simple and fast sidebar skeleton on Bootstrap (@twbs)
https://github.com/compostrap/sidebar-skeleton
bootstrap sidebar sidebar-menu
Last synced: 2 months ago
JSON representation
:page_with_curl: Simple and fast sidebar skeleton on Bootstrap (@twbs)
- Host: GitHub
- URL: https://github.com/compostrap/sidebar-skeleton
- Owner: compostrap
- License: mit
- Created: 2019-09-06T04:34:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T10:51:52.000Z (over 1 year ago)
- Last Synced: 2024-12-03T11:40:36.368Z (3 months ago)
- Topics: bootstrap, sidebar, sidebar-menu
- Language: SCSS
- Homepage:
- Size: 267 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
## Sidebar skeleton
Simple and fast sidebar skeleton.[](https://github.com/compostrap/sidebar-skeleton/blob/master/license.md)
[](https://badge.fury.io/js/sidebar-skeleton-compostrap)
[](https://travis-ci.com/compostrap/sidebar-skeleton)
[](https://www.codefactor.io/repository/github/compostrap/sidebar-skeleton)## Installation
```
npm install --save sidebar-skeleton-compostrap
```Version 1x built on Bootstrap 4
Version 2x built on Bootstrap 5## Built on
- [Bootstrap](https://getbootstrap.com)## Demo
https://compostrap.github.io/skeleton## Introduction
Simple and fast sidebar skeleton is build on Bootstrap. So you should be aware of how Bootstrap itself is used.
The advantage is also knowledge of sass, npm, grunt.## See the html template code
https://raw.githubusercontent.com/compostrap/sidebar-skeleton/master/demo.html## Customize sidebar when navbar is used
When we use navbar, we extend the class called **wrapper**| Navbar | Class |
| ------------ | ---------------------- |
| unused | `wrapper` |
| Used | `wrapper-navbar-used` |
| Used (fixed) | `wrapper-navbar-fixed` |## Other class
Optional classes as needed.| Description | Class |
| ---------------------------- | --------------------------- |
| Right top rounded in sidebar | `sidebar-rounded-top-right` |
| Fixed menu in sidebar | `sidebar-menu-fixed` |## Overview of sidebar background colors
Colors are the same as bootstrap. Add more colors in [colors.scss](https://github.com/compostrap/sidebar-skeleton/blob/master/scss/themes/_colors.scss)| Color | Class |
| --------------------------------------------------------------- | ------------------- |
|  | `sidebar-bg-white` |
|  | `sidebar-bg-light` |
|  | `sidebar-bg-dark` |
|  | `sidebar-bg-blue` |
|  | `sidebar-bg-purple` |
|  | `sidebar-bg-pink` |
|  | `sidebar-bg-red` |
|  | `sidebar-bg-orange` |
|  | `sidebar-bg-green` |
|  | `sidebar-bg-teal` |
|  | `sidebar-bg-cyan` |## jQuery toggle
If you would like to have your own toggle button visible at all resolutions, we need to change the class in [sidebar.js](https://github.com/compostrap/sidebar-skeleton/blob/master/dist/js/sidebar.js)| Description | Class |
| ------------------------ | ------------------------ |
| Visible in small devices | `sidebar-toggle` |
| Visible all resolutions | `sidebar-toggle-visible` |