snappymail/dev/External/Opentip.js

47 lines
739 B
JavaScript
Raw Normal View History

import window from 'window';
const Opentip = window.Opentip || {};
Opentip.styles = Opentip.styles || {};
2016-06-30 08:02:45 +08:00
Opentip.styles.rainloop = {
2016-06-30 08:02:45 +08:00
'extends': 'standard',
2016-06-30 08:02:45 +08:00
'fixed': true,
'target': true,
2015-04-14 02:45:09 +08:00
2016-06-30 08:02:45 +08:00
'delay': 0.2,
'hideDelay': 0,
2015-04-14 02:45:09 +08:00
2016-06-30 08:02:45 +08:00
'hideEffect': 'fade',
'hideEffectDuration': 0.2,
2016-06-30 08:02:45 +08:00
'showEffect': 'fade',
'showEffectDuration': 0.2,
2015-04-14 02:45:09 +08:00
2016-06-30 08:02:45 +08:00
'showOn': 'mouseover click',
'removeElementsOnHide': true,
2015-04-14 02:45:09 +08:00
2016-06-30 08:02:45 +08:00
'background': '#fff',
'shadow': false,
2015-04-14 02:45:09 +08:00
2016-06-30 08:02:45 +08:00
'borderColor': '#999',
'borderRadius': 2,
'borderWidth': 1
};
2016-06-30 08:02:45 +08:00
Opentip.styles.rainloopTip = {
'extends': 'rainloop',
'delay': 0.4,
'group': 'rainloopTips'
};
2016-06-30 08:02:45 +08:00
Opentip.styles.rainloopErrorTip = {
'extends': 'rainloop',
'className': 'rainloopErrorTip'
};
export {Opentip, Opentip as default};