99 class ="main-menu "
1010 [attr.aria-label] ="(itemTitle || '') + ' ' + mainButtonLabel "
1111>
12- < mat-icon
13- *ngIf ="mobile "
14- class ="menu-icon "
15- [ngClass] ="{
16- limitedIcon: privacy === 'LIMITED',
17- publicIcon: privacy === 'PUBLIC',
18- privateIcon: privacy === 'PRIVATE'
19- } "
20- > visibility</ mat-icon
21- >
12+ @if (mobile) { @if (privacy === 'PUBLIC') {
13+ < mat-icon class ="menu-icon publicIcon "> visibility</ mat-icon >
14+ } @if (privacy === 'LIMITED') {
15+ < mat-icon class ="menu-icon limitedIcon "> visibility_lock</ mat-icon >
16+ } @if (privacy === 'PRIVATE') {
17+ < mat-icon class ="menu-icon privateIcon "> visibility_off</ mat-icon >
18+ } }
2219 < div class ="main-button-container " *ngIf ="!mobile ">
2320 < div class ="icon-title-container ">
24- < mat-icon
25- class ="menu-icon "
26- [ngClass] ="{
27- limitedIcon: privacy === 'LIMITED',
28- publicIcon: privacy === 'PUBLIC',
29- privateIcon: privacy === 'PRIVATE'
30- } "
31- > visibility</ mat-icon
32- >
21+ @if (privacy === 'PUBLIC') {
22+ < mat-icon class ="menu-icon publicIcon "> visibility</ mat-icon >
23+ } @if (privacy === 'LIMITED') {
24+ < mat-icon class ="menu-icon limitedIcon "> visibility_lock</ mat-icon >
25+ } @if (privacy === 'PRIVATE') {
26+ < mat-icon class ="menu-icon privateIcon "> visibility_off</ mat-icon >
27+ }
28+
3329 < ng-container
3430 *ngIf ="privacy === 'PUBLIC' "
3531 i18n ="@@register.VisibilityEveryone "
@@ -84,28 +80,10 @@ <h1 class="orc-font-body" i18n="@@shared.setVisibilityFor">
8480 noSelectedMenu: privacy !== 'PUBLIC' || visibilityError,
8581 selectedMenu: privacy === 'PUBLIC' && !visibilityError
8682 } "
87- class ="public-button cy-visibility-public flex-menu-item "
83+ class ="public-button cy-visibility-public flex-menu-item mb-2! "
8884 >
89- < div class ="icon-circle icon-public ">
90- < svg
91- xmlns ="http://www.w3.org/2000/svg "
92- width ="25 "
93- height ="25 "
94- viewBox ="0 0 32 32 "
95- >
96- < g fill-rule ="evenodd " transform ="translate(2 8) ">
97- < path
98- d ="M4.89285309,3 C6.32345505,3 7.48318708,4.198431 7.48318708,6.16476204 C7.48318708,7.39927189 7.02606362,8.48703297 6.33177897,9.12571199 L6.33192132,9.85514246 C6.93430296,9.95767004 7.48953333,10.1208324 7.99761243,10.3446296 C6.59349146,10.931755 5.4631016,11.8164312 4.6050382,13 L4.609,12.995 L-7.54951657e-15,12.9951477 L-7.54951657e-15,11.5705277 C0.76712784,10.590195 1.9183686,10.0004474 3.45372228,9.8012851 L3.45313835,9.12498602 C2.75929632,8.48620889 2.3025191,7.39880427 2.3025191,6.16476204 C2.3025191,4.198431 3.46225113,3 4.89285309,3 Z "
99- />
100- < path
101- d ="M24.8904655,3 C26.3210675,3 27.4807995,4.198431 27.4807995,6.16476204 C27.4807995,7.39927189 27.0236761,8.48703297 26.3293914,9.12571199 L26.3295337,9.85514246 C26.9319154,9.95767004 27.4871458,10.1208324 27.9952249,10.3446296 C26.5911039,10.931755 25.460714,11.8164312 24.6026506,13 L24.6066124,12.995 L19.9976124,12.9951477 L19.9976124,11.5705277 C20.7647403,10.590195 21.915981,10.0004474 23.4513347,9.8012851 L23.4507508,9.12498602 C22.7569087,8.48620889 22.3001315,7.39880427 22.3001315,6.16476204 C22.3001315,4.198431 23.4598636,3 24.8904655,3 Z "
102- transform ="matrix(-1 0 0 1 47.993 0) "
103- />
104- < path
105- d ="M13.9976124,0 C16.3766852,0 17.8888022,1.83293682 17.8888022,4.84033613 C17.8888022,6.60373271 17.3689221,8.17135716 16.4592223,9.1665201 L16.4593096,10.4940226 C18.7142116,10.8564413 20.5603125,11.6917671 21.9976124,13 L21.9976124,16 L5.99761243,16 L5.99761243,13 C7.23371328,11.5789972 9.07977703,10.7159448 11.5358037,10.4108427 L11.536008,9.18074833 C10.6617792,8.21159109 10.1619793,6.6729659 10.1064226,4.84033613 C10.0106366,1.68067227 11.6185397,0 13.9976124,0 Z "
106- />
107- </ g >
108- </ svg >
85+ < div class ="icon-choice icon-public ">
86+ < mat-icon class ="menu-icon publicIcon "> visibility</ mat-icon >
10987 </ div >
11088 < div class ="title-container " i18n ="@@register.VisibilityEveryone ">
11189 Everyone
@@ -124,20 +102,10 @@ <h1 class="orc-font-body" i18n="@@shared.setVisibilityFor">
124102 noSelectedMenu: privacy !== 'LIMITED' || visibilityError,
125103 selectedMenu: privacy === 'LIMITED' && !visibilityError
126104 } "
127- class ="limited-button cy-visibility-limited flex-menu-item "
105+ class ="limited-button cy-visibility-limited flex-menu-item mb-2! "
128106 >
129- < div class ="icon-circle icon-limited ">
130- < svg
131- xmlns ="http://www.w3.org/2000/svg "
132- width ="25 "
133- height ="25 "
134- viewBox ="0 0 32 32 "
135- >
136- < path
137- d ="M21.3241161,1.2027958 L21.3241161,4.80204218 L16.802377,4.80204218 L16.802377,6.00179097 L21.3241161,6.00179097 L21.3241161,9.60103736 L16.802377,9.60103736 L16.8025334,13.9532859 C20.1760796,14.7070044 22.7027958,17.7951245 22.7027958,21.490125 C22.7027958,25.7497154 19.3449314,29.2027958 15.2027958,29.2027958 C11.0606602,29.2027958 7.7027958,25.7497154 7.7027958,21.490125 C7.7027958,17.8976017 10.0913034,14.8787633 13.3243619,14.0213468 L13.3241161,1.2027958 L21.3241161,1.2027958 Z M15.2027958,16.8625225 C12.7175144,16.8625225 10.7027958,18.9343707 10.7027958,21.490125 C10.7027958,24.0458793 12.7175144,26.1177275 15.2027958,26.1177275 C17.6880772,26.1177275 19.7027958,24.0458793 19.7027958,21.490125 C19.7027958,18.9343707 17.6880772,16.8625225 15.2027958,16.8625225 Z "
138- transform ="rotate(45 15.203 15.203) "
139- />
140- </ svg >
107+ < div class ="icon-choice icon-limited ">
108+ < mat-icon class ="menu-icon limitedIcon "> visibility_lock</ mat-icon >
141109 </ div >
142110 < div class ="title-container " i18n ="@@account.trustedParties ">
143111 Trusted Parties
@@ -152,24 +120,14 @@ <h1 class="orc-font-body" i18n="@@shared.setVisibilityFor">
152120 "
153121 mat-menu-item
154122 (click) ="private() "
155- class ="private-button cy-visibility-private flex-menu-item "
123+ class ="private-button cy-visibility-private flex-menu-item mb-4! "
156124 [ngClass] ="{
157125 noSelectedMenu: privacy !== 'PRIVATE' || visibilityError,
158126 selectedMenu: privacy === 'PRIVATE' && !visibilityError
159127 } "
160128 >
161- < div class ="icon-circle icon-private ">
162- < svg
163- xmlns ="http://www.w3.org/2000/svg "
164- width ="25 "
165- height ="25 "
166- viewBox ="0 0 32 32 "
167- >
168- < path
169- fill-rule ="evenodd "
170- d ="M20.5833333,8.75 C20.5833333,8.23716416 20.1972931,7.81449284 19.6999545,7.75672773 L19.5833333,7.75 L12.4166667,7.75 C11.9038308,7.75 11.4811595,8.13604019 11.4233944,8.63337887 L11.4166667,8.75 L11.4166667,12.3333333 L8.66666667,12.3333333 L8.66666667,10 C8.66666667,7.23857625 10.9052429,5 13.6666667,5 L18.3333333,5 C21.0947571,5 23.3333333,7.23857625 23.3333333,10 L23.3333333,12.3333333 L25,12.3333333 C26.1045695,12.3333333 27,13.2287638 27,14.3333333 L27,25 C27,26.1045695 26.1045695,27 25,27 L7,27 C5.8954305,27 5,26.1045695 5,25 L5,14.3333333 C5,13.2287638 5.8954305,12.3333333 7,12.3333333 L20.5833333,12.3333333 L20.5833333,8.75 Z M16,16 C15.0381041,16 14.2492271,16.7407822 14.1727441,17.6829715 L14.1666667,17.8333333 L14.1666667,21.5 C14.1666667,22.512522 14.987478,23.3333333 16,23.3333333 C16.9618959,23.3333333 17.7507729,22.5925511 17.8272559,21.6503618 L17.8333333,21.5 L17.8333333,17.8333333 C17.8333333,16.8208113 17.012522,16 16,16 Z "
171- />
172- </ svg >
129+ < div class ="icon-choice icon-private ">
130+ < mat-icon class ="menu-icon privateIcon "> visibility_off</ mat-icon >
173131 </ div >
174132 < div class ="title-container " i18n ="@@shared.onlyMe "> Only me</ div >
175133 </ button >
0 commit comments