MediaWiki:Common.less/smw.less

From Old School Near-Reality Wiki
Jump to navigation Jump to search
root {

--smw-ask-options-even-bg: @BODY_MID; --smw-ask-options-odd-bg: @BODY_LIGHT; --smw-ask-action-btn-lblue-bg: @BODY_MAIN; --smw-ask-action-btn-lblue-color: @black; --smw-ask-action-btn-lblue-border-color: @OSRSW_BROWN; --smw-ask-action-btn-dblue-bg: @OSRSW_BROWN; --smw-ask-action-btn-dblue-color: @white; --smw-ask-action-btn-dblue-border-color: @BUTTON_BORDER; }


.smw-ask-options-fields { tr td { background-color: var(--smw-ask-options-even-bg); }

tr:nth-child(odd) td { background-color: var(--smw-ask-options-odd-bg); } }

.smw-ask-action-btn { &.smw-ask-action-btn-lblue, &.smw-ask-action-btn-lblue:hover, &.smw-ask-action-btn-lblue:visited { background-color: var(--smw-ask-action-btn-lblue-bg); color: var(--smw-ask-action-btn-lblue-color); border-color: var(--smw-ask-action-btn-lblue-border-color); }

&.smw-ask-action-btn-dblue, &.smw-ask-action-btn-dblue:hover, &.smw-ask-action-btn-dblue:visited { background-color: var(--smw-ask-action-btn-dblue-bg); color: var(--smw-ask-action-btn-dblue-color); border-color: var(--smw-ask-action-btn-dblue-border-color); } } /* ===================

  FACTS under edits
  ==================== */

.smw-factbox { background: var(--body-main); border-color: transparent; }

// is this still needed .mw-body .mw-indicators #mw-indicator-smw-entity-examiner.mw-indicator .smw-indicator-vertical-bar-loader { display: none; }