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

Content deleted Content added
hide form and consider amounts until JS fiddling is done
merge in responsive code
 
(13 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 */
Line 5:
.consider-amounts {
display: none;
}
 
#actual-form-loading {
text-align: center;
line-height: 1.2;
}
.error-nojs {
max-width: 300px;
color: #800;
}
 
Line 41 ⟶ 50:
padding-left: 0;
padding-right: 2em;
width: 100%;
}
body.rtl #appeal-wrapper {
Line 58 ⟶ 68:
font-size: 1.125em;
margin-bottom: 1em;
}
 
.quote-wrapper {
padding: 9em 0;
}
 
Line 72 ⟶ 86:
-webkit-box-sizing: border-box;
box-sizing: border-box;
transition: all 0.2s;
}
 
Line 82 ⟶ 95:
}
 
#donate-form-wrapper label,
#donate-form-wrapper input {
transition: all 0.2s;
}
 
/*
#donate-form-wrapper:before {
pointer-events: none;
Line 103 ⟶ 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 224 ⟶ 249:
 
.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 241 ⟶ 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, {
.radiobuttons-cell label.checked,
.input_amount_other.checked {
background: #0f4b76 !important;
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
Line 285 ⟶ 289:
border-radius: .3em;
border: 0;
outline: 0;
background-color: #eaeaea;
background-repeat: no-repeat;
Line 432 ⟶ 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 === */