Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable15] Add dark-theme support #134

Merged
merged 1 commit into from
Jan 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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