-
Notifications
You must be signed in to change notification settings - Fork 16
/
userchrome.css
146 lines (119 loc) · 3.76 KB
/
userchrome.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/*******************************************************************************
* Nord2 - A sub-theme of Joplin's Built-in Nord theme.
*
* Latest Version: https://github.com/mattsbennett/joplin-Nord2
* Designed by: Matthew Bennett
* Goals: Readability, even, mid-contrast, minimalism.
*
* userchrome.css: Custom stylesheet for Joplin-wide app styles.
******************************************************************************/
/* Variables ---------------------------------------------------------------- */
:root {
/* Nord2 values */
--lighter-grey: hsla(0, 0%, 95%, 1);
--light-grey: hsla(0, 0%, 85%, 1);
--mid-grey: hsla(0, 0%, 70%, 1);
--font-sans: "SF Pro Text", "Roboto", sans-serif;
--font-mono: "Fira Code", monospace;
/* Nord values */
--nord-highlight: #00AEEF;
--nord-sidebar-selection: rgb(94, 129, 172);
--nord-sidebar: rgb(67, 76, 94);
--nord-note-list: rgb(46, 52, 64);
--nord-note-list-selected: rgb(129, 161, 193);
/* Nord derivative values */
--nord-sidebar-selection-dark: hsla(213, 32%, 32%, 1);
--nord-highlight-light: hsla(196, 100%, 67%, 1);
--nord-sidebar-light: hsla(220, 17%, 40%, 1);
--nord-note-list-background-light: hsla(220, 16%, 25%, 1);
}
/* Base Elements ------------------------------------------------------------ */
body,
a,
span:not(::before) {
font-family: var(--font-sans) !important;
}
button {
font-size: 13px;
}
input {
border: 1px solid var(--nord-sidebar-light) !important;
}
/* Disable common input styles for hidden react-select input */
input[aria-autocomplete="list"] {
border: 0 !important;
}
input[aria-autocomplete="list"]:focus {
outline: 0 !important;
}
button:focus,
input:focus,
select:focus {
outline: var(--nord-note-list-selected) auto 2px !important;
}
/* Sidebars ----------------------------------------------------------------- */
div {
color: var(--light-grey) !important;
}
.side-bar,
.side-bar div,
.side-bar div a {
color: var(--lighter-grey) !important;
}
.note-list .list-item-container::before {
border-bottom: 1px solid var(--nord-note-list-background-light) !important;
}
.note-list .list-item-container {
height: 48px !important;
}
.synchronize-button {
border: 0 !important;
margin: 10px 5px !important;
}
/* Main Header -------------------------------------------------------------- */
.header a,
.header .button,
.header .button .fa,
.note-list .list-item-container a {
color: var(--light-grey) !important;
}
/* Note Header -------------------------------------------------------------- */
.editor-toolbar {
border-bottom: 0 !important;
}
.editor-toolbar,
.tag-list {
margin-bottom: 0 !important;
}
.tag-list {
border-bottom: 1px solid var(--nord-sidebar) !important;
}
.tag-list span {
background-color: var(--nord-sidebar-selection) !important;
border-radius: 2px !important;
color: var(--lighter-grey) !important;
}
/* Markdown ----------------------------------------------------------------- */
.ace_editor {
margin-top: 5px !important;
}
.ace_editor div,
.ace_editor span {
font-family: var(--font-mono) !important;
}
.ace-chaos .ace_marker-layer .ace_selection {
background: var(--nord-sidebar-selection-dark) !important;
}
.ace-chaos .ace_support.ace_function {
color: var(--nord-highlight-light) !important;
}
.ace-chaos .ace_comment {
color: var(--mid-grey) !important;
}
/* Plugins ------------------------------------------------------------------ */
/*
* Uncomment if you use tabs plugin horizontally
* #plugin-view-joplin\.plugin\.note\.tabs-note\.tabs\.panel {
* border-bottom: 0 !important;
* }
*/