Template:MonthlyConvert/Default/styles.css: Difference between revisions

Content deleted Content added
Created page with ".mc-modal *, .mc-modal *:before, .mc-modal *:after { box-sizing: border-box; } Close button: .mc-close { display: inline-block; position: absolute; right: 15px; top: 15px; z-index: 999; cursor: pointer; padding: 0; } body.rtl .mc-close { right: auto; left: 0; } .mc-close:hover .mc-icon g { stroke: #000;: } .mc-icon-close { width: 26px; height: 26px; } Back button: .mc-back { display: none; cursor: pointer; position: absolute; top: 20px;..."
 
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 5:
}
 
.mc-modal,
/* Close button */
.mc-closemodal * {
font-family: -apple-system,BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen-Sans", Ubuntu, Cantarell, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
display: inline-block;
position: absolute;
right: 15px;
top: 15px;
z-index: 999;
cursor: pointer;
padding: 0;
}
 
body.rtl .mc-close {
right: auto;
left: 0;
}
 
.mc-close:hover .mc-icon g {
/*stroke: #000;*/
}
 
.mc-icon-close {
width: 26px;
height: 26px;
}
 
/* Back button */
.mc-back {
display: none;
cursor: pointer;
position: absolute;
top: 20px;
left: 15px20px;
opacity: 0.5;
background: transparent;
border: 0;
padding: 0;
}
 
.mc-back:hover .mc-icon path {
/*strokeopacity: #0001;*/
}
 
body.mc-back:hoverrtl .mc-icon rect-back {
transform: rotate(180deg);
/*fill: #000;*/
}
 
.mc-icon-back {
height: 18px;
width: 26px;
}
 
Line 58 ⟶ 36:
left: 0;
z-index: 100;
background: rgba( 0255, 0255, 0255, 0.865 );
width: 100%;
height: 100%;
display: none;
overflow-y: scroll;
}
 
Line 68 ⟶ 45:
.mc-modal {
position: absolute;
top: 5vh50%;
left: 550%;
transform: translate(-50%, -50%);
z-index: 110;
background: #fff;
padding: 40px50px 30px20px 20px;
text-align: center;
color: #000;
font-size: 16px15px;
line-height: 1.4;
border: 1px solid #a2a9b1;
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
fontborder-styleradius: normal2px;
box-shadow: 0 02px 20px2px 0 rgba( 0, 0, 0, 0.32 );
width: calc( 90% );
max-width: 600px;
max-height: 90vh;
overflow: auto;
}
 
@media ( min-width: 800px720px ) {
.mc-modal {
padding: 50px 40px 40px;
left: 50%;
top: 10vh;
margin-left: -390px;
padding: 60px;
font-size: 17px;
width: 660px;
}
}
 
.mc-modal h1h2 {
line-height: 1.13;
font-sizeborder: 150%0;
font-size: 17px;
font-weight: bold;
margin: 0 0 20px 0;
}
 
.mc-modal ptext {
margin-bottom: 1em 0 020px;
}
 
/* Buttons */
.mc-buttons {
margin: 1em auto;
text-align: center;
}
 
@media ( min-width: 800px ) {
.mc-buttons {
margin: 2em auto 1em;
}
}
 
.mc-button {
width: 100%;
display: inline-block;
min-height: 64px;
vertical-align: middle;
widthpadding: 100px12px;
heightmargin-top: 54px12px;
paddingfont-size: 13px17px;
margin: 10px;
font-size: 24px;
font-weight: bold;
line-height: 1;
background-color: #36c;
border: 1px solid #36c;
border-radius: 6px2px;
outline: 0;
color: #fff;
cursor: pointer;
transition: all 0.25s ease-in-out;
}
 
@media ( min-width: 800px ) {
.mc-button {
width: 130px;
height: 60px;
padding: 14px;
font-size: 32px;
}
}
 
Line 163 ⟶ 118:
color: #36c;
font-weight: bold;
background: transparent;
text-decoration: underline;
border: 0;
margin-top: 12px;
padding: 10px 12px;
font-size: 15px;
cursor: pointer;
}
 
.mc-edit-amount plink:hover {
color: #447ff5;
margin-bottom: 2em;
text-decoration: underline;
}
 
.mc-edit-amount label {
display: block;
margin: 1em 0;
}
 
Line 181 ⟶ 146:
outline: 0;
border-bottom: 1px solid #000;
text-align: center;
}
 
.mc-edit-amount .mc-button {
width: calc( 100% );
}
 
@media ( min-width: 800px ) {
.mc-edit-amount .mc-button {
width: 300px;
}
}
 
Line 196 ⟶ 152:
.mc-error {
display: none;
width: calc( 100% + 10px );
margin: 5px 0 5px 5px;
font-size: 14px;
color: #d33d73333;
}
 
/* This prevents the WMF logo from showing through the modal */
.mw-body-content {
position: inherit;
}