fixed less prefixer path

fixed modals
This commit is contained in:
Keivan Beigi 2013-06-26 16:45:05 -07:00
parent 0a2ac32dfc
commit 28de886bb1
8 changed files with 12 additions and 17 deletions

View File

@ -1,11 +1,11 @@
@import "/content/prefixer"; @import "../prefixer";
.backgrid-paginator { .backgrid-paginator {
text-align : center; text-align : center;
box-sizing : border-box; box-sizing : border-box;
border-top : none; border-top : none;
.box-sizing(border-box); .box-sizing(border-box);
.border-radios(0 0 4px 4px); .border-radius(0 0 4px 4px);
ul { ul {
display : inline-block; display : inline-block;
@ -25,7 +25,6 @@
text-decoration : none; text-decoration : none;
} }
} }
.active { .active {
i, span { i, span {
background-color : #f5f5f5; background-color : #f5f5f5;

View File

@ -8,7 +8,7 @@
@import "menu"; @import "menu";
@import "backgrid/backgrid"; @import "backgrid/backgrid";
@import "../shared/styles/clickable"; @import "../shared/styles/clickable";
@import "/content/prefixer"; @import "prefixer";
.progress { .progress {
width : 125px; width : 125px;

View File

@ -1,4 +1,4 @@
@import "/content/prefixer"; @import "prefixer";
#main-menu-region { #main-menu-region {
i:before { i:before {

View File

@ -24,7 +24,7 @@ define(
data: { 'deleteFiles': deleteFiles }, data: { 'deleteFiles': deleteFiles },
wait: true wait: true
}).done(function () { }).done(function () {
App.modalRegion.close(); App.modalRegion.closeModal();
}); });
} }
}); });

View File

@ -1,6 +1,6 @@
@import "../Shared/Styles/card.less"; @import "../Shared/Styles/card.less";
@import "../Shared/Styles/clickable.less"; @import "../Shared/Styles/clickable.less";
@import "/content/prefixer"; @import "../Content/prefixer";
.series-item { .series-item {
padding-bottom : 30px; padding-bottom : 30px;

View File

@ -17,7 +17,7 @@ define(
this.model.destroy({ this.model.destroy({
wait: true wait: true
}).done(function () { }).done(function () {
App.modalRegion.close(); App.modalRegion.closeModal();
}); });
} }
}); });

View File

@ -1,9 +1,10 @@
'use strict'; 'use strict';
define( define(
[ [
'$',
'marionette', 'marionette',
'bootstrap' 'bootstrap'
], function (Marionette) { ], function ($, Marionette) {
return Marionette.Region.extend({ return Marionette.Region.extend({
el: '#modal-region', el: '#modal-region',
@ -30,14 +31,9 @@ define(
'backdrop': 'static'}); 'backdrop': 'static'});
}, },
onClose: function(){
this.closeModal();
},
closeModal: function () { closeModal: function () {
this.$el.modal('hide'); $(this.el).modal('hide');
this.reset();
} }
}); });

View File

@ -1,4 +1,4 @@
@import "/Content/prefixer"; @import "../../Content/prefixer";
.card() { .card() {
margin : 10px; margin : 10px;