Skip to content

Commit

Permalink
use more of utils selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
dakur committed Jan 19, 2025
1 parent b7ecc03 commit 7677647
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 33 deletions.
23 changes: 0 additions & 23 deletions frontend/src/styles/pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,7 @@

.contacts__boxInner {
grid-area: contacts;
font-size: 0.9em;
font-style: normal;
}

.contacts__map {
grid-area: map;
}
Expand Down Expand Up @@ -151,11 +148,6 @@
background-repeat: no-repeat;
}

.contacts__invoicing,
.contacts__accounts {
font-size: 0.85em;
}

@media (settings.$typography-breakpoint-small-until) {
.contacts__imageWrapper {
max-inline-size: 33vw;
Expand Down Expand Up @@ -369,9 +361,6 @@

/* EVENTS PAGE */

.eventsPage__info {
font-size: 0.8em;
}
@media (settings.$events-breakpoint-oneColumn-until) {
.eventsPage__info {
max-width: 16rem;
Expand Down Expand Up @@ -493,11 +482,6 @@
.homepage__subheading::after {
margin-inline-start: 0.5rlh;
}
.homepage .action--link-secondary-sm {
display: inline-block;
font-size: 0.8em;
text-decoration: underline;
}
.homepage-related .related-heading {
margin-block-end: 0.5rlh !important;
text-align: center;
Expand Down Expand Up @@ -722,10 +706,6 @@
margin-block-end: 0.5rlh;
}

.prilezitost address {
font-style: normal;
}

.prilezitost__contact {
background-color: var(--hb-colors-tinge);
padding: 1rlh;
Expand Down Expand Up @@ -791,9 +771,6 @@
.rentals__subsection-heading:not(.increaseSelectorSpecificity) { // hack to increase selector specificity
font-size: 1em;
}
.rentals__mapLink {
font-size: 0.8em;
}
.rentals__mapLink::before {
content: "";
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content/content-hlavni-stranka.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function hb_banner(): ?\stdCLass
zobrazit další
</a>

<a class="action action--link-secondary-sm" href="/dobrovolnicke-akce#co-zazijes-na-dobrovolnicke-akci">
<a class="action hb-d-ib hb-fs-xs hb-td-u" href="/dobrovolnicke-akce#co-zazijes-na-dobrovolnicke-akci">
více informací o akcích
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions template-parts/content/content-kontakty.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<div class="contacts__box hb-mi-auto hb-mbe-5 hb-br">
<iframe class="contacts__map hb-is-100 hb-bs-100" src="https://frame.mapy.cz/s/karunuveku" style="border:none" frameborder="0"></iframe>

<address class="contacts__boxInner hb-p-5 hb-bg-tinge">
<address class="contacts__boxInner hb-p-5 hb-fs-s hb-fst-n hb-bg-tinge">
<div class="contacts__boxItem contacts__boxItem--address hb-mbe-3">
<h3 class="screenreaders-only" id="contacts-address">
Kontaktní adresa
Expand Down Expand Up @@ -125,13 +125,13 @@
<a class="contacts__otherLink hb-fs-xs" href="mailto:[email protected]" rel="noopener">[email protected]</a>
</div>

<div class="contacts__invoicing hb-block-text">
<div class="hb-block-text hb-fs-xs">
IČ: 0040 8328<br>
Zápis je provedený v obchodním registru
pod sp. zn. L 346 vedený u Krajského soudu v Brně.
</div>

<div class="contacts__accounts hb-block-text">
<div class="hb-block-text hb-fs-xs">
ID datové schránky: h7id376<br>
transparentní účet: <a href="https://ib.fio.cz/ib/transparent?a=2100070590" rel="noopener noreferrer" target="_blank">2100070590/2010</a><br>
transparentní účet pro příjem darů – Adopce brontosaura: <a href="https://ib.fio.cz/ib/transparent?a=2600217667" rel="noopener noreferrer" target="_blank">2600217667/2010</a>
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content/content-kurzy-a-prednasky.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</div>

<?php if ($filters->isOrganizingSelected): ?>
<p class="eventsPage__info hb-mbns-3 hb-ta-c hb-mbe-5">
<p class="eventsPage__info hb-mbns-3 hb-fs-xs hb-ta-c hb-mbe-5">
👉 Na této stránce je přehled aktuálně vypsaných kurzů. Pro více informací či další kurzy
<a href="https://organizator.brontosaurus.cz" rel="noopener">klikni zde</a>.
</p>
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content/content-prilezitost.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<!--section 6-->
<section>
<h2>Komu se ozvat?</h2>
<address>
<address class="hb-fst-n">
<dl class="prilezitost__contact">
<dt>Kontaktní osoba:</dt>
<dd><?php echo $opportunity->getContactPerson()->getName(); ?></dd>
Expand Down
8 changes: 4 additions & 4 deletions template-parts/content/content-pronajmy.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Konferenční místnost Hnutí Brontosaurus
</h2>
<a class="rentals__mapLink hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3" href="https://mapy.cz/s/3tfmR" rel="noopener noreferrer" target="_blank">
<a class="rentals__mapLink [ hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3 ] hb-fs-xs" href="https://mapy.cz/s/3tfmR" rel="noopener noreferrer" target="_blank">
Hvězdová 306/10, 602 00 Brno
</a>
Expand Down Expand Up @@ -208,7 +208,7 @@
Ekologické volnočasové centrum Švýcárna
</h2>
<a class="rentals__mapLink hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3" href="https://mapy.cz/s/3tira" rel="noopener noreferrer" target="_blank">
<a class="rentals__mapLink [ hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3 ] hb-fs-xs" href="https://mapy.cz/s/3tira" rel="noopener noreferrer" target="_blank">
Josefovská 459, 679 04 Adamov
</a>
Expand Down Expand Up @@ -319,7 +319,7 @@
Horská chata Smrčník
</h2>
<a class="rentals__mapLink hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3" href="https://mapy.cz/s/3tiqH" rel="noopener noreferrer" target="_blank">
<a class="rentals__mapLink [ hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3 ] hb-fs-xs" href="https://mapy.cz/s/3tiqH" rel="noopener noreferrer" target="_blank">
Lipová-lázně 327, 790 61 Lipová-lázně
</a>
Expand Down Expand Up @@ -430,7 +430,7 @@
Chata Kristýna v Bílých Karpatech
</h2>
<a class="rentals__mapLink hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3" href="https://mapy.cz/s/3tirE" rel="noopener noreferrer" target="_blank">
<a class="rentals__mapLink [ hb-d-b hb-mw-mc hb-lg-mi-auto hb-mbe-3 ] hb-fs-xs" href="https://mapy.cz/s/3tirE" rel="noopener noreferrer" target="_blank">
696 74 Javorník nad Veličkou
</a>
Expand Down

0 comments on commit 7677647

Please sign in to comment.