Skip to content

Commit

Permalink
Lint field.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Oct 8, 2024
1 parent e7d268d commit ba75e27
Showing 1 changed file with 27 additions and 33 deletions.
60 changes: 27 additions & 33 deletions scss/modules/field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,17 @@
margin-right: 4px;
}

.field--name-field-internal-contact {
> .field__label {
color: $soft-blue-02;
}
.tour_de_clarin_fields .field--label-inline a::before {
content: "\f84a";
font-family: 'Font Awesome\ 6 Free', sans-serif;;
font-size: 14px;
font-weight: 900;
margin-right: 4px;
}

a {
.field--name-field-centre-registration-page,
.resource_families_fields, .tour_de_clarin_fields, .field--name-field-internal-contact {
a {
text-decoration: underline;

&:hover {
Expand All @@ -97,23 +102,16 @@
}
}

.field--name-field-centre-registration-page a {
text-decoration: underline;

&:hover {
color: $soft-blue-01;
.field--name-field-internal-contact {
> .field__label {
color: $soft-blue-02;
}
}

.tour_de_clarin_fields {
.field--label-inline a {
margin-left: 3px;
margin-right: 10px;
text-decoration: underline;

&:hover {
color: $soft-blue-01;
}
}

img {
Expand All @@ -127,11 +125,6 @@
.field__items .field__item > a {
margin-left: 3px;
margin-right: 10px;
text-decoration: underline;

&:hover {
color: $soft-blue-01;
}
}

img {
Expand Down Expand Up @@ -198,7 +191,20 @@
}
}

.node--type-clarin-centre {

.node--type-event {
.field.field--name-field-address.field--type-address {
background: $subtle-grey-01;
margin: 1rem 0 0;
padding: .5rem;

.field__label {
font-weight: bold;
}
}
}

.content article.node--type-clarin-centre .node--type-clarin-centre {
.field--name-field-location-coordinates .field__label {
display: block;
line-height: 0; /* Collapse the original line */
Expand All @@ -220,18 +226,6 @@
}
}

.node--type-event {
.field.field--name-field-address.field--type-address {
background: $subtle-grey-01;
margin: 1rem 0 0;
padding: .5rem;

.field__label {
font-weight: bold;
}
}
}

@media (min-width: #{$screen-sm-min}) {
.node--type-clarin-centre {
.field--name-field-administrative-contact, .field--name-field-technical-contact,
Expand Down

0 comments on commit ba75e27

Please sign in to comment.