Skip to content

Commit

Permalink
Merge pull request #133 from nextcloud/bugfix/noid/dark-theme
Browse files Browse the repository at this point in the history
Add dark-theme support
  • Loading branch information
nickvergessen committed Jan 17, 2019
2 parents 600fd0f + fafb3a9 commit 2084402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions css/style.css → css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#app-content hr {
width: 85%;
border: none;
border-bottom: solid 1px #ddd;
border-bottom: solid 1px var(--color-border-dark);
}

#announcement_submit_msg.success {
Expand Down Expand Up @@ -58,9 +58,7 @@
box-sizing: content-box;
}

.icon-announcement {
background-image: url('../img/announcementcenter-dark.svg');
}
@include icon-black-white('announcementcenter-dark', 'announcementcenter', 1);

.section > span {
padding-right: 7px;
Expand All @@ -69,7 +67,7 @@

.section > blockquote {
padding: 5px 10px;
border-left: 1px solid #ddd;
border-left: 1px solid var(--color-border-dark);
}

ul, ol {
Expand Down
2 changes: 1 addition & 1 deletion templates/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
} ?>

<div id="emptycontent" class="<?php if ($_['isAdmin']): ?>emptycontent-admin <?php endif; ?>hidden">
<div class="icon-announcement"></div>
<div class="icon-announcementcenter-dark"></div>
<h2><?php p($l->t('No Announcements')); ?></h2>
<p><?php p($l->t('There are currently no announcements…')); ?></p>
</div>
Expand Down

0 comments on commit 2084402

Please sign in to comment.