-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path2. UI Changes.css
More file actions
198 lines (165 loc) · 4.1 KB
/
2. UI Changes.css
File metadata and controls
198 lines (165 loc) · 4.1 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/* == UI Changes == */
/* Little left ribbon padding */
.workspace-ribbon,
.hider-frameless .workspace-ribbon.mod-left.is-collapsed {
padding: 12px 18px 24px 18px;
background-color: hsl(210, 15%, 90%);
}
/* Margin between ribbon icons */
.side-dock-ribbon-action {
margin-top: 24px;
}
/* Ribbon icons size */
.side-dock-ribbon-action > svg {
width: 20px;
height: 20px;
}
/* Padding of main Sidebars */
.hider-frameless .workspace-split.mod-left-split > div.workspace-tabs {
padding: 40px 0 0 16px;
}
/* Logo / Title on Sidebar */
.workspace-split.mod-left-split > div.workspace-tabs::before {
content: "Artusion";
font-family: Bear Sans UI Headline;
font-weight: 500;
/* color: hsl(359, 10%, 95%); */
font-size: 22px;
text-transform: uppercase;
margin: 0 0 15px 15px;
letter-spacing: 9px;
}
/* File Manager, Search & Star Tabs */
.workspace-tab-header {
padding: 6px 22px;
}
/* Header Tabs Background color */
.mod-left-split .workspace-tab-container-inner {
background-color: hsl(210, 15%, 90%);
}
/* 3 Buttons - New File, New Folder & Sort */
.nav-action-button {
padding: 6px 18px;
margin: 0 11px 8px 0;
border-radius: 4px;
box-shadow: 0px 1px 8px rgb(0 0 0 / 6%);
}
/* Margin between buttons and folders */
.nav-files-container {
margin-top: 15px;
}
/* Folder */
.nav-file-title-content,
.nav-folder-title-content {
padding: 8px 0 8px 0px;
font-size: 15px;
}
/* Folder Title */
.nav-folder-title-content {
padding-left: 8px;
font-size: 16px;
}
/* Add background to folder title */
.nav-folder-title {
padding: 4px 10px;
margin-bottom: 8px;
border-radius: 8px;
background-color: hsl(210, 15%, 90%);
}
/* Rename Field */
.nav-file-title-content.is-being-renamed,
.nav-folder-title-content.is-being-renamed {
padding: 8px 8px;
border-radius: 8px;
background-color: inherit;
box-shadow: none;
}
/* Rename Field Hover */
.nav-file-title-content.is-being-renamed:hover,
.nav-folder-title-content.is-being-renamed:hover {
background-color: inherit;
box-shadow: none;
}
.nav-file-title-content.is-being-renamed::selection,
.nav-folder-title-content.is-being-renamed::selection {
background-color: hsl(210, 18%, 30%);
color: white;
}
.nav-folder.is-collapsed {
margin-bottom: 20px;
}
/* Decreased left padding on file names */
.nav-file {
padding: 0 5px 0px 15px;
}
/* Hides an empty folder title */
.nav-folder.mod-root > .nav-folder-title:nth-child(1) {
/* background-color: inherit; */
display: none;
}
/* Limits the background of folder name to the visual width */
.nav-folder {
max-width: 96%;
}
.nav-folder-children {
padding-bottom: 15px;
}
/* == Center Area == */
/* Collapse Button */
body:not(.cc-no-custom-icons) .collapse-icon > svg,
body:not(.cc-no-custom-icons) .style-settings-collapse-indicator > svg {
color: #888 !important;
}
/* Fold Placeholder */
.ͼ1 .cm-foldPlaceholder {
padding: 0 8px;
font-size: 0px;
}
/* Custom placeholder */
.markdown-source-view.mod-cm6 .cm-foldPlaceholder::after {
content: "•••";
color: #888888;
font-size: 16px;
background-color: hsl(210, 4%, 92%);
padding: 0 8px;
border-radius: 6px;
}
/* Hides border/dividing line below header */
.view-header {
box-shadow: none;
}
/* Border shows up when hovered */
.view-header:hover {
box-shadow: 0px 1px 3px rgb(0 0 0 / 8%);
transition: all 250ms;
}
/* Lightens the "drag to rearrange" icon */
.view-header-icon {
color: hsl(0, 0%, 95%);
}
/* Becomes darker when hovered */
.view-header-icon:hover {
color: hsl(0, 0%, 50%);
}
/* bolder title*/
.view-header-title {
color: #444444;
font-weight: 600;
}
/* Adds ".md" to title so it looks like a filename */
.view-header-title::after {
content: ".md";
}
/* Reduced padding of main content area */
.markdown-source-view.mod-cm6 .cm-scroller {
padding: 1em 2em;
}
/* Remove gradient at top of navigation area */
.theme-dark .nav-files-container {
background: none;
}
@media (max-width: 760px) {
.markdown-source-view.mod-cm6 .cm-scroller {
padding: 1em 0.5em;
}
}