/* App layout */
html,
body {
height: 100%;
}
body {
display: flex;
flex-flow: column;
color: #fff;
font: normal 14px Roboto, sans-serif;
background-color: #282a36;
}
#editor {
flex-grow: 1;
margin-top: -3px;
overflow: auto;
}
#controls,
#copy,
#description,
footer {
background-color: #3b3b47;
z-index: 10;
}
#progress {
min-height: 3px;
background: #ff79c6;
z-index: 15;
width: 0;
}
.hidden,
select,
#copy:not(.hidden) + #controls,
body.readonly .hide-readonly,
body:not(.readonly) .show-readonly {
display: none;
}
#copy-link {
font-family: JetBrainsMono, sans-serif;
width: 100%;
}
/* Styling */
.shadow-bottom {
box-shadow: rgba(0, 0, 0, 0.15) 0 3px 10px;
}
.shadow-top {
box-shadow: rgba(0, 0, 0, 0.15) 0 -3px 10px;
}
a,
a:hover,
a:active {
color: #fff;
text-decoration: none;
}
.CodeMirror {
height: 100%;
font-family: JetBrainsMono, sans-serif;
}
.title {
font: normal 24px JetBrainsMono, sans-serif;
white-space: nowrap;
}
.mono {
font-family: JetBrainsMono, sans-serif;
}
#description {
display: block;
position: fixed;
top: 0;
margin: 45px;
left: 0;
max-width: 370px;
}
#overlay {
/* Used to un-hover on mobile */
position: fixed;
background: rgba(0, 0, 0, 0.3);
right: 0;
top: 0;
left: 0;
bottom: 0;
z-index: 20;
}
#description b {
font-weight: normal;
color: #ff79c6;
}
/* Form elements */
#controls .ss-main {
width: 180px;
}
.ss-main .ss-single-selected,
button,
input[type='text'],
input[type='search'] {
background-color: #3b3b47 !important;
color: #fff !important;
border-radius: 2px !important;
border: 1px solid #ccc !important;
font: normal 14px Roboto, sans-serif;
height: 26px !important;
}
input::-webkit-search-cancel-button {
display: none;
}
input::-moz-selection {
background-color: rgba(90, 95, 128, 0.99);
}
input::selection {
background-color: rgba(90, 95, 128, 0.99);
}
button {
cursor: pointer;
}
button:hover {
background-color: rgba(255, 255, 255, 0.1) !important;
}
.ss-content {
background-color: #282936;
color: #dedede;
font-size: 14px;
}
.ss-content .ss-disabled {
background-color: #3b3b47 !important;
}
/* Fonts */
@font-face {
font-family: 'JetBrainsMono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto'), local('Roboto-Regular'),
url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Icons */
.icon {
display: inline-block;
font-size: 21px;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
}
.icon-edit {
font-size: 16px;
margin: -3px 0;
}