「MediaWiki:Gadget-ReferenceTooltips.css」の版間の差分

Maintenance: Remove -ms-transform. Was only needed for IE9, for which JS is no longer enabled.
ja>Makotoy
(コメント形式修正)
 
ja>Krinkle
(Maintenance: Remove -ms-transform. Was only needed for IE9, for which JS is no longer enabled.)
1行目: 1行目:
/*
/* See [[mw:Reference Tooltips]] */
  _________________________________________________________________________________________
|                                                                                        |
|                    === WARNING: GLOBAL GADGET FILE ===                                  |
|                  Changes to this page affect many users.                                |
| Please discuss changes on the talk page or on [[Wikipedia_talk:Gadget]] before editing. |
|_________________________________________________________________________________________|


Imported‎ from [[w:en:MediaWiki:Gadget-ReferenceTooltips.css]], the version as of 15:02, 29 October 2012‎ (UTC)
.rt-tooltip {
Displays references in tooltips, see [[mw:Reference Tooltips]]
position: absolute;
  _________________________________________________________________________________________
z-index: 100;
|                                                                                        |
max-width: 350px;
|                    === 注意 サイト全体に影響するファイルです ===                            |
background: #fff;
|                  このページを変更すると多数の利用者にその影響が及びます                        |
color: #222;
| 変更する前に[[Wikipedia‐ノート:ガジェット]] でよく議論し、動作テストを行ってください。            |
font-size: 13px;
|_________________________________________________________________________________________|
line-height: 1.5em;
border: 1px solid #c8ccd1;
border-radius: 3px;
box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.3);
overflow-wrap: break-word;
}
 
.rt-tooltip.rt-tooltip-insideWindow {
z-index: 110;
}
 
.rt-tooltipContent {
padding: 8px 11px;
}
 
.rt-tooltip-above .rt-tooltipContent {
margin-bottom: -8px;
padding-bottom: 16px;
}
 
.rt-tooltip-below .rt-tooltipContent {
margin-top: -10px;
padding-top: 18px;
}
 
.rt-tooltipTail,
.rt-tooltipTail:after {
position: absolute;
width: 12px;
height: 12px;
}
 
