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

Move socials to left footer column #211

Merged
merged 7 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public function addSubscriptionForm(&$form, FormStateInterface $form_state, $nod
'#attributes' => ['class' => ['nys-bill-subscribe']],
'#id' => 'edit-nys-bill-subscribe-container-' . $node_id,
'nys_bill_subscribe_title' => [
'#markup' => '<div class="nys-bill-subscribe-beta"><a href="/citizen-guide/bill-alerts" style="color: #ffffff; font-weight: bold">BETA ⓘ</a></div><div class="nys-bill-subscribe-title">' . 'Get Status Alerts for ' . $ref_node->label() . '</div>',
'#markup' => '<div class="nys-bill-subscribe-title">' . 'Get Status Alerts for ' . $ref_node->label() . '</div>',
],
];
if (!$this->currentUser->isAuthenticated()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ footer {
padding-bottom: 10px;
border-bottom: 2px solid #e1e1e3;
margin: 10px 0 20px;
height: 70px;
height: 170px;

#block-sitebranding {
margin-top: 24px;
}

@include breakpoint($bp-sm) {
width: 31%;
Expand All @@ -134,6 +138,9 @@ footer {
border-bottom: 0;
margin: 0;
height: inherit;
#block-sitebranding {
margin-top: 0;
}
}

@include breakpoint($bp-md) {
Expand All @@ -142,7 +149,7 @@ footer {
}

a {
float: left;
//float: left;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

text-transform: uppercase;
color: $gen_blue_drk;
text-decoration: none;
Expand Down Expand Up @@ -204,7 +211,7 @@ footer {
width: 42px;
height: 42px;
float: left;
margin-top: -15px;
margin-top: -5px;
background: none;

@include breakpoint($bp-sm) {
Expand Down Expand Up @@ -315,11 +322,16 @@ footer {
.c-senator-footer-col__social {
width: 100%;
padding-top: 20px;
border-top: 2px solid #e1e1e3;
margin-top: 30px;

@include breakpoint($bp-sm) {
padding-top: 27px;
padding-top: 34px;
float: none;
width: 100%;
text-align: center;
margin-top: 0;
border-top: none;
}

@include breakpoint($bp-md) {
Expand All @@ -329,7 +341,7 @@ footer {
p {
@include font-stack-secondary;
//display: none;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented code

margin: 0 0 20px;
margin: 0;
color: $grey10;
font-size: 12px;
line-height: 14.62px;
Expand All @@ -345,14 +357,14 @@ footer {
list-style: none;
display: flex;
padding: 0;
justify-content: flex-start;
flex-direction: row;
gap: 15px;
margin: 0;

@include breakpoint($bp-sm) {
flex-direction: row;
justify-content: flex-start;
align-items: stretch;
justify-content: center;
}
}

Expand Down
Loading