summaryrefslogtreecommitdiff
blob: dcec9554af10acd8eb174158661d75f445ffb86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*!
 * This file is part of the Semantic MediaWiki Tooltip/Highlighter module
 * @see https://semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program 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.
 *
 * This program 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, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 * http://www.gnu.org/copyleft/gpl.html
 *
 * @since 1.8
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @author mwjames
 */

/* Tooltips, style for content of the bubble */
div.smwtt {
	color: #000000;
}

/* Tooltips, show persistent tooltips for non-JavaScript clients */
span.smwttpersist span.smwttcontent {
	color: #888888;
	font-style: italic;
	font-size: 90%;
}

/* Tooltips, hide inline tooltips for non-JavaScript clients */
span.smwttinline span.smwttcontent {
	display: none;
	speak: none;
}

/* Tooltips, style for image anchor for persistent tooltips */
span.smwtticon {
	display: none;
}

/* Tooltips, colored anchors? */
span.smwttactivepersist {
	cursor: help;
	color: #0000C8;
}

/* Tooltips, colored anchors */
span.smwttactiveinline {
	color: #BB7700;
	text-decoration: none;
}

/* Tooltips, images for tooltip icons */
img.smwttimg {
	padding-right: 5px;
	padding-left: 4px;
}

/* New tooltip content is always hidden */
.smwttcontent {
	display:none;
}

/* New tooltip icon defaults */
.smwtticon {
	padding:14px 12px 0 0;
	white-space:nowrap;
	margin-bottom: -1px;
}

/* New tooltip, Individual assigned icons ( inline-block is important because the icon <span> is empty) */
.smwtticon.info {
	display:inline-block;
	/* @embed */ background: url(../../images/info.png) no-repeat left bottom;
}

.smwtticon.service {
	display:inline-block;
	/* @embed */ background: url(../../images/info.png) no-repeat left bottom;
}

.smwtticon.warning {
	display:inline-block;
	/* @embed */ background: url(../../images/warning.png) no-repeat left bottom;
}

.smwtticon.note {
	display:inline-block;
	/* @embed */ background: url(../../images/note.png) no-repeat left bottom;
}