From ecf54895a3eb0a1093bc896bcc5ba0a6953a9f49 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Fri, 6 Sep 2019 17:19:17 +0200 Subject: [PATCH] adding boxed h1,h2,... search bar text always white when not focused --- .../static/css/basetheme_bootstrap4_pasteur.css | 12 ++++++++++++ setup.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css index b361530..550bfa5 100644 --- a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css +++ b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css @@ -98,6 +98,7 @@ header nav.header__top nav-item.active{ background: #FFFFFF30; } +header .header__top .form-inline input:not(:focus):not(:hover), header .header__top .form-inline input:not(:focus):not(:hover)::placeholder { color: white; opacity: 1; /* Firefox */ @@ -707,4 +708,15 @@ color: #0275e3; } .fork_me{ display:none; +} +h1.boxed, +h2.boxed, +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); } \ No newline at end of file diff --git a/setup.py b/setup.py index 5347f63..487f7f3 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.15', + version='0.2.16', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte', -- GitLab