inkyboo/style.css

116 lines
2.1 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,
#footer,
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 {
top: 0;
2020-02-14 14:35:52 +00:00
bottom: 46px;
2020-02-14 09:46:37 +00:00
}
2020-03-09 13:38:28 +00:00
.readonly #editor {
bottom: 0;
}
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-02-14 09:46:37 +00:00
#footer,
#copy {
2020-02-17 15:41:54 +00:00
bottom: 0;
2020-02-14 14:35:52 +00:00
height: 38px;
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;
}
#footer > *,
#copy > * {
margin: 0 6px;
}
2020-03-09 13:38:28 +00:00
.readonly #footer {
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 */
.ss-main {
max-width: 300px;
width: calc(100% - 150px);
2020-02-14 09:46:37 +00:00
font-family: sans-serif;
}
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;
}
input[type='text'],
input[type='search'] {
height: 26px !important;
padding: 0 5px;
}
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;
}