Commit 43085602 authored by Robert Knight's avatar Robert Knight

Refactor groups list styling

Use nesting for readability.

Card 87
parent 1190a4c2
......@@ -84,29 +84,32 @@ ol {
$group-list-width: 225px;
.group-list .dropdown {
white-space: nowrap;
}
.group-list {
.dropdown {
white-space: nowrap;
}
.group-list .dropdown-menu {
width: $group-list-width;
}
.dropdown-menu {
width: $group-list-width;
.group-list .dropdown-menu li {
@include pie-clearfix;
}
li {
@include pie-clearfix;
}
.group-list .dropdown-menu .group-name {
float: left;
overflow: hidden;
text-overflow: ellipsis;
width: $group-list-width - 30px;
}
.group-name {
float: left;
overflow: hidden;
text-overflow: ellipsis;
width: $group-list-width - 30px;
}
.group-list .dropdown-menu .new-group-btn {
background-color: $gray-lightest;
.new-group-btn {
background-color: $gray-lightest;
}
}
}
/* The user account dropdown menu */
.user-picker {
.avatar {
border-radius: 2px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment