Template:Styles/2015 Trilogy default.css: Difference between revisions

Content deleted Content added
No edit summary
merge in responsive code
 
(31 intermediate revisions by the same user not shown)
Line 1:
/* === MediaWikiTemplate:ResourcesStyles/2015/landingpage2015_Trilogy_default.css === */
 
/* Hide these until the required JavaScript fiddling has been done */
#actual-form,
.consider-amounts {
display: none;
}
 
#actual-form-loading {
text-align: center;
line-height: 1.2;
}
.error-nojs {
max-width: 300px;
color: #800;
}
 
/* --- Hide default MediaWiki stuff we don't want --- */
Line 35 ⟶ 50:
padding-left: 0;
padding-right: 2em;
width: 100%;
}
body.rtl #appeal-wrapper {
padding-left: 2em;
padding-right: 0;
}
 
/* --- Appeal ---*/
 
#appeal-head {
font-size: 1.5em;
padding-bottom: 0.5em;
border-bottom: 1px solid #afafaf;
}
#appeal-body {
padding: 1em 0 0.2em 0;
font-size: 1.125em;
margin-bottom: 1em;
}
 
.quote-wrapper {
padding: 9em 0;
}
 
Line 62 ⟶ 95:
}
 
#donate-form-wrapper label,
#donate-form-wrapper input {
transition: all 0.2s;
}
 
/*
#donate-form-wrapper:before {
pointer-events: none;
Line 83 ⟶ 122:
@media only screen and (max-width: 981px) {
#donate-form-wrapper:before { display: none; }
}
*/
 
#form-wrapper input:focus,
#form-wrapper input:focus + label {
outline: 1px solid #999;
}
 
Line 102 ⟶ 147:
.frequency-options {
margin: 0 3px;
font-size: 1em;
}
.frequency-options label {
display: block;
width: 49%;
float: left;
heightwidth: 2.5em49%;
line-height: 2.5;
margin-bottom: 1em;
-moz-border-radius: .3em;
Line 114 ⟶ 158:
border-radius: .3em;
background: #cacaca;
padding: 0.4em 0.2em;
font-size: 1em;
line-height: 1;
text-transform: uppercase;
text-align: center;
Line 155 ⟶ 201:
/* --- Donation Amounts --- */
 
#radiobuttons-table-body {
clear: both;
}
 
#radiobuttons-table {
width: 100%;
margin-bottom: 1em;
Line 192 ⟶ 242:
.input_amount_other label {
line-height: 2.5;
}
 
.input_amount_other span {
font-size: 0.8em;
}
 
.input_amount_other input {
direction: ltr;
display: block;
width: 80%;
margin: 0 auto;
background: #235375fff;
line-height: 1;
padding: .2em .5em;
border: 0;
outline: 0;
Line 212 ⟶ 267:
padding: .3em;
}
}
 
.input_amount_other input:hover {
background: #19415e;
}
.input_amount_other input:focus {
background: #fff;
color: #19415e;
}
 
