/*global window, jQuery*/


;(function($) {
  'use strict';


  $.noty.layouts.progress = {
    name: 'progress',
    options: {}, // overrides options
    container: {
      object:   '<div id="notice-progress-container" />',
      selector: 'div#notice-progress-container',
      style:    $.noop,
    },
    parent: {
      object:   '<div class="notice-element" />',
      selector: 'div.notice-element',
      css:      {}
    },
    css: {
      display:  'none',
      width:    '310px'
    },
    addClass: ''
  };


  $.noty.layouts.notification = {
    name: 'notification',
    options: {}, // overrides options
    container: {
      object:   '<div id="notice-notification-container" />',
      selector: 'div#notice-notification-container',
      style:    $.noop,
    },
    parent: {
      object:   '<div class="notice-element" />',
      selector: 'div.notice-element',
      css:      {}
    },
    css: {
      display: 'none',
      width: '310px'
    },
    addClass: ''
  };
})(jQuery);


/*global window, jQuery*/


;(function($) {
  'use strict';


  $.noty.layouts.progress = {
    name: 'progress',
    options: {}, // overrides options
    container: {
      object:   '<div id="notice-progress-container" />',
      selector: 'div#notice-progress-container',
      style:    $.noop,
    },
    parent: {
      object:   '<div class="notice-element" />',
      selector: 'div.notice-element',
      css:      {}
    },
    css: {
      display:  'none',
      width:    '310px'
    },
    addClass: ''
  };


  $.noty.layouts.notification = {
    name: 'notification',
    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);


Revert "Cleanup notification notice layout"
Revert "Cleanup notification notice layout"

This reverts commit d1f46897609f900bd1e8f79745751bc3789e8ef8.
