2014-09-30 19:17:54 -04:00
@import "app/styles/mixins"
@import "app/styles/bootstrap/variables"
2014-01-03 13:32:13 -05:00
# spell-palette-view
position : absolute
2014-10-16 15:08:21 -04:00
padding-bottom : 10 px
2014-01-03 13:32:13 -05:00
left : 10 px
right : 10 px
2014-10-16 15:08:21 -04:00
//height : 140 px
2014-02-16 18:30:00 -05:00
/ / Height relates to . tab-content height
padding-top : 35 px
padding-left : 12 px
padding-right : 4 px
2014-01-03 13:32:13 -05:00
color : #333
/ / Get crazy with the backgrounds so that we can lower the opacity on the editor background above it , making a gradient of the disabled background color on the top around where it ' s usually covered
background-color : transparent
background-size : 100 % 100 %
z-index : 0
2014-04-02 17:40:06 -04:00
//overflow-y : auto
2014-01-03 13:32:13 -05:00
2014-07-09 16:41:42 -04:00
. code-palette-background
2014-01-03 13:32:13 -05:00
position : absolute
left : 0
top : 0
width : 100 %
height : 100 %
z-index : -1
2014-07-09 16:41:42 -04:00
span . code-palette-background
border-width : 25 px
border-image : url( /images/level/code_palette_background.png ) 25 fill round
img . code-palette-background
display : none
2014-01-03 13:32:13 -05:00
& . disabled
2014-01-29 15:18:37 -05:00
@ include opacity ( 0 . 80 )
2014-01-03 13:32:13 -05:00
h4
color : #333
font-size : 16 px
line-height : 16 px
margin : 0 4 px
font-weight : normal
2014-02-16 18:30:00 -05:00
. nav > li > a
padding : 2 px 20 px 0 px 20 px
margin-bottom : 3 px
ul . nav . nav-pills
li . active a
background-color : transparent
& . multiple-tabs li . active a
background-color : lighten ( rgb ( 230 , 212 , 146 ) , 10 % )
& . multiple-tabs li : not ( . active ) a
cursor : pointer
2014-04-02 17:40:06 -04:00
. tab-content
height : 80 px
. nano-pane
width : 7 px
right : 5 px
2014-02-16 18:30:00 -05:00
/ / . 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 : 3 px
vertical-align : top
2014-06-25 00:07:36 -04:00
2014-10-17 00:38:11 -04:00
& . hero . properties
@ include flexbox ( )
@ include flex-wrap ( )
@ include flex-column ( )
@ include flex-align-content-start ( )
. property-entry-item-group
display : inline - block
min-height : 38 px
max-width : 212 px
@ include flexbox ( )
@ include flex-wrap ( )
@ include flex-center ( )
outline : 1 px dashed #b86
position : relative
img . item-image
width : 38 px
height : 38 px
position : absolute
& : not ( : hover ) img . item-image
-webkit-filter : sepia ( 100 % )
filter : sepia ( 100 % )
. spell-palette-entry-view
margin-left : 38 px
width : 174 px
width : -webkit-calc ( 100 % - 38 px )
width : calc ( 100 % - 38 px )
2014-06-25 00:07:36 -04:00
. code-language-logo
position : absolute
2014-07-17 23:12:59 -04:00
width : 16 px
height : 16 px
left : 16 px
top : 36 px
2014-06-25 00:07:36 -04:00
z-index : 10
background-color : transparent
background-repeat : no-repeat
background-size : contain
cursor : pointer
& . javascript
2014-07-17 23:12:59 -04:00
background-image : url( /images/common/code_languages/javascript_icon.png )
2014-06-25 00:07:36 -04:00
& . python
2014-07-17 23:12:59 -04:00
background-image : url( /images/common/code_languages/python_icon.png )
2014-06-25 00:07:36 -04:00
& . coffeescript
2014-07-17 23:12:59 -04:00
background-image : url( /images/common/code_languages/coffeescript_icon.png )
2014-06-25 00:07:36 -04:00
& . clojure
2014-07-17 23:12:59 -04:00
background-image : url( /images/common/code_languages/clojure_icon.png )
2014-06-25 00:07:36 -04:00
& . lua
2014-07-17 23:12:59 -04:00
background-image : url( /images/common/code_languages/lua_icon.png )
2014-06-25 00:07:36 -04:00
& . io
2014-07-17 23:12:59 -04:00
background-image : url( /images/common/code_languages/io_icon.png )
& : hover
outline : 1 px outset #ccc
& : active
outline : 1 px inset #ccc
2014-06-25 00:07:36 -04:00
2014-07-09 16:41:42 -04:00
html . no-borderimage
# spell-palette-view
span . code-palette-background
display : none
img . code-palette-background
2014-07-17 23:12:59 -04:00
display : block