Spaces:
Running
Running
File size: 3,435 Bytes
5b4fd78 001aa75 5b4fd78 4bd86de 5b4fd78 001aa75 5b4fd78 001aa75 5b4fd78 001aa75 5b4fd78 001aa75 5b4fd78 001aa75 5b4fd78 e4685f5 6556bb5 44360bd 001aa75 6556bb5 5b4fd78 001aa75 5b4fd78 e4685f5 44360bd e4685f5 5b4fd78 4bd86de 5b4fd78 4bd86de |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
@import (less) "bower_components/normalize.css/normalize.css";
@import "mixins/bfc.less";
@import "mixins/clearfix.less";
@import "mixins/size.less";
@import "mixins/user-select.less";
@fontMonospace: Consolas, "Liberation Mono", Menlo, Courier, monospace;
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
code, pre {
background-color: rgba(0,0,0,0.04);
border-radius: 3px;
padding: 2px 6px;
font-family: @fontMonospace;
font-size: 12px;
color: #2f2f2f;
}
.hide { display: none !important; }
.header {
padding: 18px 18px;
.clearfix();
.input-wrapper {
background: #c5c5c5;
padding: 0.5rem 1rem;
margin: 0 0.75rem 0.75rem 0;
border-radius: .5rem;
float: left;
width: 76%;
.wrapper-inner {
width: 100%;
position: relative;
.clearfix();
.input-message-wrapper {
position: absolute;
left: 0;
right: 50px;
}
input.input-message {
outline: none;
border: none;
padding: 0;
background-color: transparent;
font-size: 20px;
line-height: 28px;
width: 100%;
}
button.input-button {
float: right;
outline: none;
border: none;
}
}
}
div.menu-button {
background: #c5c5c5;
padding: 0.5rem 1rem;
margin: 0 0.75rem 0.75rem 0;
border-radius: .5rem;
float: left;
height: 29px;
line-height: 28px;
color: #444;
cursor: pointer;
.user-select(none);
&.logo {
background-color: #6779f7;
img.svg-logo {
height: 30px;
}
}
img.svg-checkbox {
position: relative;
top: 3px;
margin-left: 3px;
}
}
}
.container-wrapper {
overflow-x: auto;
position: relative;
}
.container {
font-size: 20px;
white-space: nowrap;
padding: 300px 40px 200px 40px; /// Keep a large-ish bottom padding b/c we use it to scroll the whole container.
mark {
position: relative;
span.single-score {
position: absolute;
bottom: -32px;
left: 0; right: 0;
text-align: center;
font-family: @fontMonospace;
font-size: 12px;
visibility: hidden;
}
&:hover {
span.single-score {
visibility: visible;
}
}
}
}
body.debug {
span.single-score {
visibility: visible !important;
}
}
.svg-container {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
z-index: -1;
// background-color: pink;
}
/**
* Arrows
*/
.displacy-arrow {
color: #cad2cd; // #87908a;
visibility: hidden;
.displacy-label {
font-family: @fontMonospace;
font-size: 12px;
}
&.score-ok {
color: #ff9378;
}
&.score-best {
color: #ff211d;
visibility: visible;
}
}
body.debug {
.displacy-arrow {
visibility: visible !important;
}
}
/**
* Elements from Displacy
*/
.c-input__icon {
margin-left: 0.75em
}
.c-input__button {
font-size: inherit;
background: transparent;
color: inherit;
cursor: pointer
}
.c-input__button.c-input__button--large {
font-size: 1.5em
}
.c-input__button__icon {
width: 1.25em;
height: 1.25em
}
.loading .c-input__button__icon {
display: none
}
.c-input__button__spinner {
// width: 1.15em;
// height: 1.15em;
display: none;
-webkit-animation: spinner 0.5s linear infinite;
animation: spinner 0.5s linear infinite
}
.loading .c-input__button__spinner {
display: inline-block
}
@-webkit-keyframes spinner {
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg)
}
}
@keyframes spinner {
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg)
}
}
|