text: "use strict";
  var _1 = require("../");
  var box_1 = require("./box");
  /**
   * Recommended Page setup
   * - Sets up the body to be full size
   * - Sets up box sizing to be border box
   **/
  function setupPage(rootSelector) {
      /** Use full window size for application */
      _1.cssRule('html, body', {
          height: '100%',
          width: '100%',
          padding: 0,
          margin: 0
      });
      /** Use border box */
      _1.cssRule('html', {
          '-moz-box-sizing': 'border-box',
          '-webkit-box-sizing': 'border-box',
          boxSizing: 'border-box'
      });
      _1.cssRule('*,*:before,*:after', {
          boxSizing: 'inherit'
      });
      /** Also root should fill parent */
      _1.cssRule(rootSelector, box_1.fillParent);
  }
  exports.setupPage = setupPage;
  