You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
288 lines
5.8 KiB
288 lines
5.8 KiB
/*
|
|
* # Semantic - Reveal
|
|
* http://github.com/semantic-org/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2014 Contributor
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
|
|
/*******************************
|
|
Theme
|
|
*******************************/
|
|
|
|
@type : 'element';
|
|
@element : 'reveal';
|
|
|
|
@import '../../semantic.config';
|
|
|
|
|
|
/*******************************
|
|
Reveal
|
|
*******************************/
|
|
|
|
.ui.reveal {
|
|
display: inline-block;
|
|
position: relative !important;
|
|
z-index: @bottomZIndex !important;
|
|
font-size: 0em !important;
|
|
}
|
|
|
|
.ui.reveal > .visible.content {
|
|
position: absolute !important;
|
|
top: 0em !important;
|
|
left: 0em !important;
|
|
z-index: @topZIndex !important;
|
|
transition: all @transitionDuration @transitionEasing @transitionDelay;
|
|
}
|
|
.ui.reveal > .hidden.content {
|
|
position: relative !important;
|
|
z-index: @bottomZIndex !important;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
|
|
|
|
/*--------------
|
|
Slide
|
|
---------------*/
|
|
|
|
.ui.slide.reveal {
|
|
position: relative !important;
|
|
display: block;
|
|
overflow: hidden !important;
|
|
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ui.slide.reveal > .content {
|
|
display: block;
|
|
float: left;
|
|
|
|
margin: 0em;
|
|
transition:
|
|
top @transitionDuration @transitionEasing @transitionDelay,
|
|
left @transitionDuration @transitionEasing @transitionDelay,
|
|
right @transitionDuration @transitionEasing @transitionDelay,
|
|
bottom @transitionDuration @transitionEasing @transitionDelay
|
|
;
|
|
}
|
|
.ui.slide.reveal > .visible.content {
|
|
position: relative !important;
|
|
}
|
|
.ui.slide.reveal > .hidden.content {
|
|
position: absolute !important;
|
|
left: 100% !important;
|
|
width: 100% !important;
|
|
}
|
|
.ui.slide.reveal:hover > .visible.content {
|
|
left: -100% !important;
|
|
}
|
|
.ui.slide.reveal:hover > .hidden.content {
|
|
left: 0% !important;
|
|
}
|
|
|
|
.ui.right.slide.reveal > .visible.content {
|
|
left: 0%;
|
|
}
|
|
.ui.right.slide.reveal > .hidden.content {
|
|
left: auto !important;
|
|
right: 100% !important;
|
|
}
|
|
.ui.right.slide.reveal:hover > .visible.content {
|
|
left: 100% !important;
|
|
right: auto !important;
|
|
}
|
|
.ui.right.slide.reveal:hover > .hidden.content {
|
|
left: auto !important;
|
|
right: 0% !important;
|
|
}
|
|
|
|
.ui.up.slide.reveal > .visible.content {
|
|
top: 0% !important;
|
|
left: 0% !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
}
|
|
.ui.up.slide.reveal > .hidden.content {
|
|
top: 100% !important;
|
|
left: 0% !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
}
|
|
.ui.slide.up.reveal:hover > .visible.content {
|
|
top: -100% !important;
|
|
left: 0% !important;
|
|
}
|
|
.ui.slide.up.reveal:hover > .hidden.content {
|
|
top: 0% !important;
|
|
left: 0% !important;
|
|
}
|
|
|
|
.ui.down.slide.reveal > .visible.content {
|
|
top: auto !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
bottom: 0% !important;
|
|
}
|
|
.ui.down.slide.reveal > .hidden.content {
|
|
top: auto !important;
|
|
right: auto !important;
|
|
bottom: 100% !important;
|
|
left: 0% !important;
|
|
}
|
|
.ui.slide.down.reveal:hover > .visible.content {
|
|
left: 0% !important;
|
|
bottom: -100% !important;
|
|
}
|
|
.ui.slide.down.reveal:hover > .hidden.content {
|
|
left: 0% !important;
|
|
bottom: 0% !important;
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Fade
|
|
---------------*/
|
|
|
|
.ui.fade.reveal > .visible.content {
|
|
opacity: 1;
|
|
}
|
|
.ui.fade.reveal:hover > .visible.content {
|
|
opacity: 0;
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Move
|
|
---------------*/
|
|
|
|
.ui.move.reveal > .visible.content,
|
|
.ui.move.left.reveal > .visible.content {
|
|
left: auto !important;
|
|
top: auto !important;
|
|
bottom: auto !important;
|
|
right: 0% !important;
|
|
}
|
|
.ui.move.reveal:hover > .visible.content,
|
|
.ui.move.left.reveal:hover > .visible.content {
|
|
right: 100% !important;
|
|
}
|
|
|
|
.ui.move.right.reveal > .visible.content {
|
|
right: auto !important;
|
|
top: auto !important;
|
|
bottom: auto !important;
|
|
left: 0% !important;
|
|
}
|
|
.ui.move.right.reveal:hover > .visible.content {
|
|
left: 100% !important;
|
|
}
|
|
|
|
.ui.move.up.reveal > .visible.content {
|
|
right: auto !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
|
|
bottom: 0% !important;
|
|
}
|
|
.ui.move.up.reveal:hover > .visible.content {
|
|
bottom: 100% !important;
|
|
}
|
|
|
|
.ui.move.down.reveal > .visible.content {
|
|
right: auto !important;
|
|
left: auto !important;
|
|
bottom: auto !important;
|
|
|
|
top: 0% !important;
|
|
bottom: auto !important;
|
|
}
|
|
.ui.move.down.reveal:hover > .visible.content {
|
|
top: 100% !important;
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Rotate
|
|
---------------*/
|
|
|
|
.ui.rotate.reveal > .visible.content {
|
|
transition-duration: @transitionDuration;
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
.ui.rotate.reveal > .visible.content,
|
|
.ui.rotate.right.reveal > .visible.content {
|
|
transform-origin: bottom right;
|
|
}
|
|
.ui.rotate.reveal:hover > .visible.content,
|
|
.ui.rotate.right.reveal:hover > .visible.content {
|
|
transform: rotate(@rotateDegrees);
|
|
}
|
|
|
|
.ui.rotate.left.reveal > .visible.content {
|
|
transform-origin: bottom left;
|
|
}
|
|
.ui.rotate.left.reveal:hover > .visible.content {
|
|
transform: rotate(-@rotateDegrees);
|
|
}
|
|
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
|
|
.ui.disabled.reveal {
|
|
opacity: 1 !important;
|
|
}
|
|
.ui.disabled.reveal > .content {
|
|
transition: none !important;
|
|
}
|
|
.ui.disabled.reveal:hover > .visible.content {
|
|
position: static !important;
|
|
display: block !important;
|
|
opacity: 1 !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
transform: none !important;
|
|
}
|
|
.ui.disabled.reveal:hover > .hidden.content {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
|
|
/*--------------
|
|
Masked
|
|
---------------*/
|
|
|
|
.ui.masked.reveal {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/*--------------
|
|
Instant
|
|
---------------*/
|
|
|
|
.ui.instant.reveal > .content {
|
|
transition-delay: 0s !important;
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Sizing
|
|
---------------*/
|
|
|
|
.ui.reveal > .content {
|
|
font-size: @medium !important;
|
|
}
|