diff --git a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css index 9a5ef1f745b13c4da0efefbd1cf10a40ad1e3258..99c66a52bc8111869533d3f2d820f55da051fa89 100644 --- a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css +++ b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css @@ -522,45 +522,10 @@ main a { /*background: #e3e9eb;/**/ border-bottom: 1px solid #2d96fa; } - -:not(label)>input[type="radio"] { - display:none; -} -input[type="radio"] + label:before, -input[type="radio"] + label span:before -{ -font-family: "FontAwesome"; -content: "\f1db"; -color: #989287; -margin-left: -1.25rem; -} -input[type="radio"]:checked + label:before, -input[type="radio"]:checked + label span:before -{ -content: "\f05d"; -color: #0275e3; -} - -:not(label)>input[type="checkbox"] { - display:none; -} -input[type="checkbox"] + label:before, -input[type="checkbox"] + label span:before -{ -font-family: "FontAwesome"; -content: "\f096"; -color: #989287; -margin-left: -1.25rem; -position: absolute; -} -input[type="checkbox"]:checked + label:before, -input[type="checkbox"]:checked + label span:before -{ -content: "\f046"; -color: #0275e3; -} -.form-check>.form-check-label+.form-text{ - margin-left: -1.25rem; +.custom-control-input:checked~.custom-control-label::before { + color: #fff; + border-color: #2d96fa; + background-color: #2d96fa; } .card { diff --git a/setup.py b/setup.py index a332f71638806c0ab4a0083baad80938007f570d..a5a27fd7332f61df1ccc57759726b364d178f1b4 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.22', + version='0.2.23', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte',