2015-04-02 02:18:15 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
import window from 'window';
|
|
|
|
|
|
|
|
const Opentip = window.Opentip || {};
|
|
|
|
|
|
|
|
Opentip.styles = Opentip.styles || {};
|
2015-04-02 02:18:15 +08:00
|
|
|
|
2016-06-30 08:02:45 +08:00
|
|
|
Opentip.styles.rainloop = {
|
2015-04-02 02:18:15 +08:00
|
|
|
|
2016-06-30 08:02:45 +08:00
|
|
|
'extends': 'standard',
|
2015-04-02 02:18:15 +08:00
|
|
|
|
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,
|
2015-04-02 02:18:15 +08:00
|
|
|
|
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
|
|
|
|
};
|
2015-04-02 02:18:15 +08:00
|
|
|
|
2016-06-30 08:02:45 +08:00
|
|
|
Opentip.styles.rainloopTip = {
|
|
|
|
'extends': 'rainloop',
|
|
|
|
'delay': 0.4,
|
|
|
|
'group': 'rainloopTips'
|
|
|
|
};
|
2015-04-02 02:18:15 +08:00
|
|
|
|
2016-06-30 08:02:45 +08:00
|
|
|
Opentip.styles.rainloopErrorTip = {
|
|
|
|
'extends': 'rainloop',
|
|
|
|
'className': 'rainloopErrorTip'
|
|
|
|
};
|
2015-04-02 02:18:15 +08:00
|
|
|
|
2016-08-17 06:01:20 +08:00
|
|
|
export {Opentip, Opentip as default};
|