@import "config.less"; /* tickernoti */ @ticker-height: 100 * @unit_base; @-webkit-keyframes ui-ticker-show { from { opacity: 0; -webkit-transform: translateY(-@ticker-height); top: -@ticker-height; } to { opacity: 1; -webkit-transform: translateY(0); top: 0; } } @-webkit-keyframes ui-ticker-hide { from { opacity: 1; -webkit-transform: translateY(0); top: 0; } to { opacity: 0; -webkit-transform: translateY(-@ticker-height); top: -@ticker-height; } } .ui-ticker { position: fixed; display: none; left: 0; width: 100%; height: @ticker-height; z-index: @z_base_tickernoti; background: @color_ticker_bg; } .ui-ticker.fix{ display: block; } .ui-ticker.show { display: block; -webkit-animation: ui-ticker-show 0.8s 1 ease; top: 0; } .ui-ticker.hide { display: block; -webkit-animation: ui-ticker-hide 0.8s 1 ease; top: -@ticker-height; } .ui-ticker-btn { position: relative; height: 54 * @unit_base; margin-top: 23 * @unit_base; margin-left: 16 * @unit_base; margin-right: 16 * @unit_base; vertical-align: middle; float: right; .ui-btn-inner { padding: 0.3em 0.7em; } } .ui-ticker-icon { position: absolute; top: 0; height: 64 * @unit_base; width: 64 * @unit_base; margin-top: 18 * @unit_base; margin-bottom: 18 * @unit_base; margin-left: 16 * @unit_base; margin-right: 16 * @unit_base; vertical-align: middle; /* FIXME: please fix this image file */ background: url(images/00_button_call.png) no-repeat; .LESSbackground-size(64 * @unit_base, 64 * @unit_base); } .ui-ticker-text1-bg { position: absolute; top: 0; height: 28 * @unit_base; left: 96 * @unit_base; margin-top: 20 * @unit_base; font-size: 0.8em; color: @color_ticker_text1; } .ui-ticker-text2-bg { position: absolute; top: 0; height: 32 * @unit_base; left: 96 * @unit_base; margin-top: 48 * @unit_base; color: @color_ticker_text2; } /* smallpopup */ @smallpopup-height: 48 * @unit_base; @-webkit-keyframes ui-smallpopup-show { from { opacity: 0; -webkit-transform: scaleY(0); } to { opacity: 1; -webkit-transform: scaleY(1); } } @-webkit-keyframes ui-smallpopup-hide { from { opacity: 1; height: @smallpopup-height; left: 0; -webkit-transform: scaleY(1); } to { opacity: 0; height: 0; left: 0; -webkit-transform: scaleY(0); } } .ui-smallpopup { position: fixed; display: none; top: 0; left: 0; width: 100%; height: @smallpopup-height; z-index: @z_base_smallpopup; background: @color_smallpopup_bg; vertical-align: middle; } .ui-smallpopup.fix { display: block; } .ui-smallpopup.show { display: block; -webkit-animation: ui-smallpopup-show 0.5s 1 ease; } .ui-smallpopup.hide { display: block; left: -100%; -webkit-animation: ui-smallpopup-hide 0.5s 1 ease; } .ui-smallpopup-text-bg { position: relative; margin-top: 6 * @unit_base; margin-left: 16 * @unit_base; color: @color_smallpopup_text; }