Newer
Older
pixi.js / scripts / renders / client.css
@Matt Karl Matt Karl on 1 Nov 2016 2 KB Integration Tests (#3138)
body {
    background:#ccc;
    font-family:Arial, sans-serif;
    margin: 0 0 0 0;
    padding: 20px;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    box-sizing: border-box;
    transition:background-color 0.3s;
}
body, body * {
    user-select:none;
    -webkit-user-select:none;
    cursor:default;
}
body.dragging {
    background-color:#ddd;
}
body.dragging #solution {
    background-color: #fff;
}
#frame {
    margin:0 auto;
    max-width:640px;
    width:100%;
}
.hide {
    display:none;
}
#solution {
    border:1px solid #bbb;
    padding:10px;
    border-radius:6px;
    box-sizing:border-box; 
    transition:background-color 0.3s;
    font-size:10px;
    font-family: monospace;
    background:#ddd;
    color:#666;
    height:240px;
    width:403px;
    margin-bottom:20px;
    resize:none;
    white-space:pre;
    line-height: 1.4;
    overflow-x:hidden;
    overflow-y: auto;
    user-select:initial;
    -webkit-user-select:initial;
}
#solution:focus, textarea:focus {
    outline:0;
    border-color:#4993EF;
}
#solution.copied {
    position:relative;
    border-color:#4993EF;
}
#solution.copied:before {
    display:block;
    position:absolute;
    top:0;
    right:10px;
    padding:8px 16px;
    color:#fff;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size:8px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    font-family: Arial, sans-serif;
    content: 'Copied To Clipboard';
    background-color:#4993EF;
}
label {
    display:inline-block;
    padding:15px 0 10px;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 6px;
    background-color: rgba(0,0,0,0.1);
    padding: 4px 8px;
    color: #fff;
    margin-bottom:10px;
}
button {
    padding:10px 20px;
    border: 1px solid #3267A9;
    background-color: #4993EF;
    color: #fff;
    font-size:14px;
    border-radius:6px;
    cursor:pointer;
    display:block;
    width:100%;
    transition:background 0.3s;
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.5);
    outline:0;
}
button:hover{
    background-color: #5CA5FF;
}
button:active {
    background-color: #3267A9;
    box-shadow: none;
}
button.disabled {
    pointer-events:none;
    background-color:#999;
    border-color:#777;
    box-shadow: none;
    color:#ddd;
}
.cols {
    display:flex;
    margin-top:20px;
}
.cols > .preview {
    width:100px;
    margin-right:20px;
}
.cols > .output {
    width:100%;
}
.full {
    width:100%;
}
.center {
    text-align:center;
}
.view {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    zoom:3; 
}