Sha256: b306bcd9282c97f863587d0e920f2d3415c0ec00e9aed52af34f03efd4b12532

Contents?: true

Size: 714 Bytes

Versions: 6

Compression:

Stored size: 714 Bytes

Contents

;(function($) {

	$.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: ''
	};

})(jQuery);

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
noty-rails-2.1.0.1 vendor/assets/javascripts/noty/layouts/bottomLeft.js
noty-rails-2.1.0 vendor/assets/javascripts/noty/layouts/bottomLeft.js
ocp_registry-0.0.5.pre public/noty/js/layouts/bottomLeft.js
ocp_registry-0.0.1.alpha public/noty/js/layouts/bottomLeft.js
noty-rails-2.0.3.1 vendor/assets/javascripts/noty/layouts/bottomLeft.js
noty-rails-2.0.3 vendor/assets/javascripts/noty/layouts/bottomLeft.js