Fandom Developers Wiki
Register
m (Reverted edits by HM100 (talk) to last revision by Dorumin)
Tag: Rollback
m (Buttons have control over their background and contrast, so this shouldn't be too bad)
Line 2: Line 2:
 
.modalWrapper a.wikia-button {
 
.modalWrapper a.wikia-button {
 
background-color: #404a57;
 
background-color: #404a57;
background-image: -moz-linear-gradient(top,#566374 35%,#404a57 65%);
 
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,#566374),color-stop(65%,#404a57));
 
background-image: -o-linear-gradient(top,#566374 35%,#404a57 65%);
 
background-image: -ms-linear-gradient(top,#566374 35%,#404a57 65%);
 
/* Try to match wiki theme with fallback */
 
 
background-image: linear-gradient(to bottom,
 
background-image: linear-gradient(to bottom,
 
#566374 35%,
 
#566374 35%,
var(--theme-accent-color) 65%
+
#404a57 65%
 
);
 
);
 
border: 1px solid #404a57;
 
border: 1px solid #404a57;
Line 17: Line 12:
 
cursor: pointer;
 
cursor: pointer;
 
display: inline-block;
 
display: inline-block;
font-family: Helvetica,Arial,sans-serif;
+
font-family: Helvetica, Arial, sans-serif;
 
font-size: 12px;
 
font-size: 12px;
 
height: 19px;
 
height: 19px;
Line 29: Line 24:
 
.modalWrapper .wikia-button.secondary {
 
.modalWrapper .wikia-button.secondary {
 
background-color: #e6e6e6;
 
background-color: #e6e6e6;
background-image: -moz-linear-gradient(top,white 35%,#e6e6e6 65%);
 
background-image: -webkit-gradient(linear,0% 0%,0% 100%,color-stop(35%,white),color-stop(65%,#e6e6e6));
 
background-image: -o-linear-gradient(top,white 35%,#e6e6e6 65%);
 
background-image: -ms-linear-gradient(top,white 35%,#e6e6e6 65%);
 
/* Try to match wiki theme with fallback */
 
 
background-image: linear-gradient(to bottom,
 
background-image: linear-gradient(to bottom,
white 35%,
+
#ffffff 35%,
var(--text-color--light) 65%
+
#e6e6e6 65%
 
);
 
);
 
border: 1px solid #cccccc;
 
border: 1px solid #cccccc;
 
color: #3a3a3a;
 
color: #3a3a3a;
/* Try to match wiki theme with fallback */
 
color: var(--theme-article-text-color);
 
 
}
 
}
   

Revision as of 17:03, 10 March 2021

/* scoped .wikia-button class */
.modalWrapper 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;
}

.modalWrapper .wikia-button.secondary {
    background-color: #e6e6e6;
    background-image: linear-gradient(to bottom,
        #ffffff 35%,
        #e6e6e6 65%
    );
    border: 1px solid #cccccc;
    color: #3a3a3a;
}

.modalWrapper .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 */
.modalWrapper {
    box-shadow: 0 10px 60px 0 gray;
    background: #ffffff;
    /* Try to match wiki theme with fallback */
    background: var(--theme-article-background-color);
    border-width: 5px;
    border-style: solid;
    border-color: #f6f6f6;
    border-color: rgba(246,246,246,0.8);
    -moz-background-clip: padding;
    -webkit-background-clip: padding;
    background-clip: padding-box;
    color: #3a3a3a;
    /* Try to match wiki theme with fallback */
    color: var(--theme-article-text-color);
    position: absolute;
}

.modalWrapper > h1,
.WikiaRail .module .modalWrapper > h3,
.modalWrapper .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;
}

.modalWrapper .close {
    zoom: 1;
    float: right;
    margin: 20px 20px 0 0;
    z-index: 1;
}

.modalWrapper .close:after {
    clear: both;
    content: " ";
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.modalWrapper .neutral {
    background: transparent;
}

.modalWrapper .modalToolbar {
    text-align: right;
    background: transparent;
    margin-top: 20px;
}

.modalWrapper .modalToolbar a {
    margin-left: 10px;
}

.modalWrapper #WikiaConfirmOk {
    margin-left: 2px;
}

.modalContent {
    zoom: 1;
    font-size: 13px;
    line-height: 21px;
    display: block;
    margin: 0 20px 20px 20px;
}

.modalContent::after {
    clear: both;
    content: " ";
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.modalContent .main-header {
    margin-left: 0;
    margin-top: 0;
}

.modalContent .MyToolsConfiguration .options-list {
    line-height: 1;
}

.modalContent b {
    font-weight: bold;
}

.modalContent i {
    font-style: italic;
}

.blackout {
    background-color: #0e191a;
    left: 0;
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}