Sha256: e5745fe0cd39b5ad1e85f4a27a7764ce927f89d105f4a7605f7725871580a177

Contents?: true

Size: 699 Bytes

Versions: 6

Compression:

Stored size: 699 Bytes

Contents

;(function($) {

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

})(jQuery);

Version data entries

6 entries across 6 versions & 2 rubygems

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