mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
f894286873
The need for left-pointer and right-pointer should be cleaned up at some stage. Infact It may be wise to loose the distinction between left and right pointer and simply have 2 pointers. Bug: T134994 Change-Id: I68a2159bde6fff969ca54a79587cfe03ed783454
101 lines
1.9 KiB
CSS
Executable file
101 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;
|
|
}
|
|
|
|
.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;
|
|
}
|