Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Feb 15, 2024
1 parent 5f56a58 commit eaad13e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 14 deletions.
8 changes: 5 additions & 3 deletions projects/srm/src/app/homepage/homepage.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ <h1 class='tagline'>
</div>
<div class='search' role="main">
<p class='intro hide-while-searching'>
<strong>כל שירות מבית כל זכות</strong><br/>הוא אתר המרכז את כל השירותים החברתיים בישראל.
<br/><br/>
חפשו שירותים באתר:
<strong>כל שירות מבית כל זכות</strong>
<span>
הוא אתר המרכז את כל השירותים החברתיים בישראל.<br/><br/>
חפשו שירותים באתר:
</span>
</p>
<div class='searchbox-container layout-desktop' [class.searching]='searching' appArrowToTab (keydown)='keydown($event)'>
<div class='searchbox desktop' *ngIf='!searching'>
Expand Down
40 changes: 30 additions & 10 deletions projects/srm/src/app/homepage/homepage.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,27 @@
display: flex;
flex-flow: row;
justify-content: flex-start;
gap: 0px;
position: relative;
z-index: 1;
.mobile({
padding: 0 8px;
align-items: flex-start;
flex: 0 1 100%;
flex: 0 0 auto;
gap: 4px;
});
.desktop({
padding: 20px 24px;
align-items: center;
gap: 0px;
});

.menu-button {
width: 32px;
.mobile({
width: 42px;
});
.desktop({
width: 32px;
});
height: 32px;
display: flex;
flex-flow: column;
Expand All @@ -63,9 +69,9 @@
flex-flow: row;
align-items: flex-start;
.mobile({
flex-flow: column;
flex-flow: row;
align-items: flex-start;
gap: 2px;
gap: 4px;
});
.desktop({
flex-flow: row;
Expand Down Expand Up @@ -110,10 +116,9 @@
gap: 8px;

.mobile({
flex: 0 0 auto;
flex: 0 1 100%;
});


p {
.font-rag-sans;
font-size: 16px;
Expand All @@ -128,12 +133,27 @@
}

.intro {
font-size: 20px;
.desktop({
font-size: 20px;
line-height: 20px;
});
.mobile({
font-size: 16px;
line-height: 20px;
flex: 0 0 auto;
height: calc(50% ~'-' 100px);
display: flex;
flex-flow: column;
justify-content: flex-end;
gap: 0;
});
font-weight: 300;
line-height: 20px;
strong {
font-weight: 600;
}
span {
white-space: pre-wrap;
}
}
.searchbox-container {
margin-top: 8px;
Expand Down Expand Up @@ -304,7 +324,7 @@
flex-flow: row;
.mobile({
width: 100%;
flex: 0 1 100%;
flex: 0 0 auto;
padding: 0 16px;
});
.desktop({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
width: 100%;
height: 100%;
.mobile({
padding: 56px 24px 0px;
padding: 48px 24px 0px;
});
.desktop({
padding: 48px;
Expand Down

0 comments on commit eaad13e

Please sign in to comment.