2015-04-02 02:18:15 +08:00
|
|
|
|
2016-06-30 08:02:45 +08:00
|
|
|
var
|
|
|
|
window = require('window'),
|
|
|
|
Opentip = window.Opentip;
|
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-06-30 08:02:45 +08:00
|
|
|
module.exports = Opentip;
|