Make the sign out button red
parent
9f5a716cc5
commit
7b79dd6be1
|
@ -40,6 +40,16 @@ limitations under the License.
|
||||||
.mx_UserMenuButton_contextMenu {
|
.mx_UserMenuButton_contextMenu {
|
||||||
width: 247px;
|
width: 247px;
|
||||||
|
|
||||||
|
.mx_UserMenuButton_contextMenu_redRow {
|
||||||
|
.mx_AccessibleButton {
|
||||||
|
color: $warning-color !important; // !important to override styles from context menu
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_IconizedContextMenu_icon::before {
|
||||||
|
background-color: $warning-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_UserMenuButton_contextMenu_header {
|
.mx_UserMenuButton_contextMenu_header {
|
||||||
// Create a flexbox to organize the header a bit easier
|
// Create a flexbox to organize the header a bit easier
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -263,7 +263,7 @@ export default class UserMenuButton extends React.Component<IProps, IState> {
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_IconizedContextMenu_optionList">
|
<div className="mx_IconizedContextMenu_optionList">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li className="mx_UserMenuButton_contextMenu_redRow">
|
||||||
<AccessibleButton onClick={this.onSignOutClick}>
|
<AccessibleButton onClick={this.onSignOutClick}>
|
||||||
<span className="mx_IconizedContextMenu_icon mx_UserMenuButton_iconSignOut" />
|
<span className="mx_IconizedContextMenu_icon mx_UserMenuButton_iconSignOut" />
|
||||||
<span>{_t("Sign out")}</span>
|
<span>{_t("Sign out")}</span>
|
||||||
|
|
Loading…
Reference in New Issue