Sha256: dc8631c89d8afb852678d770bac42c3b4e487fbe60893c1e69298224db5747d6

Contents?: true

Size: 720 Bytes

Versions: 6

Compression:

Stored size: 720 Bytes

Contents

;(function($) {

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

				if (window.innerWidth < 600) {
					$(this).css({
						right: 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/bottomRight.js
noty-rails-2.1.0 vendor/assets/javascripts/noty/layouts/bottomRight.js
ocp_registry-0.0.5.pre public/noty/js/layouts/bottomRight.js
ocp_registry-0.0.1.alpha public/noty/js/layouts/bottomRight.js
noty-rails-2.0.3.1 vendor/assets/javascripts/noty/layouts/bottomRight.js
noty-rails-2.0.3 vendor/assets/javascripts/noty/layouts/bottomRight.js