mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 11:32:25 -05:00
80 lines
1.5 KiB
Sass
80 lines
1.5 KiB
Sass
@import "app/styles/mixins"
|
|
@import "app/styles/bootstrap/variables"
|
|
|
|
#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
|