dev

Note: After publishing, you may have to bypass your browser's cache to see the changes.

/* 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;
    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 10px 60px 0 gray;
    /* Try to match wiki theme with fallback */
    background: #ffffff;
    background: var(--theme-page-background-color);

    border-width: 5px;
    border-style: solid;
    /* Try to match wiki theme with fallback */
    border-color: #f6f6f6;
    border-color: rgba(var(--theme-page-background-color--rgb), .8);

    -moz-background-clip: padding;
    -webkit-background-clip: padding;
    background-clip: padding-box;

    /* 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: #0e191a;
    left: 0;
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Dark theme adjustments */
body[data-theme="dark"] .SCMModal {
    box-shadow: 0 10px 60px 0 black;
}
body[data-theme="dark"] .SCMModal .close img {
    filter: invert();
}

/* 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;
	}
}