mediawiki-extensions-Revisi.../modules/ext.RevisionSlider.css
WMDE-Fisch 1d436fcfea Bold tooltip labels and color-coded change size
Also introduced language specific number formating. Therefore removed the
'bytes' message. Plural form will be computed in the size messages directly.

Comment label and value were split so the parsed comment can be used
plain without parsing the html again.

Bug: T137183
Change-Id: I12f30cb518e3cc5210528d5b22737dde868a0325
2016-06-24 17:51:36 +02:00

217 lines
4.1 KiB
CSS

#mw-revision-slider-container {
/* This will flip with CSSJanus in case */
/* the interface is in RTL */
direction: ltr;
position: relative;
}
.mw-revision {
position: relative;
margin-top: 70px;
background-color: #e3e3e3;
border-color: #e3e3e3;
}
.mw-revision:hover {
background-color: #cccccc;
border-color: #cccccc;
transition: all ease 0.2s;
-webkit-transition: all ease 0.2s;
-moz-transition: all ease 0.2s;
-o-transition: all ease 0.2s;
}
.mw-revision-up {
border-bottom-width: 2px;
border-bottom-style: solid;
}
.mw-revision-down {
border-top-width: 2px;
border-top-style: solid;
}
.mw-revision-old {
background-color: #fee6a8;
border-color: #e8bd4f;
}
.mw-revision-old:hover {
background-color: #fdc44b;
border-color: #dda000;
}
.mw-revision-new {
background-color: #c3e2ff;
border-color: #1e6db8;
}
.mw-revision-new:hover {
background-color: #45a6ff;
border-color: #065cad;
}
.mw-revision-intermediate {
background-color: #bcbcbc;
border-color: #989898;
}
.mw-revision-intermediate:hover {
background-color: #a6a6a6;
border-color: #828282;
}
.mw-revision-wrapper {
display: inline-block;
cursor: pointer;
z-index: 10;
height: 140px;
}
.mw-revision-wrapper:hover {
background-color: #f2f2f2;
transition: all ease 0.2s;
-webkit-transition: all ease 0.2s;
-moz-transition: all ease 0.2s;
-o-transition: all ease 0.2s;
}
.mw-revision-border-box {
height: 100%;
width: 100%;
border-left: solid 1px white;
}
.mw-revision-tooltip .tipsy-inner {
max-width: none;
}
.mw-revision-tooltip .mw-positive-change {
color: #006400;
}
.mw-revision-tooltip .mw-negative-change {
color: #8b0000;
}
.mw-revision-tooltip .mw-no-change {
color: #aaaaaa;
}
.mw-revisions {
height: 140px;
white-space: nowrap;
}
.mw-revisions-container {
width: 90%;
position: relative;
overflow: hidden;
}
.mw-revisions-container, .mw-arrow {
float: left;
}
.mw-arrow {
width: 20px;
height: 140px;
background-position: center center;
background-repeat: no-repeat;
}
.mw-arrow-backwards {
margin-right: 30px;
}
.mw-arrow-forwards {
margin-left: 30px;
}
.mw-arrow-enabled, .mw-arrow-disabled {
border: #ddd solid 2px;
}
.mw-arrow-hovered {
border: #ddd solid 2px;
background-color: #e5e5e5;
cursor: pointer;
}
.mw-arrow-active {
border: #ccc solid 2px;
}
.mw-revision-slider {
position: relative;
margin: auto;
}
.mw-pointer-container {
position: absolute;
clear: both;
height: 1px;
top: 57px;
margin: auto;
z-index: 10;
}
.mw-lower-pointer {
top: 15px;
}
.mw-pointer {
position: absolute !important;
z-index: 11;
width: 18px;
height: 13px;
background-repeat: no-repeat;
}
.mw-pointer-cursor {
cursor:ew-resize;
}
.mw-revisions-older {
float:left;
}
.mw-revisions-newer {
float:right;
}
#mw-revision-slider-darkness {
background-color: white;
filter:alpha(opacity=50); /* IE 5-7 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
-khtml-opacity: 0.5; /* Safari 1.x */
-moz-opacity:0.50; /* Netscape */
opacity: 0.5; /* Good browsers */
z-index: 200000;
height: 100%;
width: 100%;
background-repeat:no-repeat;
background-position:center;
position:absolute;
top: 0;
left: 0;
}
.mw-help-dialog-image-landscape {
height: 160px;
width: 100%;
background-repeat: no-repeat;
background-position: center;
}
.mw-help-dialog-image-portrait {
height: 180px;
width: 100%;
background-repeat: no-repeat;
background-position: center;
}
.mw-image-column {
width: 50%;
float: left;
}
.mw-text-column {
width: 50%;
float: right;
}
.mw-help-dialog-text {
font-size: 15px;
font-size: 1rem;
}
.mw-show-help {
position: absolute;
right: -18px;
bottom: 7px;
color: #347bff;
border: 2px solid #347bff;
padding: 0;
background: #fff;
font-size: 15px;
line-height: 15px;
font-weight: bold;
cursor: pointer;
height: 25px;
width: 25px;
}