BxBaseStudioConfig.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup UnaView UNA Studio Representation classes
  7. * @ingroup UnaStudio
  8. * @{
  9. */
  10. class BxBaseStudioConfig extends BxBaseConfig
  11. {
  12. function __construct()
  13. {
  14. parent::__construct();
  15. $this->_aConfig['aLessConfig'] = array_merge($this->_aConfig['aLessConfig'], array(
  16. 'bx-margin' => '30px',
  17. 'bx-margin-sec' => '20px',
  18. 'bx-margin-thd' => '10px',
  19. 'bx-padding' => '30px',
  20. 'bx-padding-sec' => '20px',
  21. 'bx-padding-thd' => '10px',
  22. 'bx-color-page' => '#fbfcfd',
  23. 'bx-border-color-layout' => '#cccccc',
  24. 'bx-size-widget' => '128px',
  25. 'bx-round-corners-radius-widget' => '32px',
  26. ));
  27. }
  28. public static function getInstance()
  29. {
  30. if(!isset($GLOBALS['bxDolClasses'][__CLASS__]))
  31. $GLOBALS['bxDolClasses'][__CLASS__] = new BxTemplStudioConfig();
  32. return $GLOBALS['bxDolClasses'][__CLASS__];
  33. }
  34. }
  35. /** @} */