User:Danski454/stubsearch/css

From Wikipedia, the free encyclopedia

The styles used by this script can be customised, the classes and default formatting are listed below. Remember: when using css you may need to add !important to override the default styles in this script.

Selecting stub type buttons: input class=stub-search-type[edit]

  • background:none!important;
  • color:inherit;
  • border:none;
  • cursor:pointer;

Add template to article button: input id=stub-search-confirm[edit]

  • No custom style

Replace stub templates on article button: input id=stub-search-confirm-replace[edit]

  • No custom style

Stub preview: span id=stub-preview[edit]

  • No custom style

Outer box: div id=stub-search-box[edit]

  • background-color:LightBlue;
  • height:200px;
  • border:1px solid black;
  • padding:15px;

Search box: input id=stub-search-search[edit]

  • No custom style

Search button: input id=stub-search-button[edit]

  • No custom style

Current selection item: span id=stub-search-cat[edit]

  • No custom style
  • Note: this does not include the "Current selection: " text

Up button: input id=stub-search-up[edit]

  • No custom style

Parent drop down box: select id=stub-search-parent-select[edit]

  • No custom style

Scrollable area: div id=stub-search-scroll[edit]

  • max-height:175px; (or 150 on timeless skin)
  • overflow:auto;