inkyboo/style.css

294 lines
4.4 KiB
CSS

/* App layout */
#editor,
#footer,
#copy {
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
#editor {
top: 0;
bottom: 46px;
}
#footer,
#copy {
height: 38px;
padding: 8px 10px 0 42px;
background-color: #3b3b47;
display: flex;
flex-wrap: wrap;
}
#footer > *,
#copy > * {
margin: 0 6px;
}
.grow {
flex-grow: 1;
}
.codeflask textarea {
box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.3) inset;
}
/* Form elements */
.ss-main {
max-width: 300px;
width: calc(100% - 150px);
font-family: sans-serif;
}
.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;
}
.ss-content {
background-color: #282936;
color: #dedede;
font-size: 14px;
}
.ss-content .ss-disabled {
background-color: #3b3b47 !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);
}
button {
cursor: pointer;
padding: 4px 8px;
}
button:hover {
background-color: rgba(255, 255, 255, 0.1) !important;
}
/* Code editor theme */
.codeflask {
color: #ccc;
background: #282936;
}
.codeflask textarea {
color: #282936;
caret-color: rgba(241, 250, 140, 1);
}
.codeflask .codeflask__flatten {
font-size: 15px;
}
.codeflask textarea::-moz-selection,
.codeflask textarea ::-moz-selection {
background-color: rgba(90, 95, 128, 0.99);
color: #5a5f80;
}
.codeflask textarea::selection,
.codeflask textarea ::selection {
background-color: rgba(90, 95, 128, 0.99);
color: #5a5f80;
}
.codeflask.codeflask--has-line-numbers::before {
background: #3b3b47 !important;
}
/* Code editor syntax highlight */
/* Inspiration from https://github.com/dracula/prism */
.token.comment {
color: rgba(98, 114, 164, 1);
}
.token.prolog {
color: rgba(207, 207, 194, 1);
}
.token.tag {
color: rgba(220, 104, 170, 1);
}
.token.entity {
color: rgba(139, 233, 253, 1);
}
.token.atrule {
color: rgba(98, 239, 117, 1);
}
.token.url {
color: rgba(102, 217, 239, 1);
}
.token.selector {
color: rgba(207, 207, 194, 1);
}
.token.string {
color: rgba(241, 250, 140, 1);
}
.token.property {
color: rgba(255, 184, 108, 1);
}
.token.important {
color: rgba(255, 121, 198, 1);
font-weight: bold;
}
.token.punctuation {
color: white;
}
.token.number {
color: rgba(189, 147, 249, 1);
}
.token.function {
color: rgba(80, 250, 123, 1);
}
.token.class-name {
color: rgba(255, 184, 108, 1);
}
.token.keyword {
color: rgba(255, 121, 198, 1);
}
.token.boolean {
color: rgba(255, 184, 108, 1);
}
.token.operator {
color: rgba(139, 233, 253, 1);
}
.token.char {
color: rgba(255, 135, 157, 1);
}
.token.regex {
color: rgba(80, 250, 123, 1);
}
.token.variable {
color: rgba(80, 250, 123, 1);
}
.token.constant {
color: rgba(255, 184, 108, 1);
}
.token.symbol {
color: rgba(255, 184, 108, 1);
}
.token.builtin {
color: rgba(255, 121, 198, 1);
}
.token.attr-value {
color: #7ec699;
}
.token.deleted {
color: #e2777a;
}
.token.namespace {
color: #e2777a;
}
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token {
color: #ff79c6;
}
.language-cpp .token.string {
color: #8be9fd;
}
.language-c .token.string {
color: #8be9fd;
}
.language-css .token.selector {
color: rgba(80, 250, 123, 1);
}
.language-css .token.property {
color: rgba(255, 184, 108, 1);
}
.language-java span.token.class-name {
color: #8be9fd;
}
.language-java .token.class-name {
color: #8be9fd;
}
.language-markup .token.attr-value {
color: rgba(102, 217, 239, 1);
}
.language-markup .token.tag {
color: rgba(80, 250, 123, 1);
}
.language-objectivec .token.property {
color: #66d9ef;
}
.language-objectivec .token.string {
color: #50fa7b;
}
.language-php .token.boolean {
color: #8be9fd;
}
.language-php .token.function {
color: #ff79c6;
}
.language-php .token.keyword {
color: #66d9ef;
}
.language-ruby .token.symbol {
color: #8be9fd;
}
.language-ruby .token.class-name {
color: #cfcfc2;
}