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.
 
 
 

255 lines
7.1 KiB

/*
* # Semantic Reveal
* http://github.com/quirkyinc/semantic
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Released: June 28, 2013
*/
/*******************************
Reveal
*******************************/
.ui.reveal {
position: relative !important;
z-index: 2 !important;
}
.ui.reveal > :first-child {
-webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
-moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
-ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
}
.ui.reveal > :first-child {
position: absolute !important;
top: 0em !important;
left: 0em !important;
width: 100% !important;
height: 100% !important;
z-index: 4 !important;
-webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
-moz-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
-ms-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
}
.ui.reveal > :last-child {
position: relative !important;
z-index: 3 !important;
}
/*------------------
Loose Coupling
-------------------*/
.ui.reveal.button {
overflow: hidden;
}
/*******************************
Types
*******************************/
/*--------------
Slide
---------------*/
.ui.slide.reveal {
position: relative !important;
display: block !important;
overflow: hidden !important;
white-space: nowrap;
}
.ui.slide.reveal > * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
margin: 0em;
padding: 0em 1em;
-webkit-transition: top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
-moz-transition: top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
-ms-transition: top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
transition: top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, left 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, right 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s, bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
}
.ui.slide.reveal > :first-child {
position: relative !important;
}
.ui.slide.reveal > :last-child {
display: inline-block;
position: absolute !important;
top: 0% !important;
left: 100% !important;
width: 100% !important;
}
.ui.slide.reveal:hover > :first-child {
left: -100% !important;
}
.ui.slide.reveal:hover > :last-child {
left: 0% !important;
}
.ui.right.slide.reveal > :first-child {
left: 0%;
}
.ui.right.slide.reveal > :last-child {
left: auto !important;
right: 100% !important;
}
.ui.right.slide.reveal:hover > :first-child {
left: 100% !important;
right: auto !important;
}
.ui.right.slide.reveal:hover > :last-child {
left: auto !important;
right: 0% !important;
}
.ui.up.slide.reveal > :first-child {
top: 0% !important;
left: 0% !important;
right: auto !important;
bottom: auto !important;
}
.ui.up.slide.reveal > :last-child {
top: 100% !important;
left: 0% !important;
right: auto !important;
bottom: auto !important;
}
.ui.slide.up.reveal:hover > :first-child {
top: -100% !important;
left: 0% !important;
}
.ui.slide.up.reveal:hover > :last-child {
top: 0% !important;
left: 0% !important;
}
.ui.down.slide.reveal > :first-child {
top: auto !important;
right: auto !important;
bottom: auto !important;
bottom: 0% !important;
}
.ui.down.slide.reveal > :last-child {
top: auto !important;
right: auto !important;
bottom: 100% !important;
left: 0% !important;
}
.ui.slide.down.reveal:hover > :first-child {
left: 0% !important;
bottom: -100% !important;
}
.ui.slide.down.reveal:hover > :last-child {
left: 0% !important;
bottom: 0% !important;
}
/*--------------
Fade
---------------*/
.ui.fade.reveal > :first-child {
opacity: 1;
}
.ui.fade.reveal:hover > :first-child {
opacity: 0;
}
/*--------------
Move
---------------*/
.ui.move.reveal > :first-child,
.ui.move.left.reveal > :first-child {
left: auto !important;
top: auto !important;
bottom: auto !important;
right: 0% !important;
}
.ui.move.reveal:hover > :first-child,
.ui.move.left.reveal:hover > :first-child {
right: 100% !important;
}
.ui.move.right.reveal > :first-child {
right: auto !important;
top: auto !important;
bottom: auto !important;
left: 0% !important;
}
.ui.move.right.reveal:hover > :first-child {
left: 100% !important;
}
.ui.move.up.reveal > :first-child {
right: auto !important;
left: auto !important;
top: auto !important;
bottom: 0% !important;
}
.ui.move.up.reveal:hover > :first-child {
bottom: 100% !important;
}
.ui.move.down.reveal > :first-child {
right: auto !important;
left: auto !important;
top: 0% !important;
bottom: auto !important;
}
.ui.move.down.reveal:hover > :first-child {
top: 100% !important;
}
/*--------------
Rotate
---------------*/
.ui.rotate.reveal > :first-child {
-webkit-transition-duration: 0.8s;
-moz-transition-duration: 0.8s;
-o-transition-duration: 0.8s;
-ms-transition-duration: 0.8s;
transition-duration: 0.8s;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
.ui.rotate.reveal > :first-child,
.ui.rotate.right.reveal > :first-child {
-webkit-transform-origin: bottom right;
-moz-transform-origin: bottom right;
-o-transform-origin: bottom right;
-ms-transform-origin: bottom right;
transform-origin: bottom right;
}
.ui.rotate.reveal:hover > :first-child,
.ui.rotate.right.reveal:hover > :first-child {
-webkit-transform: rotate(110deg);
-moz-transform: rotate(110deg);
-o-transform: rotate(110deg);
-ms-transform: rotate(110deg);
transform: rotate(110deg);
}
.ui.rotate.left.reveal > :first-child {
-webkit-transform-origin: bottom left;
-moz-transform-origin: bottom left;
-o-transform-origin: bottom left;
-ms-transform-origin: bottom left;
transform-origin: bottom left;
}
.ui.rotate.left.reveal:hover > :first-child {
-webkit-transform: rotate(-110deg);
-moz-transform: rotate(-110deg);
-o-transform: rotate(-110deg);
-ms-transform: rotate(-110deg);
transform: rotate(-110deg);
}
/*******************************
Variations
*******************************/
/*--------------
Masked
---------------*/
.ui.masked.reveal {
overflow: hidden;
}
/*--------------
Instant
---------------*/
.ui.instant.reveal > * {
-webkit-transition-delay: 0s !important;
-moz-transition-delay: 0s !important;
-o-transition-delay: 0s !important;
-ms-transition-delay: 0s !important;
transition-delay: 0s !important;
}