.input_amount_other.checked input {
background: #fff;
}
.input_amount_other.checked input:hover {
background: #cbcbcb;
}
.input_amount_other.checked input:focus {
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
 
.radiobuttons-cell label:active,
.radiobuttons-cell input[type="radio"]:checked + label, {
background: #0f4b76 !important;
.input_amount_other.checked {
background: #0f4b76;
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}
/* Fallback for IE8 and below */
.radiobuttons-cell label.checked,
.input_amount_other.checked {
background: #0f4b76 !important;
}
 
Line 252 ⟶ 281:
 
.payment-method-button {
display: block;
margin: 0 3px .5em 3px;
width: 100%;
min-height: 3.5em;
-moz-border-radius: .3em;
-webkit-border-radius: .3em;
border-radius: .3em;
border: 0;
background-color: #eaeaea;
background-repeat: no-repeat;
background-position: center center;
-moz-box-shadow: 0 0 2px rgba(0,0,0,.2), inset 0 14px 16px rgba(255,255,255,.75), inset 0 0 7px #fff;
-webkit-box-shadow: 0 0 2px rgba(0,0,0,.2), inset 0 14px 16px rgba(255,255,255,.75), inset 0 0 7px #fff;
box-shadow: 0 0 2px rgba(0,0,0,.2), inset 0 14px 16px rgba(255,255,255,.75), inset 0 0 7px #fff;
background-size: auto 65%;
-moz-box-shadow: inset 0 14px 16px rgba(255,255,255,.5), inset 0 0 7px #fff;
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 14px 16px rgba(255,255,255,.5), inset 0 0 7px #fff;
width: 100%;
box-shadow: inset 0 14px 16px rgba(255,255,255,.5), inset 0 0 7px #fff;
height: 3em;
displaycolor: block#367fb4;
margin-leftpadding: 3px0 1em;
marginfont-rightsize: 3px1.1em;
margin-bottom: .5em;
font-size: 1.2em;
line-height: 1;
text-transform: uppercase;
colorwhite-space: #367fb4normal;
vertical-align: middle;
cursor: pointer;
-moz-border-radius: .3em;
-webkit-border-radius: .3em;
border-radius: .3em;
-webkit-appearance: none;
-moz-appearance: none;
Line 280 ⟶ 309:
 
.payment-method-button:hover {
background-color: #e1e1e1f2f2f2;
-moz-box-shadow: 0 1px 6px rgba(0,0,0,.4), 0 0 2px rgba(0,0,0,.2), inset 0 25px 16px rgba(255,255,255,.75), inset 0 0 24px rgba(255,255,255,.6);
-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.4), 0 0 2px rgba(0,0,0,.2), inset 0 25px 16px rgba(255,255,255,.75), inset 0 0 24px rgba(255,255,255,.6);
box-shadow: 0 1px 6px rgba(0,0,0,.4), 0 0 2px rgba(0,0,0,.2), inset 0 25px 16px rgba(255,255,255,.75), inset 0 0 24px rgba(255,255,255,.6);
}
 
.payment-method-button:active {
background-color: #f9f9f9f2f2f2;
-moz-box-shadow: 0inset 0 2px14px 16px rgba(0255,0255,0255,.25), inset 1px0 1px 3px rgba(0,0,0,.325), inset 0 0 7px #fff;
-webkit-box-shadow: 0inset 0 2px14px 16px rgba(0255,0255,0255,.25), inset 1px0 1px 3px rgba(0,0,0,.325), inset 0 0 7px #fff;
box-shadow: 0inset 0 2px14px 16px rgba(0255,0255,0255,.25), inset 1px0 1px 3px rgba(0,0,0,.325), inset 0 0 7px #fff;
}
 
Line 296 ⟶ 322:
.paymentmethod-pp input,
.paymentmethod-amazon input,
.paymentmethod-bpay input {,
.paymentmethod-ideal input,
.paymentmethod-enets input,
.paymentmethod-yandex input {
text-indent: -10000px;
overflow: hidden;
Line 305 ⟶ 334:
}
.paymentmethod-pp input {
background-image: url('//upload.wikimedia.org/wikipedia/donate/8/8d/Paypal-color.svg');
}
.paymentmethod-amazon input {
background-image: url('//upload.wikimedia.org/wikipedia/donate/e/e4/Amazon-color.svg');
}
.paymentmethod-bpay input {
background-image: url('//upload.wikimedia.org/wikipedia/donate/e/e3/BPAY_Landscape_MONO.gif');
}
.paymentmethod-ideal input {
 
background-image: url(//upload.wikimedia.org/wikipedia/donate/8/83/Ideal_logo.gif);
/* Don't mess with iDEAL and its weird capitalisation */
}
.paymentmethod-ideal .payment-method-button {
.paymentmethod-enets input {
text-transform: none;
background-image: url(//upload.wikimedia.org/wikipedia/donate/d/d4/Enets-logo.png);
}
.paymentmethod-yandex input {
background-image: url(//upload.wikimedia.org/wikipedia/donate/8/85/Yamoney_en.png);
}
html[lang="ru"] .paymentmethod-yandex input {
background-image: url(//upload.wikimedia.org/wikipedia/donate/c/cb/Yandex_money_RU_logo.png);
}
.paymentmethod-pp-usd input {
background-image: url(//upload.wikimedia.org/wikipedia/donate/2/22/Paypal-USD-color.svg);
}
 
Line 396 ⟶ 435:
}
 
 
/* === end of MediaWiki:Resources/2015/landingpage.css === */
@media screen and (max-width: 981px) {
/* Text & Logo layout */
#content {
margin: 0;
padding: 0 1em 1em 1em;
}
 
#p-logo a {
width: 120px;
height: 120px;
background-size: 80%;
}
 
#form-wrapper, #donate {
display: block;
}
 
/* Hide appeal */
#appeal-wrapper {
margin-top: 60px;
display: block;
}
#appeal-head {
display: none;
}
#appeal-body {
padding-top: 0.2em;
}
.appeal-text-long, .appeal-text-short {
display: none;
}
div#infobox-wrapper, div#donor-policy-block {
width: 100%;
}
 
/* Smallprint and links */
div#donor-policy-block {
margin: 0;
padding: 0;
}
 
/* Footer */
div#footer {
margin: 0;
}
 
}
 
/* === end of Template:Styles/2015_Trilogy_default.css === */