|
1 | 1 | /**
|
2 | 2 | * Copyright (c) 2013, Jan-Christoph Borchardt http://jancborchardt.net
|
| 3 | + * and others |
3 | 4 | * This file is licensed under the Affero General Public License version 3 or later.
|
4 | 5 | * See the COPYING file.
|
5 | 6 | */
|
|
12 | 13 | }
|
13 | 14 |
|
14 | 15 | #app-navigation > ul > li.has-error a{
|
15 |
| - color:#f00; |
| 16 | + color: var(--color-error); |
16 | 17 | }
|
17 | 18 | .app-content-list-button {
|
18 | 19 | display: block;
|
|
30 | 31 | box-sizing: border-box;
|
31 | 32 | white-space: nowrap;
|
32 | 33 | text-overflow: ellipsis;
|
33 |
| - color: #000; |
| 34 | + color: var(--color-main-text); |
34 | 35 | opacity: .57;
|
35 | 36 | }
|
36 | 37 |
|
|
95 | 96 | padding-top: 2ex;
|
96 | 97 | }
|
97 | 98 |
|
| 99 | +/* old style search (before NC14) */ |
98 | 100 | .note-search span {
|
99 | 101 | background-position: 0 center;
|
100 | 102 | background-origin: content-box;
|
|
142 | 144 | /* enable clickthrough for links */
|
143 | 145 | .CodeMirror-cursor {
|
144 | 146 | pointer-events: none;
|
| 147 | + border-color: var(--color-main-text); |
145 | 148 | }
|
146 | 149 |
|
147 | 150 | #app-content .note-meta {
|
|
150 | 153 | width: 100%;
|
151 | 154 | padding: 0 45px 0px 45px;
|
152 | 155 | margin: -10px 0 0;
|
153 |
| - background-color: white; /* TODO Theming! */ |
| 156 | + background-color: var(--color-main-background); |
154 | 157 | -ms-user-select: none;
|
155 | 158 | -moz-user-select: none;
|
156 | 159 | -webkit-user-select: none;
|
|
166 | 169 |
|
167 | 170 | #app-content .note-meta > .note-error {
|
168 | 171 | opacity: 1;
|
169 |
| - background-color: #e00; |
170 |
| - color: #fff; |
| 172 | + background-color: var(--color-error); |
| 173 | + color: var(--color-primary-text); |
171 | 174 | border-radius: 0.5ex;
|
172 | 175 | padding: 0.5ex 1ex;
|
173 | 176 | }
|
@@ -242,6 +245,10 @@ form.category .icon-confirm {
|
242 | 245 |
|
243 | 246 |
|
244 | 247 | /* markdown styling */
|
| 248 | +.CodeMirror { |
| 249 | + background: transparent; |
| 250 | + color: inherit; |
| 251 | +} |
245 | 252 |
|
246 | 253 | .CodeMirror .CodeMirror-code {
|
247 | 254 | width: 100%;
|
@@ -318,19 +325,19 @@ form.category .icon-confirm {
|
318 | 325 | /* distraction free styles */
|
319 | 326 | :-webkit-full-screen {
|
320 | 327 | width: 100%;
|
321 |
| - background-color: white; |
| 328 | + background-color: var(--color-main-background); |
322 | 329 | }
|
323 | 330 | :-moz-full-screen {
|
324 | 331 | width: 100%;
|
325 |
| - background-color: white; |
| 332 | + background-color: var(--color-main-background); |
326 | 333 | }
|
327 | 334 | :-ms-fullscreen {
|
328 | 335 | width: 100%;
|
329 |
| - background-color: white; |
| 336 | + background-color: var(--color-main-background); |
330 | 337 | }
|
331 | 338 | :fullscreen {
|
332 | 339 | width: 100%;
|
333 |
| - background-color: white; |
| 340 | + background-color: var(--color-main-background); |
334 | 341 | }
|
335 | 342 |
|
336 | 343 | :-webkit-full-screen #app-content-container {
|
@@ -358,20 +365,17 @@ form.category .icon-confirm {
|
358 | 365 |
|
359 | 366 |
|
360 | 367 | /* icons for sidebar */
|
361 |
| -.nav-icon-emptyfolder { |
362 |
| - background-image: url('../img/folder-empty.svg?v=1'); |
363 |
| -} |
364 | 368 | .nav-icon-files {
|
365 |
| - background-image: url('../img/folder.svg?v=1'); |
| 369 | + @include icon-color('folder', 'notes', $color-black); |
| 370 | +} |
| 371 | +.nav-icon-emptyfolder { |
| 372 | + @include icon-color('folder-empty', 'notes', $color-black); |
366 | 373 | }
|
367 | 374 | .nav-icon-recent {
|
368 |
| - background-image: url('../img/recent.svg?v=1'); |
| 375 | + @include icon-color('recent', 'notes', $color-black); |
369 | 376 | }
|
370 | 377 | .nav-icon-search {
|
371 |
| - background-image: url('../img/search.svg?v=1'); |
372 |
| -} |
373 |
| -.nav-icon-favorites { |
374 |
| - background-image: url('../img/star.svg?v=1'); |
| 378 | + @include icon-color('search', 'notes', $color-black); |
375 | 379 | }
|
376 | 380 |
|
377 | 381 |
|
|
0 commit comments