diff --git a/app/styles/app.scss b/app/styles/app.scss index 2bcb74378..595a62816 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -242,6 +242,13 @@ $logo-dir: 'img/provider_logos/'; background-image: url($logo-dir + 'scielo-dark-small.png'); } +.provider-lawarxiv { + background-image: url($logo-dir + 'lawarxiv-white.png'); +} +.provider-lawarxiv-dark { + background-image: url($logo-dir + 'lawarxiv-dark.png'); +} + .preprint-advisory { background-color: #f3f5f7; border-bottom: 1px solid #e0e6ea; diff --git a/app/styles/brands/_brand.scss b/app/styles/brands/_brand.scss index d07284b90..19238461e 100644 --- a/app/styles/brands/_brand.scss +++ b/app/styles/brands/_brand.scss @@ -53,6 +53,9 @@ $logo-dir: '../img/provider_logos/'; color: $theme-color-2; } + .navbar-toggle .icon-bar { + background-color: $theme-color-2; + } a { color: $theme-color-2; } diff --git a/app/styles/brands/lawarxiv.scss b/app/styles/brands/lawarxiv.scss new file mode 100644 index 000000000..4e06927fe --- /dev/null +++ b/app/styles/brands/lawarxiv.scss @@ -0,0 +1,14 @@ +@import 'brand'; + +@include brand( + #ceccca, // Color, theme color #1 (header backgrounds, hover backgrounds) + black, // Color, theme color #2 (text color mostly, usually white or black) + #e1994e, // Color, theme color #3 (navbar color, preferably a dark color) + black, // Color, theme color #4 (used in link colors) + #b85922, // Color, theme color #5 (text color that contrasts with #2, usually black or white) + $logo-dir + 'lawarxiv-logo.png', // String, path to the rectangular provider logo + $logo-dir + 'lawarxiv-dark.png', // String, path to the square provider logo + false, // Boolean, whether to use the white share logo or not + true, // Boolean, whether to use theme color 4 or theme color 2 for the navbar link color + true // Boolean, whether to use the contracts link color (theme color 4) +); diff --git a/app/templates/components/preprint-navbar-branded.hbs b/app/templates/components/preprint-navbar-branded.hbs index ca1c3f222..be1b9f532 100644 --- a/app/templates/components/preprint-navbar-branded.hbs +++ b/app/templates/components/preprint-navbar-branded.hbs @@ -1,5 +1,10 @@