-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up wporg-google-map.pcss. * Break out the css that isn't related to the map to event-list.pcss. * Clean up contributors.pcss. * Clean up cover.pcss. * Clean up misc.pcss. * Clean up the rest.
- Loading branch information
Showing
8 changed files
with
185 additions
and
208 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
106 changes: 106 additions & 0 deletions
106
public_html/wp-content/themes/wporg-events-2023/postcss/blocks/event-list.pcss
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,106 @@ | ||
.wporg-marker-list__container { | ||
padding-left: 0; | ||
|
||
.wporg-marker-list-item { | ||
border: 1px solid var(--wp--preset--color--light-grey-1); | ||
border-bottom: none; | ||
padding: var(--wp--preset--spacing--20); | ||
list-style: none; | ||
font-size: var(--wp--preset--font-size--small); | ||
|
||
&:first-child { | ||
border-radius: 2px 2px 0 0; | ||
} | ||
|
||
&:last-child { | ||
border-radius: 0 0 2px 2px; | ||
border-bottom: 1px solid var(--wp--preset--color--light-grey-1); | ||
} | ||
|
||
@media (--large) { | ||
display: grid; | ||
align-items: start; | ||
gap: var(--wp--preset--spacing--20); | ||
grid-template-columns: 45% 1fr 2fr; | ||
} | ||
|
||
@media (--xlarge) { | ||
font-size: var(--wp--preset--font-size--normal); | ||
} | ||
|
||
@media (--wide) { | ||
grid-template-columns: 45% 1fr 1.5fr; | ||
} | ||
|
||
@media (--huge) { | ||
grid-template-columns: 55% 1fr 1fr; | ||
} | ||
|
||
@media (--xhuge) { | ||
grid-template-columns: 60% 1fr 1fr; | ||
} | ||
|
||
.wporg-marker-list-item__title { | ||
margin: 0; | ||
font-family: var(--wp--preset--font-family--inter); | ||
font-size: var(--wp--preset--font-size--small); | ||
line-height: var(--wp--custom--body--typography--line-height); | ||
--wp--preset--spacing--30: 0; | ||
|
||
&.a { | ||
text-decoration: none; | ||
} | ||
|
||
@media (--xlarge) { | ||
font-size: var(--wp--preset--font-size--normal); | ||
} | ||
} | ||
|
||
.wporg-marker-list-item__location { | ||
|
||
@media (--medium-small) { | ||
margin-top: 2px; | ||
margin-bottom: -2px; | ||
} | ||
|
||
@media (--small) { | ||
display: inline; | ||
} | ||
} | ||
|
||
.wporg-marker-list-item__date-time { | ||
|
||
@media (--small) { | ||
display: inline-flex; | ||
justify-content: flex-end; | ||
white-space: nowrap; | ||
align-items: center; | ||
} | ||
|
||
@media (--wide) { | ||
display: flex; | ||
} | ||
} | ||
|
||
.wporg-marker-list-item__location::after, | ||
.wporg-google-map__date::after { | ||
content: ""; | ||
margin-top: -1px; /* vertical-middle doesn't subtract the size of the element */ | ||
margin-left: 10px; | ||
margin-right: 10px; | ||
height: 3px; | ||
width: 3px; | ||
border-radius: 3px; | ||
background: var(--wp--preset--color--charcoal-5); | ||
display: inline-block; | ||
vertical-align: middle; | ||
} | ||
|
||
.wporg-marker-list-item__location::after { | ||
|
||
@media (--small-only), (--large) { | ||
display: none; | ||
} | ||
} | ||
} | ||
} |
141 changes: 0 additions & 141 deletions
141
public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-google-map.pcss
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
15 changes: 8 additions & 7 deletions
15
public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-query-filter.pcss
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,13 +1,14 @@ | ||
|
||
/* Until we move to multi-select we should show the count so users know there is a filter applied. */ | ||
.wporg-query-filter__toggle.has-no-filter-applied span, | ||
.wporg-query-filter__toggle.has-no-filter-applied span, | ||
.wporg-query-filter__toggle.is-single-select span { | ||
display: inline-block; | ||
display: inline-block; | ||
} | ||
|
||
@media(max-width: 889px) { | ||
.wporg-query-filters { | ||
max-width:100%; | ||
overflow-x: scroll | ||
} | ||
.wporg-query-filters { | ||
|
||
@media (max-width: 889px) { | ||
max-width: 100%; | ||
overflow-x: scroll; | ||
} | ||
} |
27 changes: 15 additions & 12 deletions
27
public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/contributors.pcss
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.