Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: fixed SCSS deprecation warnings throughout all styling files. #3413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 26 additions & 21 deletions _sass/_community.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.community-members--member-cards {
display: grid;
margin-bottom: 0;
@media screen and (min-width: $two-column-min-width) {
grid-template-columns: 1fr 1fr;
row-gap: 60px;
Expand All @@ -8,7 +9,7 @@
grid-template-columns: 1fr;
row-gap: 30px;
}
margin-bottom: 0;


@media screen and (max-width: $speaker-card-squish-for-height-breakpoint) {
column-gap: 20px;
Expand All @@ -20,27 +21,27 @@
> .community-members--member-cards--card {
cursor: pointer;
background-color: white;
max-width: 600px;
min-width: 400px;
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
@include card-shadow;
&.community-members--member-cards--card__left-edge {
@include thick-edge-left;
border-bottom: unset;
@include thick-edge-left;
}
&.community-members--member-cards--card__bottom-edge {
@include thick-edge-bottom;
border-left: unset;
@include thick-edge-bottom;
}
@include card-shadow;
max-width: 600px;
min-width: 400px;
@media screen and (max-width: $single-column-max-width) {
max-width: 100%;
}
@media screen and (max-width: $shrink-card-images-breakpoint) {
min-width: auto;
}
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
@media screen and (max-width: $shrink-card-images-breakpoint) {
flex-direction: column;
}
Expand Down Expand Up @@ -69,6 +70,11 @@
> .community-members--member-cards--card--content {
padding-left: 15px;
padding-top: 20px;
box-sizing: border-box;
flex-basis: auto;
flex-shrink: 1;
flex-grow: 1;
height: 200px;
@media screen and (max-width: 1400px) {
padding-top: 0;
}
Expand All @@ -79,17 +85,13 @@
padding-right: 20px;
}
&.community-members--member-cards--card--content__bottom-edge {
@include thick-edge-bottom;
border-left: unset;
@include thick-edge-bottom;
}
box-sizing: border-box;
@media screen and (max-width: 380px) {
padding-left: 5px;
}
flex-basis: auto;
flex-shrink: 1;
flex-grow: 1;
height: 200px;

> .community-member--member-cards--card--content--persona-label {
margin-top: 15px;
color: $primary-open-sky-s3;
Expand All @@ -102,6 +104,8 @@
text-transform: uppercase;
}
> h3 {
margin-top: 0;
margin-bottom: 0;
> a {
@include header-level3($primary-open-sky-s2);
}
Expand All @@ -113,14 +117,14 @@
margin-top: 10px;
margin-bottom: 10px;
}
margin-top: 0;
margin-bottom: 0;

}
> .community-members--member-cards--card--content--job-title {
margin-top: 0;
color: $secondary-sanfrancisco-fog-s5;
@include body-small;
padding-right: 10px;
@include body-small;

}
}
> .community-members--member-cards--card--content__fullwidth {
Expand Down Expand Up @@ -176,9 +180,9 @@
.full-width-layout--content {
> .full-width-layout--content--body {
> .community-member--listing {
@include page-element-left-right-margins;
padding: 0;
margin-bottom: 80px;
@include page-element-left-right-margins;
> h2 {
@include header-level2($primary-open-sky-s3);
}
Expand Down Expand Up @@ -294,8 +298,9 @@
&.two-column-layout {
@include thick-edge-top;
> .two-column-layout--sidebar {
@include page-element-padding;
background-color: #fff;
@include page-element-padding;

> .community-member--photo {
width: 100%;
height: auto;
Expand Down
1 change: 0 additions & 1 deletion _sass/_community_projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
@include sans-serif;

&:hover, &:active, &:focus {
background-color: lighten($color: $core, $amount: 10%);
transition: all .125s ease-in;
}
}
Expand Down
26 changes: 17 additions & 9 deletions _sass/_events-calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ $calendar-month-default-week-count: 5;
width: 350px;
height: 350px;
padding: 45px 30px 10px 30px;
@include thick-edge-bottom;
@include card-shadow;
background-color: #fff;
display: flex;
flex-direction: column;
@include thick-edge-bottom;
@include card-shadow;

&.events--calendar--details--card__events-page {
justify-content: start;
}
Expand Down Expand Up @@ -91,13 +92,14 @@ $calendar-month-default-week-count: 5;
> h2[id],
> h1[id],
.events--calendar--body--week--day--event--details--description {
@include trim-ellipsis-multiline;
color: #000;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px;
margin: 10px 0;
@include trim-ellipsis-multiline;

& * {
font-weight: normal;
font-style: normal;
Expand Down Expand Up @@ -135,13 +137,15 @@ $calendar-month-default-week-count: 5;
.full-width-layout--content
> .full-width-layout--content--body
> div.events--calendar--wrapper {
@include page-element-left-right-margins;
padding: 0;
@include page-element-left-right-margins;

p.events--calendar--no-events-message {
@include body-text;
text-align: left;
white-space: nowrap;
overflow-x: visible;
@include body-text;

&.events--calendar--no-events-message__centered {
text-align: center;
}
Expand Down Expand Up @@ -518,7 +522,6 @@ $calendar-month-default-week-count: 5;
box-sizing: border-box;
padding-left: 5px;
> a {
@include trim-ellipsis-multiline(2);
overflow: hidden;
color: #000;
text-overflow: ellipsis;
Expand All @@ -528,6 +531,8 @@ $calendar-month-default-week-count: 5;
font-weight: 400;
line-height: 16px;
text-decoration: none;
@include trim-ellipsis-multiline(2);

&:hover,
&:active {
font-weight: 600;
Expand All @@ -549,9 +554,10 @@ $calendar-month-default-week-count: 5;
left: 100%;
right: auto;
bottom: auto;
@extend .events--calendar--details--card;
padding-top: 0px;
height: 400px;
@extend .events--calendar--details--card;

> .events--calendar--body--week--day--event--details--close-button {
box-sizing: border-box;
width: 100%;
Expand Down Expand Up @@ -638,8 +644,9 @@ $calendar-month-default-week-count: 5;
}
}
> .events--calendar--more {
@extend .conference-speakers--session-speakers--more;
margin-top: 80px;
@extend .conference-speakers--session-speakers--more;

}
}

Expand Down Expand Up @@ -675,8 +682,9 @@ $calendar-month-default-week-count: 5;
padding-bottom: 15px;
}
> .solutions-card-grid--card-wrapper--card--content {
@include body-small;
color: $secondary-sanfrancisco-fog-s3;
@include body-small;

> a {
color: $primary-pacific-blue;
font-size: 18px;
Expand Down
40 changes: 24 additions & 16 deletions _sass/_fullwidth-with-breadcrumbs.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.full-width-layout--header {
@include page-element-padding;
background-color: white;
@include page-element-padding;

> .full-width-layout--header--category-area {
display: flex;
flex-direction: row;
Expand All @@ -25,19 +26,21 @@
> .full-width-layout--header--breadcrumbs--item,
> .full-width-layout--header--breadcrumbs--item-separator {
min-width: fit-content;
@include header-level4($secondary-sanfrancisco-fog-s4);
margin-left: 1em;
@include header-level4($secondary-sanfrancisco-fog-s4);

@media screen and (max-width: 411px) {
letter-spacing: 2px;
}
> a {
text-decoration: none;
@include header-level4($secondary-sanfrancisco-fog-s4);
&:hover {
text-decoration: underline;
text-decoration-color: $primary-pacific-blue;
text-decoration-thickness: 2px;
}
text-decoration: none;

@media screen and (max-width: 429px) {
letter-spacing: 2px;
}
Expand All @@ -54,11 +57,12 @@
}
}
> .full-width-layout--header--icon + .full-width-layout--header--breadcrumbs--item {
display: block;
@media screen and (max-width: 834px) {
&::before {
content: "\003C"
}
display: block;

}
}
}
Expand All @@ -81,35 +85,36 @@
> .full-width-layout--content--body {
@extend .platform-page--content;
> h5:nth-of-type(1) {
@include header-level5(#000);
@include page-element-left-right-padding;
padding-bottom: 0;
padding-top: 0;
margin-bottom: 0;
@include header-level5(#000);
@include page-element-left-right-padding;
}
> h5:nth-of-type(1) + ul:nth-of-type(1),
.in-page-links-list {
@include page-element-left-right-margins;
list-style-type: none;
padding-left: 0;
margin-top: 10px;
margin-bottom: 30px;
@include page-element-left-right-margins;
@include clearfix;
> li {
float: left;
margin-right: 30px;
> a {
@include body-small;
text-underline-offset: 1px;
@include body-small;
}
}
@include clearfix;

& + p {
padding-top: 0;
}
}
> ul {
@include page-element-left-right-margins;
padding-left: 0; // Override global ul rule.
@include page-element-left-right-margins;
&.site-content--blog-list {
list-style-type: none;
> li {
Expand All @@ -134,8 +139,9 @@
}
}
> p {
@include page-paragraph-padding;
margin: 0;
@include page-paragraph-padding;

&:first-of-type {
padding-top: 2em;
}
Expand All @@ -149,9 +155,10 @@
}
> h2,
> ol > li > h2 {
margin: 0;
@include header-level2($primary-open-sky-s3);
@include page-paragraph-padding;
margin: 0;

}
> h2:first-of-type {
margin-top: 1em;
Expand All @@ -161,9 +168,10 @@
}
> h3,
> ol > li h3 {
margin: 0;
@include header-level3($primary-open-sky-s2);
@include page-paragraph-padding;
margin: 0;

}
> ol > li p {
@include page-paragraph-padding;
Expand Down Expand Up @@ -280,17 +288,17 @@
> .principles-for-development {
@include page-element-padding;
> div {
background-color: white;
@include thick-edge-bottom;
@include card-shadow;
background-color: white;
@include inner-element-padding;
> h2 {
margin-top: 2em;
margin-bottom: 0;
@include header-level2($primary-open-sky-s2);
&:first-of-type {
margin-top: 0;
}
margin-top: 2em;
margin-bottom: 0;
}
> p {
margin-top: 0;
Expand Down
Loading