Commit d4b4031e authored by 刘丹's avatar 刘丹

qianduan

parent 714a4ef9
......@@ -180,8 +180,9 @@
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<!-- /#新增广告模态框 -->
<div class="modal fade" id="modal-add-do" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal fade" id="modal-add-do" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
......
......@@ -73,4 +73,10 @@
width: 250px;
height: 60px;
margin: 0 auto;
}
body{
padding-right: 0!important;
}
.modal{
padding-right: 0!important;
}
\ No newline at end of file
body {
width: 1335px;
padding: 0;
margin: 0;
margin: 0 auto;
background-color: #F2F2F2;
list-style:none
padding-right:0px!important;
}
a:hover{
text-decoration:none;
......@@ -49,10 +49,6 @@ body {
position: relative;
overflow-x: hidden;
}
body,
html {
height: 100%;
}
.nav .open > a {
background-color: transparent;
}
......@@ -70,7 +66,7 @@ html {
-o-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
padding-left: 0;
height: 97%;
height: 770px;
transition: all 0.5s ease;
}
#wrapper.toggled {
......@@ -96,7 +92,7 @@ html {
display: block;
}
#page-content-wrapper {
width: 101%;
width: 100%;
}
.navbar{
border: none;
......
......@@ -4,33 +4,15 @@
define (['css!style/home.css','bootstrapJs'], function () {
var home = {
urls: '',
isClosed : false,
init: function () {
//初始化dot
home.event ();
},
event: function () {
$('.hamburger').click(function () {
home.hamburger_cross();
});
$('[data-toggle="offcanvas"]').click(function () {
$('#wrapper').toggleClass('toggled');
});
},
hamburger_cross : function(){
if (home.isClosed == true) {
$('.overlay').hide();
$('.hamburger').removeClass('is-open');
$('.hamburger').addClass('is-closed');
home.isClosed = false;
} else {
$('.overlay').show();
$('.hamburger').removeClass('is-closed');
$('.hamburger').addClass('is-open');
home.isClosed = true;
}
}
}
return home;
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment