MediaWiki:Gadget-DuplicateReferences.css

From wikibase-docker
Jump to navigation Jump to search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/**
 * Adds a link to copy references and add them to other statements on the same item.
 *
 * Icons taken from Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome (CC BY-SA 3.0)
 *
 * @see [[MediaWiki:Gadget-DuplicateReferences.js]]
 * @author Bene*
 */

/* show reference heading which is otherwise only visible in edit mode */
.wikibase-referenceview div.wikibase-referenceview-heading {
	display: block;
}

.wikibase-toolbar-button-copy .wb-icon {
	/* SVG support using a transparent gradient to guarantee cross-browser
	 * compatibility (browsers able to understand gradient syntax support also SVG).
	 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Copy_font_awesome.svg/24px-Copy_font_awesome.svg.png);
	/* @embed */
	background-image: -webkit-linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/0/04/Copy_font_awesome.svg);
	/* @embed */
	background-image: linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/0/04/Copy_font_awesome.svg);

	background-size: 15px 15px;
	background-repeat: no-repeat;
}

.wikibase-toolbar-button-insert .wb-icon {
	/* SVG support using a transparent gradient to guarantee cross-browser
	 * compatibility (browsers able to understand gradient syntax support also SVG).
	 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Paste_font_awesome.svg/24px-Paste_font_awesome.svg.png);
	/* @embed */
	background-image: -webkit-linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/4/46/Paste_font_awesome.svg);
	/* @embed */
	background-image: linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/4/46/Paste_font_awesome.svg);

	background-size: 15px 15px;
	background-repeat: no-repeat;
}