inkyboo/style.css

144 lines
2.8 KiB
CSS
Raw Normal View History

2020-02-14 14:35:52 +00:00
/* App layout */
2020-02-14 09:46:37 +00:00
#editor,
2020-04-22 16:50:44 +00:00
#controls,
2020-02-17 15:41:54 +00:00
#copy,
#progress {
2020-02-14 09:46:37 +00:00
position: absolute;
left: 0;
right: 0;
}
#editor {
2020-04-22 16:50:44 +00:00
top: 44px;
bottom: 0;
2020-02-14 09:46:37 +00:00
}
2020-03-09 13:38:28 +00:00
.readonly #editor {
2020-04-22 16:50:44 +00:00
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;
2020-03-09 13:38:28 +00:00
}
2020-02-14 09:46:37 +00:00
2020-02-17 15:05:42 +00:00
.CodeMirror {
height: 100%;
2020-03-09 14:54:31 +00:00
font-size: 14px;
font-family: JetBrainsMono, sans-serif;
2020-02-17 15:05:42 +00:00
}
2020-04-22 16:50:44 +00:00
#controls,
2020-02-14 09:46:37 +00:00
#copy {
2020-04-22 16:50:44 +00:00
top: 0;
height: 36px;
2020-02-17 15:05:42 +00:00
padding: 8px 8px 0;
2020-02-14 09:46:37 +00:00
background-color: #3b3b47;
2020-02-14 14:35:52 +00:00
display: flex;
flex-wrap: wrap;
2020-04-22 16:50:44 +00:00
z-index: 10;
2020-02-14 14:35:52 +00:00
}
2020-04-22 16:50:44 +00:00
#controls > *,
2020-02-14 14:35:52 +00:00
#copy > * {
margin: 0 6px;
}
2020-03-09 13:38:28 +00:00
2020-04-22 16:50:44 +00:00
.readonly #controls {
2020-03-09 13:38:28 +00:00
display: none;
}
2020-02-17 15:41:54 +00:00
#progress {
top: 0;
height: 3px;
background: #ff79c6;
z-index: 5;
width: 0;
}
2020-03-09 14:54:31 +00:00
#copy-link {
font-family: JetBrainsMono, sans-serif;
}
2020-02-14 14:35:52 +00:00
.grow {
flex-grow: 1;
2020-02-14 09:46:37 +00:00
}
2020-02-14 14:35:52 +00:00
/* Form elements */
2020-04-22 16:50:44 +00:00
#controls .ss-main {
max-width: 230px;
2020-02-14 14:35:52 +00:00
width: calc(100% - 150px);
2020-04-22 16:50:44 +00:00
font-family: Roboto, sans-serif;
margin-right: 30px;
2020-02-14 09:46:37 +00:00
}
2020-02-14 14:35:52 +00:00
.ss-main .ss-single-selected,
button,
input[type='text'],
input[type='search'] {
2020-02-14 09:46:37 +00:00
height: 28px;
2020-02-14 14:35:52 +00:00
background-color: #3b3b47 !important;
color: #fff !important;
border-radius: 2px !important;
border: 1px solid #ccc !important;
font-size: 14px !important;
2020-04-22 16:50:44 +00:00
font-family: Roboto, sans-serif;
2020-02-14 14:35:52 +00:00
}
input[type='text'],
input[type='search'] {
height: 26px !important;
padding: 0 5px;
}
2020-04-22 16:50:44 +00:00
input::-webkit-search-cancel-button {
display: none;
}
2020-02-14 14:35:52 +00:00
input::-moz-selection {
background-color: rgba(90, 95, 128, 0.99);
}
input::selection {
background-color: rgba(90, 95, 128, 0.99);
}
2020-02-14 09:46:37 +00:00
button {
cursor: pointer;
padding: 4px 8px;
}
button:hover {
2020-02-14 14:35:52 +00:00
background-color: rgba(255, 255, 255, 0.1) !important;
2020-02-14 09:46:37 +00:00
}
2020-02-17 15:05:42 +00:00
.ss-content {
background-color: #282936;
color: #dedede;
font-size: 14px;
2020-02-13 15:02:17 +00:00
}
2020-02-17 15:05:42 +00:00
.ss-content .ss-disabled {
background-color: #3b3b47 !important;
2020-02-13 15:02:17 +00:00
}
2020-03-09 14:54:31 +00:00
/* 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;
}
2020-04-22 16:50:44 +00:00
@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;
}