-
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.
INTR-324 Add event listing page styling (#769)
- Loading branch information
Showing
18 changed files
with
324 additions
and
151 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
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,5 +1,5 @@ | ||
<div class="dwds-link-navigate"> | ||
{% include "dwds/components/link_action.html" with link_url=previous_url link_text=previous_text|default:'Previous'|title left=True %} | ||
{% if previous_url and next_url %}<span>|</span>{% endif %} | ||
{% if previous_url and next_url %}<span></span>{% endif %} | ||
{% include "dwds/components/link_action.html" with link_url=next_url link_text=next_text|default:'Next'|title right=True %} | ||
</div> |
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
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,38 @@ | ||
.dwds-radios { | ||
--radio-diameter: 40px; | ||
--radios-focus-width: 6px; | ||
|
||
label { | ||
display: flex; | ||
align-items: center; | ||
gap: var(--s-5); | ||
|
||
input[type="radio"] { | ||
margin: 0; | ||
height: var(--radio-diameter); | ||
width: var(--radio-diameter); | ||
} | ||
|
||
:before { | ||
content: ""; | ||
box-sizing: border-box; | ||
display: inline-block; | ||
width: 100%; | ||
height: 100%; | ||
border: 3px solid black; | ||
border-radius: 50%; | ||
} | ||
|
||
input[type="radio"]:focus { | ||
outline-color: var(--colour-focus); | ||
} | ||
} | ||
} | ||
|
||
.dwds-radios.content-switcher { | ||
gap: var(--s0); | ||
|
||
> div { | ||
max-width: fit-content; | ||
} | ||
} |
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,58 @@ | ||
select { | ||
font-weight: 400; | ||
font-size: 16px; | ||
font-size: 1rem; | ||
line-height: 1.25; | ||
box-sizing: border-box; | ||
min-width: 11.5em; | ||
max-width: 100%; | ||
height: 40px; | ||
height: 2.5rem; | ||
padding: 5px; | ||
border: 2px solid #0b0c0c; | ||
color: #0b0c0c; | ||
background-color: #fff; | ||
border-radius: var(--border-radius); | ||
} | ||
|
||
@media print { | ||
select { | ||
font-family: sans-serif | ||
} | ||
} | ||
|
||
@media(min-width: 40.0625em) { | ||
select { | ||
font-size: 19px; | ||
font-size: 1.1875rem; | ||
line-height: 1.25 | ||
} | ||
} | ||
|
||
@media print { | ||
select { | ||
font-size: 14pt; | ||
line-height: 1.25 | ||
} | ||
} | ||
|
||
select:focus { | ||
outline: 3px solid #fd0; | ||
outline-offset: 0; | ||
box-shadow: inset 0 0 0 2px | ||
} | ||
|
||
select option:active, | ||
select option:checked, | ||
select:focus::-ms-value { | ||
color: #fff; | ||
background-color: #1d70b8 | ||
} | ||
|
||
.select--error { | ||
border-color: #d4351c | ||
} | ||
|
||
.select--error:focus { | ||
border-color: #0b0c0c | ||
} |
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
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
Oops, something went wrong.