generated from koldovsky/html-template-autocheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c07ee4
commit ac49fab
Showing
7 changed files
with
73 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
#cases { | ||
padding: 18px; | ||
} | ||
} | ||
|
||
.cases-content{ | ||
display: grid; | ||
grid-template-columns: auto auto; | ||
gap: 10px; | ||
background-color: inherit; | ||
padding: 10px; | ||
} | ||
|
||
.cases-item-big { | ||
/*grid-column: 1 / 3;*/ | ||
grid-row: 1 / span 2; | ||
} | ||
|
||
.cases-item .cases-paragraph-hidden { | ||
display: none; | ||
} | ||
|
||
.cases-item-big .cases-paragraph-hidden { | ||
display: block; | ||
} | ||
|
||
/*@media (min-width: 774px) { | ||
.cases-item-big { | ||
grid-column: 1 / 1; | ||
grid-row: 1 / span 2; | ||
} | ||
}*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
<section id="cases" class="container"> | ||
<h2>Best Cases</h2> | ||
<div> | ||
<div> | ||
<img src="#" alt=""> | ||
<div> | ||
<div class="cases-content"> | ||
<div class="cases-item cases-item-big"> | ||
<p>In favor of the plaintiff, $ 13,500 was recovered from the respondent | ||
surgeon for improperly performing cosmetic surgery for correcting the shape of the plaintiff’s nose. </p> | ||
<p>The plaintiff claimed that she, as a patient, had entered into a contract with the surgeon, | ||
<p class="cases-paragraph-hidden">The plaintiff claimed that she, as a patient, had entered into a contract with the surgeon, | ||
and he agreed to perform plastic surgery of her nose in order to increase her aesthetic appeal. | ||
The appearance of the plaintiff didn't improve, actually, | ||
her face was disfigured. I helped the woman to receive her pain and suffering money.</p> | ||
</div> | ||
<div> | ||
<div class="cases-item"> | ||
<p>On 04.03.2017, the Family Court of the State of New York satisfied the claims of attorney William Rhoades. | ||
in the interests of the Client about deprivation of parental rights.</p> | ||
<p>The court recognized that the father must be deprived of parental rights, | ||
<p class="cases-paragraph-hidden">The court recognized that the father must be deprived of parental rights, | ||
as he does not fulfill his obligations to the child in accordance with the norms of the Family Law. | ||
It was a difficult case, but I have proven that the presence of the father negatively affects the child, | ||
causes aggression in him immediately and destroys the psyche.</p> | ||
</div> | ||
<div> | ||
<div class="cases-item"> | ||
<p>In June 2019, the inheritance division case was considered at the Surrogate’s Court of the State of New York. | ||
The plaintiff insisted that his father died without leaving a will, and the plaintiff is the primary heir. </p> | ||
<p>I helped the plaintiff to prove to the court that he is the successor, and can count on 80% of the | ||
<p class="cases-paragraph-hidden">I helped the plaintiff to prove to the court that he is the successor, and can count on 80% of the | ||
entire inheritance, which included significant amounts in accounts in banks of America, | ||
as well as 3 mansions in Hampton, a yacht fleet and 500 square meters of commercial real estate in NY.</p> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const casesItem = document.querySelectorAll('.cases-item'); | ||
let previousCaseItem = null; | ||
|
||
casesItem.forEach((caseItem) => { | ||
caseItem.addEventListener('mouseover', (_) => { | ||
if (previousCaseItem !== null) { | ||
previousCaseItem.classList.remove('cases-item-big'); | ||
} | ||
caseItem.classList.add('cases-item-big'); | ||
previousCaseItem = caseItem; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
document.addEventListener('partialsLoaded', async () => { | ||
await import('./nav.js'); | ||
await import('./services.js'); | ||
await import('./cases.js'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters