Sha256: fd614994e5738bbd4fe6c0e1bf5de8e8bccda9ab6ef58e6e1de2ec654e05e0da

Contents?: true

Size: 985 Bytes

Versions: 4

Compression:

Stored size: 985 Bytes

Contents

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

    },
    container: {
        object  : '<ul id="noty_topLeft_layout_container" />',
        selector: 'ul#noty_topLeft_layout_container',
        style   : function() {
            $(this).css({
                top          : 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/topLeft.js
noty-rails-2.3.7 vendor/assets/javascripts/noty/layouts/topLeft.js
noty-rails-2.3.5 vendor/assets/javascripts/noty/layouts/topLeft.js
noty-rails-2.3.4 vendor/assets/javascripts/noty/layouts/topLeft.js