Sha256: 48619be9d63aeacd9c16c09bb4895b78805a100933fbd5e79463366b5b2de838

Contents?: true

Size: 705 Bytes

Versions: 9

Compression:

Stored size: 705 Bytes

Contents

;(function($) {

	$.noty.layouts.topRight = {
		name: 'topRight',
		options: { // overrides options
			
		},
		container: {
			object: '<ul id="noty_topRight_layout_container" />',
			selector: 'ul#noty_topRight_layout_container',
			style: function() {
				$(this).css({
					top: 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

9 entries across 9 versions & 5 rubygems

Version Path
noty-rails-2.1.0.1 vendor/assets/javascripts/noty/layouts/topRight.js
noty-rails-2.1.0 vendor/assets/javascripts/noty/layouts/topRight.js
el-finder-0.1.0 assets/noty/layouts/topRight.js
rear-0.2.0 assets/noty/layouts/topRight.js
ocp_registry-0.0.5.pre public/noty/js/layouts/topRight.js
ocp_registry-0.0.1.alpha public/noty/js/layouts/topRight.js
frontline-0.0.7 assets/noty/layouts/topRight.js
noty-rails-2.0.3.1 vendor/assets/javascripts/noty/layouts/topRight.js
noty-rails-2.0.3 vendor/assets/javascripts/noty/layouts/topRight.js