Skip to content

Commit

Permalink
Change color of displayname and ellipsis status message
Browse files Browse the repository at this point in the history
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
  • Loading branch information
georgehrke committed Aug 20, 2020
1 parent af3a59f commit 393a34e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/user_status/js/user-status-menu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/js/user-status-menu.js.map

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions apps/user_status/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,18 @@ export default {
</script>

<style lang="scss">
$max-width-user-status: 200px;
li:not(.inline) #user-status-menu-item {
&__header {
display: block;
color: var(--color-main-text);
box-sizing: border-box;
color: var(--color-text-maxcontrast);
padding: 10px 12px 5px 38px;
opacity: 1;
white-space: nowrap;
text-align: left;
max-width: 150px;
max-width: $max-width-user-status;
overflow: hidden;
text-overflow: ellipsis;
}
Expand All @@ -261,6 +264,8 @@ li:not(.inline) #user-status-menu-item {
width: 100%;
> button {
display: block;
box-sizing: border-box;
background-color: var(--color-main-background);
background-position: 12px center;
background-size: 16px;
Expand All @@ -269,6 +274,9 @@ li:not(.inline) #user-status-menu-item {
font-weight: normal;
padding-left: 38px;
opacity: 1;
max-width: $max-width-user-status;
overflow: hidden;
text-overflow: ellipsis;
&:hover,
&:focus {
Expand Down

0 comments on commit 393a34e

Please sign in to comment.