mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
95 lines
2.1 KiB
Sass
95 lines
2.1 KiB
Sass
@import "app/styles/mixins"
|
|
@import "app/styles/bootstrap/variables"
|
|
|
|
#spell-palette-view
|
|
position: absolute
|
|
left: 10px
|
|
right: 10px
|
|
padding: 0 4px 10px 40px
|
|
background-color: transparent
|
|
background-size: 100% 100%
|
|
z-index: 2
|
|
//overflow-y: auto
|
|
|
|
.code-palette-background
|
|
width: 100%
|
|
position: absolute
|
|
left: 0px
|
|
z-index: -1
|
|
|
|
&.controls-disabled
|
|
.code-palette-background
|
|
@include filter(brightness(75%))
|
|
|
|
> :not(.code-palette-background)
|
|
@include opacity(0.50)
|
|
|
|
h4
|
|
color: white
|
|
font-size: 16px
|
|
line-height: 16px
|
|
margin: 25px 0 5px 2px
|
|
font-weight: normal
|
|
text-transform: uppercase
|
|
|
|
.nav > li > a
|
|
padding: 2px 20px 0px 20px
|
|
margin-bottom: 3px
|
|
|
|
ul.nav.nav-pills
|
|
margin-top: 15px
|
|
|
|
h4
|
|
margin-top: 2px
|
|
li.active a
|
|
background-color: transparent
|
|
&.multiple-tabs li.active a
|
|
background-color: darken(rgb(230, 212, 146), 30%)
|
|
&.multiple-tabs li:not(.active) a
|
|
cursor: pointer
|
|
|
|
.tab-content
|
|
height: 80px
|
|
.nano-pane
|
|
width: 7px
|
|
right: 5px
|
|
|
|
//.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus
|
|
// background-color: lighten(rgb(230, 212, 146), 10%)
|
|
|
|
.property-entry-column
|
|
display: inline-block
|
|
margin-right: 3px
|
|
vertical-align: top
|
|
|
|
&.hero .properties
|
|
@include flexbox()
|
|
@include flex-wrap()
|
|
@include flex-column()
|
|
@include flex-align-content-start()
|
|
|
|
.property-entry-item-group
|
|
display: inline-block
|
|
min-height: 38px
|
|
max-width: 212px
|
|
@include flexbox()
|
|
@include flex-wrap()
|
|
@include flex-center()
|
|
position: relative
|
|
background-color: rgb(20, 13, 8)
|
|
margin: 1px
|
|
|
|
img.item-image
|
|
width: 38px
|
|
height: 38px
|
|
position: absolute
|
|
|
|
&:not(:hover) img.item-image
|
|
-webkit-filter: contrast(50%) sepia(100%) saturate(500%) hue-rotate(7deg)
|
|
filter: contrast(50%) sepia(100%) saturate(1000%) hue-rotate(7deg)
|
|
|
|
.spell-palette-entry-view
|
|
margin-left: 38px
|
|
width: 174px
|
|
width: -webkit-calc(100% - 38px)
|
|
width: calc(100% - 38px)
|