@@ -50,56 +50,88 @@ limitations under the License.
5050 color : $muted-fg-color ;
5151 }
5252
53+ .mx_HomePage_userAvatar {
54+ position : relative ;
55+ width : min-content ;
56+ margin : 0 auto ;
57+
58+ & ::before , & ::after {
59+ content : ' ' ;
60+ position : absolute ;
61+
62+ height : 26px ;
63+ width : 26px ;
64+
65+ right : -6px ;
66+ bottom : -6px ;
67+ }
68+
69+ & ::before {
70+ background-color : $primary-bg-color ;
71+ border-radius : 50% ;
72+ z-index : 1 ;
73+ }
74+
75+ & ::after {
76+ background-color : $secondary-fg-color ;
77+ mask-position : center ;
78+ mask-repeat : no-repeat ;
79+ mask-image : url (' $(res)/img/element-icons/camera.svg' );
80+ mask-size : 16px ;
81+ z-index : 2 ;
82+ }
83+
84+ & .mx_HomePage_userAvatar_busy ::after {
85+ background : url (" $(res)/img/spinner.gif" ) no-repeat center ;
86+ background-size : 80% ;
87+ mask : unset ;
88+ }
89+ }
90+
5391 .mx_HomePage_default_buttons {
5492 margin : 80px auto 0 ;
5593 width : fit-content ;
5694
5795 .mx_AccessibleButton {
5896 padding : 73px 8px 15px ; // top: 20px top padding + 40px icon + 13px margin
5997
60- width : 104px ; // 120px - 2* 8px
61- margin : 0 39px ; // 55px - 2* 8px
98+ width : 160px ;
99+ height : 132px ;
100+ margin : 0 20px ;
62101 position : relative ;
63102 display : inline-block ;
64103 border-radius : 8px ;
65104 vertical-align : top ;
66105 word-break : break-word ;
106+ box-sizing : border-box ;
67107
68108 font-weight : 600 ;
69109 font-size : $font-15px ;
70110 line-height : $font-20px ;
71- color : $muted-fg-color ;
72-
73- & :hover {
74- color : $accent-color ;
75- background : rgba ($accent-color , 0.06 );
76-
77- & ::before {
78- background-color : $accent-color ;
79- }
80- }
111+ color : #fff ; // on all themes
112+ background-color : $accent-color ;
81113
82114 & ::before {
83115 top : 20px ;
84- left : 40 px ; // (120px -40px)/2
116+ left : 60 px ; // (160px -40px)/2
85117 width : 40px ;
86118 height : 40px ;
87119
88120 content : ' ' ;
89121 position : absolute ;
90- background-color : $muted-fg-color ;
122+ background-color : #fff ; // on all themes
91123 mask-repeat : no-repeat ;
92124 mask-size : contain ;
93125 }
94126
95127 & .mx_HomePage_button_sendDm ::before {
96- mask-image : url (' $(res)/img/feather-customised/message-circle .svg' );
128+ mask-image : url (' $(res)/img/element-icons/feedback .svg' );
97129 }
98130 & .mx_HomePage_button_explore ::before {
99- mask-image : url (' $(res)/img/feather-customised /explore.svg' );
131+ mask-image : url (' $(res)/img/element-icons/roomlist /explore.svg' );
100132 }
101133 & .mx_HomePage_button_createGroup ::before {
102- mask-image : url (' $(res)/img/feather-customised/group .svg' );
134+ mask-image : url (' $(res)/img/element-icons/community-members .svg' );
103135 }
104136 }
105137 }
0 commit comments