mirror of https://github.com/ColorlibHQ/AdminLTE
Added icheck to login & register pages
parent
fd947242ac
commit
f73abda0f3
|
@ -45,8 +45,8 @@ body {
|
||||||
.content-wrapper,
|
.content-wrapper,
|
||||||
.right-side,
|
.right-side,
|
||||||
.main-footer {
|
.main-footer {
|
||||||
|
.transition-transform(@transition-speed @transition-fn);
|
||||||
.transition(margin-left @transition-speed @transition-fn);
|
.transition(margin-left @transition-speed @transition-fn);
|
||||||
.transition(transform @transition-speed @transition-fn);
|
|
||||||
margin-left: @sidebar-width;
|
margin-left: @sidebar-width;
|
||||||
//Top nav layout
|
//Top nav layout
|
||||||
.layout-top-nav & {
|
.layout-top-nav & {
|
||||||
|
|
|
@ -74,8 +74,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Checkbox and radio inputs */
|
.icheck > label {
|
||||||
.checkbox,
|
|
||||||
.radio {
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
|
@ -88,6 +88,7 @@
|
||||||
width: @sidebar-width;
|
width: @sidebar-width;
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
font-weight: 300;
|
||||||
a {
|
a {
|
||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
font-weight: 300;
|
||||||
a {
|
a {
|
||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
width: @sidebar-width;
|
width: @sidebar-width;
|
||||||
z-index: 810;
|
z-index: 810;
|
||||||
.transition(transform @transition-speed @transition-fn);
|
.transition-transform(@transition-speed @transition-fn);
|
||||||
@media (max-width: @screen-xs-max) {
|
@media (max-width: @screen-xs-max) {
|
||||||
.translate(-@sidebar-width, 0);
|
.translate(-@sidebar-width, 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,12 +57,13 @@ body {
|
||||||
.content-wrapper,
|
.content-wrapper,
|
||||||
.right-side,
|
.right-side,
|
||||||
.main-footer {
|
.main-footer {
|
||||||
|
-webkit-transition: -webkit-transform 0.3s ease;
|
||||||
|
-moz-transition: -moz-transform 0.3s ease;
|
||||||
|
-o-transition: -o-transform 0.3s ease;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
-webkit-transition: margin-left 0.3s ease;
|
-webkit-transition: margin-left 0.3s ease;
|
||||||
-o-transition: margin-left 0.3s ease;
|
-o-transition: margin-left 0.3s ease;
|
||||||
transition: margin-left 0.3s ease;
|
transition: margin-left 0.3s ease;
|
||||||
-webkit-transition: transform 0.3s ease;
|
|
||||||
-o-transition: transform 0.3s ease;
|
|
||||||
transition: transform 0.3s ease;
|
|
||||||
margin-left: 230px;
|
margin-left: 230px;
|
||||||
}
|
}
|
||||||
.layout-top-nav .content-wrapper,
|
.layout-top-nav .content-wrapper,
|
||||||
|
@ -277,6 +278,7 @@ a:focus {
|
||||||
width: 230px;
|
width: 230px;
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
.content-header {
|
.content-header {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -383,8 +385,9 @@ a:focus {
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 230px;
|
width: 230px;
|
||||||
z-index: 810;
|
z-index: 810;
|
||||||
-webkit-transition: transform 0.3s ease;
|
-webkit-transition: -webkit-transform 0.3s ease;
|
||||||
-o-transition: transform 0.3s ease;
|
-moz-transition: -moz-transform 0.3s ease;
|
||||||
|
-o-transition: -o-transform 0.3s ease;
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
@ -938,9 +941,7 @@ a:focus {
|
||||||
.btn-group-vertical .btn.btn-flat:last-of-type {
|
.btn-group-vertical .btn.btn-flat:last-of-type {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
/* Checkbox and radio inputs */
|
.icheck > label {
|
||||||
.checkbox,
|
|
||||||
.radio {
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -2571,6 +2572,7 @@ table.text-center th {
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
.lockscreen-logo a {
|
.lockscreen-logo a {
|
||||||
color: #444;
|
color: #444;
|
||||||
|
@ -2633,6 +2635,7 @@ table.text-center th {
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
.login-logo a,
|
.login-logo a,
|
||||||
.register-logo a {
|
.register-logo a {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,8 @@
|
||||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
|
<link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<!-- iCheck -->
|
||||||
|
<link href="../../plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
|
@ -34,7 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-8">
|
<div class="col-xs-8">
|
||||||
<div class="checkbox">
|
<div class="checkbox icheck">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"> Remember Me
|
<input type="checkbox"> Remember Me
|
||||||
</label>
|
</label>
|
||||||
|
@ -47,7 +49,7 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="social-auth-links text-center">
|
<div class="social-auth-links text-center">
|
||||||
<p>- or -</p>
|
<p>- OR -</p>
|
||||||
<a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign in using Facebook</a>
|
<a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign in using Facebook</a>
|
||||||
<a href="#" class="btn btn-block btn-social btn-google-plus btn-flat"><i class="fa fa-google-plus"></i> Sign in using Google+</a>
|
<a href="#" class="btn btn-block btn-social btn-google-plus btn-flat"><i class="fa fa-google-plus"></i> Sign in using Google+</a>
|
||||||
</div><!-- /.social-auth-links -->
|
</div><!-- /.social-auth-links -->
|
||||||
|
@ -60,6 +62,16 @@
|
||||||
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||||
|
<!-- iCheck -->
|
||||||
|
<script src="../../plugins/iCheck/icheck.min.js" type="text/javascript"></script>
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
$('input').iCheck({
|
||||||
|
checkboxClass: 'icheckbox_square-blue',
|
||||||
|
radioClass: 'iradio_square-blue',
|
||||||
|
increaseArea: '20%' // optional
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -8,6 +8,8 @@
|
||||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
<link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
|
<link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<!-- iCheck -->
|
||||||
|
<link href="../../plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
|
@ -43,7 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-8">
|
<div class="col-xs-8">
|
||||||
<div class="checkbox">
|
<div class="checkbox icheck">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox"> I agree to the <a href="#">terms</a>
|
<input type="checkbox"> I agree to the <a href="#">terms</a>
|
||||||
</label>
|
</label>
|
||||||
|
@ -67,6 +69,16 @@
|
||||||
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||||
|
<!-- iCheck -->
|
||||||
|
<script src="../../plugins/iCheck/icheck.min.js" type="text/javascript"></script>
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
$('input').iCheck({
|
||||||
|
checkboxClass: 'icheckbox_square-blue',
|
||||||
|
radioClass: 'iradio_square-blue',
|
||||||
|
increaseArea: '20%' // optional
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue