mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 17:49:41 +00:00
Make sure we hide the banner when the user ask to
This commit is contained in:
parent
5fdc79de1e
commit
203a48ad98
@ -123,10 +123,13 @@
|
||||
right: 0;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 1.25rem 1.25rem 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.banner-padding {
|
||||
padding: 1.25rem 1.25rem 0;
|
||||
}
|
||||
|
||||
.eoy-sr-only {
|
||||
height: 1px;
|
||||
left: -10000px;
|
||||
@ -142,7 +145,7 @@
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
#trigger:checked ~ #banner-header, .banner__containter > #trigger:checked, #trigger:checked + label {
|
||||
#trigger:checked ~ #banner-padding, .banner__containter > #trigger:checked, #trigger:checked + label {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
7
assets/static/css/bootstrap.css
vendored
7
assets/static/css/bootstrap.css
vendored
@ -10320,10 +10320,13 @@ a.side-nav.active {
|
||||
right: 0;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 1.25rem 1.25rem 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.banner-padding {
|
||||
padding: 1.25rem 1.25rem 0;
|
||||
}
|
||||
|
||||
.eoy-sr-only {
|
||||
height: 1px;
|
||||
left: -10000px;
|
||||
@ -10339,7 +10342,7 @@ a.side-nav.active {
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
#trigger:checked ~ #banner-header, .banner__containter > #trigger:checked, #trigger:checked + label {
|
||||
#trigger:checked ~ #banner-padding, .banner__containter > #trigger:checked, #trigger:checked + label {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -3,6 +3,7 @@
|
||||
<input id="trigger" type="checkbox" title="{{ _('Close banner') }}" />
|
||||
<label for="trigger" class="footer__close text-white">X</label>
|
||||
<span class="eoy-sr-only text-white">{{ _('Close banner') }}</span>
|
||||
<div id="banner-padding" class="banner-padding">
|
||||
<div class="eoy-banner row col-md-12 pt-5" id="banner-header" role="contentinfo">
|
||||
<div class="col-1 px-0"></div>
|
||||
<div class="col-lg-5 col-md-5 col-11 px-0">
|
||||
@ -45,4 +46,5 @@
|
||||
</div>
|
||||
<div class="col-1 px-0"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user