.rt-tooltipTail {
background: #c8ccd1;
background: -webkit-linear-gradient(bottom left, #c8ccd1 50%, rgba(0, 0, 0, 0) 50%);
background: linear-gradient(to top right, #c8ccd1 50%, rgba(0, 0, 0, 0) 50%);
}
 
.rt-tooltipTail:after {
content: "";
background: #fff;
bottom: 1px;
left: 1px;
}
 
.rt-tooltip-above .rt-tooltipTail {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
bottom: 0;
left: 15px;
}
 
.rt-tooltip-below .rt-tooltipTail {
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
top: 0;
left: 27px;
}
 
.rt-settingsLink {
background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%0D%0A%20%20%20%20%3Cpath%20fill%3D%22%23555%22%20d%3D%22M20%2014.5v-2.9l-1.8-.3c-.1-.4-.3-.8-.6-1.4l1.1-1.5-2.1-2.1-1.5%201.1c-.5-.3-1-.5-1.4-.6L13.5%205h-2.9l-.3%201.8c-.5.1-.9.3-1.4.6L7.4%206.3%205.3%208.4l1%201.5c-.3.5-.4.9-.6%201.4l-1.7.2v2.9l1.8.3c.1.5.3.9.6%201.4l-1%201.5%202.1%202.1%201.5-1c.4.2.9.4%201.4.6l.3%201.8h3l.3-1.8c.5-.1.9-.3%201.4-.6l1.5%201.1%202.1-2.1-1.1-1.5c.3-.5.5-1%20.6-1.4l1.5-.3zM12%2016c-1.7%200-3-1.3-3-3s1.3-3%203-3%203%201.3%203%203-1.3%203-3%203z%22%2F%3E%0D%0A%3C%2Fsvg%3E);
float: right;
cursor: pointer;
margin: -4px -4px 0 8px;
height: 24px;
width: 24px;
border-radius: 2px;
background-position: center center;
background-repeat: no-repeat;
background-size: 24px 24px;
}
 
.rt-settingsLink:hover {
background-color: #eee;
}
 
.rt-target {
background-color: #def;
}


このガジェットは [[w:en:MediaWiki:Gadget-ReferenceTooltips.css]] から15:02, 29 October 2012‎  (UTC)に取り込んだものです。
.rt-enableSelect {
脚注をツールチップ内に表示する、詳細は[[mw:Reference Tooltips]]を参照してください。
font-weight: bold;
translated by [[w:ja:User:Marine-Blue]]
}
*/


.referencetooltip {
.rt-settingsFormSeparator {
        position: absolute;
margin: 0.85714286em 0;
        list-style: none;
        list-style-image: none;
        opacity: 0;
        font-size: 10px;
        margin: 0;
        z-index: 5;
        padding: 0;
}
}
.referencetooltip li {
 
        border: #080086 2px solid;
.rt-numberInput.rt-numberInput {
        max-width: 260px;
width: 150px;
        padding: 10px 8px 13px 8px;
        margin: 0px;
        background-color: #F7F7F7;
        box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
        -moz-box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
        -webkit-box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
}
}
.referencetooltip li+li {
 
        margin-left: 7px;
.rt-tooltipsForCommentsField.rt-tooltipsForCommentsField.rt-tooltipsForCommentsField {
        margin-top: -2px;
margin-top: 1.64285714em;
        border: 0;
        padding: 0;
        height: 3px;
        width: 0px;
        background-color: transparent;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        border-top: 12px #080086 solid;
        border-right: 7px transparent solid;
        border-left: 7px transparent solid;
}
}
.referencetooltip>li+li::after {
 
        content: '';
.rt-disabledHelp {
        border-top: 8px #F7F7F7 solid;
border-collapse: collapse;
        border-right: 5px transparent solid;
}
        border-left: 5px transparent solid;
 
        margin-top: -12px;
.rt-disabledHelp td {
        margin-left: -5px;
padding: 0;
        z-index: 1;
}
        height: 0px;
 
        width: 0px;
.rt-disabledNote.rt-disabledNote {
        display: block;
vertical-align: bottom;
padding-left: 0.36em;
font-weight: bold;
}
}
.client-js .referencetooltip li ul li {
 
        border: none;
@-webkit-keyframes rt-fade-in-up {
        box-shadow: none;
0% {
        -moz-box-shadow: none;
opacity: 0;
        -webkit-box-shadow: none;
-webkit-transform: translate(0, 20px);
        height: auto;
-moz-transform: translate(0, 20px);
        width: auto;
transform: translate(0, 20px)
        margin: auto;
}
        padding: 0;
100% {
        position: static;
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
}
}
.RTflipped {
 
        padding-top: 13px;
@-moz-keyframes rt-fade-in-up {
0% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
transform: translate(0, 20px)
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
}
}
.referencetooltip.RTflipped li+li {
 
        position: absolute;
@keyframes rt-fade-in-up {
        top: 2px;
0% {
        border-top: 0;
opacity: 0;
        border-bottom: 12px #080086 solid;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
transform: translate(0, 20px)
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
}
}
.referencetooltip.RTflipped li+li::after {
 
        border-top: 0;
@-webkit-keyframes rt-fade-in-down {
        border-bottom: 8px #F7F7F7 solid;
0% {
        position: absolute;
opacity: 0;
        margin-top: 7px;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
transform: translate(0, -20px)
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
}
}
.RTsettings{
 
        float: right;
@-moz-keyframes rt-fade-in-down {
        height: 16px;
0% {
        width: 16px;
opacity: 0;
        cursor: pointer;
-webkit-transform: translate(0, -20px);
        background-image: url(//upload.wikimedia.org/wikipedia/commons/e/ed/Cog.png);
-moz-transform: translate(0, -20px);
        margin-top: -9px;
transform: translate(0, -20px)
        margin-right: -7px;
}
        -webkit-transition: opacity 0.15s;
100% {
        -moz-transition: opacity 0.15s;
opacity: 1;
        -o-transition: opacity 0.15s;
-webkit-transform: translate(0, 0);
        -ms-transition: opacity 0.15s;
-moz-transform: translate(0, 0);
        transition: opacity 0.15s;
transform: translate(0, 0)
        opacity: 0.6;
}
        filter: alpha(opacity=60);
}
}
.RTsettings:hover{
 
        opacity: 1;
@keyframes rt-fade-in-down {
        filter: alpha(opacity=100);
0% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
transform: translate(0, -20px)
}
100% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
}
}


/* added by Marine-Blue */
@-webkit-keyframes rt-fade-out-down {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
100% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
transform: translate(0, 20px)
}
}


/* Interwiki */
@-moz-keyframes rt-fade-out-down {
ul.referencetooltip a.extiw {  
0% {
        color: #3366BB;
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
100% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
transform: translate(0, 20px)
}
}
}
ul.referencetooltip a.extiw:visited {  
 
        color: #663366;
@keyframes rt-fade-out-down {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
100% {
opacity: 0;
-webkit-transform: translate(0, 20px);
-moz-transform: translate(0, 20px);
transform: translate(0, 20px)
}
}
}
ul.referencetooltip a.extiw:active  {
 
        color: #BB6633;
@-webkit-keyframes rt-fade-out-up {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
100% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
transform: translate(0, -20px)
}
}
}


/* External */
@-moz-keyframes rt-fade-out-up {
ul.referencetooltip a.external {  
0% {
        color: #3366BB;
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
100% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
transform: translate(0, -20px)
}
}
}
ul.referencetooltip a.external:visited {  
 
        color: #663366;
@keyframes rt-fade-out-up {
0% {
opacity: 1;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
transform: translate(0, 0)
}
100% {
opacity: 0;
-webkit-transform: translate(0, -20px);
-moz-transform: translate(0, -20px);
transform: translate(0, -20px)
}
}
}
ul.referencetooltip a.external:active {
 
        color: #BB6633;
.rt-fade-in-up {
-webkit-animation: rt-fade-in-up 0.2s ease forwards;
-moz-animation: rt-fade-in-up 0.2s ease forwards;
animation: rt-fade-in-up 0.2s ease forwards
}
}


/* normal icon */
.rt-fade-in-down {
ul.referencetooltip a.external, ul.referencetooltip a.external[href^="gopher://"] {  
-webkit-animation: rt-fade-in-down 0.2s ease forwards;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=") 100% 50% no-repeat transparent;
-moz-animation: rt-fade-in-down 0.2s ease forwards;
        padding-right: 13px;
animation: rt-fade-in-down 0.2s ease forwards
}
}


/* PDF icon */
.rt-fade-out-down {
ul.referencetooltip a.external[href$=".pdf"], ul.referencetooltip a.external[href$=".PDF"], ul.referencetooltip a.external[href*=".pdf#"], ul.referencetooltip a.external[href*=".PDF#"], ul.referencetooltip a.external[href*=".pdf?"], ul.referencetooltip a.external[href*=".PDF?"] {  
-webkit-animation: rt-fade-out-down 0.2s ease forwards;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAATklEQVR4XmXKQQqAMAwF0X/7XsSz9CSKiyIIFRFcjMmihmiGbB5fqDCaQJ4j46pzYLUWe+cXZ6OVBhTS0srY2Njp/+XxXXZOLu6EUWAOPX1vnwTBe6qQAAAAAElFTkSuQmCC") 100% 50% no-repeat transparent;
-moz-animation: rt-fade-out-down 0.2s ease forwards;
        padding-right: 13px;
animation: rt-fade-out-down 0.2s ease forwards
}
}


/* Secure icon */
.rt-fade-out-up {
ul.referencetooltip a.external[href^="https://"] {  
-webkit-animation: rt-fade-out-up 0.2s ease forwards;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAdUlEQVQYV2P4//8/Awxv3LThf0dXKxyD+DA5DEUg+tWrV2AaWTFcIboJyJrhCtGtRMcgebhpL2/4/v//Lvn//x+7IRjIfn8v+P/t055gxZgKPzaC8Y/nMYQVLpnM8f/zo3AqKfzyOOL/h/sh/59c9sBUSIyvAeRdJWjk4E//AAAAAElFTkSuQmCC") 100% 50% no-repeat transparent;
-moz-animation: rt-fade-out-up 0.2s ease forwards;
        padding-right: 13px;
animation: rt-fade-out-up 0.2s ease forwards
}
}
匿名利用者