add mentions
This commit is contained in:
@@ -1369,3 +1369,36 @@ $motd_content_padding_right: 25% !default;
|
||||
font-weight: bold;
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
$mention_font_color: $DEFAULT_FONT_COLOR_INVERSE !default;
|
||||
$mention_font_color_hover: $DEFAULT_FONT_COLOR !default;
|
||||
$mention_background_color: $DARK_2 !default;
|
||||
$mention_background_color_me: color.adjust($DARK_2, $hue: 90) !default;
|
||||
$mention_background_color_hover: $LIGHT_2 !default;
|
||||
$mention_border_me: 1px dashed;
|
||||
$mention_padding: $SMALL_PADDING !default;
|
||||
$mention_border_radius: $DEFAULT_BORDER_RADIUS !default;
|
||||
a.mention, a.mention:visited {
|
||||
display: inline-block;
|
||||
color: $mention_font_color;
|
||||
background-color: $mention_background_color;
|
||||
padding: $mention_padding;
|
||||
border-radius: $mention_border_radius;
|
||||
text-decoration: none;
|
||||
|
||||
&.display {
|
||||
text-decoration: underline;
|
||||
text-decoration-style: dashed;
|
||||
}
|
||||
|
||||
&.me {
|
||||
background-color: $mention_background_color_me;
|
||||
border: $mention_border_me;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $mention_background_color_hover;
|
||||
color: $mention_font_color_hover;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user