From 7d325858804b6577a42bf1f8a535cd5b96ff8c06 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Tue, 10 Sep 2019 15:51:28 +0200 Subject: [PATCH] adding bg-primary bg-secondary, and removing PlayfairDisplayReg --- .../css/basetheme_bootstrap4_pasteur.css | 27 +++++++++++++++++-- setup.py | 2 +- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css index a397f5b..cfec9ac 100644 --- a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css +++ b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css @@ -569,8 +569,8 @@ color: #0275e3; .card-header, .card-footer{ - font-family: "PlayfairDisplayReg"; background-color:#F0F3F4; + border-radius:0; } .content-page-title { @@ -727,8 +727,31 @@ h3.boxed, h4.boxed, h5.boxed, h6.boxed{ - font-family: "PlayfairDisplayReg"; background-color: #F0F3F4; padding: .75rem 1.25rem; border: 1px solid rgba(0,0,0,.125); +} +.bg-primary { + color: #fff; + background-color: #2d96fa!important; + border-color: #2d96fa!important; +} +.bg-secondary { + color: #fff; + background-color: #989287!important; + border-color: #989287!important; +} +a.bg-primary:hover, +a.bg-primary:active, +a.bg-primary:focus { + color: #fff; + background-color: #0275e3!important; + border-color: #0275e3!important; +} +a.bg-secondary:hover, +a.bg-secondary:active, +a.bg-secondary:focus { + color: #fff; + background-color: #81796a!important; + border-color: #81796a!important; } \ No newline at end of file diff --git a/setup.py b/setup.py index 878a97a..829037d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.18', + version='0.2.19', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte', -- GitLab