File tree Expand file tree Collapse file tree
matrix-react-sdk/views/rooms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ input[type=text]:focus, textarea:focus {
189189. mx_Dialog_content {
190190 margin : 24px 58px 68px 0 ;
191191 font-size : 14px ;
192- color : # 4a4a4a;
192+ color : # 4a4a4a;
193193 word-wrap : break-word;
194194}
195195
Original file line number Diff line number Diff line change @@ -61,21 +61,43 @@ limitations under the License.
6161. collapsed . mx_RoomTile_badge {
6262 margin-top : -15px ;
6363 right : 7px ;
64+ min-width : 12px ;
65+ height : 16px ;
66+ border-radius : 16px ;
67+ padding : 0px 4px 0px 4px ;
68+ z-index : 200 ;
69+ }
70+
71+ . mx_RoomTile_highlight . mx_RoomTile_badge : after {
72+ content : "" ;
73+ position : absolute;
74+ display : block;
75+ width : 0 ;
76+ height : 0 ;
77+ margin-left : 7px ;
78+ border-top : 8px solid # ff0064;
79+ border-right : 10px solid transparent;
80+ }
81+
82+ /* Because the specificity of this and the above ".mx_RoomTile_highlight .mx_RoomTile_badge:after"
83+ style are the same, this style needs to be AFTER it to take effect when matched */
84+ . collapsed . mx_RoomTile_badge : after {
85+ display : none;
6486}
6587
6688. mx_RoomTile_badge {
67- min-width : 12 px ;
68- height : 16 px ;
89+ min-width : 15 px ;
90+ height : 18 px ;
6991 position : absolute;
7092 right : 16px ;
7193 top : 50% ;
7294 margin-top : -8px ;
73- border-radius : 16 px ;
95+ border-radius : 18 px ;
7496 color : # fff;
7597 font-weight : bold;
7698 font-size : 11px ;
7799 text-align : center;
78- padding : 0 px 4 px 0px 4 px ;
100+ padding : 2 px 6 px 0px 5 px ;
79101}
80102
81103. mx_RoomTile_unreadNotify . mx_RoomTile_badge {
You can’t perform that action at this time.
0 commit comments