2014-01-03 13:32:13 -05:00
|
|
|
@import "../../../bootstrap/mixins"
|
|
|
|
|
2014-02-01 16:56:55 -05:00
|
|
|
@mixin editor-height($extraHeight)
|
|
|
|
@include box-sizing(border-box)
|
|
|
|
width: 98%
|
|
|
|
height: 83%
|
|
|
|
height: unquote("-webkit-calc(100% - 60px -")$extraHeight unquote(")")
|
|
|
|
height: unquote("calc(100% - 60px -")$extraHeight unquote(")")
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
#spell-view
|
|
|
|
position: absolute
|
|
|
|
left: 10px
|
|
|
|
top: 48px
|
|
|
|
bottom: 121px
|
|
|
|
// Bottom relates to .palette height and padding-top
|
|
|
|
right: 10px
|
|
|
|
z-index: 1
|
|
|
|
// Set z-index above palette
|
|
|
|
display: none
|
|
|
|
|
|
|
|
&.shown
|
|
|
|
display: block
|
|
|
|
|
|
|
|
.code-background
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
height: 100%
|
2014-01-29 15:18:37 -05:00
|
|
|
width: 100%
|
2014-01-15 14:58:39 -05:00
|
|
|
|
2014-01-16 13:10:27 -05:00
|
|
|
.save-status
|
2014-02-02 13:26:42 -05:00
|
|
|
display: none
|
2014-01-25 18:11:29 -05:00
|
|
|
position: absolute
|
2014-02-01 16:56:55 -05:00
|
|
|
top: 1%
|
|
|
|
right: 4%
|
2014-01-15 14:58:39 -05:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
.firepad
|
2014-01-25 18:11:29 -05:00
|
|
|
// When Firepad is active, it wraps .ace_editor in .firepad.
|
2014-02-01 16:56:55 -05:00
|
|
|
@include editor-height(0px)
|
2014-01-25 18:11:29 -05:00
|
|
|
width: 98%
|
|
|
|
|
|
|
|
.ace_editor
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
.ace_editor
|
2014-01-25 18:11:29 -05:00
|
|
|
// When Firepad isn't active, .ace_editor needs the width/height set itself.
|
2014-02-01 16:56:55 -05:00
|
|
|
@include editor-height(0px)
|
2014-01-24 20:48:11 -05:00
|
|
|
width: 98%
|
2014-01-03 13:32:13 -05:00
|
|
|
position: relative
|
|
|
|
background-color: transparent
|
|
|
|
line-height: 20px
|
|
|
|
overflow: visible
|
|
|
|
|
2014-02-01 16:56:55 -05:00
|
|
|
&.user-code-problem
|
|
|
|
@include editor-height(40px)
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
&.disabled
|
|
|
|
@include opacity(80)
|
|
|
|
.ace_cursor
|
|
|
|
@include opacity(20)
|
|
|
|
|
|
|
|
.ace_gutter
|
|
|
|
background-color: rgba(255, 255, 255, 0.25)
|
|
|
|
width: 40px
|
|
|
|
margin-left: 4px
|
|
|
|
border-bottom: 1px dotted #2f261d
|
|
|
|
|
|
|
|
.ace_scroller
|
|
|
|
background-color: transparent
|
|
|
|
border-bottom: 1px dotted #2f261d
|
|
|
|
|
|
|
|
.ace_content
|
|
|
|
.executing, .executed, .problem-marker-info, .problem-marker-warning, .problem-marker-error
|
|
|
|
position: absolute
|
|
|
|
.executing
|
2014-01-24 16:03:04 -05:00
|
|
|
background-color: rgba(216, 255, 255, 0.85)
|
2014-01-03 13:32:13 -05:00
|
|
|
.executed
|
2014-01-24 20:48:11 -05:00
|
|
|
background-color: rgba(245, 255, 6, 0.18)
|
2014-01-03 13:32:13 -05:00
|
|
|
.problem-marker-info
|
|
|
|
background-color: rgba(96, 63, 84, 0.25)
|
|
|
|
.problem-marker-warning
|
|
|
|
background-color: rgba(100, 65, 20, 0.25)
|
|
|
|
.problem-marker-error
|
|
|
|
background-color: rgba(110, 45, 27, 0.25)
|
|
|
|
|
2014-02-03 16:58:25 -05:00
|
|
|
.ace_gutter-cell.executing:not(.ace_error)
|
2014-01-03 13:32:13 -05:00
|
|
|
margin-left: 1px
|
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2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3VtZW50SUQ9InhtcC5kaWQ6MDI4MDExNzQwNzIwNjgxMThBNkRFOENDNTEzNTJCMUYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7SazaGAAAAiElEQVR42mL8//8/AzUBEwOVweA3kAWboI2jCyhgDwBx4ZH9ey5Qy4UOQHweaHg/EAtQ08sFUIMDqBmGCkC8HmgoCCtQM1ICoK5toGYsg8KzHmjo+UGbDj8AcSMwORkSnQ7xgA3QtPmApISNBTyAGrSBGl6eAMSGxBhGyIVkZT3G0fKQYgAQYACL+C2ZM6PC7AAAAABJRU5ErkJggg==)
|
|
|
|
background-position: 0px center
|
|
|
|
|
2014-01-09 21:02:16 -05:00
|
|
|
.ace_marker-layer
|
|
|
|
.ace_bracket
|
|
|
|
// Override faint gray
|
2014-01-24 20:48:11 -05:00
|
|
|
border-color: #BFF
|
2014-01-21 12:03:04 -05:00
|
|
|
|
|
|
|
.ace_identifier
|
2014-01-24 20:48:11 -05:00
|
|
|
border-bottom: 1px dotted rgba(255, 128, 128, 0.45)
|