mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 02:55:43 -05:00
79 lines
No EOL
1.4 KiB
Sass
79 lines
No EOL
1.4 KiB
Sass
@import "../../bootstrap/mixins"
|
|
|
|
#level-chat-view
|
|
|
|
box-sizing: border-box
|
|
width: 22% // 40% of the canvas
|
|
|
|
position: relative
|
|
left: 10px
|
|
bottom: 10px
|
|
height: 0
|
|
font-size: 12px
|
|
color: white
|
|
text-shadow: 1px 1px 1px black
|
|
|
|
.action
|
|
color: #aff
|
|
tr.me .action
|
|
color: #ffa
|
|
|
|
.closed-chat-area
|
|
margin-left: 20px
|
|
margin-bottom: 25px
|
|
margin-right: 20px
|
|
position: absolute
|
|
bottom: 0px
|
|
left: 0px
|
|
width: 280px
|
|
|
|
.open-chat-area
|
|
background-color: rgba(50,50,50,0.6)
|
|
padding: 5px 20px 5px 19px
|
|
border-radius: 5px
|
|
max-height: 200px
|
|
overflow-x: scroll
|
|
border: 1px solid #222
|
|
position: absolute
|
|
bottom: 30px
|
|
left: 20px
|
|
width: 239px
|
|
|
|
tr
|
|
line-height: 11px // space between multiple lines within messages
|
|
strong
|
|
color: #aff // other people color
|
|
&.me strong
|
|
color: #ffa // me color
|
|
height: 16px // space between messages
|
|
|
|
i
|
|
position: absolute
|
|
bottom: 5px
|
|
left: 3px
|
|
float: left
|
|
cursor: pointer
|
|
|
|
input, textarea
|
|
position: absolute
|
|
bottom: 0px
|
|
left: 20px
|
|
right: 0px
|
|
width: 280px
|
|
height: 22px
|
|
|
|
box-sizing: border-box
|
|
//height: 22px
|
|
|
|
font-size: 12px
|
|
color: white
|
|
|
|
background-color: rgba(50,50,50,0.4)
|
|
|
|
&:focus
|
|
background-color: rgba(50,50,50,1.0)
|
|
|
|
border-color: rgba(0,0,0,0.4)
|
|
border-radius: 2px
|
|
border-width: 1px
|
|
text-shadow: 1px 1px 1px black |