[go: nahoru, domu]

Jump to content

User:Danski454/stubsearch/css

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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

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

  • No custom style

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

  • No custom style

Stub preview: span id=stub-preview

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

Search button: input id=stub-search-button

  • No custom style

Current selection item: span id=stub-search-cat

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

Up button: input id=stub-search-up

  • No custom style

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

  • No custom style

Scrollable area: div id=stub-search-scroll

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