UNPKG

@c8y/style

Version:

Styles for Cumulocity IoT applications

67 lines (58 loc) 1.1 kB
// We don't use the `.opacity()` mixin here since it causes a bug with text // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. .fade { opacity: 0; .transition(opacity 0.15s linear); &.in, &.show { opacity: 1; } } .collapse { display: none; &.in { display: block; } tr &.in { display: table-row; } tbody &.in { display: table-row-group; } } .collapsing { position: relative; overflow: hidden; width: 100%; height: 0; .transition-property(~'height, visibility'); .transition-duration(0.35s); .transition-timing-function(ease); } .component-pulse { -webkit-animation-name: pulseComponent; animation-name: pulseComponent; animation-duration: 1s; } @-webkit-keyframes pulseComponent { 0%, 20%, 50% { background-color: @component-realtime-added; } 35%, 100% { background-color: @component-background-default; } } @keyframes pulseComponent { 0%, 20%, 50% { background-color: @component-realtime-added; } 35%, 100% { background-color: @component-background-default; } }