Tweaked a few styles on the ThangsTabView.
This commit is contained in:
parent
c70ffbeef5
commit
b20b819a1f
4 changed files with 13 additions and 8 deletions
app
styles/editor/level
templates/editor/level
views/editor/level/thangs
|
@ -5,7 +5,7 @@
|
||||||
$addPaletteIconWidth: 40px
|
$addPaletteIconWidth: 40px
|
||||||
$addPaletteIconPadding: 0px
|
$addPaletteIconPadding: 0px
|
||||||
$addPaletteIconMargin: 4px
|
$addPaletteIconMargin: 4px
|
||||||
$addPaletteWidth: ($addPaletteIconWidth + 2 * $addPaletteIconPadding + 2 * $addPaletteIconMargin) * $addPaletteIconColumns + 20
|
$addPaletteWidth: ($addPaletteIconWidth + 2 * $addPaletteIconPadding + 2 * $addPaletteIconMargin) * $addPaletteIconColumns + 26
|
||||||
|
|
||||||
width: $addPaletteWidth
|
width: $addPaletteWidth
|
||||||
background: white
|
background: white
|
||||||
|
|
|
@ -2,19 +2,24 @@
|
||||||
|
|
||||||
#thangs-tab-view
|
#thangs-tab-view
|
||||||
$extantThangsWidth: 300px
|
$extantThangsWidth: 300px
|
||||||
|
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 0
|
top: 0
|
||||||
bottom: 0
|
bottom: 0
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
left: 0
|
left: 0
|
||||||
right: 0
|
right: 0
|
||||||
|
margin: -15px
|
||||||
|
|
||||||
|
#thangs-container-toggle, #thangs-palette-toggle
|
||||||
|
top: 5px
|
||||||
|
|
||||||
#thangs-container-toggle
|
#thangs-container-toggle
|
||||||
left: 0
|
left: 5px
|
||||||
|
box-shadow: 1px 1px 5px black
|
||||||
|
|
||||||
#thangs-palette-toggle
|
#thangs-palette-toggle
|
||||||
right: 0
|
right: 5px
|
||||||
|
box-shadow: -1px 1px 5px black
|
||||||
|
|
||||||
.toggle
|
.toggle
|
||||||
position: absolute
|
position: absolute
|
||||||
|
@ -50,7 +55,7 @@
|
||||||
margin: 0
|
margin: 0
|
||||||
outline: thin
|
outline: thin
|
||||||
border: none
|
border: none
|
||||||
border-top: 1px solid black
|
padding-top: 0
|
||||||
|
|
||||||
.treema-children .treema-row *
|
.treema-children .treema-row *
|
||||||
cursor: pointer !important
|
cursor: pointer !important
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
button.toggle.btn-primary#thangs-container-toggle
|
button.toggle.btn#thangs-container-toggle
|
||||||
span.icon-list
|
span.icon-list
|
||||||
button.toggle.btn-primary#thangs-palette-toggle
|
button.toggle.btn#thangs-palette-toggle
|
||||||
span.icon-plus
|
span.icon-plus
|
||||||
.thangs-container.hide#all-thangs
|
.thangs-container.hide#all-thangs
|
||||||
h3(data-i18n="editor.level_tab_thangs_title") Current Thangs
|
h3(data-i18n="editor.level_tab_thangs_title") Current Thangs
|
||||||
|
|
|
@ -12,7 +12,7 @@ class ThangTypeSearchCollection extends CocoCollection
|
||||||
|
|
||||||
module.exports = class AddThangsView extends CocoView
|
module.exports = class AddThangsView extends CocoView
|
||||||
id: 'add-thangs-view'
|
id: 'add-thangs-view'
|
||||||
className: 'add-thangs-palette hide'
|
className: 'add-thangs-palette'
|
||||||
template: add_thangs_template
|
template: add_thangs_template
|
||||||
|
|
||||||
events:
|
events:
|
||||||
|
|
Reference in a new issue