User:Aviram7/TwinkleMobile.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Dialog */
.morebits-dialog {
top: 0 !important;
left: 50% !important;
transform: translate(-50%, 0);
margin: auto !important;
position: fixed !important;
max-width: 100% !important;
max-height: 100% !important;
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
box-sizing: border-box;
font-size: 80%;
}
.morebits-dialog .morebits-dialog-content {
flex: 1 !important;
max-height: 70vh !important;
}
.morebits-dialog .ui-dialog-titlebar {
min-height: 1em;
}
.morebits-dialog .ui-dialog-buttonpane {
min-height: auto !important;
}
/* Quickform */
form.quickform input[type=text], form.quickform select,
form.quickform input[type=button], .morebits-dialog-buttons button {
padding: 0.15rem 0.3rem;
background: #fff;
border: 1px solid #565656;
border-radius: 2px;
}
form.quickform input[type=text], form.quickform select, form.quickform textarea {
font-size: inherit !important;
}
form.quickform input[type=text], form.quickform select {
width: 230px;
}
form.quickform input[type=checkbox], form.quickform input[type=radio] {
margin-right: 4px;
}
form.quickform textarea {
width: 90% !important;
}
/* PortletLink */
.mw-ui-icon-portletlink-twmb {
background-image: linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/a/a5/Police_man_Twinkle_Head.svg);
}
/* Hide second line */
#tw-revert:nth-child(2) {
display: none;
}
[id^="tw-revert-to-"]:nth-child(2) {
display: none;
}