mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-13 15:58:27 +00:00
10da0333b7
Change-Id: I26aef8df98a7950c93a5de2c0d426cb5db4afde4
105 lines
1.9 KiB
CSS
Executable file
105 lines
1.9 KiB
CSS
Executable file
.revision {
|
|
display: inline-block;
|
|
border: 1px solid black;
|
|
height: 9px;
|
|
position: absolute;
|
|
top: -3px;
|
|
opacity: 0.35;
|
|
z-index: 10;
|
|
margin-top: 75px;
|
|
}
|
|
|
|
.revision:hover {
|
|
opacity: 0.65!important;
|
|
-webkit-transition: all ease 0.2s;
|
|
-moz-transition: all ease 0.2s;
|
|
-o-transition: all ease 0.2s;
|
|
transition: all ease 0.2s;
|
|
}
|
|
|
|
.revision-tooltip {
|
|
text-align: center;
|
|
}
|
|
|
|
.revisions {
|
|
height: 150px;
|
|
}
|
|
.revisions-container {
|
|
width: 90%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.revisions-container, .arrow {
|
|
float: left;
|
|
}
|
|
.arrow {
|
|
width: 5%;
|
|
margin-top: 63px;
|
|
}
|
|
.left-arrow {
|
|
width: 0;
|
|
height: 0;
|
|
margin-right: 20px;
|
|
border-style: solid;
|
|
border-width: 12px 20px 12px 0;
|
|
border-color: transparent #424242 transparent transparent;
|
|
}
|
|
.right-arrow {
|
|
margin-left: 20px;
|
|
width: 0;
|
|
height: 0;
|
|
border-style: solid;
|
|
border-width: 12px 0 12px 18px;
|
|
border-color: transparent transparent transparent #424242;
|
|
}
|
|
|
|
.stopper {
|
|
position: absolute;
|
|
top: 50%;
|
|
height: 50px;
|
|
width: 0;
|
|
}
|
|
|
|
.revision-slider {
|
|
position: relative;
|
|
margin: auto;
|
|
}
|
|
|
|
.pointer-container {
|
|
position: absolute;
|
|
clear: both;
|
|
height: 1px;
|
|
top: 77px;
|
|
margin: auto;
|
|
z-index: 10;
|
|
}
|
|
.oldid-pointer {
|
|
border-color: transparent transparent #ffe49c transparent;
|
|
}
|
|
.newid-pointer {
|
|
border-color: transparent transparent #a3d3ff transparent;
|
|
}
|
|
.pointer {
|
|
position: absolute !important;
|
|
z-index: 11;
|
|
width: 0;
|
|
height: 0;
|
|
border-style: solid;
|
|
border-width: 0 10px 10px 10px;
|
|
}
|
|
|
|
#revision-slider-darkness {
|
|
background-color: white;
|
|
filter:alpha(opacity=50); /* IE */
|
|
opacity: 0.5; /* Safari, Opera */
|
|
-moz-opacity:0.50; /* FireFox */
|
|
z-index: 20;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-repeat:no-repeat;
|
|
background-position:center;
|
|
position:absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|