Browse Source

Fixes for reveal

pull/1243/head
jlukic 10 years ago
parent
commit
07b801cfb3
4 changed files with 12 additions and 10 deletions
  1. 11
      src/definitions/elements/reveal.less
  2. 1
      src/definitions/modules/progress.js
  3. 2
      src/themes/default/elements/icon.variables
  4. 8
      src/themes/default/elements/reveal.variables

11
src/definitions/elements/reveal.less

@ -26,7 +26,6 @@
.ui.reveal { .ui.reveal {
display: inline-block; display: inline-block;
position: relative !important; position: relative !important;
z-index: @bottomZIndex !important;
font-size: 0em !important; font-size: 0em !important;
} }
@ -35,13 +34,18 @@
top: 0em !important; top: 0em !important;
left: 0em !important; left: 0em !important;
z-index: @topZIndex !important; z-index: @topZIndex !important;
transition: all @transitionDuration @transitionEasing @transitionDelay;
transition: @transition;
} }
.ui.reveal > .hidden.content { .ui.reveal > .hidden.content {
position: relative !important; position: relative !important;
z-index: @bottomZIndex !important; z-index: @bottomZIndex !important;
} }
/* Make sure hovered element is on top of other reveal */
.ui.reveal:hover .visible.content {
z-index: @activeZIndex !important;
}
/******************************* /*******************************
Types Types
@ -54,9 +58,7 @@
.ui.slide.reveal { .ui.slide.reveal {
position: relative !important; position: relative !important;
display: block;
overflow: hidden !important; overflow: hidden !important;
white-space: nowrap; white-space: nowrap;
} }
@ -72,6 +74,7 @@
bottom @transitionDuration @transitionEasing @transitionDelay bottom @transitionDuration @transitionEasing @transitionDelay
; ;
} }
.ui.slide.reveal > .visible.content { .ui.slide.reveal > .visible.content {
position: relative !important; position: relative !important;
} }

1
src/definitions/modules/progress.js

@ -624,7 +624,6 @@ $.fn.progress.settings = {
value : 'value' value : 'value'
}, },
selector : { selector : {
bar : '> .bar', bar : '> .bar',
label : '> .label', label : '> .label',

2
src/themes/default/elements/icon.variables

@ -8,7 +8,7 @@
@fontName: 'icons'; @fontName: 'icons';
@opacity: 0.75;
@opacity: 1;
@width: 1.23em; @width: 1.23em;
@height: 0.9em; @height: 0.9em;
@distanceFromText: 0.25rem; @distanceFromText: 0.25rem;

8
src/themes/default/elements/reveal.variables

@ -5,11 +5,11 @@
@transitionDelay: 0.15s; @transitionDelay: 0.15s;
@transitionDuration: 0.8s; @transitionDuration: 0.8s;
@transitionEasing: cubic-bezier(0.175, 0.885, 0.320, 1); @transitionEasing: cubic-bezier(0.175, 0.885, 0.320, 1);
@transition: all @transitionDuration @transitionEasing @transitionDelay;
@zIndex: 2;
@bottomZIndex: 3;
@topZIndex: 4;
@bottomZIndex: 2;
@topZIndex: 3;
@activeZIndex: 4;
@rotateDegrees: 110deg; @rotateDegrees: 110deg;
@medium: 1rem;
Loading…
Cancel
Save