Difference between revisions of "MediaWiki:Common.css"

From Frictional Wiki
Jump to navigation Jump to search
(Prevent table edit bars from turning brown)
(Prevent text from getting too dark + error icon)
Line 35: Line 35:
 
}
 
}
  
/* Prevent trash icon from turning blue */
+
/* Prevent trash and error icon from turning blue */
.oo-ui-image-destructive.oo-ui-icon-trash {
+
.oo-ui-image-destructive.oo-ui-icon-trash, .oo-ui-image-error.oo-ui-icon-error {
 
   filter: inherit !important;
 
   filter: inherit !important;
 
}
 
}
Line 43: Line 43:
 
.ve-ui-tableLineContext > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
 
.ve-ui-tableLineContext > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
 
   filter: inherit;
 
   filter: inherit;
 +
}
 +
 +
/* Prevent text from getting too dark */
 +
.oo-ui-tabOptionWidget {
 +
  color: inherit;
 
}
 
}

Revision as of 21:36, 15 August 2020

/* CSS placed here will be applied to all skins */

/* class keyword color */
.mw-highlight .nc {
  color: #6A6AFF;
}

/* Darken image thumbnail border */
html .thumbimage {
  border-color: #484848;
}

/* Darken VisualEditor pop-up box arrow */
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
  border-bottom-color: #292929 !important;
}
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
  border-bottom-color: black !important;
}

/* Make VisualEditor pop-up box close button white */
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
  filter: invert(1);
}

/* Make VisualEditor pop-up box text lighter */
.oo-ui-toolbar-actions .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
  color: #bbb;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  color: #bbb;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
  color: #696969;
}

/* Prevent trash and error icon from turning blue */
.oo-ui-image-destructive.oo-ui-icon-trash, .oo-ui-image-error.oo-ui-icon-error {
  filter: inherit !important;
}

/* Prevent table edit bars from turning brown */
.ve-ui-tableLineContext > .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
  filter: inherit;
}

/* Prevent text from getting too dark */
.oo-ui-tabOptionWidget {
  color: inherit;
}