Skip to content

Commit

Permalink
Made list-groups visually bolder
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Feb 4, 2018
1 parent 9253d5f commit 0d09404
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 13 deletions.
21 changes: 11 additions & 10 deletions frontend/style/flavor/list-group.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@


.list-group {
border-radius: @list-group-border-radius;
.shadow-2dp();
}

.list-group .list-group-item {
border-left: none;
border-right: none;
}
.list-group-item {
border-left-color: @list-group-outer-border;
border-right-color: @list-group-outer-border;
}

.list-group .list-group-item:first-child {
border-top: none;
}
.list-group-item:first-child {
border-top-color: @list-group-outer-border;
}

.list-group .list-group-item:last-child {
border-bottom: none;
.list-group-item:last-child {
border-bottom-color: @list-group-outer-border;
}
}

.list-group-item.empty-message {
Expand Down
10 changes: 10 additions & 0 deletions frontend/style/flavor/navs.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,18 @@


.nav-side>.list-group-item {
border-left: none;
border-right: none;
margin-bottom: 1px;

&:first-child {
border-top: none;
}

&:last-child {
border-bottom: none;
}

&, &:link, &:visited {
background: @side-nav-bg;
border: none;
Expand Down
5 changes: 5 additions & 0 deletions frontend/style/flavor/threads-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
// --------------------------------------------------


.threads-list .list-group {
border-radius: @list-group-border-radius;
}


.threads-list .thread-main {
img {
border-radius: @border-radius-base;
Expand Down
4 changes: 2 additions & 2 deletions frontend/style/flavor/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
//** `.list-group-item` border color
@list-group-border: @gray-lighter;
@list-group-border-radius: @border-radius-small;

@list-group-outer-border: #ddd;

@list-group-link-color: @gray-light;
@list-group-link-hover-color: @text-color;
Expand All @@ -410,7 +410,7 @@
//
//##

@side-nav-bg: #f2f2f2;
@side-nav-bg: #f5f5f5;
@side-nav-color: #757575;

@side-nav-hover-bg: #e0e0e0;
Expand Down
2 changes: 1 addition & 1 deletion misago/static/misago/css/misago.css

Large diffs are not rendered by default.

0 comments on commit 0d09404

Please sign in to comment.