HeaderDesign
in package
Uses
UtilsProvider
Header design.
Table of Contents
Constants
- DEFAULT_BG = '#f4f4f4'
- DEFAULT_BOTTOM_BORDER_COLOR = '#efefef'
- DEFAULT_BOTTOM_BORDER_WIDTH = 1
- DEFAULT_FONT_COLOR = '#2b2b2b'
- DEFAULT_FONT_FAMILY = \DevOwl\RealCookieBanner\view\customize\banner\Design::DEFAULT_FONT_FAMILY
- DEFAULT_FONT_INHERIT_FAMILY = true
- DEFAULT_FONT_SIZE = 20
- DEFAULT_FONT_WEIGHT = 'normal'
- DEFAULT_INHERIT_BG = true
- DEFAULT_INHERIT_TEXT_ALIGN = true
- DEFAULT_LOGO_MARGIN = [5, 15, 5, 15]
- DEFAULT_LOGO_MAX_HEIGHT = 40
- DEFAULT_LOGO_POSITION = 'left'
- DEFAULT_PADDING = [17, 20, 15, 20]
- DEFAULT_TEXT_ALIGN = 'center'
- HEADLINE_BORDER_BOTTOM = self::SECTION . '-headline-border-bottom'
- HEADLINE_FONT = self::SECTION . '-headline-font'
- HEADLINE_LOGO = self::SECTION . '-headline-logo'
- SECTION = \DevOwl\RealCookieBanner\view\BannerCustomize::PANEL_MAIN . '-header-design'
- SETTING = RCB_OPT_PREFIX . '-banner-header-design'
- SETTING_BG = self::SETTING . '-bg'
- SETTING_BOTTOM_BORDER_COLOR = self::SETTING . '-border-color'
- SETTING_BOTTOM_BORDER_WIDTH = self::SETTING . '-border-width'
- SETTING_FONT_COLOR = self::SETTING . '-font-color'
- SETTING_FONT_FAMILY = self::SETTING . '-font-family'
- SETTING_FONT_INHERIT_FAMILY = self::SETTING . '-font-inherit-family'
- SETTING_FONT_SIZE = self::SETTING . '-font-size'
- SETTING_FONT_WEIGHT = self::SETTING . '-font-weight'
- SETTING_INHERIT_BG = self::SETTING . '-inherit-bg'
- SETTING_INHERIT_TEXT_ALIGN = self::SETTING . '-inherit-text-align'
- SETTING_LOGO = self::SETTING . '-logo'
- SETTING_LOGO_MARGIN = self::SETTING . '-logo-margin'
- SETTING_LOGO_MAX_HEIGHT = self::SETTING . '-logo-max-height'
- SETTING_LOGO_POSITION = self::SETTING . '-logo-position'
- SETTING_LOGO_RETINA = self::SETTING . '-logo-retina'
- SETTING_PADDING = self::SETTING . '-padding'
- SETTING_TEXT_ALIGN = self::SETTING . '-text-align'
Methods
- args() : mixed
- Return arguments for this section.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
Constants
DEFAULT_BG
public
mixed
DEFAULT_BG
= '#f4f4f4'
DEFAULT_BOTTOM_BORDER_COLOR
public
mixed
DEFAULT_BOTTOM_BORDER_COLOR
= '#efefef'
DEFAULT_BOTTOM_BORDER_WIDTH
public
mixed
DEFAULT_BOTTOM_BORDER_WIDTH
= 1
DEFAULT_FONT_COLOR
public
mixed
DEFAULT_FONT_COLOR
= '#2b2b2b'
DEFAULT_FONT_FAMILY
public
mixed
DEFAULT_FONT_FAMILY
= \DevOwl\RealCookieBanner\view\customize\banner\Design::DEFAULT_FONT_FAMILY
DEFAULT_FONT_INHERIT_FAMILY
public
mixed
DEFAULT_FONT_INHERIT_FAMILY
= true
DEFAULT_FONT_SIZE
public
mixed
DEFAULT_FONT_SIZE
= 20
DEFAULT_FONT_WEIGHT
public
mixed
DEFAULT_FONT_WEIGHT
= 'normal'
DEFAULT_INHERIT_BG
public
mixed
DEFAULT_INHERIT_BG
= true
DEFAULT_INHERIT_TEXT_ALIGN
public
mixed
DEFAULT_INHERIT_TEXT_ALIGN
= true
DEFAULT_LOGO_MARGIN
public
mixed
DEFAULT_LOGO_MARGIN
= [5, 15, 5, 15]
DEFAULT_LOGO_MAX_HEIGHT
public
mixed
DEFAULT_LOGO_MAX_HEIGHT
= 40
DEFAULT_LOGO_POSITION
public
mixed
DEFAULT_LOGO_POSITION
= 'left'
DEFAULT_PADDING
public
mixed
DEFAULT_PADDING
= [17, 20, 15, 20]
DEFAULT_TEXT_ALIGN
public
mixed
DEFAULT_TEXT_ALIGN
= 'center'
HEADLINE_BORDER_BOTTOM
public
mixed
HEADLINE_BORDER_BOTTOM
= self::SECTION . '-headline-border-bottom'
HEADLINE_FONT
public
mixed
HEADLINE_FONT
= self::SECTION . '-headline-font'
HEADLINE_LOGO
public
mixed
HEADLINE_LOGO
= self::SECTION . '-headline-logo'
SECTION
public
mixed
SECTION
= \DevOwl\RealCookieBanner\view\BannerCustomize::PANEL_MAIN . '-header-design'
SETTING
public
mixed
SETTING
= RCB_OPT_PREFIX . '-banner-header-design'
SETTING_BG
public
mixed
SETTING_BG
= self::SETTING . '-bg'
SETTING_BOTTOM_BORDER_COLOR
public
mixed
SETTING_BOTTOM_BORDER_COLOR
= self::SETTING . '-border-color'
SETTING_BOTTOM_BORDER_WIDTH
public
mixed
SETTING_BOTTOM_BORDER_WIDTH
= self::SETTING . '-border-width'
SETTING_FONT_COLOR
public
mixed
SETTING_FONT_COLOR
= self::SETTING . '-font-color'
SETTING_FONT_FAMILY
public
mixed
SETTING_FONT_FAMILY
= self::SETTING . '-font-family'
SETTING_FONT_INHERIT_FAMILY
public
mixed
SETTING_FONT_INHERIT_FAMILY
= self::SETTING . '-font-inherit-family'
SETTING_FONT_SIZE
public
mixed
SETTING_FONT_SIZE
= self::SETTING . '-font-size'
SETTING_FONT_WEIGHT
public
mixed
SETTING_FONT_WEIGHT
= self::SETTING . '-font-weight'
SETTING_INHERIT_BG
public
mixed
SETTING_INHERIT_BG
= self::SETTING . '-inherit-bg'
SETTING_INHERIT_TEXT_ALIGN
public
mixed
SETTING_INHERIT_TEXT_ALIGN
= self::SETTING . '-inherit-text-align'
SETTING_LOGO
public
mixed
SETTING_LOGO
= self::SETTING . '-logo'
SETTING_LOGO_MARGIN
public
mixed
SETTING_LOGO_MARGIN
= self::SETTING . '-logo-margin'
SETTING_LOGO_MAX_HEIGHT
public
mixed
SETTING_LOGO_MAX_HEIGHT
= self::SETTING . '-logo-max-height'
SETTING_LOGO_POSITION
public
mixed
SETTING_LOGO_POSITION
= self::SETTING . '-logo-position'
SETTING_LOGO_RETINA
public
mixed
SETTING_LOGO_RETINA
= self::SETTING . '-logo-retina'
SETTING_PADDING
public
mixed
SETTING_PADDING
= self::SETTING . '-padding'
SETTING_TEXT_ALIGN
public
mixed
SETTING_TEXT_ALIGN
= self::SETTING . '-text-align'
Methods
args()
Return arguments for this section.
public
args() : mixed
getPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string