/*
 * Stylesheet for the markup of glossary terms in wiki pages.
 *
 * This file is part of the MediaWiki extension Lingo.
 *
 * @copyright 2011 - 2018, Stephan Gambke
 * @license GPL-2.0-or-later
 *
 * The Lingo extension is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option) any
 * later version.
 *
 * The Lingo extension is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 * @author Stephan Gambke
 *
 * @file
 * @ingroup Lingo
 */

@media screen {

	span.mw-lingo-term {

		border-bottom: 1px dotted #bbbbff;
		cursor: default;

		&:hover {
			background-color: rgba( 0, 0, 0, 0.1 );
		}
	}
}

.mw-lingo-tooltip {

	display:               none;

	/* qtip light */
	color:                 #454545;
	background-color:      white;
	border:                1px solid #e2e2e2;

	/* qtip shadow */
	-webkit-box-shadow:    1px 1px 3px 1px rgba( 0, 0, 0, 0.15 );
	-moz-box-shadow:       1px 1px 3px 1px rgba( 0, 0, 0, 0.15 );
	box-shadow:            1px 1px 3px 1px rgba( 0, 0, 0, 0.15 );

	/* qtip rounded */
	-moz-border-radius:    5px;
	-webkit-border-radius: 5px;
	border-radius:         5px;
}

.mw-lingo-definition:not( :last-child ) {
	margin-bottom: 0.5em;
}

.mw-lingo-definition-text {

	display: inline-block;

	p, ul {
		margin: 0;
	}
}

.mw-lingo-definition-link {

	float: right;

	& > a:before {
		content: /*@embed*/ url( linkicon.png );
		margin-left: 1em;
	}
}