inkyboo/style.css

144 lines
2.8 KiB
CSS

/* App layout */
#editor,
#controls,
#copy,
#progress {
position: absolute;
left: 0;
right: 0;
}
#editor {
top: 44px;
bottom: 0;
}
.readonly #editor {
top: 0;
}
#controls {
box-shadow: rgba(0, 0, 0, 0.15) 0 3px 10px;
}
#controls .title {
color: #fff;
font-family: JetBrainsMono, sans-serif;
font-size: 24px;
line-height: 30px;
}
.CodeMirror {
height: 100%;
font-size: 14px;
font-family: JetBrainsMono, sans-serif;
}
#controls,
#copy {
top: 0;
height: 36px;
padding: 8px 8px 0;
background-color: #3b3b47;
display: flex;
flex-wrap: wrap;
z-index: 10;
}
#controls > *,
#copy > * {
margin: 0 6px;
}
.readonly #controls {
display: none;
}
#progress {
top: 0;
height: 3px;
background: #ff79c6;
z-index: 5;
width: 0;
}
#copy-link {
font-family: JetBrainsMono, sans-serif;
}
.grow {
flex-grow: 1;
}
/* Form elements */
#controls .ss-main {
max-width: 230px;
width: calc(100% - 150px);
font-family: Roboto, sans-serif;
margin-right: 30px;
}
.ss-main .ss-single-selected,
button,
input[type='text'],
input[type='search'] {
height: 28px;
background-color: #3b3b47 !important;
color: #fff !important;
border-radius: 2px !important;
border: 1px solid #ccc !important;
font-size: 14px !important;
font-family: Roboto, sans-serif;
}
input[type='text'],
input[type='search'] {
height: 26px !important;
padding: 0 5px;
}
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;
padding: 4px 8px;
}
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;
}