Skip to content

Commit 1de8160

Browse files
committed
Fix some night mode colors
We have some issues with night mode and the font color. This should fix this in the permission table and the delete node modal. As well as some picture styling. Signed-off-by: Sheogorath <[email protected]>
1 parent 4e38d18 commit 1de8160

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

public/css/index.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,16 @@ body.night{
310310
overflow: hidden;
311311
}
312312

313-
.night .dropdown-menu{
313+
.night .dropdown-menu > li > a {
314+
color: #eee;
315+
}
316+
317+
.night .dropdown-menu > li > a:focus,
318+
.night .dropdown-menu > li > a:hover {
319+
color: #262626
320+
}
321+
322+
.night .dropdown-menu {
314323
background: #222;
315324
}
316325

public/css/markdown.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,7 @@
214214
.markdown-body figure {
215215
margin: 1em 40px;
216216
}
217+
218+
.markdown-body img {
219+
background-color: transparent;
220+
}

public/views/codimd/body.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
</button>
234234
<h4 class="modal-title" id="myModalLabel"><%= __('Are you sure?') %></h4>
235235
</div>
236-
<div class="modal-body" style="color:black;">
236+
<div class="modal-body">
237237
<h5 class="ui-delete-modal-msg"><%= __('Do you really want to delete this note?') %></h5>
238238
<strong class="ui-delete-modal-item"><%= __('All users will lose their connection.') %></strong>
239239
</div>

0 commit comments

Comments
 (0)