MediaWiki:Gadget-switch-infobox.css

From Zeah RSPS - Wiki
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.
.switch-infobox > p,
.switch-infobox-triggers > p {
    display: none;
}

.switch-infobox > p:first-child,
.switch-infobox-triggers > p:first-child {
    display: block;
}

.switch-infobox > .item {
    display: none;
}

.switch-infobox > .item.showing {
    display: block;
}

.switch-infobox > .loading-button {
    display: none;
}

.switch-infobox.loading > .loading-button {
    display: inline-block;
}

.switch-infobox.loading > .switch-infobox-triggers {
    display: none;
}

.trigger.button {
    white-space: pre;
    margin: 0 2px;
}

.switch-infobox-triggers .trigger.button[disabled="disabled"],
.infobox-buttons .button[disabled="disabled"],
.infobox-buttons .button.button-selected,
.switch-infobox-triggers .trigger.button.button-selected {
    opacity: 0.5;
}

.rsw-infobox td.rsw-infobox-switch-buttons {
    padding-top: 0.5em;
    padding-bottom: 0;
    border-top: 0;
}

.switch-infobox .switch-infobox-triggers .button,
.infobox-switch .infobox-buttons .button,
.infobox-wrapper .infobox-buttons .button {
    background: var(--button-background);
    border: transparent;
    color: var(--button-color);
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 19px;
    line-height: 20px;
    padding: 0 10px;
    white-space: pre;
    margin: 0 2px;
}

.switch-infobox .switch-infobox-triggers,
.switch-infobox .loading-button {
    clear: left;
}

.switch-infobox caption .switch-infobox-triggers,
.rsw-infobox-switch-buttons-row .infobox-buttons {
    text-align: center;
}

.rsw-synced-switch .rsw-synced-switch-item {
    display: none;
}

.rsw-synced-switch .rsw-synced-switch-item.showing {
    display: block;
}

.content caption.rsw-infobox-switch-buttons-caption {
    background: none;
    display: table-caption;
}

.content .infobox-bonuses caption.rsw-infobox-switch-buttons-caption {
    display: block;
}

table.infobox-switch {
    display: table;
}

.gender-render-hidden {
    display: none;
}

.infobox-bonuses .gender-render {
    border-left: 1px solid #94866d;
}

.wgl-darkmode .infobox-bonuses .gender-render {
    border-left-color: #596e96;
}