Skip to content

Commit

Permalink
Visual update for the dropdown menu in mobile mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Apr 20, 2015
1 parent e2dc33e commit b82b944
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 5 additions & 1 deletion themes/Luna/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ h1, h2, h3, h4, h5, h6 {
border: none;
box-shadow: none;
}

.dropdown-menu > li > a {
color: #fff !important;
}
}

.navbar-inverse {
Expand Down Expand Up @@ -1371,4 +1375,4 @@ blockquote footer {
margin-bottom: 0;
padding: 0 15px;
}
}
}
10 changes: 10 additions & 0 deletions themes/Luna/style.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
background-color: <?php echo $secondary_color ?>;
}

@media screen and (max-width: 767px) {
.dropdown-menu .divider {
background-color: <?php echo $secondary_color ?> !important;
}
}

.navbar-secondary, .first-run-profile, .footer .copyright, .panel-default .panel-heading, .nav-tabs > li > a:hover, .thread-jumbotron, .jumbotron, .user-card-profile, .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
background-color: <?php echo $secondary_color ?>;
}

.activity-header, .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus, .navbar-default, .new-item .label-default {
background-color: <?php echo $tertiary_color ?>;
}
Expand Down

0 comments on commit b82b944

Please sign in to comment.