<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="demo-box">
<h3>Card</h3>
<div class="nl-card nl-table-group" style="margin: 0 auto;">
<div class="nl-card__left nl-table-cell">
<div class="left-image image__first" style="background-image:url('https://farm1.staticflickr.com/636/21542633534_b1deb26efb_z.jpg');"></div>
<div class="left-image image__second" style="background-image:url('https://i.ytimg.com/vi/RvWDUi3oEyY/maxresdefault.jpg');"></div>
</div>
<div class="nl-card__right nl-table-cell">
<div class="nl-avatar-group">
<div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"><a href="javascript:;" class="nl-avatar__link"></a></div>
<div class="title nl-ellipsis"><a href="javascript:;">Miranda May Kerr</a></div>
<div class="subtitle nl-ellipsis">2 mins ago</div>
<div class="action"><i class="fa fa-ellipsis-v"></i></div>
</div>
<div class="content">
<div class="title">Which one is better?</div>
<div class="des">My husband and I are wandering which one is better? How do you think?</div>
</div>
<div class="nl-card__footer">
<button class="nl-btn nl-btn--default">iPhone</button>
<button class="nl-btn nl-btn--default">Samsung S7 edge</button>
<a tole="button" class="nl-btn nl-btn--default more" href="javascript:;">More...</a>
</div>
</div>
</div>
</div>
<div class="demo-box">
<h3>Tab</h3>
<div class="nl-tab" style="width: 355px;margin: 0 auto;">
<ul class="nl-tab-list nl-table-group nl-table-group--fixed">
<li class="nl-tab--item nl-table-cell">
<a href="javascript:;" class="nl-tab__link nl-state--selected">Comment(3)</a>
</li>
<li class="nl-tab--item nl-table-cell">
<a href="javascript:;" class="nl-tab__link">Chart</a>
</li>
<li class="nl-tab--item nl-table-cell">
<a href="javascript:;" class="nl-tab__link">Related</a>
</li>
</ul>
</div>
</div>
<div class="demo-box">
<h3>Input</h3>
<div class="nl-input-group" style="width: 355px;margin-left: auto;margin-right: auto;">
<input type="text" class="nl-input" />
<label class="nl-input-label">Label1</label>
<div class="nl-input-clear"><i class="fa fa-close"></i></div>
</div>
<div class="nl-input-group" style="width: 355px;margin-left: auto;margin-right: auto;">
<input type="text" class="nl-input" />
<label class="nl-input-label">Label2</label>
<div class="nl-input-clear"><i class="fa fa-close"></i></div>
</div>
</div>
<div class="demo-box">
<h3>Notification</h3>
<div class="nl-noti">
<ul class="nl-noti__list">
<div class="nl-noti__list__top"><a href="javascript:;" class="nl-noti__list__top-link">Mark all as read</a></div>
<li class="nl-noti__item">
<a href="javascript:;" class="nl-noti__link unread">
<div class="image"><i class="fa fa-thumbs-o-up"></i></div>
<div class="content">您在<span class="point">Which one is better?</span>這篇文章獲得了1000個讚賞!恭喜!</div>
<div class="action"><i class="fa fa-angle-right"></i></div>
</a></li>
<li class="nl-noti__item">
<a href="javascript:;" class="nl-noti__link">
<div class="image"><i class="fa fa-thumbs-o-up"></i></div>
<div class="content">Your comment has get more than 500 likes in <span class="point">Which one is better?</span></div>
<div class="action"><i class="fa fa-angle-right"></i></div>
</a></li>
<li class="nl-noti__item">
<a href="javascript:;" class="nl-noti__link">
<div class="image">
<div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"></div>
</div>
<div class="content"><span class="point">Leila Powell</span>and other 23 people likes your comment in<span class="point">Which one is better?</span></div>
<div class="action"><i class="fa fa-angle-right"></i></div>
</a></li>
<li class="nl-noti__item">
<a href="javascript:;" class="nl-noti__link">
<div class="image">
<div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"></div>
</div>
<div class="content"><span class="point">Leila Powell</span>and other 23 people likes your comment in<span class="point">Which one is better?</span></div>
<div class="action"><i class="fa fa-angle-right"></i></div>
</a></li>
<li class="nl-noti__item">
<a href="javascript:;" class="nl-noti__link">
<div class="image">
<div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"></div>
</div>
<div class="content"><span class="point">Leila Powell</span>and other 23 people likes your comment in<span class="point">Which one is better?</span></div>
<div class="action"><i class="fa fa-angle-right"></i></div>
</a></li>
<li class="nl-noti__item">
<a href="javascript:;" class="nl-noti__link">
<div class="image">
<div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"></div>
</div>
<div class="content"><span class="point">Leila Powell</span>and other 23 people likes your comment in<span class="point">Which one is better?</span></div>
<div class="action"><i class="fa fa-angle-right"></i></div>
</a></li>
</ul>
<div class="nl-noti__footer">
<a role="button" href="javascript:;" class="nl-noti__footer__link">All</a>
</div>
</div>
</div>
<div class="demo-box">
<h3>Checkbox</h3>
<input type="checkbox" id="checkbox1" class="nl-checkbox-input" name="checkbox-animation"/>
<label class="nl-checkbox-label" for="checkbox1">Checkbox1</label>
<input type="checkbox" id="checkbox2" class="nl-checkbox-input" name="checkbox-animation"/>
<label class="nl-checkbox-label" for="checkbox2">Checkbox2</label>
<input type="checkbox" id="checkbox3" class="nl-checkbox-input" name="checkbox-animation"/>
<label class="nl-checkbox-label" for="checkbox3">Checkbox3</label>
<input type="checkbox" id="checkbox4" class="nl-checkbox-input" name="checkbox-animation"/>
<label class="nl-checkbox-label" for="checkbox4">Checkbox4</label>
</div>
<div class="demo-box">
<h3>Radio</h3>
<input type="radio" id="radio1" class="nl-radio-input" name="radio-animation"/>
<label class="nl-radio-label" for="radio1">Radio1</label>
<input type="radio" id="radio2" class="nl-radio-input" name="radio-animation"/>
<label class="nl-radio-label" for="radio2">Radio2</label>
<input type="radio" id="radio3" class="nl-radio-input" name="radio-animation"/>
<label class="nl-radio-label" for="radio3">Radio3</label>
<input type="radio" id="radio4" class="nl-radio-input" name="radio-animation"/>
<label class="nl-radio-label" for="radio4">Radio4</label>
</div>
<div class="demo-box">
<h3>Navigation</h3>
<nav class="demo-nav nl-nav">
<ul class="nl-table-group nl-table-group--fixed">
<li class="nl-table-cell"><a class="nl-nav__link nl-state--selected" href="javascript:;"><i class="fa fa-home"></i></a></li>
<li class="nl-table-cell"><a class="nl-nav__link" href="javascript:;"><i class="fa fa-search"></i></a></li>
<li class="nl-table-cell"><a class="nl-nav__link" href="javascript:;"><i class="fa fa-plus"></i></a></li>
<li class="nl-table-cell"><a class="nl-nav__link" href="javascript:;"><i class="fa fa-bell"></i></a></li>
<li class="nl-table-cell"><a class="nl-nav__link" href="javascript:;"><div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"></div></a></li>
</ul>
</nav>
</div>
<div class="demo-box">
<h3>Avatar Group</h3>
<div class="nl-avatar-group" style="width:300px;">
<div class="nl-avatar nl-circle" style="background-image:url('https://lh4.googleusercontent.com/-d37GxfXbPoU/AAAAAAAAAAI/AAAAAAAAA5o/wgtBFgfTKYQ/s0-c-k-no-ns/photo.jpg');"><a href="javascript:;" class="nl-avatar__link"></a></div>
<div class="title nl-ellipsis"><a href="javascript:;">Miranda May Kerr</a></div>
<div class="subtitle nl-ellipsis">2 mins ago</div>
<div class="action"><i class="fa fa-angle-down"></i></div>
</div>
</div>
<!-- pagination -->
<div class="demo-box">
<h3>Pagination</h3>
<nav class="nl-pagination">
<ul>
<li class="nl-page-item"><a class="nl-page-item__link" href="#"><i class="fa fa-chevron-left"></i>Prev</a></li>
<li class="nl-page-item"><a class="nl-page-item__link" href="#">1</a></li>
<li class="nl-page-item"><a class="nl-page-item__link" href="#">2</a></li>
<li class="nl-page-item"><a class="nl-page-item__link nl-state--selected" href="#">3</a></li>
<li class="nl-page-item"><a class="nl-page-item__link" href="#">4</a></li>
<li class="nl-page-item"><a class="nl-page-item__link" href="#">5</a></li>
<li class="nl-page-item"><a class="nl-page-item__link" href="#">Next<i class="fa fa-chevron-right"></i></a></li>
</ul>
</nav>
</div>
<div class="demo-box" style="text-align: center;">
<h3>Doughnut Chart</h3>
<div class="demo-chart nl-chart">
<div class="nl-chart__label">
<div class="label male">
<i class="fa fa-user"></i><span>male</span></div>
<div class="label female">
<i class="fa fa-user"></i><span>female</span></div>
<div class="label rainbow">
<i class="fa fa-user rainbow"></i><span>rainbow</span></div>
</div>
<div class="nl-chart--doughnut">
<div class="nl-chart--text"><div class="title">45</div>
<div class="subtitle">132 voted</div></div>
<canvas id="myChart" ></canvas>
</div>
<div class="nl-chart--doughnut">
<div class="nl-chart--text"><div class="title">56</div>
<div class="subtitle">168 voted</div></div>
<canvas id="myChart2" ></canvas>
</div>
</div>
</div>
<script>
$(document).ready(function(){
// tab
$(document).on('click','.nl-tab__link',function(){
$('.nl-tab__link').removeClass('nl-state--selected');
$(this).addClass('nl-state--selected');
});
// input
$(document).on('click','.nl-input-clear',function(){
$(this).siblings('.nl-input').val("");
$(this).siblings('.nl-input').focus();
});
$('.nl-input').on('change paste keyup',function(){
var obj = $(this);
var inputValue = $(this).val();
inputLabelChangePosition(obj, inputValue);
});
$('.nl-input').blur(function(){
var obj = $(this);
var inputValue = $(this).val();
inputLabelChangePosition(obj, inputValue);
});
function inputLabelChangePosition(obj, inputValue){
if ( inputValue == "" ){
$(obj).parent('.nl-input-group').removeClass('nl-state--selected');
}
else {
$(obj).parent('.nl-input-group').addClass('nl-state--selected');
}
}
// nav
$(document).on('click', '.nl-nav__link', function(){
if($(this).children('i').hasClass('fa-plus')){
return;
}
else{
$('.nl-nav__link').removeClass('nl-state--selected');
$(this).addClass('nl-state--selected');
}
});
var config = {
type: 'doughnut',
data: {
datasets: [{
data: [100, 50 ,32],
backgroundColor: [
"#71B4FD",
"#E59AF1",
"#C785FF"
]
}],
labels: [
]
},
options: {
responsive: true,
animation: {
animateRotate: true
},
cutoutPercentage : 85,
}
};
window.onload = function() {
var ctx = document.getElementById("myChart").getContext("2d");
window.myDoughnut = new Chart(ctx, config);
var ctx2 = document.getElementById("myChart2").getContext("2d");
window.myDoughnut2 = new Chart(ctx2, config);
};
});
</script>
@import url(https://fonts.googleapis.com/css?family=Roboto);
.nl-btn {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: none;
background: none;
border: 0;
font-size: 0.875rem;
border-radius: 4px;
cursor: pointer;
-webkit-transition: all 120ms ease-out;
transition: all 120ms ease-out;
}
.nl-btn.nl-btn--default {
background-color: #fff;
box-shadow: 0 0 0 1px #60a392;
color: #60a392;
padding: 10px;
}
.nl-btn.nl-btn--default:hover {
background-color: #60a392;
color: #fff;
}
.nl-btn.nl-btn--default:active {
background-color: #569484;
color: #fff;
}
.nl-ellipsis {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.nl-circle {
border-radius: 50%;
}
.nl-table-group {
display: table;
width: 100%;
}
.nl-table-group--fixed {
table-layout: fixed;
}
.nl-table-cell {
display: table-cell;
}
h3 {
padding-bottom: 10px;
color: #aaa;
}
.nl-avatar {
width: 46px;
height: 46px;
background-repeat: no-repeat;
background-position: center center;
background-size: auto 100%;
box-shadow: 0 0 0 1px #ccc;
-webkit-transition: background-size 160ms ease-out;
transition: background-size 160ms ease-out;
}
.nl-avatar .nl-avatar__link {
display: block;
height: 100%;
}
a {
color: #60a392;
text-decoration: none;
}
a:hover {
color: #70ac9d;
}
html, body {
background-color: #eee;
font-family: "Roboto";
}
.demo-box {
text-align: center;
margin: 0 auto;
padding: 20px;
max-width: 960px;
}
.demo-nav {
width: 375px;
margin: 0 auto;
}
.demo-chart {
width: 50%;
margin: 0 auto;
}
.nl-card {
text-align: left;
background-color: #fff;
max-width: 720px;
border-radius: 4px;
overflow: hidden;
}
.nl-card .nl-card__left {
vertical-align: top;
width: 300px;
}
.nl-card .nl-card__left .left-image {
height: 180px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.nl-card .nl-card__right {
vertical-align: top;
position: relative;
padding: 10px;
}
.nl-card .nl-card__right:before {
position: absolute;
top: 0;
left: 0;
content: '';
width: 1px;
height: 100%;
background-color: #eee;
}
.nl-card .nl-card__right .content {
padding: 10px;
max-height: 188px;
overflow: auto;
}
.nl-card .nl-card__right .content .title {
font-size: 1.125rem;
line-height: 1.5rem;
color: #666;
}
.nl-card .nl-card__right .content .des {
font-size: 1rem;
line-height: 1.325rem;
color: #999;
padding-top: 15px;
}
.nl-card .nl-card__right .nl-card__footer {
position: absolute;
bottom: 10px;
left: 10px;
width: 100%;
padding: 10px 0;
}
.nl-card .nl-card__right .nl-card__footer .nl-btn {
width: 120px;
box-sizing: border-box;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
margin-right: 5px;
}
.nl-card .nl-card__right .nl-card__footer .nl-btn.more {
float: right;
box-shadow: none;
text-align: center;
font-size: 1rem;
margin-right: 20px;
margin-top: 1px;
}
.nl-tab .nl-tab-list {
border-bottom: 1px solid #ccc;
}
.nl-tab .nl-tab__link {
position: relative;
display: block;
padding: 10px 0;
text-align: center;
}
.nl-tab .nl-tab__link.nl-state--selected:before {
content: '';
position: absolute;
bottom: 0;
left: calc(50% - 40px);
width: 80px;
height: 2px;
background-color: #60a392;
-webkit-animation: tab-bar 300ms ease-out forwards;
animation: tab-bar 300ms ease-out forwards;
}
@-webkit-keyframes tab-bar {
0% {
opacity: 0;
width: 0;
}
100% {
opacity: 1;
width: 80px;
}
}
@keyframes tab-bar {
0% {
opacity: 0;
width: 0;
}
100% {
opacity: 1;
width: 80px;
}
}
.nl-input-group {
position: relative;
text-align: left;
margin-bottom: 30px;
}
.nl-input-group .nl-input-label {
position: absolute;
top: 0;
left: 0;
font-size: 1.125rem;
line-height: 28px;
color: #60a392;
-webkit-transition: all 120ms ease-in;
transition: all 120ms ease-in;
color: #ccc;
}
.nl-input-group .nl-input {
width: 100%;
border: 0;
margin: 0;
padding: 0 25px 5px 0;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-size: 1.125rem;
line-height: 1.5rem;
color: #666;
box-sizing: border-box;
background: none;
}
.nl-input-group .nl-input-clear {
position: absolute;
top: 2px;
right: 0;
z-index: 1;
display: none;
color: #999;
width: 20px;
height: 20px;
background-color: #d8d8d8;
font-size: 0.75rem;
border-radius: 50%;
text-align: center;
line-height: 20px;
cursor: pointer;
}
.nl-input-group .nl-input-clear:hover {
background-color: #d2d2d2;
}
.nl-input-group .nl-input-clear:active {
background-color: #ccc;
}
.nl-input-group.nl-state--selected .nl-input-label {
font-size: 0.75rem;
-webkit-transform: translate3d(0, -26px, 0);
transform: translate3d(0, -26px, 0);
color: #60a392;
}
.nl-input-group.nl-state--selected .nl-input-clear {
display: block;
}
.nl-input-group:before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: #60a392;
}
.nl-noti {
position: relative;
width: 355px;
height: 325px;
background-color: #fff;
box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 3px;
margin: 0 auto;
text-align: left;
}
.nl-noti:before {
content: '';
position: absolute;
top: -17px;
right: 28px;
width: 0;
height: 0;
border-style: solid;
border-width: 0 6px 12px 6px;
border-color: transparent transparent rgba(0, 0, 0, 0.2) transparent;
}
.nl-noti .nl-noti__list {
position: absolute;
top: 0;
bottom: 36px;
width: 100%;
overflow-y: auto;
}
.nl-noti .nl-noti__list__top {
text-align: right;
}
.nl-noti .nl-noti__list__top-link {
display: inline-block;
font-size: 0.85rem;
padding: 0.3rem 0.5rem;
}
.nl-noti .nl-noti__item {
border-bottom: 1px dashed #d2d2d2;
}
.nl-noti .nl-noti__item:last-child {
border: 0;
}
.nl-noti .nl-noti__link {
display: block;
position: relative;
padding: 10px 65px 10px 47px;
background: #fff;
-webkit-transition: background-color 120ms ease-in;
transition: background-color 120ms ease-in;
}
.nl-noti .nl-noti__link:hover, .nl-noti .nl-noti__link.unread {
background-color: rgba(96, 163, 146, 0.1);
}
.nl-noti .image {
position: absolute;
top: 10px;
left: 0;
width: 46px;
height: 46px;
font-size: 1.25rem;
color: #a88dc0;
text-align: center;
}
.nl-noti .content {
font-size: 0.875rem;
line-height: 1.5rem;
word-wrap: break-word;
color: #999;
}
.nl-noti .content .point {
color: #60a392;
display: inline-block;
margin: 0 3px;
}
.nl-noti .action {
position: absolute;
top: calc(50% - 0.5rem);
right: 10px;
height: 100%;
font-size: 1rem;
color: #aaa;
}
.nl-noti .nl-avatar {
width: 26px;
height: 26px;
margin: 0 auto;
}
.nl-noti .nl-noti__footer {
position: absolute;
bottom: 0;
width: 100%;
height: 36px;
background-color: #fff;
border-radius: 0 0 6px 6px;
}
.nl-noti .nl-noti__footer__link {
display: block;
text-align: center;
line-height: 36px;
font-size: 1rem;
box-shadow: 0 -5px 20px -5px rgba(0, 0, 0, 0.2);
-webkit-transition: background-color 120ms ease-in;
transition: background-color 120ms ease-in;
}
.nl-noti .nl-noti__footer__link:hover {
background-color: rgba(96, 163, 146, 0.1);
}
.nl-noti .nl-noti__footer__link:hover:active {
background-color: rgba(96, 163, 146, 0.3);
}
.nl-radio-input,
.nl-checkbox-input {
display: none;
}
.nl-radio-input + .nl-radio-label,
.nl-checkbox-input + .nl-checkbox-label {
position: relative;
padding-left: calc(16px + 5px);
margin-right: 5px;
cursor: pointer;
line-height: 16px;
color: #60a392;
}
.nl-radio-input + .nl-radio-label:hover,
.nl-checkbox-input + .nl-checkbox-label:hover {
color: #73c2ae;
}
.nl-radio-input + .nl-radio-label:before,
.nl-checkbox-input + .nl-checkbox-label:before {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 14px;
height: 14px;
box-shadow: 0 0 0 1px #73c2ae;
border-radius: 50%;
box-shadow: inset 0 0 0 0 #73c2ae, 0 0 0 1px #73c2ae;
-webkit-transition: all 120ms ease-in;
transition: all 120ms ease-in;
}
.nl-checkbox-input + .nl-checkbox-label:before {
border-radius: 0;
}
.nl-radio-input + .nl-radio-label:after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 8px;
height: 8px;
background-color: #fff;
border-radius: 50%;
opacity: 0;
}
.nl-checkbox-input + .nl-checkbox-label:after {
position: absolute;
top: 0;
left: 1px;
content: '\f00c';
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
opacity: 0;
color: #fff;
}
.nl-radio-input:checked + .nl-radio-label:before,
.nl-checkbox-input:checked + .nl-checkbox-label:before {
box-shadow: inset 0 0 0 8px #73c2ae, 0 0 0 1px #73c2ae;
}
.nl-radio-input:checked + .nl-radio-label:after {
-webkit-animation: nl-radio-animation 200ms 140ms forwards;
animation: nl-radio-animation 200ms 140ms forwards;
}
.nl-checkbox-input:checked + .nl-checkbox-label:after {
-webkit-animation: nl-checkbox-animation 200ms 140ms forwards;
animation: nl-checkbox-animation 200ms 140ms forwards;
}
@-webkit-keyframes nl-radio-animation {
0% {
opacity: 0;
-webkit-transform: scale(0);
transform: scale(0);
}
1% {
opacity: 1;
}
70% {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
100% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes nl-radio-animation {
0% {
opacity: 0;
-webkit-transform: scale(0);
transform: scale(0);
}
1% {
opacity: 1;
}
70% {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
100% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@-webkit-keyframes nl-checkbox-animation {
0% {
opacity: 0;
-webkit-transform: scale(0);
transform: scale(0);
}
1% {
opacity: 1;
}
70% {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
100% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes nl-checkbox-animation {
0% {
opacity: 0;
-webkit-transform: scale(0);
transform: scale(0);
}
1% {
opacity: 1;
}
70% {
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
100% {
opacity: 1;
-webkit-transform: scale(1);
transform: scale(1);
}
}
.nl-chart:after {
content: '';
display: block;
clear: both;
}
.nl-chart__label {
font-size: 12px;
}
.nl-chart__label .label {
display: inline-block;
vertical-align: middle;
margin-right: 15px;
padding-bottom: 30px;
}
.nl-chart__label .label.male {
color: #71b4fd;
}
.nl-chart__label .label.female {
color: #e59af1;
}
.nl-chart__label .label.rainbow {
color: #c785ff;
}
.nl-chart__label .label span {
color: #999;
}
.nl-chart__label i {
font-size: 14px;
}
.nl-chart__label i:before {
margin-right: 3px;
}
.nl-chart--doughnut {
display: inline-block;
vertical-align: middle;
width: 50%;
float: left;
position: relative;
}
.nl-chart--text {
position: absolute;
width: 50%;
height: 50%;
top: 37%;
left: 25%;
text-align: center;
vertical-align: middle;
}
.nl-chart--text .title {
color: #60a392;
font-size: 32px;
font-family: 'helvetica neue';
padding-bottom: 5px;
}
.nl-chart--text .title:after {
content: '%';
font-size: 12px;
}
.nl-chart--text .subtitle {
color: #999;
font-size: 14px;
}
.nl-nav {
height: 55px;
background-color: #60a392;
}
.nl-nav ul {
height: 100%;
}
.nl-nav li {
position: relative;
overflow: hidden;
}
.nl-nav .nl-nav__link {
display: block;
}
.nl-nav .nl-nav__link:hover i {
text-shadow: 0 4px 20px #82ddc6;
}
.nl-nav i {
color: #fff;
font-size: 28px;
line-height: 55px;
vertical-align: middle;
-webkit-transition: text-shadow 160ms ease-out;
transition: text-shadow 160ms ease-out;
}
.nl-nav i.fa-search {
font-size: 22px;
}
.nl-nav i.fa-plus {
font-size: 25px;
}
.nl-nav i.fa-bell {
font-size: 19px;
}
.nl-nav .nl-avatar {
position: absolute;
width: 40px;
height: 40px;
top: 7.5px;
left: calc(50% - (20px));
}
.nl-nav .nl-state--selected:before {
content: '';
position: absolute;
bottom: -17px;
left: calc(50% - 20px);
border-radius: 50%;
background: -webkit-radial-gradient(circle, #82ddc6 40%, rgba(130, 221, 198, 0)) 100%;
background: radial-gradient(circle, #82ddc6 40%, rgba(130, 221, 198, 0)) 100%;
-webkit-filter: blur(8px);
filter: blur(8px);
width: 40px;
height: 32px;
}
.nl-nav .nl-state--selected:after {
content: '';
position: absolute;
bottom: 0;
left: calc(50% - 16px);
background: #fff;
width: 32px;
height: 3px;
}
.nl-avatar-group {
position: relative;
display: inline-block;
margin: 0 auto;
width: 100%;
padding: 16px 35px 16px 66px;
text-align: left;
box-sizing: border-box;
}
.nl-avatar-group .title {
font-size: 16px;
line-height: 20px;
color: #60a392;
}
.nl-avatar-group .subtitle {
font-size: 12px;
line-hieght: 16px;
color: #aaa;
padding-top: 2px;
}
.nl-avatar-group .action {
position: absolute;
width: 20px;
height: 20px;
top: calc(50% - 10px);
right: 10px;
color: #aaa;
font-size: 20px;
text-align: center;
}
.nl-avatar-group .nl-avatar {
position: absolute;
top: 10px;
left: 10px;
background-color: #eee;
-webkit-transition: -webkit-transform 120ms ease-in;
transition: -webkit-transform 120ms ease-in;
transition: transform 120ms ease-in;
transition: transform 120ms ease-in, -webkit-transform 120ms ease-in;
background-size: cover;
}
.nl-pagination {
font-size: 0;
}
.nl-page-item {
font-size: 0.875rem;
display: inline-block;
vertical-align: middle;
}
.nl-page-item__link {
display: block;
padding: 0.75rem 1rem;
border-right: 0;
-webkit-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
color: #60a392;
border-radius: 4px;
text-decoration: none;
}
.nl-page-item__link:hover {
color: #60a392;
text-decoration: none;
background-color: #d8d8d8;
}
.nl-page-item__link:active {
color: #fff;
background-color: #73c2ae;
text-decoration: none;
}
.nl-page-item__link.nl-state--selected {
color: #fff;
background-color: #73c2ae;
pointer-events: none;
}
.nl-page-item__link i {
font-size: 0.875rem;
line-height: 0.85rem;
vertical-align: baseline;
}
.nl-page-item__link i.fa-chevron-left {
margin-right: 5px;
}
.nl-page-item__link i.fa-chevron-right {
margin-left: 5px;
}