@@ -85,6 +81,7 @@ import MkDriveWindow from './drive-window.vue';
import MkMessagingWindow from './messaging-window.vue';
import MkGameWindow from './game-window.vue';
import contains from '../../../common/scripts/contains';
+import { faNewspaper, faHashtag } from '@fortawesome/free-solid-svg-icons';
export default Vue.extend({
i18n: i18n('desktop/views/components/ui.sidebar.vue'),
@@ -92,7 +89,8 @@ export default Vue.extend({
return {
hasGameInvitations: false,
connection: null,
- showNotifications: false
+ showNotifications: false,
+ faNewspaper, faHashtag
};
},
@@ -278,44 +276,23 @@ export default Vue.extend({
> .nav.bottom
position absolute
- bottom 128px
+ bottom 0
left 0
- > .account
- position absolute
- bottom 64px
- left 0
- width $width
- height $width
- padding 14px
+ > .account
+ width $width
+ height $width
+ padding 14px
- > .menu
- display none
- position absolute
- bottom 64px
- left 0
- background var(--desktopHeaderBg)
-
- &:hover
- > .menu
+ > *
display block
-
- > *:not(.menu)
- display block
- width 100%
- height 100%
-
- > .avatar
- pointer-events none
width 100%
height 100%
- > .dark
- position absolute
- bottom 0
- left 0
- width $width
- height $width
+ > .avatar
+ pointer-events none
+ width 100%
+ height 100%
> .notifications
position fixed