.window { margin-top: .5rem; width: 100%; height: 18.75rem; border: 1px solid #cdcdcd; -webkit-box-shadow: inset rgba(0, 0, 0, .05) 0 3px 10px; box-shadow: inset rgba(0, 0, 0, .05) 0 3px 10px; border-radius: 3px; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; transition: all .2s ease-in-out; appearance: none; -moz-appearance: none; -webkit-appearance: none; position: relative } .window:hover { border-color: #d3acac } pre { width: 100%; height: 100% } .windowLabel { border: solid 1px #f1f1f1; background: #fff; display: inline-block; height: 1.5625rem; padding: 0 6px; line-height: 1.375rem; position: absolute; top: 2px; right: 2px; text-align: center; font-size: .75em; color: #777; border-radius: 3px; z-index: 30; -webkit-transition: all .5s ease-in; -moz-transition: all .5s ease-in; transition: all .5s ease-in; opacity: .8 } #html:hover + #htmlLabel { opacity: 0; z-index: -1 } #css:hover + #cssLabel { opacity: 0; z-index: -1 } #js:hover + #jsLabel { opacity: 0; z-index: -1 } #console:hover + #consoleLabel { opacity: 0; z-index: -1 } #iframe:hover + #iframeLabel { opacity: 0; z-index: -1 } #iframe { width: 100%; height: 100%; border: 0 } .preview { width: 100%; position: relative; appearance: none; -webkit-appearance: none; margin: .75em 0 0 0; border: 1px solid #cdcdcd; border-radius: 3px; -webkit-box-shadow: inset rgba(0, 0, 0, .05) 0 3px 10px; box-shadow: inset rgba(0, 0, 0, .05) 0 3px 10px; height: 37.5rem; top: 100% } html.modal-open .preview { border: 1px solid #c7c7c7; border-radius: 3px; z-index: 1000; position: fixed; width: 98%; height: 97%; top: 1%; left: 1%; opacity: 1; background: white; overflow: hidden } html.modal-open, html.modal-open body, html.modal-open section { overflow: hidden; height: 100% } html.modal-open #iframeLabel { display: none } #iframeClose { display: none; background: #333; color: #dadada; border: 1px solid #dadada; border-radius: 1.5625rem; cursor: pointer; position: fixed; width: 1.5625rem; height: 1.5625rem; line-height: 1.25rem; top: 0; right: 2px; opacity: 0; text-align: center } html.modal-open #iframeClose { display: inline-block; opacity: .8 } .console { width: 100%; margin: .75em 0 0 0; height: 100px; border: 1px solid #cdcdcd; -webkit-box-shadow: inset rgba(0, 0, 0, .05) 0 3px 10px; box-shadow: inset rgba(0, 0, 0, .05) 0 3px 10px; border-radius: 3px; appearance: none; -moz-appearance: none; -webkit-appearance: none; position: relative } .jqconsole { padding: 10px; padding-bottom: 10px; font-family: Monaco, Menlo, 'Ubuntu Mono', Consolas, source-code-pro, monospace; font-size: 12px } .jqconsole-cursor { color: #999; border-bottom: 1px solid #999 } .jqconsole-blurred .jqconsole-cursor { border: 0 } .jqconsole-header { color: #666; word-wrap: break-word } .jqconsole-prompt { color: #0d0 } .jqconsole-old-prompt { color: #0b0; font-weight: normal } .jqconsole-input { color: #dd0 } .jqconsole-old-input { color: #bb0; font-weight: normal } .brace { color: #00f } .paran { color: #f0f } .bracket { color: #ff6400 } .jqconsole-composition { background-color: red } .jqconsole-ansi-bold { font-weight: bold !important } .jqconsole-ansi-lighter { font-weight: lighter !important } .jqconsole-ansi-italic { font-style: italic !important } .jqconsole-ansi-underline { text-decoration: underline !important } @-webkit-keyframes blinker { from { opacity: 1.0 } to { opacity: .0 } } @-moz-keyframes blinker { from { opacity: 1.0 } to { opacity: .0 } } @-ms-keyframes blinker { from { opacity: 1.0 } to { opacity: .0 } } @-o-keyframes blinker { from { opacity: 1.0 } to { opacity: .0 } } .jqconsole-ansi-blink { -webkit-animation-name: blinker; -moz-animation-name: blinker; -ms-animation-name: blinker; -o-animation-name: blinker; -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; -ms-animation-iteration-count: infinite; -o-animation-iteration-count: infinite; -webkit-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -ms-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -o-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -moz-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -o-animation-duration: 1s; -ms-animation-duration: 1s } .jqconsole-ansi-blink-rapid { -webkit-animation-name: blinker; -moz-animation-name: blinker; -ms-animation-name: blinker; -o-animation-name: blinker; -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; -ms-animation-iteration-count: infinite; -o-animation-iteration-count: infinite; -webkit-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -ms-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -o-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -moz-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0); -webkit-animation-duration: .5s; -moz-animation-duration: .5s; -o-animation-duration: .5s; -ms-animation-duration: .5s } .jqconsole-ansi-hidden { visibility: hidden !important } .jqconsole-ansi-line-through { text-decoration: line-through } .jqconsole-ansi-color-black { color: black !important } .jqconsole-ansi-color-red { color: red !important } .jqconsole-ansi-color-green { color: green !important } .jqconsole-ansi-color-yellow { color: yellow !important } .jqconsole-ansi-color-blue { color: blue !important } .jqconsole-ansi-color-magenta { color: magenta !important } .jqconsole-ansi-color-cyan { color: cyan !important } .jqconsole-ansi-color-white { color: white !important } .jqconsole-ansi-background-color-black { background-color: black !important } .jqconsole-ansi-background-color-red { background-color: red !important } .jqconsole-ansi-background-color-green { background-color: green !important } .jqconsole-ansi-background-color-yellow { background-color: yellow !important } .jqconsole-ansi-background-color-blue { background-color: blue !important } .jqconsole-ansi-background-color-magenta { background-color: magenta !important } .jqconsole-ansi-background-color-cyan { background-color: cyan !important } .jqconsole-ansi-background-color-white { background-color: white !important } .jqconsole-ansi-framed { border: 1px solid !important } .jqconsole-ansi-overline { text-decoration: overline !important }