Difference between revisions of "MediaWiki:Gadget-ReferenceTooltips.css"
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
(Install package: HEALDInterface) Tag: content model change |
|||
(29 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
list-style-image: none; | list-style-image: none; | ||
opacity: 0; | opacity: 0; | ||
− | font-size: | + | font-family: serif; |
− | + | font-size: 14px; | |
+ | line-height: 19px; | ||
margin: 0; | margin: 0; | ||
z-index: 5; | z-index: 5; | ||
Line 13: | Line 14: | ||
} | } | ||
.referencetooltip li { | .referencetooltip li { | ||
− | border: # | + | font-family: serif; |
+ | font-size: 14px; | ||
+ | line-height: 19px; | ||
+ | border: #F8F8F8 1px solid; | ||
max-width: 260px; | max-width: 260px; | ||
padding: 10px 8px 13px 8px; | padding: 10px 8px 13px 8px; | ||
margin: 0px; | margin: 0px; | ||
− | background-color: # | + | background-color: #f9f9f9; |
− | -webkit-box-shadow: | + | -webkit-box-shadow: 0px 4px 2px rgba(0,0,0,0.3); |
− | -moz-box-shadow: | + | -moz-box-shadow: 0px 4px 2px rgba(0,0,0,0.3); |
− | box-shadow: | + | box-shadow: 0px 4px 2px rgba(0,0,0,0.3); |
} | } | ||
.referencetooltip li+li { | .referencetooltip li+li { | ||
Line 33: | Line 37: | ||
-moz-box-shadow: none; | -moz-box-shadow: none; | ||
box-shadow: none; | box-shadow: none; | ||
− | border-top: 12px # | + | border-top: 12px #F8F8F8 solid; |
border-right: 7px transparent solid; | border-right: 7px transparent solid; | ||
border-left: 7px transparent solid; | border-left: 7px transparent solid; | ||
Line 67: | Line 71: | ||
top: 2px; | top: 2px; | ||
border-top: 0; | border-top: 0; | ||
− | border-bottom: 12px # | + | border-bottom: 12px #F8F8F8 solid; |
} | } | ||
.referencetooltip.RTflipped li+li::after { | .referencetooltip.RTflipped li+li::after { | ||
Line 80: | Line 84: | ||
width: 24px; | width: 24px; | ||
cursor: pointer; | cursor: pointer; | ||
− | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/05/OOjs_UI_icon_advanced.svg/24px-OOjs_UI_icon_advanced.svg.png); | + | /*(background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/05/OOjs_UI_icon_advanced.svg/24px-OOjs_UI_icon_advanced.svg.png); |
− | background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/0/05/OOjs_UI_icon_advanced.svg); | + | background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/0/05/OOjs_UI_icon_advanced.svg);*/ |
margin-top: -9px; | margin-top: -9px; | ||
margin-right: -7px; | margin-right: -7px; |
Latest revision as of 20:27, July 21, 2021
/* See mw:Reference Tooltips */
.referencetooltip {
position: absolute; list-style: none; list-style-image: none; opacity: 0; font-family: serif; font-size: 14px; line-height: 19px; margin: 0; z-index: 5; padding: 0;
} .referencetooltip li {
font-family: serif; font-size: 14px; line-height: 19px; border: #F8F8F8 1px solid; max-width: 260px; padding: 10px 8px 13px 8px; margin: 0px; background-color: #f9f9f9; -webkit-box-shadow: 0px 4px 2px rgba(0,0,0,0.3); -moz-box-shadow: 0px 4px 2px rgba(0,0,0,0.3); box-shadow: 0px 4px 2px rgba(0,0,0,0.3);
} .referencetooltip li+li {
margin-left: 7px; margin-top: -2px; border: 0; padding: 0; height: 3px; width: 0px; background-color: transparent; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; border-top: 12px #F8F8F8 solid; border-right: 7px transparent solid; border-left: 7px transparent solid;
} .referencetooltip>li+li::after {
content: ; border-top: 8px #F7F7F7 solid; border-right: 5px transparent solid; border-left: 5px transparent solid; margin-top: -12px; margin-left: -5px; z-index: 1; height: 0px; width: 0px; display: block;
} .client-js body .referencetooltip li li {
border: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; height: auto; width: auto; margin: auto; padding: 0; position: static;
} .RTflipped {
padding-top: 13px;
} .referencetooltip.RTflipped li+li {
position: absolute; top: 2px; border-top: 0; border-bottom: 12px #F8F8F8 solid;
} .referencetooltip.RTflipped li+li::after {
border-top: 0; border-bottom: 8px #F7F7F7 solid; position: absolute; margin-top: 7px;
} .RTsettings {
float: right; height: 24px; width: 24px; cursor: pointer; /*(background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/05/OOjs_UI_icon_advanced.svg/24px-OOjs_UI_icon_advanced.svg.png); background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/0/05/OOjs_UI_icon_advanced.svg);*/ margin-top: -9px; margin-right: -7px; -webkit-transition: opacity 0.15s; -moz-transition: opacity 0.15s; -ms-transition: opacity 0.15s; -o-transition: opacity 0.15s; transition: opacity 0.15s; opacity: 0.6; filter: alpha(opacity=60);
} .RTsettings:hover {
opacity: 1; filter: alpha(opacity=100);
} .RTTarget {
border: #080086 2px solid;
}