Browse Source

Update blocks view styles

pull/856/head
Artur Arseniev 8 years ago
parent
commit
1317fb69df
  1. 2
      dist/css/grapes.min.css
  2. 4
      src/block_manager/view/BlocksView.js
  3. 1
      src/styles/scss/_gjs_blocks.scss

2
dist/css/grapes.min.css

File diff suppressed because one or more lines are too long

4
src/block_manager/view/BlocksView.js

@ -174,6 +174,7 @@ module.exports = require('backbone').View.extend({
},
render() {
const ppfx = this.ppfx;
const frag = document.createDocumentFragment();
this.catsEl = null;
this.blocksEl = null;
@ -187,7 +188,8 @@ module.exports = require('backbone').View.extend({
this.collection.each(model => this.add(model, frag));
this.append(frag);
this.$el.addClass(this.blockContClass + 's');
const cls = `${this.blockContClass}s ${ppfx}one-bg ${ppfx}two-color`;
this.$el.addClass(cls);
return this;
}
});

1
src/styles/scss/_gjs_blocks.scss

@ -35,6 +35,7 @@
cursor: all-scroll;
font-size: 11px;
font-weight: lighter;
text-align: center;
display: flex;
flex-direction: column;
justify-content: flex-end;

Loading…
Cancel
Save