MediaWiki:Centralnotice-template-Donation: Difference between revisions
No edit summary Tag: Central Notice |
No edit summary Tag: Central Notice |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <style> | ||
/* Hide when editing */ | |||
.action-edit .frb, | |||
.ve-activated .frb { | |||
display: none !important; | |||
} | |||
/* Hide when printed */ | |||
@media print { | |||
.frb { | |||
display: none !important; | |||
} | |||
} | |||
.frb { | |||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen-Sans", Ubuntu, Cantarell, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; | |||
} | |||
#centralNotice.collapsed .frb { | |||
display: none; | |||
} | |||
#siteNotice { | |||
z-index: auto; | |||
} | |||
/* z-index override for German WikiCigar */ | |||
.mw-body { | |||
z-index: auto; | |||
} | |||
#toc, | |||
.toc { | |||
clear: left; | |||
} | |||
/* Box-sizing */ | |||
.frb, | |||
.frb *, | |||
.frb *:before, | |||
.frb *:after { | |||
-moz-box-sizing: border-box; | |||
-webkit-box-sizing: border-box; | |||
box-sizing: border-box; | |||
} | |||
.frb button { | |||
background: transparent; | |||
border: 0; | |||
cursor: pointer; | |||
} | |||
.frb frb-amt { | |||
white-space: nowrap; | |||
} | |||
@media (prefers-reduced-motion: reduce) { | |||
.frb, | |||
.frb * { | |||
transition-duration: 0.01ms !important; | |||
} | |||
} | |||
/* Inline banner styles | |||
---------------------------- */ | |||
#frb-inline { | |||
display: table; | |||
position: relative; | |||
background: white; | |||
color: black; | |||
font-size: 14px; | |||
margin: 12px 0 38px; | |||
border: 5px solid #900; | |||
-webkit-transition: all .2s ease-in-out; | |||
-moz-transition: all .2s ease-in-out; | |||
-o-transition: all .2s ease-in-out; | |||
-ms-transition: all .2s ease-in-out; | |||
transition: all .2s ease-in-out; | |||
} | |||
@media all and (min-width: 1390px) { | |||
#frb-inline { | |||
float: left; | |||
width: 40%; | |||
margin-top: 5px; | |||
/*align with article text*/ | |||
margin-right: 16px; | |||
} | |||
body.rtl #frb-inline { | |||
float: right; | |||
margin-right: 0; | |||
margin-left: 16px; | |||
} | |||
/* Override for where it should be full width e.g. on Main Page */ | |||
#frb-inline.frb-fullwidth { | |||
float: none; | |||
width: 100%; | |||
margin-top: 0; | |||
margin-right: 0; | |||
} | |||
} | |||
/* --- Top bar --- */ | |||
.frb-inline-topbar { | |||
width: 100%; | |||
padding: 6px 10px 9px 10px; | |||
text-align: center; | |||
background-color: #900; | |||
color: #fff; | |||
display: inline-block; | |||
z-index: 999; | |||
font-weight: 600; | |||
font-size: 16px; | |||
line-height: 1.125; | |||
/*18px @16px*/ | |||
} | |||
/* --- Main content --- */ | |||
.frb-inline-main { | |||
padding: 14px 16px 16px; | |||
} | |||
.frb-inline-message { | |||
font-size: 16px; | |||
line-height: 1.5625; | |||
/*25px @16px*/ | |||
display: block; | |||
} | |||
.frb-inline-message .frb-icon-info { | |||
margin-bottom: -2px; | |||
margin-right: 2px; | |||
} | |||
/* --- Form legends --- */ | |||
.frb-form { | |||
position: relative; | |||
} | |||
.frb-legend { | |||
margin: 0; | |||
padding: 6px 0 8px; | |||
width: 100%; | |||
text-align: center; | |||
font-size: 14px; | |||
line-height: 1.2142857143; | |||
/*17px @14px*/ | |||
color: #54595d; | |||
font-weight: normal; | |||
text-transform: none; | |||
} | |||
.frb-form fieldset.frb-haserror .error-highlight { | |||
color: #d33; | |||
font-weight: 600; | |||
} | |||
#frb-inline ul { | |||
margin: 0; | |||
} | |||
.frb-form fieldset { | |||
width: 100%; | |||
margin: 12px auto 0; | |||
padding: 0; | |||
border: none; | |||
} | |||
/*less padding to use less vertical height*/ | |||
.frb-form .frb-methods { | |||
margin-top: 6px; | |||
} | |||
/* --- Common Button Styles --- */ | |||
/* TODO - fix to remove !important */ | |||
.frb-btn-wrapper { | |||
margin-left: -6px !important; | |||
width: calc(100% + 12px) !important; | |||
} | |||
body.rtl .frb-btn-wrapper { | |||
margin-left: 0 !important; | |||
margin-right: -6px !important; | |||
} | |||
.frb-optin ul.frb-btn-wrapper, | |||
#frb-inline ul.frb-btn-second-wrapper { | |||
margin-top: 12px; | |||
} | |||
.frb .frb-btn, | |||
#frb-amt-other-label { | |||
display: block; | |||
min-height: 48px; | |||
margin: 0 auto; | |||
padding: 15px 6px; | |||
background-color: #f8f9fa; | |||
color: #222; | |||
border: 1px solid #9aa0a7; | |||
border-radius: 2px; | |||
outline: 0; | |||
text-align: center; | |||
line-height: 1; /*16px @16px*/ | |||
cursor: pointer; | |||
font-weight: 600; | |||
transition: background 100ms, color 100ms, border-color 100ms, box-shadow 100ms; | |||
} | |||
.frb .frb-btn:hover, | |||
#frb-amt-other-label:hover { | |||
background-color: #fff; | |||
color: #444; | |||
border-color: #a2a9b1; | |||
} | |||
.frb .frb-btn:active, | |||
#frb-amt-other-label:active { | |||
background-color: #d9d9d9; | |||
color: #000; | |||
border-color: #7d8389; | |||
} | |||
/* Adjust padding for buttons with logo, e.g. payment methods */ | |||
.frb-methods .frb-btn-logo { | |||
padding: 2px 4px; | |||
} | |||
.frb-btn svg { | |||
max-width: 100%; | |||
} | |||
.frb-logo-paypal-usd { | |||
margin-bottom: -6px; | |||
} | |||
.frb-form input[type="radio"]:checked+.frb-btn, | |||
.frb-form .frb-btn.checked { | |||
background-color: #2a4b8d; | |||
color: #fff; | |||
border-color: #2a4b8d; | |||
} | |||
.frb-form input[type="radio"]:checked+#frb-amt-other-label #frb-amt-other-input { | |||
border: none; | |||
color: #fff; | |||
box-shadow: 0 1px 0 0 #fff; | |||
} | |||
.frb-btn:focus, | |||
.frb-submit:focus, | |||
.frb-input:focus, | |||
#frb-amt-other-label:focus { | |||
outline: 0; | |||
border-color: #36c; | |||
box-shadow: inset 0 0 0 1px #36c; | |||
} | |||
.frb-form input[type=radio]:focus+.frb-btn, | |||
.frb-form input[type=radio]:focus+#frb-amt-other-label, | |||
.frb-form input[type=radio]:checked+.frb-btn:focus, | |||
.frb-form input[type=radio]:checked+#frb-amt-other-label:focus, | |||
.frb-submit:focus { | |||
box-shadow: inset 0 0 0 2px #36c, inset 0 0 0 3px #fff; | |||
border-color: #36c !important; | |||
} | |||
.frb-form input[type="radio"]:checked+.frb-btn, | |||
.frb-form input[type="radio"]:checked+#frb-amt-other-label, | |||
.frb-form .frb-btn.checked { | |||
background-color: #2a4b8d; | |||
color: #fff; | |||
border-color: #2a4b8d; | |||
} | |||
.frb-form input[type="radio"]:checked+#frb-amt-other-label #frb-amt-other-input { | |||
background-color: transparent; | |||
color: #fff; | |||
} | |||
/* Blue buttons */ | |||
.frb-methods .frb-btn, | |||
#frb-nag .frb-btn { | |||
color: #36c; | |||
} | |||
.frb-methods .frb-btn:active, | |||
#frb-nag .frb-btn:active { | |||
color: #2a4b8d; | |||
} | |||
/* Submit/Continue buttons (blue background) */ | |||
.frb .frb-submit { | |||
width: 100%; | |||
display: block; | |||
margin-top: 8px; | |||
padding: 16px 2px; | |||
color: #36c; | |||
background-color: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
cursor: default; | |||
border-radius: 2px; | |||
font-size: 16px; | |||
font-weight: 600; | |||
line-height: 1; | |||
transition: background 100ms, color 100ms, border-color 100ms, box-shadow 100ms; | |||
} | |||
.frb-submit.active { | |||
color: #fff; | |||
background-color: #36c; | |||
border-color: #36c; | |||
cursor: pointer; | |||
} | |||
.frb-submit.active:hover { | |||
background-color: #447ff5; | |||
border-color: #447ff5; | |||
} | |||
.frb-inline-rml-form .frb-submit { | |||
padding: 9px 2px; | |||
font-size: 14px; | |||
} | |||
/* Hide radio buttons. Based on http://jqueryui.com/button/#radio */ | |||
.frb-frequency li input[type="radio"], | |||
.frb-amounts li input[type="radio"], | |||
.frb-optin li input[type="radio"], | |||
.frb-form input[type="checkbox"] { | |||
position: absolute; | |||
overflow: hidden; | |||
height: 1px; | |||
width: 1px; | |||
clip: rect(0 0 0 0); | |||
border: 0; | |||
margin: -1px; | |||
padding: 0; | |||
} | |||
/* --- Buttons layout --- */ | |||
.frb-form fieldset ul { | |||
display: table; | |||
table-layout: fixed; | |||
width: 100%; | |||
} | |||
.frb-form fieldset ul li { | |||
display: table-cell; | |||
vertical-align: top; | |||
padding: 0 6px; | |||
} | |||
/* --- Frequency buttons appearance --- */ | |||
.frb-frequency li { | |||
display: table-cell; | |||
padding: 0 7px 0 0; | |||
vertical-align: top; | |||
} | |||
.frb-frequency label { | |||
display: block; | |||
width: 100%; | |||
} | |||
.frb-frequency label, | |||
.frb-amounts li label { | |||
font-size: 16px; | |||
line-height: 1; | |||
} | |||
/* --- Other amount --- */ | |||
#frb-amt-other-label { | |||
position: relative; | |||
padding: 18px 8px 8px; | |||
} | |||
#frb-amt-other-input { | |||
margin: 0; | |||
background: transparent; | |||
border: none; | |||
width: 100%; | |||
font-size: 16px; | |||
text-align: center; | |||
direction: ltr; | |||
-moz-appearance: textfield; | |||
/* remove number spinner in Firefox */ | |||
box-shadow: 0 1px 0 0 #444; | |||
} | |||
#frb-amt-other-input:focus { | |||
outline: none; | |||
} | |||
.frb-amt-other-span { | |||
position: absolute; | |||
top: 5px; | |||
font-size: 12px; | |||
width: 100%; | |||
line-height: 1; | |||
left: 0; | |||
text-align: center; | |||
} | |||
/* Remove number spinner Safari and Chrome */ | |||
#frb-amt-other-input::-webkit-inner-spin-button, | |||
#frb-amt-other-input::-webkit-outer-spin-button { | |||
-webkit-appearance: none; | |||
margin: 0; | |||
} | |||
/* --- Transaction fees options --- */ | |||
/* Checkbox styles */ | |||
.frb-checkbox-label { | |||
position: relative; | |||
display: inline-block; | |||
margin-top: 16px; | |||
width: 100%; | |||
padding-left: 26px; | |||
padding-top: 1px; | |||
cursor: pointer; | |||
font-size: 14px; | |||
font-weight: 600; | |||
line-height: 1.3571428571; /*19px @14px*/ | |||
color: #000; | |||
} | |||
body.rtl .frb-checkbox-label { | |||
padding-left: 0; | |||
padding-right: 26px; | |||
} | |||
/* Outer-box */ | |||
.frb-checkbox-label::before { | |||
position: absolute; | |||
content: ""; | |||
top: 3px; | |||
left: 0; | |||
display: inline-block; | |||
height: 17px; | |||
width: 17px; | |||
border-radius: 2px; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
} | |||
body.rtl .frb-checkbox-label::before { | |||
left: auto; | |||
right: 0; | |||
} | |||
/* Checkmark */ | |||
.frb-checkbox-label::after { | |||
position: absolute; | |||
content: ""; | |||
top: 8px; | |||
left: 4px; | |||
display: inline-block; | |||
height: 5px; | |||
width: 9px; | |||
border-left: 2px solid; | |||
border-bottom: 2px solid; | |||
transform: rotate(-45deg); | |||
border-color: #fff; | |||
} | |||
body.rtl .frb-checkbox-label::after { | |||
left: auto; | |||
right: 4px; | |||
} | |||
.frb-ptf-total { | |||
font-weight: bold; | |||
} | |||
.frb-ptf-fee { | |||
white-space: nowrap; | |||
} | |||
/*Hide the checkmark by default*/ | |||
.frb-checkbox + .frb-checkbox-label::after { | |||
content: none; | |||
} | |||
/*Unhide the checkmark on the checked state*/ | |||
.frb-checkbox:checked + .frb-checkbox-label::after { | |||
content: ""; | |||
} | |||
.frb-checkbox:checked + .frb-checkbox-label:before { | |||
background-color: #36c; | |||
border-color: #36c; | |||
} | |||
/*Focus styles*/ | |||
/*Unchecked*/ | |||
.frb-checkbox:focus + .frb-checkbox-label::before { | |||
border-color: #36c; | |||
box-shadow: inset 0 0 0 1px #36c; | |||
} | |||
/*Checked*/ | |||
.frb-checkbox:focus:checked + .frb-checkbox-label::before { | |||
box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff; | |||
} | |||
/*Hover*/ | |||
.frb-checkbox:hover + .frb-checkbox-label::before { | |||
background-color: #eaecf0; | |||
} | |||
.frb-checkbox:checked:hover + .frb-checkbox-label:before { | |||
background-color: #447ff5; | |||
border-color: #447ff5; | |||
} | |||
/* --- Payment method buttons appearance --- */ | |||
/* Hide methods which aren't monthly capable when monthly option is selected */ | |||
.form-monthly .no-monthly { | |||
display: none !important; | |||
} | |||
.frb-methods .frb-btn { | |||
width: 100%; | |||
font-size: 16px; | |||
font-weight: bold; | |||
} | |||
.frb-methods .frb-btn img { | |||
display: block; | |||
margin: 0 auto; | |||
max-height: 16px; | |||
max-width: 100%; | |||
} | |||
/* --- Credit card logos --- */ | |||
.frb-pm-cc .frb-btn { | |||
padding: 0px; | |||
} | |||
@media all and (min-width: 1390px) { | |||
.frb-pm-cc .frb-btn { | |||
padding: 0 2px; | |||
} | |||
} | |||
.frb-pm-cc svg { | |||
display: none; | |||
width: 20%; | |||
min-width: 30px; | |||
max-width: 40px; | |||
max-height: 24px; | |||
margin: 0 3px; | |||
border-radius: 2px; | |||
box-shadow: 0 1px 1px #aaa; | |||
} | |||
@media all and (min-width: 1390px) { | |||
.frb-pm-cc svg { | |||
min-width: 26px; | |||
} | |||
} | |||
.frb-cctypes-vmad .frb-btn, | |||
.frb-cctypes-vmaj .frb-btn, | |||
.frb-cctypes-vma .frb-btn, | |||
.frb-cctypes-vm .frb-btn { | |||
font-size: 0; | |||
/* Remove spacing between icons */ | |||
} | |||
.frb-cctypes-vmad span, | |||
.frb-cctypes-vmaj span, | |||
.frb-cctypes-vma span, | |||
.frb-cctypes-vm span { | |||
display: none; | |||
} | |||
.frb-cctypes-vmad .frb-cc-logo-visa, | |||
.frb-cctypes-vmad .frb-cc-logo-mastercard, | |||
.frb-cctypes-vmad .frb-cc-logo-amex, | |||
.frb-cctypes-vmad .frb-cc-logo-discover, | |||
.frb-cctypes-vmaj .frb-cc-logo-visa, | |||
.frb-cctypes-vmaj .frb-cc-logo-mastercard, | |||
.frb-cctypes-vmaj .frb-cc-logo-amex, | |||
.frb-cctypes-vmaj .frb-cc-logo-jcb, | |||
.frb-cctypes-vma .frb-cc-logo-visa, | |||
.frb-cctypes-vma .frb-cc-logo-mastercard, | |||
.frb-cctypes-vma .frb-cc-logo-amex, | |||
.frb-cctypes-vm .frb-cc-logo-visa, | |||
.frb-cctypes-vm .frb-cc-logo-mastercard { | |||
display: inline-block; | |||
} | |||
/* --- Footer / Small Print --- */ | |||
.frb-smallprint { | |||
margin-top: 12px; | |||
font-size: 12px; | |||
line-height: 1.5; /*18px @12px*/ | |||
color: #54595d; | |||
font-weight: normal; | |||
} | |||
.frb-smallprint a { | |||
color: #54595d; | |||
text-decoration: underline; | |||
} | |||
.frb-smallprint a:hover, | |||
.frb-smallprint a:focus { | |||
color: #000; | |||
} | |||
.recurring-details { | |||
display: none; | |||
} | |||
.frb-optin .frb-smallprint { | |||
margin-top: 8px; | |||
font-size: 11px; | |||
line-height: 1.4; | |||
} | |||
/* --- Close and RML Options --- */ | |||
.frb-inline-bottombar { | |||
position: absolute; | |||
width: 100%; | |||
text-align: center; | |||
} | |||
.frb-inline-rml-wrapper { | |||
display: inline; | |||
position: relative; | |||
} | |||
.frb-inline-close, | |||
.frb-inline-rml-form-close { | |||
color: #54595d; | |||
} | |||
.frb-inline-close:hover, | |||
.frb-inline-close:focus, | |||
.frb-inline-rml-form-close:hover, | |||
.frb-inline-rml-form-close:focus { | |||
color: #000; | |||
} | |||
.frb-inline-close, | |||
.frb-inline-rml-link, | |||
.frb-inline-rml-form-close { | |||
text-transform: uppercase; | |||
line-height: 1.2857142857; | |||
} | |||
.frb-inline-close, | |||
.frb-inline-rml-link { | |||
margin-top: 8px; | |||
padding: 5px 8px 6px; | |||
font-size: 12px; | |||
letter-spacing: 0.25px; | |||
} | |||
/* Close button icon */ | |||
.frb-inline-close-icon { | |||
margin-bottom: -2px; | |||
width: 10px; | |||
} | |||
.frb-inline-close-icon g { | |||
stroke: currentColor; | |||
} | |||
/* RML text color */ | |||
.frb-inline-rml-link { | |||
color: #36c; | |||
font-weight: bold; | |||
} | |||
.frb-inline-rml-link:hover { | |||
color: #447ff5; | |||
} | |||
/* RML clock icon */ | |||
.frb-inline-rml-icon { | |||
margin-bottom: -3px; | |||
width: 13px; | |||
} | |||
.frb-inline-rml-icon path { | |||
fill: currentColor; | |||
} | |||
.frb-inline-rml-icon circle { | |||
stroke: currentColor; | |||
} | |||
/* --- Remind Me Later (inline) --- */ | |||
.frb-rml-disabled .frb-inline-rml-wrapper { | |||
display: none; | |||
} | |||
.frb-inline-rml-link { | |||
position: relative; | |||
text-transform: uppercase; | |||
display: inline-block; | |||
} | |||
.frb-inline-rml { | |||
display: none; | |||
position: absolute; | |||
cursor: default; | |||
text-align: left; | |||
padding: 7px 14px; | |||
top: 28px; | |||
right: -142px; | |||
z-index: 10000; | |||
width: 320px; | |||
background: #fff; | |||
color: #000; | |||
border: 1px solid #aaa; | |||
border-radius: 2px; | |||
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15); | |||
text-transform: none; | |||
} | |||
body.rtl .frb-inline-rml { | |||
left: -142px; | |||
right: auto; | |||
} | |||
.frb-inline-rml-form:before, | |||
.frb-inline-rml-form:after { | |||
bottom: 100%; | |||
border: solid transparent; | |||
content: " "; | |||
height: 0; | |||
width: 0; | |||
position: absolute; | |||
left: auto; | |||
right: 148px; | |||
pointer-events: none; | |||
} | |||
body.rtl .frb-inline-rml-form:before, | |||
body.rtl .frb-inline-rml-form:after { | |||
left: 148px; | |||
right: auto; | |||
} | |||
.frb-inline-rml-form:before { | |||
border-bottom-color: #888; | |||
border-width: 11px; | |||
} | |||
.frb-inline-rml-form:after { | |||
border-bottom-color: #fff; | |||
border-width: 10px; | |||
margin-right: 1px; | |||
/*Triangle pixel glitch fix (margin left and right)*/ | |||
margin-left: 0; | |||
} | |||
/* Triangle pixel glitch fix for RTL */ | |||
body.rtl .frb-inline-rml-form:after { | |||
margin-right: 0; | |||
margin-left: 1px; | |||
} | |||
.frb-input { | |||
background: #fff; | |||
width: 100%; | |||
display: block; | |||
padding: 7px 7px 6px; | |||
margin: 0; | |||
font-size: inherit; | |||
color: #000; | |||
border: 1px solid #9aa0a7; | |||
border-radius: 2px; | |||
} | |||
.frb-input.frb-haserror { | |||
border-color: #d33; | |||
box-shadow: inset 0 0 0 1px #d33; | |||
} | |||
.frb-inline-rml-done { | |||
text-align: left; | |||
} | |||
body.rtl .frb-inline-rml-done { | |||
text-align: right; | |||
} | |||
.frb-inline-rml-form-close-wrapper { | |||
padding-top: 4px; | |||
text-align: center; | |||
} | |||
.frb-inline-rml-form-close-icon { | |||
width: 10px; | |||
height: 10px; | |||
margin-bottom: -1px; | |||
} | |||
.frb-inline-rml-form-close-icon g { | |||
stroke: currentColor; | |||
} | |||
/* "Nag" banner styles | |||
---------------------------- */ | |||
div#frb-nag { | |||
display: none; | |||
position: fixed; | |||
width: 100%; | |||
bottom: 0; | |||
left: 0; | |||
z-index: 110; | |||
background-color: #fff; | |||
border-top: 1px solid black; | |||
text-align: center; | |||
color: #000; | |||
font-size: 15px; | |||
line-height: 1.2; | |||
font-weight: 500; | |||
font-style: normal; /* needed for uk.wikicigar */ | |||
transition: margin 1s ease-in-out; | |||
} | |||
#frb-nag.frb { | |||
margin-bottom: -100%; | |||
} | |||
#frb-nag.reveal { | |||
margin-bottom: 0; | |||
} | |||
#frb-nag .frb-nag-link { | |||
position: relative; | |||
width: 100%; | |||
padding: 12.5px; | |||
max-width: 1200px; | |||
margin: auto; | |||
cursor: pointer; | |||
display: block; | |||
} | |||
#frb-nag:hover .frb-nag-link { | |||
text-decoration: none; | |||
} | |||
#frb-nag a { | |||
color: black !important; | |||
transition: color 0.5s ease; | |||
} | |||
#frb-nag a:hover { | |||
text-decoration: none !important; | |||
} | |||
/* --- Nag Close button --- */ | |||
#frb-nag .frb-nag-close { | |||
display: inline-block; | |||
position: absolute; | |||
right: 12.5px; | |||
top: 12.5px; | |||
z-index: 999; | |||
font-size: 12px; | |||
cursor: pointer; | |||
padding: 0; | |||
} | |||
body.rtl #frb-nag .frb-nag-close { | |||
right: auto; | |||
left: 12.5px; | |||
} | |||
#frb-nag .frb-nag-close:hover .frb-icon g { | |||
stroke: #000000; | |||
transition: all 0.5s ease; | |||
} | |||
#frb-nag .frb-icon-close { | |||
width: 16px; | |||
height: 16px; | |||
} | |||
/* -------------- Message -------------- */ | |||
#frb-nag .frb-message { | |||
transition: background-color 0.5s ease; | |||
} | |||
#frb-nag .frb-message p { | |||
margin: 0; | |||
} | |||
/* --- Plea --- */ | |||
#frb-nag .frb-plea { | |||
background-color: #FFC9C9; | |||
border-radius: 10px; | |||
padding: 15px 30px; | |||
display: table; | |||
margin-top: 10px; | |||
} | |||
#frb-nag .frb-plea-message, | |||
#frb-nag .frb-plea-button { | |||
display: table-cell; | |||
vertical-align: middle; | |||
} | |||
#frb-nag .frb-plea-message { | |||
text-align: left; | |||
line-height: 1.4; | |||
width: calc(100% - 305px); | |||
padding: 0 20px; | |||
} | |||
#frb-nag .frb-plea-button { | |||
width: 160px; | |||
} | |||
/* --- Button Style --- */ | |||
#frb-nag .frb-donate-button { | |||
display: block; | |||
background-color: #990000; | |||
color: white; | |||
font-size: 18px; | |||
white-space: nowrap; | |||
line-height: 1; | |||
text-transform: uppercase; | |||
padding: 8px 12px; | |||
border-radius: 5px; | |||
outline: 0; | |||
text-align: center; | |||
cursor: pointer; | |||
font-family: inherit; | |||
font-weight: 700; | |||
-webkit-transition: all .25s ease-in-out; | |||
-moz-transition: all .25s ease-in-out; | |||
transition: all .25s ease-in-out; | |||
} | |||
#frb-nag .frb-donate-button:hover { | |||
background-color: #fff; | |||
color: #444; | |||
} | |||
#frb-nag .frb-donate-button:active { | |||
background-color: black; | |||
color: white; | |||
} | |||
/* Error messages */ | |||
.frb .frb-error { | |||
display: none; | |||
margin-top: 8px; | |||
font-size: 14px; | |||
color: #d33; | |||
font-weight: 600; | |||
line-height: 1.3; | |||
text-align: center; | |||
} | |||
/* --- opt-in and email --- */ | |||
#frb-form fieldset.frb-optin { | |||
margin: 12px auto; | |||
} | |||
.frb-radio { | |||
cursor: pointer; | |||
float: left; | |||
height: 15px; | |||
margin: 6px 6px 0px 9px; | |||
} | |||
body.rtl .frb-radio { | |||
float: right; | |||
} | |||
.frb-radio-label { | |||
display: block; | |||
padding: 2px; | |||
cursor: pointer; | |||
white-space: nowrap; | |||
font-weight: bold; | |||
} | |||
body.rtl .frb-radio-label { | |||
text-align: right; | |||
} | |||
.frb-radio-label:hover, | |||
.frb-radio:focus + .frb-radio-label, | |||
.frb-radio:hover + .frb-radio-label { | |||
color: #36c; | |||
} | |||
.frb-form .frb-optin { | |||
margin-bottom: 1px; | |||
} | |||
/* .frb-form .frb-optin li { | |||
display: block; | |||
clear: both; | |||
} */ | |||
.frb-optin .frb-radio { | |||
margin: 4px 6px 0 0; | |||
} | |||
.frb-optin .frb-radio-label { | |||
float: right; | |||
width: calc(100% - 22px); | |||
white-space: normal; | |||
font-size: 14px; | |||
line-height: 19px; | |||
font-weight: normal; | |||
} | |||
.frb-optin .frb-radio-label:hover, | |||
.frb-optin .frb-radio:hover+.frb-radio-label { | |||
text-decoration: none; | |||
} | |||
.frb-optin-no-prompt { | |||
display: none; | |||
clear: both; | |||
margin-top: 8px; | |||
padding: 6px 6px 5px 6px; | |||
border: 1px solid #b32424; | |||
background-color: #fee7e6; | |||
border-radius: 2px; | |||
font-size: 14px; | |||
line-height: 1.2857142857; /*18px @14px*/ | |||
font-weight: normal; | |||
} | |||
.frb-optin-no-prompt span { | |||
font-family: "Segoe UI Emoji"; | |||
} | |||
.frb-optin-no-prompt.is-positive { | |||
border-color: #14866d; | |||
background-color: #d5fdf4; | |||
font-weight: bold; | |||
} | |||
.frb-optin-no-prompt__yes { | |||
display: none; | |||
} | |||
.frb-optin-no-prompt__no { | |||
display: block; | |||
} | |||
.frb-optin-no-prompt.is-positive .frb-optin-no-prompt__yes { | |||
display: block; | |||
} | |||
.frb-optin-no-prompt.is-positive .frb-optin-no-prompt__no { | |||
display: none; | |||
} | |||
/* --- Back button --- */ | |||
.frb-back { | |||
position: absolute; | |||
left: 0; | |||
top: 10px; | |||
padding: 0; | |||
color: #72777d; | |||
} | |||
.frb-back:hover { | |||
color: #000; | |||
} | |||
.frb-icon-back path { | |||
stroke: currentColor; | |||
} | |||
.frb-icon-back rect { | |||
fill: currentColor; | |||
} | |||
.frb-icon-back { | |||
height: 13px; | |||
width: 20px; | |||
} | |||
.frb-icon-lock { | |||
fill: currentColor; | |||
width: 14px; | |||
height: 14px; | |||
} | |||
/* --- Recurring upsell --- */ | |||
.frb-step-upsell, | |||
.frb-step-monthly-diff-amt { | |||
padding-top: 24px; | |||
text-align: center; | |||
} | |||
.frb-upsell-cta, | |||
.frb-upsell-ty { | |||
font-size: 17px; | |||
font-weight: bold; | |||
} | |||
.frb-upsell-color, | |||
.frb-step-monthly-diff-amt label { | |||
display: block; | |||
max-width: 380px; | |||
margin: 8px auto; | |||
display: block; | |||
font-size: 15px; | |||
line-height: 1.3; | |||
font-weight: normal; | |||
margin: 8px auto; | |||
} | |||
.frb-monthly-buttons { | |||
padding-top: 8px; | |||
} | |||
.frb-step-monthly-diff-amt-link { | |||
font-size: 15px; | |||
line-height: 1.3; | |||
color: #36c; | |||
margin: 8px 2px; | |||
padding: 12px 10%; | |||
font-weight: bold; | |||
} | |||
.frb-step-monthly-diff-amt-link:hover { | |||
color: #447ff5; | |||
} | |||
#frb-amt-monthly-other-input { | |||
width: auto; | |||
margin: 0 auto; | |||
text-align: center; | |||
} | |||
</style> | |||
<div id="frb-inline" class="frb frb-rml-disabled frb-country-IN" style=""> | |||
<div class="frb-inline-topbar"> | |||
We ask you, humbly: don't scroll away. | |||
</div> | |||
<div class="frb-inline-main"> | |||
<div class="frb-inline-message"> | |||
<svg class="frb-icon frb-icon-info" role="img" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> | |||
<g fill-rule="nonzero" fill="none"> | |||
<circle fill="#991B1E" cx="8.035" cy="8.143" r="7.844"></circle> | |||
<path d="M9.672 6.097l-1.695 5.879c-.094.336-.14.557-.14.662 0 .06.024.117.074.169.05.053.101.079.157.079a.428.428 0 0 0 .28-.124c.249-.204.547-.574.894-1.108l.28.165c-.831 1.45-1.716 2.175-2.653 2.175-.359 0-.644-.101-.856-.302a1.008 1.008 0 0 1-.318-.765c0-.204.046-.463.14-.777l1.15-3.953c.11-.38.165-.667.165-.86a.424.424 0 0 0-.157-.322c-.105-.094-.248-.14-.43-.14-.083 0-.182.002-.298.007l.108-.33 2.803-.455h.496zm-.513-3.804c.342 0 .63.119.864.356.234.237.352.524.352.86 0 .336-.119.623-.356.86-.225.232-.537.36-.86.355-.33 0-.615-.118-.852-.355a1.171 1.171 0 0 1-.355-.86c0-.336.117-.623.351-.86a1.16 1.16 0 0 1 .856-.356z" fill="#FFF"></path> | |||
</g> | |||
</svg> | |||
<b>Please select an amount (USD)</b>. The average donation in the U.S. is around $15. Many first-time donors give $5. All that matters is that you're choosing to stand up for free, open information; and for that, you have our gratitude. If you find WikiCigar useful, take a minute to donate. Thank you. | |||
</div> | |||
<form id="frb-form" class="frb-form"> | |||
<div class="frb-step-1"> | |||
<fieldset class="frb-methods"> | |||
<ul class="frb-btn-wrapper"> | |||
<li class="frb-pm-cc frb-cctypes-vmar"> | |||
<button class="frb-btn" type="submit" onclick=" window.open('https://patreon.com/Wikicigar','_blank')"> | |||
Donate now | |||
</button> | |||
</li> | |||
</ul> | |||
</fieldset> | |||
</div> | |||
<div class="frb-inline-rml-form-close-wrapper"> | |||
<a href="#" title="Close" onclick="mw.centralNotice.hideBanner();return false;"><div class="cn-closeButton">Close <svg class="frb-inline-rml-form-close-icon" aria-hidden="true" width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"> | |||
<g stroke-width="1.4" fill="none" fill-rule="evenodd" stroke-linecap="round"> | |||
<path d="M1 1l9.944 9.944M10.944 1L1 10.944"></path> | |||
</g> | |||
</svg></div></a> | |||
</div></div> | |||
</div></div> | |||
</div> | |||
</div> |
Latest revision as of 09:23, 31 December 2022
<style> /* Hide when editing */ .action-edit .frb, .ve-activated .frb {
display: none !important;
}
/* Hide when printed */ @media print {
.frb { display: none !important; }
}
.frb {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen-Sans", Ubuntu, Cantarell, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
- centralNotice.collapsed .frb {
display: none;
}
- siteNotice {
z-index: auto;
}
/* z-index override for German WikiCigar */ .mw-body {
z-index: auto;
}
- toc,
.toc {
clear: left;
}
/* Box-sizing */ .frb, .frb *, .frb *:before, .frb *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.frb button {
background: transparent; border: 0; cursor: pointer;
}
.frb frb-amt {
white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
.frb, .frb * { transition-duration: 0.01ms !important; }
}
/* Inline banner styles
*/
- frb-inline {
display: table; position: relative; background: white; color: black; font-size: 14px; margin: 12px 0 38px; border: 5px solid #900; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; transition: all .2s ease-in-out;
}
@media all and (min-width: 1390px) {
#frb-inline { float: left; width: 40%; margin-top: 5px; /*align with article text*/ margin-right: 16px; }
body.rtl #frb-inline { float: right; margin-right: 0; margin-left: 16px; }
/* Override for where it should be full width e.g. on Main Page */ #frb-inline.frb-fullwidth { float: none; width: 100%; margin-top: 0; margin-right: 0; }
}
/* --- Top bar --- */
.frb-inline-topbar {
width: 100%; padding: 6px 10px 9px 10px; text-align: center; background-color: #900; color: #fff; display: inline-block; z-index: 999; font-weight: 600; font-size: 16px; line-height: 1.125; /*18px @16px*/
}
/* --- Main content --- */
.frb-inline-main {
padding: 14px 16px 16px;
}
.frb-inline-message {
font-size: 16px; line-height: 1.5625; /*25px @16px*/ display: block;
}
.frb-inline-message .frb-icon-info {
margin-bottom: -2px; margin-right: 2px;
}
/* --- Form legends --- */ .frb-form {
position: relative;
}
.frb-legend {
margin: 0; padding: 6px 0 8px; width: 100%; text-align: center; font-size: 14px; line-height: 1.2142857143; /*17px @14px*/ color: #54595d; font-weight: normal; text-transform: none;
}
.frb-form fieldset.frb-haserror .error-highlight {
color: #d33; font-weight: 600;
}
- frb-inline ul {
margin: 0;
}
.frb-form fieldset {
width: 100%; margin: 12px auto 0; padding: 0; border: none;
}
/*less padding to use less vertical height*/ .frb-form .frb-methods {
margin-top: 6px;
}
/* --- Common Button Styles --- */
/* TODO - fix to remove !important */ .frb-btn-wrapper {
margin-left: -6px !important; width: calc(100% + 12px) !important;
} body.rtl .frb-btn-wrapper {
margin-left: 0 !important; margin-right: -6px !important;
}
.frb-optin ul.frb-btn-wrapper,
- frb-inline ul.frb-btn-second-wrapper {
margin-top: 12px;
}
.frb .frb-btn,
- frb-amt-other-label {
display: block; min-height: 48px; margin: 0 auto; padding: 15px 6px; background-color: #f8f9fa; color: #222; border: 1px solid #9aa0a7; border-radius: 2px; outline: 0; text-align: center; line-height: 1; /*16px @16px*/ cursor: pointer; font-weight: 600; transition: background 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
}
.frb .frb-btn:hover,
- frb-amt-other-label:hover {
background-color: #fff; color: #444; border-color: #a2a9b1;
}
.frb .frb-btn:active,
- frb-amt-other-label:active {
background-color: #d9d9d9; color: #000; border-color: #7d8389;
}
/* Adjust padding for buttons with logo, e.g. payment methods */ .frb-methods .frb-btn-logo {
padding: 2px 4px;
}
.frb-btn svg {
max-width: 100%;
}
.frb-logo-paypal-usd {
margin-bottom: -6px;
}
.frb-form input[type="radio"]:checked+.frb-btn, .frb-form .frb-btn.checked {
background-color: #2a4b8d; color: #fff; border-color: #2a4b8d;
}
.frb-form input[type="radio"]:checked+#frb-amt-other-label #frb-amt-other-input {
border: none; color: #fff; box-shadow: 0 1px 0 0 #fff;
}
.frb-btn:focus, .frb-submit:focus, .frb-input:focus,
- frb-amt-other-label:focus {
outline: 0; border-color: #36c; box-shadow: inset 0 0 0 1px #36c;
}
.frb-form input[type=radio]:focus+.frb-btn, .frb-form input[type=radio]:focus+#frb-amt-other-label, .frb-form input[type=radio]:checked+.frb-btn:focus, .frb-form input[type=radio]:checked+#frb-amt-other-label:focus, .frb-submit:focus {
box-shadow: inset 0 0 0 2px #36c, inset 0 0 0 3px #fff; border-color: #36c !important;
}
.frb-form input[type="radio"]:checked+.frb-btn, .frb-form input[type="radio"]:checked+#frb-amt-other-label, .frb-form .frb-btn.checked {
background-color: #2a4b8d; color: #fff; border-color: #2a4b8d;
}
.frb-form input[type="radio"]:checked+#frb-amt-other-label #frb-amt-other-input {
background-color: transparent; color: #fff;
}
/* Blue buttons */ .frb-methods .frb-btn,
- frb-nag .frb-btn {
color: #36c;
}
.frb-methods .frb-btn:active,
- frb-nag .frb-btn:active {
color: #2a4b8d;
}
/* Submit/Continue buttons (blue background) */ .frb .frb-submit {
width: 100%; display: block; margin-top: 8px; padding: 16px 2px; color: #36c; background-color: #f8f9fa; border: 1px solid #a2a9b1; cursor: default; border-radius: 2px; font-size: 16px; font-weight: 600; line-height: 1; transition: background 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
}
.frb-submit.active {
color: #fff; background-color: #36c; border-color: #36c; cursor: pointer;
} .frb-submit.active:hover {
background-color: #447ff5; border-color: #447ff5;
}
.frb-inline-rml-form .frb-submit {
padding: 9px 2px; font-size: 14px;
}
/* Hide radio buttons. Based on http://jqueryui.com/button/#radio */ .frb-frequency li input[type="radio"], .frb-amounts li input[type="radio"], .frb-optin li input[type="radio"], .frb-form input[type="checkbox"] {
position: absolute; overflow: hidden; height: 1px; width: 1px; clip: rect(0 0 0 0); border: 0; margin: -1px; padding: 0;
}
/* --- Buttons layout --- */
.frb-form fieldset ul {
display: table; table-layout: fixed; width: 100%;
}
.frb-form fieldset ul li {
display: table-cell; vertical-align: top; padding: 0 6px;
}
/* --- Frequency buttons appearance --- */
.frb-frequency li {
display: table-cell; padding: 0 7px 0 0; vertical-align: top;
}
.frb-frequency label {
display: block; width: 100%;
}
.frb-frequency label, .frb-amounts li label {
font-size: 16px; line-height: 1;
}
/* --- Other amount --- */
- frb-amt-other-label {
position: relative; padding: 18px 8px 8px;
}
- frb-amt-other-input {
margin: 0; background: transparent; border: none; width: 100%; font-size: 16px; text-align: center; direction: ltr; -moz-appearance: textfield; /* remove number spinner in Firefox */ box-shadow: 0 1px 0 0 #444;
}
- frb-amt-other-input:focus {
outline: none;
}
.frb-amt-other-span {
position: absolute; top: 5px; font-size: 12px; width: 100%; line-height: 1; left: 0; text-align: center;
}
/* Remove number spinner Safari and Chrome */
- frb-amt-other-input::-webkit-inner-spin-button,
- frb-amt-other-input::-webkit-outer-spin-button {
-webkit-appearance: none; margin: 0;
}
/* --- Transaction fees options --- */
/* Checkbox styles */
.frb-checkbox-label {
position: relative; display: inline-block; margin-top: 16px; width: 100%; padding-left: 26px; padding-top: 1px; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.3571428571; /*19px @14px*/ color: #000;
} body.rtl .frb-checkbox-label {
padding-left: 0; padding-right: 26px;
}
/* Outer-box */ .frb-checkbox-label::before {
position: absolute; content: ""; top: 3px; left: 0; display: inline-block; height: 17px; width: 17px; border-radius: 2px; border: 1px solid #a2a9b1; background-color: #f8f9fa;
} body.rtl .frb-checkbox-label::before {
left: auto; right: 0;
}
/* Checkmark */ .frb-checkbox-label::after {
position: absolute; content: ""; top: 8px; left: 4px; display: inline-block; height: 5px; width: 9px; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); border-color: #fff;
} body.rtl .frb-checkbox-label::after {
left: auto; right: 4px;
}
.frb-ptf-total {
font-weight: bold;
} .frb-ptf-fee {
white-space: nowrap;
}
/*Hide the checkmark by default*/ .frb-checkbox + .frb-checkbox-label::after {
content: none;
} /*Unhide the checkmark on the checked state*/ .frb-checkbox:checked + .frb-checkbox-label::after {
content: "";
}
.frb-checkbox:checked + .frb-checkbox-label:before {
background-color: #36c; border-color: #36c;
}
/*Focus styles*/ /*Unchecked*/ .frb-checkbox:focus + .frb-checkbox-label::before {
border-color: #36c; box-shadow: inset 0 0 0 1px #36c;
}
/*Checked*/ .frb-checkbox:focus:checked + .frb-checkbox-label::before {
box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff;
}
/*Hover*/ .frb-checkbox:hover + .frb-checkbox-label::before {
background-color: #eaecf0;
}
.frb-checkbox:checked:hover + .frb-checkbox-label:before {
background-color: #447ff5; border-color: #447ff5;
}
/* --- Payment method buttons appearance --- */
/* Hide methods which aren't monthly capable when monthly option is selected */ .form-monthly .no-monthly {
display: none !important;
}
.frb-methods .frb-btn {
width: 100%; font-size: 16px; font-weight: bold;
}
.frb-methods .frb-btn img {
display: block; margin: 0 auto; max-height: 16px; max-width: 100%;
}
/* --- Credit card logos --- */
.frb-pm-cc .frb-btn {
padding: 0px;
}
@media all and (min-width: 1390px) {
.frb-pm-cc .frb-btn { padding: 0 2px; }
}
.frb-pm-cc svg {
display: none; width: 20%; min-width: 30px; max-width: 40px; max-height: 24px; margin: 0 3px; border-radius: 2px; box-shadow: 0 1px 1px #aaa;
}
@media all and (min-width: 1390px) {
.frb-pm-cc svg { min-width: 26px; }
}
.frb-cctypes-vmad .frb-btn, .frb-cctypes-vmaj .frb-btn, .frb-cctypes-vma .frb-btn, .frb-cctypes-vm .frb-btn {
font-size: 0; /* Remove spacing between icons */
}
.frb-cctypes-vmad span, .frb-cctypes-vmaj span, .frb-cctypes-vma span, .frb-cctypes-vm span {
display: none;
}
.frb-cctypes-vmad .frb-cc-logo-visa, .frb-cctypes-vmad .frb-cc-logo-mastercard, .frb-cctypes-vmad .frb-cc-logo-amex, .frb-cctypes-vmad .frb-cc-logo-discover,
.frb-cctypes-vmaj .frb-cc-logo-visa, .frb-cctypes-vmaj .frb-cc-logo-mastercard, .frb-cctypes-vmaj .frb-cc-logo-amex, .frb-cctypes-vmaj .frb-cc-logo-jcb,
.frb-cctypes-vma .frb-cc-logo-visa, .frb-cctypes-vma .frb-cc-logo-mastercard, .frb-cctypes-vma .frb-cc-logo-amex,
.frb-cctypes-vm .frb-cc-logo-visa, .frb-cctypes-vm .frb-cc-logo-mastercard {
display: inline-block;
}
/* --- Footer / Small Print --- */
.frb-smallprint {
margin-top: 12px; font-size: 12px; line-height: 1.5; /*18px @12px*/ color: #54595d; font-weight: normal;
}
.frb-smallprint a {
color: #54595d; text-decoration: underline;
}
.frb-smallprint a:hover, .frb-smallprint a:focus {
color: #000;
}
.recurring-details {
display: none;
}
.frb-optin .frb-smallprint {
margin-top: 8px; font-size: 11px; line-height: 1.4;
}
/* --- Close and RML Options --- */
.frb-inline-bottombar {
position: absolute; width: 100%; text-align: center;
}
.frb-inline-rml-wrapper {
display: inline; position: relative;
}
.frb-inline-close, .frb-inline-rml-form-close {
color: #54595d;
} .frb-inline-close:hover, .frb-inline-close:focus, .frb-inline-rml-form-close:hover, .frb-inline-rml-form-close:focus {
color: #000;
}
.frb-inline-close, .frb-inline-rml-link, .frb-inline-rml-form-close {
text-transform: uppercase; line-height: 1.2857142857;
}
.frb-inline-close, .frb-inline-rml-link {
margin-top: 8px; padding: 5px 8px 6px; font-size: 12px; letter-spacing: 0.25px;
}
/* Close button icon */ .frb-inline-close-icon {
margin-bottom: -2px; width: 10px;
} .frb-inline-close-icon g {
stroke: currentColor;
}
/* RML text color */ .frb-inline-rml-link {
color: #36c; font-weight: bold;
} .frb-inline-rml-link:hover {
color: #447ff5;
}
/* RML clock icon */ .frb-inline-rml-icon {
margin-bottom: -3px; width: 13px;
} .frb-inline-rml-icon path {
fill: currentColor;
} .frb-inline-rml-icon circle {
stroke: currentColor;
}
/* --- Remind Me Later (inline) --- */ .frb-rml-disabled .frb-inline-rml-wrapper {
display: none;
}
.frb-inline-rml-link {
position: relative; text-transform: uppercase; display: inline-block;
}
.frb-inline-rml {
display: none; position: absolute; cursor: default; text-align: left; padding: 7px 14px; top: 28px; right: -142px; z-index: 10000; width: 320px; background: #fff; color: #000; border: 1px solid #aaa; border-radius: 2px; box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15); text-transform: none;
}
body.rtl .frb-inline-rml {
left: -142px; right: auto;
}
.frb-inline-rml-form:before, .frb-inline-rml-form:after {
bottom: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; left: auto; right: 148px; pointer-events: none;
}
body.rtl .frb-inline-rml-form:before, body.rtl .frb-inline-rml-form:after {
left: 148px; right: auto;
}
.frb-inline-rml-form:before {
border-bottom-color: #888; border-width: 11px;
}
.frb-inline-rml-form:after {
border-bottom-color: #fff; border-width: 10px; margin-right: 1px; /*Triangle pixel glitch fix (margin left and right)*/ margin-left: 0;
}
/* Triangle pixel glitch fix for RTL */ body.rtl .frb-inline-rml-form:after {
margin-right: 0; margin-left: 1px;
}
.frb-input {
background: #fff; width: 100%; display: block; padding: 7px 7px 6px; margin: 0; font-size: inherit; color: #000; border: 1px solid #9aa0a7; border-radius: 2px;
} .frb-input.frb-haserror {
border-color: #d33; box-shadow: inset 0 0 0 1px #d33;
}
.frb-inline-rml-done {
text-align: left;
}
body.rtl .frb-inline-rml-done {
text-align: right;
}
.frb-inline-rml-form-close-wrapper {
padding-top: 4px; text-align: center;
}
.frb-inline-rml-form-close-icon {
width: 10px; height: 10px; margin-bottom: -1px;
}
.frb-inline-rml-form-close-icon g {
stroke: currentColor;
}
/* "Nag" banner styles
*/
div#frb-nag {
display: none; position: fixed; width: 100%; bottom: 0; left: 0; z-index: 110; background-color: #fff; border-top: 1px solid black; text-align: center; color: #000; font-size: 15px; line-height: 1.2; font-weight: 500; font-style: normal; /* needed for uk.wikicigar */ transition: margin 1s ease-in-out;
}
- frb-nag.frb {
margin-bottom: -100%;
}
- frb-nag.reveal {
margin-bottom: 0;
}
- frb-nag .frb-nag-link {
position: relative; width: 100%; padding: 12.5px; max-width: 1200px; margin: auto; cursor: pointer; display: block;
}
- frb-nag:hover .frb-nag-link {
text-decoration: none;
}
- frb-nag a {
color: black !important; transition: color 0.5s ease;
}
- frb-nag a:hover {
text-decoration: none !important;
}
/* --- Nag Close button --- */
- frb-nag .frb-nag-close {
display: inline-block; position: absolute; right: 12.5px; top: 12.5px; z-index: 999; font-size: 12px; cursor: pointer; padding: 0;
} body.rtl #frb-nag .frb-nag-close {
right: auto; left: 12.5px;
}
- frb-nag .frb-nag-close:hover .frb-icon g {
stroke: #000000; transition: all 0.5s ease;
}
- frb-nag .frb-icon-close {
width: 16px; height: 16px;
}
/* -------------- Message -------------- */
- frb-nag .frb-message {
transition: background-color 0.5s ease;
}
- frb-nag .frb-message p {
margin: 0;
}
/* --- Plea --- */
- frb-nag .frb-plea {
background-color: #FFC9C9; border-radius: 10px; padding: 15px 30px; display: table; margin-top: 10px;
}
- frb-nag .frb-plea-message,
- frb-nag .frb-plea-button {
display: table-cell; vertical-align: middle;
}
- frb-nag .frb-plea-message {
text-align: left; line-height: 1.4; width: calc(100% - 305px); padding: 0 20px;
}
- frb-nag .frb-plea-button {
width: 160px;
}
/* --- Button Style --- */
- frb-nag .frb-donate-button {
display: block; background-color: #990000; color: white; font-size: 18px; white-space: nowrap; line-height: 1; text-transform: uppercase; padding: 8px 12px; border-radius: 5px; outline: 0; text-align: center; cursor: pointer; font-family: inherit; font-weight: 700; -webkit-transition: all .25s ease-in-out; -moz-transition: all .25s ease-in-out; transition: all .25s ease-in-out;
}
- frb-nag .frb-donate-button:hover {
background-color: #fff; color: #444;
}
- frb-nag .frb-donate-button:active {
background-color: black; color: white;
}
/* Error messages */ .frb .frb-error {
display: none; margin-top: 8px; font-size: 14px; color: #d33; font-weight: 600; line-height: 1.3; text-align: center;
}
/* --- opt-in and email --- */
- frb-form fieldset.frb-optin {
margin: 12px auto;
}
.frb-radio {
cursor: pointer; float: left; height: 15px; margin: 6px 6px 0px 9px;
} body.rtl .frb-radio {
float: right;
}
.frb-radio-label {
display: block; padding: 2px; cursor: pointer; white-space: nowrap; font-weight: bold;
} body.rtl .frb-radio-label {
text-align: right;
}
.frb-radio-label:hover, .frb-radio:focus + .frb-radio-label, .frb-radio:hover + .frb-radio-label {
color: #36c;
}
.frb-form .frb-optin {
margin-bottom: 1px;
}
/* .frb-form .frb-optin li {
display: block; clear: both;
} */
.frb-optin .frb-radio {
margin: 4px 6px 0 0;
}
.frb-optin .frb-radio-label {
float: right; width: calc(100% - 22px); white-space: normal; font-size: 14px; line-height: 19px; font-weight: normal;
}
.frb-optin .frb-radio-label:hover, .frb-optin .frb-radio:hover+.frb-radio-label {
text-decoration: none;
}
.frb-optin-no-prompt {
display: none; clear: both; margin-top: 8px; padding: 6px 6px 5px 6px; border: 1px solid #b32424; background-color: #fee7e6; border-radius: 2px; font-size: 14px; line-height: 1.2857142857; /*18px @14px*/ font-weight: normal;
}
.frb-optin-no-prompt span {
font-family: "Segoe UI Emoji";
}
.frb-optin-no-prompt.is-positive {
border-color: #14866d; background-color: #d5fdf4; font-weight: bold;
}
.frb-optin-no-prompt__yes {
display: none;
}
.frb-optin-no-prompt__no {
display: block;
}
.frb-optin-no-prompt.is-positive .frb-optin-no-prompt__yes {
display: block;
}
.frb-optin-no-prompt.is-positive .frb-optin-no-prompt__no {
display: none;
}
/* --- Back button --- */ .frb-back {
position: absolute; left: 0; top: 10px; padding: 0; color: #72777d;
} .frb-back:hover {
color: #000;
}
.frb-icon-back path {
stroke: currentColor;
} .frb-icon-back rect {
fill: currentColor;
}
.frb-icon-back {
height: 13px; width: 20px;
}
.frb-icon-lock {
fill: currentColor; width: 14px; height: 14px;
}
/* --- Recurring upsell --- */
.frb-step-upsell, .frb-step-monthly-diff-amt {
padding-top: 24px; text-align: center;
}
.frb-upsell-cta, .frb-upsell-ty {
font-size: 17px; font-weight: bold;
}
.frb-upsell-color, .frb-step-monthly-diff-amt label {
display: block; max-width: 380px; margin: 8px auto; display: block; font-size: 15px; line-height: 1.3; font-weight: normal; margin: 8px auto;
}
.frb-monthly-buttons {
padding-top: 8px;
}
.frb-step-monthly-diff-amt-link {
font-size: 15px; line-height: 1.3; color: #36c; margin: 8px 2px; padding: 12px 10%; font-weight: bold;
} .frb-step-monthly-diff-amt-link:hover {
color: #447ff5;
}
- frb-amt-monthly-other-input {
width: auto; margin: 0 auto; text-align: center;
}
</style>
<form id="frb-form" class="frb-form">
<fieldset class="frb-methods">
- <button class="frb-btn" type="submit" onclick=" window.open('https://patreon.com/Wikicigar','_blank')"> Donate now </button>
</fieldset>
<g stroke-width="1.4" fill="none" fill-rule="evenodd" stroke-linecap="round"> <path d="M1 1l9.944 9.944M10.944 1L1 10.944"></path> </g></svg>