Tweaked a few styles on the ThangsTabView.

This commit is contained in:
Nick Winter 2014-09-02 16:42:53 -07:00
parent c70ffbeef5
commit b20b819a1f
4 changed files with 13 additions and 8 deletions

View file

@ -5,7 +5,7 @@
$addPaletteIconWidth: 40px
$addPaletteIconPadding: 0px
$addPaletteIconMargin: 4px
$addPaletteWidth: ($addPaletteIconWidth + 2 * $addPaletteIconPadding + 2 * $addPaletteIconMargin) * $addPaletteIconColumns + 20
$addPaletteWidth: ($addPaletteIconWidth + 2 * $addPaletteIconPadding + 2 * $addPaletteIconMargin) * $addPaletteIconColumns + 26
width: $addPaletteWidth
background: white

View file

@ -2,19 +2,24 @@
#thangs-tab-view
$extantThangsWidth: 300px
position: absolute
top: 0
bottom: 0
overflow: hidden
left: 0
right: 0
margin: -15px
#thangs-container-toggle, #thangs-palette-toggle
top: 5px
#thangs-container-toggle
left: 0
left: 5px
box-shadow: 1px 1px 5px black
#thangs-palette-toggle
right: 0
right: 5px
box-shadow: -1px 1px 5px black
.toggle
position: absolute
@ -50,7 +55,7 @@
margin: 0
outline: thin
border: none
border-top: 1px solid black
padding-top: 0
.treema-children .treema-row *
cursor: pointer !important

View file

@ -1,6 +1,6 @@
button.toggle.btn-primary#thangs-container-toggle
button.toggle.btn#thangs-container-toggle
span.icon-list
button.toggle.btn-primary#thangs-palette-toggle
button.toggle.btn#thangs-palette-toggle
span.icon-plus
.thangs-container.hide#all-thangs
h3(data-i18n="editor.level_tab_thangs_title") Current Thangs

View file

@ -12,7 +12,7 @@ class ThangTypeSearchCollection extends CocoCollection
module.exports = class AddThangsView extends CocoView
id: 'add-thangs-view'
className: 'add-thangs-palette hide'
className: 'add-thangs-palette'
template: add_thangs_template
events: