mediawiki-extensions-Revisi.../modules/ext.RevisionSlider.css
Leszek Manicki 77095bfa65 Use OOjs Popup Widgets instead of tipsy
Bug: T141983
Change-Id: I4b4ea427f82b15625537d859623461eceb1eb52b
2016-08-08 18:11:23 +02:00

244 lines
4.3 KiB
CSS

/* stylelint-disable selector-no-id */
/* TODO: No need to use IDs, they should be replaced with classes */
#mw-revslider-container {
/* This will flip with CSSJanus in case */
/* the interface is in RTL */
direction: ltr;
position: relative;
}
.mw-revslider-revision {
position: relative;
margin-top: 70px;
background-color: #e3e3e3;
border-color: #e3e3e3;
}
.mw-revslider-revision:hover {
background-color: #ccc;
border-color: #ccc;
transition: all ease 0.2s;
-webkit-transition: all ease 0.2s;
-moz-transition: all ease 0.2s;
-o-transition: all ease 0.2s;
}
.mw-revslider-revision-up {
border-bottom-width: 2px;
border-bottom-style: solid;
}
.mw-revslider-revision-down {
border-top-width: 2px;
border-top-style: solid;
}
.mw-revslider-revision-old {
background-color: #fee6a8;
border-color: #e8bd4f;
}
.mw-revslider-revision-old:hover {
background-color: #fdc44b;
border-color: #dda000;
}
.mw-revslider-revision-new {
background-color: #c3e2ff;
border-color: #1e6db8;
}
.mw-revslider-revision-new:hover {
background-color: #45a6ff;
border-color: #065cad;
}
.mw-revslider-revision-intermediate {
background-color: #bcbcbc;
border-color: #989898;
}
.mw-revslider-revision-intermediate:hover {
background-color: #a6a6a6;
border-color: #828282;
}
.mw-revslider-revision-wrapper {
display: inline-block;
cursor: pointer;
z-index: 10;
height: 140px;
}
.mw-revslider-revision-wrapper:hover,
.mw-revslider-revision-wrapper-hovered {
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-revslider-revision-border-box {
height: 100%;
width: 100%;
border-left: solid 1px #fff;
}
.mw-revslider-tooltip {
font-size: 0.8em;
}
.mw-revslider-revision-tooltip .mw-revslider-change-positive {
color: #006400;
}
.mw-revslider-revision-tooltip .mw-revslider-change-negative {
color: #8b0000;
}
.mw-revslider-revision-tooltip .mw-revslider-change-none {
color: #aaa;
}
.mw-revslider-arrow-tooltip,
.mw-revslider-help-tooltip {
text-align: center;
}
.mw-revslider-revisions {
height: 140px;
white-space: nowrap;
}
.mw-revslider-revisions-container {
width: 90%;
position: relative;
overflow: hidden;
}
.mw-revslider-revisions-container,
.mw-revslider-arrow {
float: left;
}
.mw-revslider-arrow {
width: 20px;
height: 140px;
background-position: center center;
background-repeat: no-repeat;
}
.mw-revslider-arrow-backwards {
margin-right: 30px;
}
.mw-revslider-arrow-forwards {
margin-left: 30px;
}
.mw-revslider-arrow-enabled,
.mw-revslider-arrow-disabled {
border: #ddd solid 2px;
}
.mw-revslider-arrow-hovered {
border: #ddd solid 2px;
background-color: #e5e5e5;
cursor: pointer;
}
.mw-revslider-arrow-active {
border: #ccc solid 2px;
}
.mw-revslider-revision-slider {
position: relative;
margin: auto;
}
.mw-revslider-pointer-container {
position: absolute;
clear: both;
height: 1px;
top: 57px;
margin: auto;
z-index: 10;
}
.mw-revslider-pointer-lower {
top: 15px;
}
.mw-revslider-pointer {
position: absolute !important; /* stylelint-disable-line declaration-no-important */
z-index: 11;
width: 18px;
height: 13px;
background-repeat: no-repeat;
}
.mw-revslider-pointer-cursor {
cursor: ew-resize;
}
.mw-revslider-revisions-older {
float: left;
}
.mw-revslider-revisions-newer {
float: right;
}
#mw-revslider-darkness {
background-color: #fff;
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.5; /* 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-revslider-help-dialog-image-landscape {
height: 160px;
width: 100%;
background-repeat: no-repeat;
background-position: center;
}
.mw-revslider-help-dialog-image-portrait {
height: 180px;
width: 100%;
background-repeat: no-repeat;
background-position: center;
}
.mw-revslider-column-image {
width: 50%;
float: left;
}
.mw-revslider-column-text {
width: 50%;
float: right;
}
.mw-revslider-help-dialog-text {
font-size: 14px;
}
.mw-revslider-show-help {
position: absolute;
right: 0;
bottom: 0;
margin-right: 0;
}