# Clearmin Web Template
![Clearmin template](preview.png)
Bootstrap 3 dashboard / webapp / admin template
**Check the demo : http://cm.paomedia.com/**
**More doc inside the repo**
Browser support : ie9+, (Chrome, firefox, opera, safari), mobile browsers
## Quick start
To start using Clearmin template in a new project you can use this minimal template :
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap-clearmin.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/roboto.css">
<link rel="stylesheet" type="text/css" href="assets/css/material-design.css">
<link rel="stylesheet" type="text/css" href="assets/css/small-n-flat.css">
<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css">
<title>Clearmin Page</title>
</head>
<body class="cm-no-transition cm-1-navbar">
<div id="cm-menu">
<nav class="cm-navbar cm-navbar-primary">
<div class="cm-flex"><div class="cm-logo"></div></div>
<div class="btn btn-primary md-menu-white" data-toggle="cm-menu"></div>
</nav>
<div id="cm-menu-content">
<div id="cm-menu-items-wrapper">
<div id="cm-menu-scroller">
<ul class="cm-menu-items">
<li class="active"><a href="#" class="sf-house">This page is active</a></li>
</ul>
</div>
</div>
</div>
</div>
<header id="cm-header">
<nav class="cm-navbar cm-navbar-primary">
<div class="btn btn-primary md-menu-white hidden-md hidden-lg" data-toggle="cm-menu"></div>
<div class="cm-flex"><h1>Put your title here</h1></div>
</nav>
</header>
<div id="global">
<div class="container-fluid">
<div class="panel panel-default">
<div class="panel-body">
<h2 style="margin:0">Hello World !</h2>
</div>
</div>
</div>
<footer class="cm-footer"><span class="pull-right">© ACME Inc.</span></footer>
</div>
<script src="assets/js/lib/jquery.min.js"></script>
<script src="assets/js/jquery.mousewheel.min.js"></script>
<script src="assets/js/jquery.cookie.min.js"></script>
<script src="assets/js/fastclick.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/clearmin.min.js"></script>
</body>
</html>
```
## General structure
### CSS and JS files
**CSS files (`<head>`) :**
* assets/css/roboto.css (main font)
* assets/css/bootstrap-clearmin.css (bootstrap theme)
* assets/css/material-design.css (material design svg icons classes)
* assets/css/small-n-flat.css (small-n-flat svg icons classes)
* assets/css/font-awesome.min.css (iconic font classes)
**Javascript files (just before `</body>`) :**
* assets/js/lib/jquery.min.js (required by bootstrap)
* assets/js/lib/jquery.mousewheel.min.js (catch some scrolling events)
* assets/js/lib/jquery.cookie.min.js (cookie manipulation plugin)
* assets/js/lib/fastclick.min.js (enhance mobile device click events)
* assets/js/bootstrap.min.js (bootstrap js widgets)
* assets/js/clearmin.js (required by clearmin)
### Body classes
* cm-no-transition : **must** be present to prevent certain browser to start transition on page load
* cm-1-navbar : when one navbar is present on your page
* cm-2-navbar : when two navbars are present on your page
* cm-3-navbar : when three navbars are present on your page
* cm-menu-toggled : if you want the menu to be toggled on page load (see next section)
### Preserving left menu state between pages
When the user choose to use the condensed version of the side menu, we want it to stay in this state when the user click on another page. To achieve this, a cookie is automatically set to reflect the menu state.
You got two different way to restore this state :
* **Server-side** (recommended) : when your server receive a cookie named "cm-menu-toggled" with value "true", just add `.cm-menu-toggled` class to the body tag.
* **Client-side** : Nothing to do, `.cm-menu-toggled` is automaticaly added to the body when needed but it can cause a blinking reflow on certain browsers (e.g. Google Chrome)
## Credits
* [Bootstrap](http://getbootstrap.com/) css front-end framework.
* [jQuery](http://jquery.com/) fast, small, and feature-rich JavaScript library.
* [Summernote](http://hackerwins.github.io/summernote/) Super Simple WYSIWYG Editor on Bootstrap
* [Font Awesome](http://fortawesome.github.io/Font-Awesome/) The iconic font and CSS toolkit
* [Roboto](https://www.google.com/fonts/specimen/Roboto) Google font
* [Small-n-flat icons](https://github.com/paomedia/small-n-flat) SVG icons on a 24px grid
* [Material Design Icons](https://github.com/google/material-design-icons) Google SVG icons
* [D3.js](http://d3js.org/) Data-Driven Documents
* [C3.js](http://c3js.org/) D3-based reusable chart library
* [Fastclick](https://github.com/ftlabs/fastclick) Polyfill to remove click delays on browsers with touch UIs
* [Jquery-cookie](https://github.com/carhartl/jquery-cookie) A simple, lightweight jQuery plugin for reading, writing and deleting cookies
* [Jquery-mousewheel](https://github.com/jquery/jquery-mousewheel) A jQuery plugin that adds cross-browser mouse wheel support
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
clearmin简约轻量级框架 (2000个子文件)
bootstrap-clearmin.css 168KB
bootstrap-clearmin.min.css 140KB
bootstrap-clearmin.min.css 140KB
bootstrap-clearmin.min.css 140KB
material-design.css 128KB
material-design.css 128KB
material-design.css 128KB
font-awesome.css 28KB
font-awesome.min.css 23KB
font-awesome.min.css 23KB
font-awesome.min.css 23KB
small-n-flat.css 12KB
small-n-flat.css 12KB
small-n-flat.css 12KB
summernote.css 10KB
summernote.css 10KB
summernote.css 10KB
c3.css 3KB
c3.min.css 2KB
c3.min.css 2KB
c3.min.css 2KB
highlight.css 2KB
roboto.css 1KB
roboto.css 1KB
roboto.css 1KB
fontawesome-webfont.eot 59KB
glyphicons-halflings-regular.eot 20KB
ico-md.html 191KB
ico-md.html 185KB
ico-fa.html 103KB
ico-sf.html 47KB
ico-sf.html 42KB
components-interactive.html 25KB
layouts-tabs.html 23KB
components-text.html 21KB
index.html 20KB
components-buttons.html 20KB
index.html 16KB
dashboard-visitors.html 14KB
layouts-breadcrumb2.html 13KB
layouts-breadcrumb1.html 13KB
dashboard-sales.html 13KB
dashboard-server_stats.html 8KB
notepad.html 8KB
navbars.html 5KB
minimal.html 2KB
login.html 2KB
d3.js 329KB
c3.js 290KB
summernote.js 181KB
d3.min.js 148KB
d3.min.js 148KB
c3.min.js 134KB
c3.min.js 134KB
jquery-2.1.3.min.js 82KB
jquery.min.js 82KB
jquery.min.js 82KB
jquery-2.1.3.min.js 82KB
jquery.min.js 82KB
jquery-2.1.3.min.js 82KB
bootstrap.js 66KB
summernote.min.js 65KB
summernote.min.js 65KB
summernote.min.js 65KB
bootstrap.min.js 35KB
bootstrap.min.js 35KB
bootstrap.min.js 35KB
fastclick.js 25KB
clearmin.js 13KB
highlight.pack.js 12KB
clearmin.min.js 10KB
clearmin.min.js 10KB
clearmin.min.js 10KB
jquery.mousewheel.js 8KB
fastclick.min.js 8KB
fastclick.min.js 8KB
fastclick.min.js 8KB
jquery.cookie.js 3KB
jquery.mousewheel.min.js 3KB
jquery.mousewheel.min.js 3KB
jquery.mousewheel.min.js 3KB
dashboard.js 2KB
jquery.cookie.min.js 1KB
jquery.cookie.min.js 1KB
jquery.cookie.min.js 1KB
notepad.js 474B
home.js 430B
popovers-tooltips.js 91B
variables.less 28KB
glyphicons.less 19KB
forms.less 15KB
navbar.less 14KB
theme.less 8KB
normalize.less 7KB
vendor-prefixes.less 7KB
panels.less 6KB
type.less 6KB
button-groups.less 6KB
carousel.less 5KB
navs.less 5KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
xinZhu8
- 粉丝: 1102
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于Python和CPM模型的中文文本生成系统.zip
- (源码)基于Java Swing和MySQL的教务管理系统.zip
- (源码)基于x86架构的AOS操作系统.zip
- 使用 Python 爬虫采集精准数据的过程.mp4
- (源码)基于Spring Boot和Vue的权限管理系统.zip
- (源码)基于ROS的旋转木马机器人系统.zip
- (源码)基于JSP的论坛系统.zip
- (源码)基于Arduino的温湿度监控与控制系统.zip
- (源码)基于STM32F103的正点原子战舰V3开发板系统.zip
- 基于HMMR隐马尔科夫模型的时间序列分割算法matlab仿真,包括程序,中文注释,仿真操作步骤
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功