Merge pull request #5511 from turt2live/travis/more-pinned-css

CSS for pinned indicators
This commit is contained in:
Matthew Hodgson 2017-11-07 18:52:39 +00:00 committed by GitHub
commit c7dba61d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -237,12 +237,16 @@ limitations under the License.
position: relative;
}
.mx_RoomHeader_unreadPinsIndicator {
.mx_RoomHeader_pinsIndicator {
position: absolute;
right: 0;
bottom: 4px;
width: 8px;
height: 8px;
border-radius: 8px;
background-color: $warning-color;
background-color: $pinned-color;
}
.mx_RoomHeader_pinsIndicatorUnread {
background-color: $pinned-unread-color;
}

View File

@ -22,6 +22,10 @@ $warning-color: #ff0064;
$mention-user-pill-bg-color: #ff0064;
$other-user-pill-bg-color: rgba(0, 0, 0, 0.1);
// pinned events indicator
$pinned-unread-color: #ff0064; // $warning-color
$pinned-color: #888;
// informational plinth
$info-plinth-bg-color: #f7f7f7;
$info-plinth-fg-color: #888;