|
| 1 | +$codeBackColor: #fbfbfb; |
| 2 | + |
| 3 | +code { |
| 4 | + color: #4D4D4C; |
| 5 | +} |
| 6 | + |
| 7 | +code, tt { |
| 8 | + margin: 0 2px; |
| 9 | + padding: 0 5px; |
| 10 | + white-space: nowrap; |
| 11 | + // border: 1px solid #eaeaea; |
| 12 | + background-color: $codeBackColor; |
| 13 | + font-family: monospace, Consolas,"Liberation Mono",Menlo,Courier,monospace; |
| 14 | +} |
| 15 | + |
| 16 | +pre code { |
| 17 | + margin: 0; |
| 18 | + padding: 0; |
| 19 | + white-space: pre; |
| 20 | + border: none; |
| 21 | + background: transparent; |
| 22 | +} |
| 23 | + |
| 24 | +.highlight { |
| 25 | + font-family: monospace, Consolas,"Liberation Mono",Menlo,Courier,monospace; |
| 26 | + background-color: $codeBackColor; |
| 27 | + border: 1px solid $bordersColor; |
| 28 | + font-size: 13px; |
| 29 | + line-height: 19px; |
| 30 | + overflow: auto; |
| 31 | + padding: 0; |
| 32 | + border-radius: 3px; |
| 33 | + table { |
| 34 | + width: 100%; |
| 35 | + .gutter, .code { |
| 36 | + border: 0; |
| 37 | + } |
| 38 | + .gutter { |
| 39 | + white-space: nowrap; |
| 40 | + border-right: 1px solid $bordersColor; |
| 41 | + |
| 42 | + pre { |
| 43 | + color: #999; |
| 44 | + } |
| 45 | + } |
| 46 | + .code { |
| 47 | + width: 99%; |
| 48 | + } |
| 49 | + } |
| 50 | +} |
| 51 | + |
| 52 | +.highlight pre { |
| 53 | + background-color: $codeBackColor; |
| 54 | + // border: 1px solid #cccccc; |
| 55 | + font-size: 13px; |
| 56 | + line-height: 19px; |
| 57 | + overflow: auto; |
| 58 | + padding: 6px 10px; |
| 59 | + border-radius: 3px; |
| 60 | + margin-bottom: 0; |
| 61 | +} |
| 62 | + |
| 63 | +pre code, pre tt { |
| 64 | + background-color: transparent; |
| 65 | + border: none; |
| 66 | +} |
| 67 | + |
| 68 | +.editor, .editor .gutter { |
| 69 | + background-color: #FFFFFF; |
| 70 | + color: #4D4D4C; |
| 71 | +} |
| 72 | + |
| 73 | +.editor.is-focused .cursor { |
| 74 | + border-color: #AEAFAD; |
| 75 | +} |
| 76 | + |
| 77 | +.editor.is-focused .selection .region { |
| 78 | + background-color: #D6D6D6; |
| 79 | +} |
| 80 | + |
| 81 | +.editor.is-focused .line-number.cursor-line-no-selection, .editor.is-focused .line.cursor-line { |
| 82 | + background-color: #EFEFEF; |
| 83 | +} |
| 84 | + |
| 85 | +.comment { |
| 86 | + color: #8E908C; |
| 87 | +} |
| 88 | + |
| 89 | +.keyword.operator.class, .constant.other, .source.php.embedded.line { |
| 90 | + color: #666969; |
| 91 | +} |
| 92 | + |
| 93 | +.variable, .support.other.variable, .string.other.link, .string.regexp, .entity.name.tag, .entity.other.attribute-name, .meta.tag, .declaration.tag, .markup.deleted.git_gutter { |
| 94 | + color: #C82829; |
| 95 | +} |
| 96 | + |
| 97 | +.constant.numeric, .constant.language, .support.constant, .constant.character, .variable.parameter, .punctuation.section.embedded, .keyword.other.unit { |
| 98 | + color: #F5871F; |
| 99 | +} |
| 100 | + |
| 101 | +.entity.name.class, .entity.name.type.class, .support.type, .support.class { |
| 102 | + color: #C99E00; |
| 103 | +} |
| 104 | + |
| 105 | +.string, .constant.other.symbol, .entity.other.inherited-class, .entity.name.filename, .markup.heading, .markup.inserted.git_gutter { |
| 106 | + color: #718C00; |
| 107 | +} |
| 108 | + |
| 109 | +.keyword.operator, .constant.other.color { |
| 110 | + color: #3E999F; |
| 111 | +} |
| 112 | + |
| 113 | +.entity.name.function, .meta.function-call, .support.function, .keyword.other.special-method, .meta.block-level, .markup.changed.git_gutter { |
| 114 | + color: #4271AE; |
| 115 | +} |
| 116 | + |
| 117 | +.keyword, .storage, .storage.type { |
| 118 | + color: #8959A8; |
| 119 | +} |
| 120 | + |
| 121 | +.invalid { |
| 122 | + color: #FFFFFF; |
| 123 | + background-color: #C82829; |
| 124 | +} |
| 125 | + |
| 126 | +.meta.separator { |
| 127 | + color: #FFFFFF; |
| 128 | + background-color: #4271AE; |
| 129 | +} |
| 130 | + |
| 131 | +.invalid.deprecated { |
| 132 | + color: #FFFFFF; |
| 133 | + background-color: #8959A8; |
| 134 | +} |
| 135 | + |
| 136 | +.markup.inserted.diff, .markup.deleted.diff, .meta.diff.header.to-file, .meta.diff.header.from-file { |
| 137 | + color: #FFFFFF; |
| 138 | +} |
| 139 | + |
| 140 | +.markup.inserted.diff, .meta.diff.header.to-file { |
| 141 | + background-color: #718c00; |
| 142 | +} |
| 143 | + |
| 144 | +.markup.deleted.diff, .meta.diff.header.from-file { |
| 145 | + background-color: #c82829; |
| 146 | +} |
| 147 | + |
| 148 | +.meta.diff.header.from-file, .meta.diff.header.to-file { |
| 149 | + color: #FFFFFF; |
| 150 | + background-color: #4271ae; |
| 151 | +} |
| 152 | + |
| 153 | +.meta.diff.range { |
| 154 | + font-style: italic; |
| 155 | + color: #3e999f; |
| 156 | +} |
0 commit comments