|
| 1 | +.templater_search { |
| 2 | + width: calc(100% - 20px); |
| 3 | +} |
| 4 | + |
| 5 | +.templater_div { |
| 6 | + border-top: 1px solid var(--background-modifier-border); |
| 7 | +} |
| 8 | + |
| 9 | +.templater_div > .setting-item { |
| 10 | + border-top: none !important; |
| 11 | + align-self: center; |
| 12 | +} |
| 13 | + |
| 14 | +.templater_div > .setting-item > .setting-item-control { |
| 15 | + justify-content: space-around; |
| 16 | + padding: 0; |
| 17 | + width: 100%; |
| 18 | +} |
| 19 | + |
| 20 | +.templater_div |
| 21 | + > .setting-item |
| 22 | + > .setting-item-control |
| 23 | + > .setting-editor-extra-setting-button { |
| 24 | + align-self: center; |
| 25 | +} |
| 26 | + |
| 27 | +.templater_donating { |
| 28 | + margin: 10px; |
| 29 | +} |
| 30 | + |
| 31 | +.templater_title { |
| 32 | + margin: 0; |
| 33 | + padding: 0; |
| 34 | + margin-top: 5px; |
| 35 | + text-align: center; |
| 36 | +} |
| 37 | + |
| 38 | +.templater_template { |
| 39 | + align-self: center; |
| 40 | + margin-left: 5px; |
| 41 | + margin-right: 5px; |
| 42 | + width: 70%; |
| 43 | +} |
| 44 | + |
| 45 | +.templater_cmd { |
| 46 | + margin-left: 5px; |
| 47 | + margin-right: 5px; |
| 48 | + font-size: 14px; |
| 49 | + width: 100%; |
| 50 | +} |
| 51 | + |
| 52 | +.templater_div2 > .setting-item { |
| 53 | + align-content: center; |
| 54 | + justify-content: center; |
| 55 | +} |
| 56 | + |
| 57 | +.templater-prompt-div { |
| 58 | + display: flex; |
| 59 | +} |
| 60 | + |
| 61 | +.templater-prompt-form { |
| 62 | + display: flex; |
| 63 | + flex-grow: 1; |
| 64 | +} |
| 65 | + |
| 66 | +.templater-prompt-input { |
| 67 | + flex-grow: 1; |
| 68 | +} |
| 69 | + |
| 70 | +.templater-button-div { |
| 71 | + display: flex; |
| 72 | + flex-direction: column; |
| 73 | + align-items: center; |
| 74 | + margin-top: 1rem; |
| 75 | +} |
| 76 | + |
| 77 | +textarea.templater-prompt-input { |
| 78 | + height: 10rem; |
| 79 | +} |
| 80 | + |
| 81 | +textarea.templater-prompt-input:focus { |
| 82 | + border-color: var(--interactive-accent); |
| 83 | +} |
| 84 | + |
| 85 | +.cm-s-obsidian .templater-command-bg { |
| 86 | + left: 0px; |
| 87 | + right: 0px; |
| 88 | + background-color: var(--background-primary-alt); |
| 89 | +} |
| 90 | + |
| 91 | +.cm-s-obsidian .cm-templater-command { |
| 92 | + font-size: 0.85em; |
| 93 | + font-family: var(--font-monospace); |
| 94 | + line-height: 1.3; |
| 95 | +} |
| 96 | + |
| 97 | +.cm-s-obsidian .templater-inline .cm-templater-command { |
| 98 | + background-color: var(--background-primary-alt); |
| 99 | +} |
| 100 | + |
| 101 | +.cm-s-obsidian .cm-templater-command.cm-templater-opening-tag { |
| 102 | + font-weight: bold; |
| 103 | +} |
| 104 | + |
| 105 | +.cm-s-obsidian .cm-templater-command.cm-templater-closing-tag { |
| 106 | + font-weight: bold; |
| 107 | +} |
| 108 | + |
| 109 | +.cm-s-obsidian .cm-templater-command.cm-templater-interpolation-tag { |
| 110 | + color: var(--code-property, #008bff); |
| 111 | +} |
| 112 | + |
| 113 | +.cm-s-obsidian .cm-templater-command.cm-templater-execution-tag { |
| 114 | + color: var(--code-function, #c0d700); |
| 115 | +} |
| 116 | + |
| 117 | +.cm-s-obsidian .cm-templater-command.cm-keyword { |
| 118 | + color: var(--code-keyword, #00a7aa); |
| 119 | + font-weight: normal; |
| 120 | +} |
| 121 | + |
| 122 | +.cm-s-obsidian .cm-templater-command.cm-atom { |
| 123 | + color: var(--code-normal, #f39b35); |
| 124 | +} |
| 125 | + |
| 126 | +.cm-s-obsidian .cm-templater-command.cm-value, |
| 127 | +.cm-s-obsidian .cm-templater-command.cm-number, |
| 128 | +.cm-s-obsidian .cm-templater-command.cm-type { |
| 129 | + color: var(--code-value, #a06fca); |
| 130 | +} |
| 131 | + |
| 132 | +.cm-s-obsidian .cm-templater-command.cm-def, |
| 133 | +.cm-s-obsidian .cm-templater-command.cm-type.cm-def { |
| 134 | + color: var(--code-normal, var(--text-normal)); |
| 135 | +} |
| 136 | + |
| 137 | +.cm-s-obsidian .cm-templater-command.cm-property, |
| 138 | +.cm-s-obsidian .cm-templater-command.cm-property.cm-def, |
| 139 | +.cm-s-obsidian .cm-templater-command.cm-attribute { |
| 140 | + color: var(--code-function, #98e342); |
| 141 | +} |
| 142 | + |
| 143 | +.cm-s-obsidian .cm-templater-command.cm-variable, |
| 144 | +.cm-s-obsidian .cm-templater-command.cm-variable-2, |
| 145 | +.cm-s-obsidian .cm-templater-command.cm-variable-3, |
| 146 | +.cm-s-obsidian .cm-templater-command.cm-meta { |
| 147 | + color: var(--code-property, #d4d4d4); |
| 148 | +} |
| 149 | + |
| 150 | +.cm-s-obsidian .cm-templater-command.cm-callee, |
| 151 | +.cm-s-obsidian .cm-templater-command.cm-operator, |
| 152 | +.cm-s-obsidian .cm-templater-command.cm-qualifier, |
| 153 | +.cm-s-obsidian .cm-templater-command.cm-builtin { |
| 154 | + color: var(--code-operator, #fc4384); |
| 155 | +} |
| 156 | + |
| 157 | +.cm-s-obsidian .cm-templater-command.cm-tag { |
| 158 | + color: var(--code-tag, #fc4384); |
| 159 | +} |
| 160 | + |
| 161 | +.cm-s-obsidian .cm-templater-command.cm-comment, |
| 162 | +.cm-s-obsidian .cm-templater-command.cm-comment.cm-tag, |
| 163 | +.cm-s-obsidian .cm-templater-command.cm-comment.cm-attribute { |
| 164 | + color: var(--code-comment, #696d70); |
| 165 | +} |
| 166 | + |
| 167 | +.cm-s-obsidian .cm-templater-command.cm-string, |
| 168 | +.cm-s-obsidian .cm-templater-command.cm-string-2 { |
| 169 | + color: var(--code-string, #e6db74); |
| 170 | +} |
| 171 | + |
| 172 | +.cm-s-obsidian .cm-templater-command.cm-header, |
| 173 | +.cm-s-obsidian .cm-templater-command.cm-hr { |
| 174 | + color: var(--code-keyword, #da7dae); |
| 175 | +} |
| 176 | + |
| 177 | +.cm-s-obsidian .cm-templater-command.cm-link { |
| 178 | + color: var(--code-normal, #696d70); |
| 179 | +} |
| 180 | + |
| 181 | +.cm-s-obsidian .cm-templater-command.cm-error { |
| 182 | + border-bottom: 1px solid #c42412; |
| 183 | +} |
| 184 | + |
| 185 | +.CodeMirror-hints { |
| 186 | + position: absolute; |
| 187 | + z-index: 10; |
| 188 | + overflow: hidden; |
| 189 | + list-style: none; |
| 190 | + |
| 191 | + margin: 0; |
| 192 | + padding: 2px; |
| 193 | + |
| 194 | + -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); |
| 195 | + -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); |
| 196 | + box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); |
| 197 | + border-radius: 3px; |
| 198 | + border: 1px solid silver; |
| 199 | + |
| 200 | + background: white; |
| 201 | + font-size: 90%; |
| 202 | + font-family: monospace; |
| 203 | + |
| 204 | + max-height: 20em; |
| 205 | + overflow-y: auto; |
| 206 | +} |
| 207 | + |
| 208 | +.CodeMirror-hint { |
| 209 | + margin: 0; |
| 210 | + padding: 0 4px; |
| 211 | + border-radius: 2px; |
| 212 | + white-space: pre; |
| 213 | + color: black; |
| 214 | + cursor: pointer; |
| 215 | +} |
| 216 | + |
| 217 | +li.CodeMirror-hint-active { |
| 218 | + background: #08f; |
| 219 | + color: white; |
| 220 | +} |
0 commit comments