Skip to content

Commit

Permalink
[common] Correct logos sizes and dropdown list styles
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyEzhin committed Apr 23, 2024
1 parent 58ca2ca commit e1952ed
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
8 changes: 6 additions & 2 deletions apps/common/mobile/resources/less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@

.navbar.main-navbar {
height: 0;

&.navbar-with-logo {
height: 26px;
}

.navbar-inner {
display: flex;
justify-content: center;
padding-top: 7px;
padding: 0;
}

.navbar-bg {
&:before, &:after {
content: none;
Expand All @@ -55,9 +58,10 @@
display: flex;
justify-content: center;
align-items: center;
height: 100%;

.custom-logo-image {
max-height: 14px;
max-height: 20px;
height: auto;
width: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/common/mobile/resources/less/ios/icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
&.icon-logo {
width: 100px;
height: 14px;
height: 20px;
background: ~"url(@{common-image-path}/header/logo-ios.svg)" no-repeat center;
}
&.icon-prev {
Expand Down
14 changes: 9 additions & 5 deletions apps/common/mobile/resources/less/material/icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
&.icon-logo {
width: 100px;
height: 14px;
height: 20px;
background: ~"url(@{common-image-path}/header/logo-android.svg) no-repeat center";
}
&.icon-prev {
Expand Down Expand Up @@ -36,10 +36,14 @@
height: 24px;
.encoded-svg-mask('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.8827 9.00494H12.0235C12.8365 9.00494 13.5402 9.30206 14.1343 9.8963C14.7285 10.4905 15.0256 11.1942 15.0256 12.0074V12.1951L11.8827 9.00494ZM7.56716 9.80247C7.1919 10.5531 7.00426 11.2881 7.00426 12.0074C7.00426 13.3835 7.48898 14.572 8.45842 15.5728C9.45913 16.5424 10.6475 17.0272 12.0235 17.0272C12.7427 17.0272 13.4776 16.8395 14.2281 16.4642L12.6802 14.916C12.43 14.9786 12.2111 15.0099 12.0235 15.0099C11.2104 15.0099 10.5068 14.7128 9.91258 14.1185C9.31841 13.5243 9.02132 12.8206 9.02132 12.0074C9.02132 11.8198 9.05259 11.6008 9.11514 11.3506L7.56716 9.80247ZM2.03198 4.26667L3.29851 3L21.0299 20.7333L19.7633 22C19.607 21.8436 19.1066 21.3588 18.2623 20.5457C17.4492 19.7325 16.8237 19.107 16.3859 18.6691C15.0412 19.2321 13.5871 19.5136 12.0235 19.5136C9.55295 19.5136 7.31699 18.8255 5.31557 17.4494C3.31414 16.0733 1.87562 14.2593 1 12.0074C1.78181 10.0683 3.03269 8.4107 4.75267 7.03457C4.3774 6.65926 3.84577 6.12757 3.15778 5.43951C2.50107 4.75144 2.1258 4.36049 2.03198 4.26667ZM12.0235 6.98765C11.398 6.98765 10.7882 7.11276 10.194 7.36296L8.03625 5.20494C9.25586 4.7358 10.5849 4.50123 12.0235 4.50123C14.494 4.50123 16.7143 5.1893 18.6844 6.56543C20.6859 7.94156 22.1244 9.75556 23 12.0074C22.2495 13.8527 21.108 15.4321 19.5757 16.7457L16.6674 13.837C16.9176 13.2428 17.0426 12.6329 17.0426 12.0074C17.0426 10.6313 16.5423 9.45844 15.5416 8.48889C14.5721 7.48807 13.3994 6.98765 12.0235 6.98765Z"/></svg>', @text-secondary);
}
&.icon-radio {
width: 24px;
height: 24px;
.encoded-svg-mask('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 16L4 11L3 12L9 18L20 7L19 6L9 16Z" /></svg>', @brandColor);
}
.dropdown-list {
i.icon {
&.icon-radio {
width: 24px;
height: 24px;
.encoded-svg-mask('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 16L4 11L3 12L9 18L20 7L19 6L9 16Z" /></svg>', @brandColor);
}
}
}
.navbar {
Expand Down

0 comments on commit e1952ed

Please sign in to comment.