@@ -15,31 +15,33 @@ limitations under the License.
1515*/
1616
1717.mx_AccessSecretStorageDialog {
18- .mx_AccessSecretStorageDialog_titleWithIcon ::before {
19- content : ' ' ;
20- display : inline-block ;
21- width : 24px ;
22- height : 24px ;
23- margin-inline-end : $spacing-8 ;
24- position : relative ;
25- top : 5px ; // TODO: spacing variable
26- background-color : $primary-content ;
27- }
28-
2918 .mx_Dialog_header {
30- .mx_AccessSecretStorageDialog_resetBadge ::before {
31- // The image isn't capable of masking, so we use a background instead.
32- background-image : url (" $(res)/img/element-icons/warning-badge.svg" );
33- background-size : 24px ;
34- background-color : transparent ;
35- }
19+ .mx_AccessSecretStorageDialog_titleWithIcon {
20+ & ::before {
21+ content : ' ' ;
22+ display : inline-block ;
23+ width : 24px ;
24+ height : 24px ;
25+ margin-inline-end : $spacing-8 ;
26+ position : relative ;
27+ top : 5px ; // TODO: spacing variable
28+ background-color : $primary-content ;
29+ }
3630
37- .mx_AccessSecretStorageDialog_secureBackupTitle ::before {
38- mask-image : url (' $(res)/img/feather-customised/secure-backup.svg' );
39- }
31+ & .mx_AccessSecretStorageDialog_resetBadge ::before {
32+ // The image isn't capable of masking, so we use a background instead.
33+ background-image : url (" $(res)/img/element-icons/warning-badge.svg" );
34+ background-size : 24px ;
35+ background-color : transparent ;
36+ }
4037
41- .mx_AccessSecretStorageDialog_securePhraseTitle ::before {
42- mask-image : url (' $(res)/img/feather-customised/secure-phrase.svg' );
38+ & .mx_AccessSecretStorageDialog_secureBackupTitle ::before {
39+ mask-image : url (' $(res)/img/feather-customised/secure-backup.svg' );
40+ }
41+
42+ & .mx_AccessSecretStorageDialog_securePhraseTitle ::before {
43+ mask-image : url (' $(res)/img/feather-customised/secure-phrase.svg' );
44+ }
4345 }
4446 }
4547
0 commit comments