-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.less
201 lines (175 loc) · 4.8 KB
/
styles.less
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
199
200
201
// Set a consistent font for the main editor UI elements
.command-palette,
.command-palette atom-text-editor,
.command-palette .error-message,
.config-menu,
.encoding-selector,
.find-and-replace,
.fuzzy-finder,
.fuzzy-finder atom-text-editor,
.fuzzy-finder .error-message,
.grammar-selector,
.panel-heading,
.project-find,
.release-notes,
.results-view,
.setting-description,
.settings-view .alert,
.settings-view .text,
.status-bar,
.tab-bar .tab .title,
.tree-view,
.font-size-regular .tree-view .list-item {
font-family: "MonoLisa";
font-weight: 600;
font-size: 14px;
}
// Customise the scrollbars
::-webkit-scrollbar {
width: 5px;
height: 5px;
background-color: #000;
}
::-webkit-scrollbar-corner {
background-color: #000;
}
::-webkit-scrollbar-track {
background-color: #000;
}
::-webkit-scrollbar-thumb {
background-color: #444;
}
// Make items in the Command Palette list higher if they don't fit horizontally
.command-palette .list-group li {
white-space: normal;
}
// Ensure settings dropdown options are coloured correctly
.settings-view .form-control option {
color: inherit;
}
// Make tabs wider and use the standard cursor
.tab-bar .tab {
cursor: auto;
max-width: 250px;
}
// Customise the tab icon sizes
.tab-bar .tab .title.icon::before {
font-size: 1.15em;
}
// Tweak the sidebar folder list
.list-tree .list-item {
line-height: 2.8em !important;
}
// Consistent spacing between tree view icons and their names
.tree-view .name.icon::before {
margin-right: 1rem !important;
}
// Fix the broken positioning of icons on Windows
.platform-win32 atom-workspace.theme-atom-material-ui .tab-bar .tab .title:before {
top: auto;
}
// Add some padding to the main text area
atom-text-editor {
padding: 5px;
}
// Improve the display of the status bar
atom-panel.footer status-bar {
height: 32px;
line-height: 32px;
}
// Improve the display of the Tree View items
.list-group li:not(.list-nested-item).selected:not(.header)::before,
.list-tree li:not(.list-nested-item).selected:not(.header)::before,
.list-group li.list-nested-item.selected > .list-item:not(.header)::before,
.list-tree li.list-nested-item.selected > .list-item:not(.header)::before,
.list-group .selected::before,
.list-tree .selected::before {
height: 36px;
}
// Remove panel borders
.tool-panel.bottom,
atom-panel.bottom,
.tool-panel.footer,
atom-panel.footer,
.tool-panel.panel-bottom,
atom-panel.panel-bottom,
.tool-panel.panel-footer,
atom-panel.panel-footer {
border: none !important;
}
// Hide panel toggle buttons
.atom-dock-toggle-button {
display: none !important
}
// Improve the display of selected content
atom-text-editor .find-result .region,
atom-text-editor .selection .region {
background-color: #222830;
}
// Improve the display of Atom IDE highlights
atom-text-editor .region.datatip-highlight-region,
atom-text-editor .region.datatip-highlight-region.datatip-highlight-region-active {
animation: none;
background: #00302c;
background-size: auto;
}
// Make completed task lines in Markdown and TodoTXT consistent
atom-text-editor .syntax--md.syntax--completed,
atom-text-editor .syntax--todotxt.syntax--comment {
color: #666;
font-style: normal;
}
// Improve the display of code comments
.syntax--comment,
.syntax--comment .syntax--class,
.syntax--comment .syntax--keyword,
.syntax--comment .syntax--punctuation {
color: #627288;
}
// Improve the display of Markdown code blocks
.syntax--md .syntax--code {
color: #c78feb;
}
// Improve the display of Markdown link URLs
.syntax--md .syntax--underline.syntax--link {
color: #ffbe40;
}
// Improve the display of Markdown bold and italic blocks
.syntax--md .syntax--emphasis,
.syntax--md .syntax--strong {
color: #ffbe40;
}
// Highlight TODO statements in code comments
.syntax--comment .syntax--todo {
color: #ef746f;
}
// Improve the display of headings in Markdown files
.syntax--text .syntax--heading,
.syntax--md .syntax--heading,
.syntax--text .syntax--heading .syntax--punctuation,
.syntax--md .syntax--heading .syntax--punctuation {
color: #3fb4c5;
}
// Hide the GitHub section in the status bar
.status-bar .github-StatusBarTile {
display: none;
}
// Improve the contrast of items in the Tree View
.list-group li:not(.list-nested-item),
.list-tree li:not(.list-nested-item),
.list-group li.list-nested-item > .list-item,
.list-tree li.list-nested-item > .list-item {
color: #d3d7db;
}
// Improve the contrast of ignored items in the Tree View
.list-group li:not(.list-nested-item).status-ignored,
.list-tree li:not(.list-nested-item).status-ignored,
.list-group li.list-nested-item.status-ignored > .list-item,
.list-tree li.list-nested-item.status-ignored > .list-item {
color: #7f8b96;
}
// Improve the display of items in the Grammar Selector list
.grammar-selector ol.list-group.mark-active > li:not(.active)::before {
margin-right: 0;
height: auto;
}