src/js/theme/styleGenerator.js
function(options) {
        var webkitScrollbarRules = builder.createWebkitScrollbarRules('.' + classNameConst.CONTAINER, options);
        var ieScrollbarRule = builder.createIEScrollbarRule('.' + classNameConst.CONTAINER, options);
        var xInnerBorderRule = classRule(classNameConst.BORDER_BOTTOM).bg(options.border);
        var xOuterBorderRule = classRule(classNameConst.CONTENT_AREA).border(options.border);
        var yInnerBorderRule = classRule(classNameConst.SCROLLBAR_Y_INNER_BORDER).bg(options.border);
        var yOuterBorderRule = classRule(classNameConst.SCROLLBAR_Y_OUTER_BORDER).bg(options.border);
        var spaceRightTopRule = classRule(classNameConst.SCROLLBAR_RIGHT_TOP)
            .bg(options.emptySpace)
            .border(options.border);
        var spaceRightBottomRule = classRule(classNameConst.SCROLLBAR_RIGHT_BOTTOM)
            .bg(options.emptySpace)
            .border(options.border);
        var spaceLeftBottomRule = classRule(classNameConst.SCROLLBAR_LEFT_BOTTOM)
            .bg(options.emptySpace)
            .border(options.border);
        var frozenBorderRule = classRule(classNameConst.SCROLLBAR_FROZEN_BORDER)
            .bg(options.emptySpace)
            .border(options.border);

        return builder.buildAll(webkitScrollbarRules.concat([
            ieScrollbarRule,
            xInnerBorderRule,
            xOuterBorderRule,
            yInnerBorderRule,
            yOuterBorderRule,
            spaceRightTopRule,
            spaceRightBottomRule,
            spaceLeftBottomRule,
            frozenBorderRule
        ]));
    }
function(options) {
        var webkitScrollbarRules = builder.createWebkitScrollbarRules('.' + classNameConst.CONTAINER, options);
        var ieScrollbarRule = builder.createIEScrollbarRule('.' + classNameConst.CONTAINER, options);
        var xInnerBorderRule = classRule(classNameConst.BORDER_BOTTOM).bg(options.border);
        var xOuterBorderRule = classRule(classNameConst.CONTENT_AREA).border(options.border);
        var yInnerBorderRule = classRule(classNameConst.SCROLLBAR_Y_INNER_BORDER).bg(options.border);
        var yOuterBorderRule = classRule(classNameConst.SCROLLBAR_Y_OUTER_BORDER).bg(options.border);
        var spaceRightTopRule = classRule(classNameConst.SCROLLBAR_RIGHT_TOP)
            .bg(options.emptySpace)
            .border(options.border);
        var spaceRightBottomRule = classRule(classNameConst.SCROLLBAR_RIGHT_BOTTOM)
            .bg(options.emptySpace)
            .border(options.border);
        var spaceLeftBottomRule = classRule(classNameConst.SCROLLBAR_LEFT_BOTTOM)
            .bg(options.emptySpace)
            .border(options.border);
        var frozenBorderRule = classRule(classNameConst.SCROLLBAR_FROZEN_BORDER)
            .bg(options.emptySpace)
            .border(options.border);

        return builder.buildAll(webkitScrollbarRules.concat([
            ieScrollbarRule,
            xInnerBorderRule,
            xOuterBorderRule,
            yInnerBorderRule,
            yOuterBorderRule,
            spaceRightTopRule,
            spaceRightBottomRule,
            spaceLeftBottomRule,
            frozenBorderRule
        ]));
    }
function ( options ) { var webkitScrollbarRules = builder . createWebkitScrollbarRules ( '.' + classNameConst . CONTAINER , options ) ; var ieScrollbarRule = builder . createIEScrollbarRule ( '.' + classNameConst . CONTAINER , options ) ; var xInnerBorderRule = classRule ( classNameConst . BORDER_BOTTOM ) . bg ( options . border ) ; var xOuterBorderRule = classRule ( classNameConst . CONTENT_AREA ) . border ( options . border ) ; var yInnerBorderRule = classRule ( classNameConst . SCROLLBAR_Y_INNER_BORDER ) . bg ( options . border ) ; var yOuterBorderRule = classRule ( classNameConst . SCROLLBAR_Y_OUTER_BORDER ) . bg ( options . border ) ; var spaceRightTopRule = classRule ( classNameConst . SCROLLBAR_RIGHT_TOP ) . bg ( options . emptySpace ) . border ( options . border ) ; var spaceRightBottomRule = classRule ( classNameConst . SCROLLBAR_RIGHT_BOTTOM ) . bg ( options . emptySpace ) . border ( options . border ) ; var spaceLeftBottomRule = classRule ( classNameConst . SCROLLBAR_LEFT_BOTTOM ) . bg ( options . emptySpace ) . border ( options . border ) ; var frozenBorderRule = classRule ( classNameConst . SCROLLBAR_FROZEN_BORDER ) . bg ( options . emptySpace ) . border ( options . border ) ; return builder . buildAll ( webkitScrollbarRules . concat ( [ ieScrollbarRule , xInnerBorderRule , xOuterBorderRule , yInnerBorderRule , yOuterBorderRule , spaceRightTopRule , spaceRightBottomRule , spaceLeftBottomRule , frozenBorderRule ] ) ) ; }
Generates a css string for scrollbars.
@param {Object} options - options
@returns {String}
Generates a css string for scrollbars .