mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
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
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue