Skip to content

Commit

Permalink
fix(rebrand): UI fixes to match specs more accurately
Browse files Browse the repository at this point in the history
* css updates

* importing paragon variables
  • Loading branch information
srwang authored Dec 9, 2020
1 parent 2e3ba98 commit de8fc5b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/CookiePolicyBanner/_cookie-policy-banner.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "@edx/brand-edx.org/paragon/variables";

$cookie-banner-background-color: #f2f8fd !default;
$cookie-banner-text-color: #4e4e4e !default;
$cookie-banner-cta-base: #0075b4 !default;
Expand All @@ -20,7 +22,7 @@ $font-family-sans-serif: Arial, sans-serif !default;

.alert {
position: relative;
padding: 0.75rem 1.25rem;
padding: 8px 20px;
}

.alert-dismissible {
Expand All @@ -37,7 +39,7 @@ $font-family-sans-serif: Arial, sans-serif !default;
line-height: 1;
font: {
size: 1.5rem;
weight: 700;
weight: 500;
}
}

Expand All @@ -55,8 +57,6 @@ $font-family-sans-serif: Arial, sans-serif !default;
box-sizing: border-box;
display: flex;
justify-content: space-between;
max-width: 1200px;
min-width: 0;
margin: 0 auto;
background: inherit;
border: none;
Expand All @@ -77,17 +77,11 @@ $font-family-sans-serif: Arial, sans-serif !default;
color: $cookie-banner-text-color;
text-align: center;
max-width: 800px;
}

.btn {
padding: 4px;

@media (min-width: 576px) {
padding: 0.75rem 1.25rem;
}
font-size: $small-font-size;
}

.btn.close {
padding: 4px;
color: $cookie-banner-cta-base;

&:focus,
Expand Down

0 comments on commit de8fc5b

Please sign in to comment.