fixed less prefixer path

fixed modals
pull/4/head
Keivan Beigi 12 years ago
parent 0a2ac32dfc
commit 28de886bb1

@ -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;

@ -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;

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

@ -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();
}); });
} }
}); });

@ -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;

@ -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();
}); });
} }
}); });

@ -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();
} }
}); });

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

Loading…
Cancel
Save