Skip to content

Commit c7dba61

Browse files
authored
Merge pull request element-hq#5511 from turt2live/travis/more-pinned-css
CSS for pinned indicators
2 parents f280fe3 + beddf3a commit c7dba61

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,16 @@ limitations under the License.
237237
position: relative;
238238
}
239239

240-
.mx_RoomHeader_unreadPinsIndicator {
240+
.mx_RoomHeader_pinsIndicator {
241241
position: absolute;
242242
right: 0;
243243
bottom: 4px;
244244
width: 8px;
245245
height: 8px;
246246
border-radius: 8px;
247-
background-color: $warning-color;
247+
background-color: $pinned-color;
248+
}
249+
250+
.mx_RoomHeader_pinsIndicatorUnread {
251+
background-color: $pinned-unread-color;
248252
}

‎src/skins/vector/css/themes/_base.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ $warning-color: #ff0064;
2222
$mention-user-pill-bg-color: #ff0064;
2323
$other-user-pill-bg-color: rgba(0, 0, 0, 0.1);
2424

25+
// pinned events indicator
26+
$pinned-unread-color: #ff0064; // $warning-color
27+
$pinned-color: #888;
28+
2529
// informational plinth
2630
$info-plinth-bg-color: #f7f7f7;
2731
$info-plinth-fg-color: #888;

0 commit comments

Comments
 (0)