Extract component for remote translations button
So we're consistent with the rest of the code in the header, which renders components and not partials.
This commit is contained in:
@@ -514,26 +514,6 @@ body > header,
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
|
||||
.remote-translations-button {
|
||||
|
||||
&.callout {
|
||||
margin: 0;
|
||||
padding: rem-calc(6);
|
||||
|
||||
[type="submit"] {
|
||||
@include brand-color;
|
||||
background: none;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.external-links {
|
||||
padding: rem-calc(6) 0;
|
||||
text-align: center;
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
.remote-translations-button {
|
||||
|
||||
&.callout {
|
||||
margin: 0;
|
||||
padding: rem-calc(6);
|
||||
|
||||
[type="submit"] {
|
||||
@include brand-color;
|
||||
background: none;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user