Sha256: 04234fed895e37373b0cbfea851ed1fb404ba49419e119601d0ef813fdf9cfe4

Contents?: true

Size: 997 Bytes

Versions: 4

Compression:

Stored size: 997 Bytes

Contents

$.noty.layouts.bottomLeft = {
    name     : 'bottomLeft',
    options  : { // overrides options

    },
    container: {
        object  : '<ul id="noty_bottomLeft_layout_container" />',
        selector: 'ul#noty_bottomLeft_layout_container',
        style   : function() {
            $(this).css({
                bottom       : 20,
                left         : 20,
                position     : 'fixed',
                width        : '310px',
                height       : 'auto',
                margin       : 0,
                padding      : 0,
                listStyleType: 'none',
                zIndex       : 10000000
            });

            if(window.innerWidth < 600) {
                $(this).css({
                    left: 5
                });
            }
        }
    },
    parent   : {
        object  : '<li />',
        selector: 'li',
        css     : {}
    },
    css      : {
        display: 'none',
        width  : '310px'
    },
    addClass : ''
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
noty-rails-2.3.8 vendor/assets/javascripts/noty/layouts/bottomLeft.js
noty-rails-2.3.7 vendor/assets/javascripts/noty/layouts/bottomLeft.js
noty-rails-2.3.5 vendor/assets/javascripts/noty/layouts/bottomLeft.js
noty-rails-2.3.4 vendor/assets/javascripts/noty/layouts/bottomLeft.js