Add presence context menu and styling
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
e2b02ad60d
commit
deb50b2d43
4 changed files with 145 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
@import "./vector-web/structures/_RoomSubList.scss";
|
||||
@import "./vector-web/structures/_ViewSource.scss";
|
||||
@import "./vector-web/views/context_menus/_MessageContextMenu.scss";
|
||||
@import "vector-web/views/context_menus/_PresenceContextMenuOption.scss";
|
||||
@import "./vector-web/views/context_menus/_RoomTileContextMenu.scss";
|
||||
@import "./vector-web/views/dialogs/_ChangelogDialog.scss";
|
||||
@import "./vector-web/views/dialogs/_DevtoolsDialog.scss";
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
Copyright 2017 Travis Ralston
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
.mx_PresenceContextMenuOption_indicator {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 10px;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.mx_PresenceContextMenuOption_indicator.mx_PresenceContextMenuOption_indicator_online {
|
||||
background-color: $presence-online;
|
||||
}
|
||||
|
||||
.mx_PresenceContextMenuOption_indicator.mx_PresenceContextMenuOption_indicator_unavailable {
|
||||
background-color: $presence-unavailable;
|
||||
}
|
||||
|
||||
.mx_PresenceContextMenuOption_indicator.mx_PresenceContextMenuOption_indicator_offline {
|
||||
background-color: $presence-offline;
|
||||
}
|
||||
|
||||
.mx_PresenceContextMenuOption {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.mx_PresenceContextMenuOption.mx_PresenceContextMenuOption_current {
|
||||
font-weight: 700;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue