User:Tobias Alcaraz/common.css/lastEdited.css
< User:Tobias Alcaraz | common.css
Jump to navigation
Jump to search
Revision as of 17:08, 7 July 2023 by Tobias Alcaraz (talk | contribs) (Created page with ".close.wikia-chiclet-button > img { height: 19px; width: 19px; } →scoped .wikia-button class: .SCMModal a.wikia-button { background-color: #404a57; backgr...")
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
.close.wikia-chiclet-button > img { height: 19px; width: 19px; } /* scoped .wikia-button class */ .SCMModal a.wikia-button { background-color: #404a57; background-image: linear-gradient(to bottom, #566374 35%, #404a57 65% ); border: 1px solid #404a57; border-radius: 4px; box-sizing: content-box; color: #fff; cursor: pointer; display: inline-block; font-family: Helvetica, Arial, sans-serif; font-size: 12px; height: 19px; line-height: 20px; margin: 0; padding: 0 10px; text-decoration: none; white-space: nowrap; } .SCMModal .wikia-button.secondary { background-color: #e6e6e6; background-image: linear-gradient(to bottom, #ffffff 35%, #e6e6e6 65% ); border: 1px solid #cccccc; color: #3a3a3a; } .SCMModal .wikia-chiclet-button { background-image: none; border: 0; border-radius: 0; cursor: pointer; display: inline-block; height: 19px; opacity: 0.3; padding: 0; position: relative; width: 19px; line-height: 1; background-color: #404a57; /* Try to match wiki theme with fallback */ background-color: var(--theme-accent-color); } /* other stuff, put later due to specificity */ .SCMModal { box-shadow: 0 11px 15px -7px rgb(0 0 0 / 20%), 0 24px 38px 3px rgb(0 0 0 / 14%), 0 9px 46px 8px rgb(0 0 0 / 12%); /* Try to match wiki theme with fallback */ background: #ffffff; background: var(--theme-surface); background: #373737; border: none; /* Try to match wiki theme with fallback */ color: #3a3a3a; color: var(--theme-page-text-color); position: absolute; } .SCMModal > h1, .WikiaRail .module .SCMModal > h3, .SCMModal .main-header { color: #009bbe; /* Try to match wiki theme with fallback */ color: var(--theme-link-color); font-size: 22px; margin: 20px 60px 20px 20px; overflow: hidden; font-weight: normal; } .SCMModal .close { zoom: 1; float: right; margin: 20px 20px 0 0; z-index: 1; } .SCMModal .close:after { clear: both; content: " "; display: block; height: 0; overflow: hidden; visibility: hidden; } .SCMModal .neutral { background: transparent; } .SCMModal .modalToolbar { text-align: right; background: transparent; margin-top: 20px; } .SCMModal .modalToolbar a { margin-left: 10px; } .SCMModal #WikiaConfirmOk { margin-left: 2px; } .SCMModal .modalContent { zoom: 1; font-size: 13px; line-height: 21px; display: block; margin: 0 20px 20px 20px; } .SCMModal .modalContent::after { clear: both; content: " "; display: block; height: 0; overflow: hidden; visibility: hidden; } .SCMModal .modalContent .main-header { margin-left: 0; margin-top: 0; } .SCMModal .modalContent .MyToolsConfiguration .options-list { line-height: 1; } .SCMModal .modalContent b { font-weight: bold; } .SCMModal .modalContent i { font-style: italic; } .SCMBlackout { background-color: rgba(0, 0, 0, .32); left: 0; opacity: 1 !important; position: fixed; top: 0; width: 100%; height: 100%; } /* Make the modal full-size of small/mobile devices */ @media only screen and (max-width: 700px) { .SCMModal { box-sizing: border-box; width: calc(100% - 20px) !important; left: auto !important; margin-left: 10px !important; } } /* Remove borders from "line x" row. */ #lastEdited-diff td { border: none; } /* Remove empty rows. */ #lastEdited-diff tr:has(.diff-context:empty, .diff-context:empty ~ .diff-context:empty) { display: none; } /* Remove bg. */ #lastEdited-diff .diff-context { background: none; } /* Allowing border spacing in the diff table. */ #lastEdited-diff .modalContent > div { border-collapse: separate; border-spacing: 0 4px; } #lastEdited-diff tr .diff-marker ~ .diff-marker { margin-left: 5px; } /**/ #lastEdited-diff tr .diff-marker { border-bottom: 1px solid var(--theme-color__grey); border-left: 4px solid var(--theme-color__grey); border-top: 1px solid var(--theme-color__grey); border-radius: 4px 0 0 4px; } #lastEdited-diff tr :is(.diff-context, .diff-deletedline, .diff-addedline) { border-bottom: 1px solid var(--theme-color__grey); border-right: 1px solid var(--theme-color__grey); border-top: 1px solid var(--theme-color__grey); border-radius: 0 4px 4px 0; } #lastEdited-diff tr:has(.diff-deletedline) :is(.diff-marker:has(+ .diff-deletedline), .diff-deletedline) { border-color: var(--theme-color__red); } #lastEdited-diff tr:has(.diff-addedline) :is(.diff-marker:has(+ .diff-addedline), .diff-addedline) { border-color: var(--theme-color__green); } .lastEdited { font-size: .875rem; }