Skip to content

Commit

Permalink
Ticket #2169
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Jul 11, 2019
1 parent b69ad74 commit 6706359
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions template/scripts/BxBaseConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,24 @@ protected function _setColorRgba($sKey, $sDefault = '')
return $sValue;
}

/**
* Note. Isn't used for now.
*/
protected function _setGradientMenuPageLeft($sKey, $sDefault = '')
{
$sValue = $this->_getColorFromRgba($sKey, $sDefault);
return "linear-gradient(to right, rgba(" . $sValue . ", 1) 0%, rgba(" . $sValue . ", 0) 100%)";
}

/**
* Note. Isn't used for now.
*/
protected function _setGradientMenuPageRight($sKey, $sDefault = '')
{
$sValue = $this->_getColorFromRgba($sKey, $sDefault);
return "linear-gradient(to right, rgba(" . $sValue . ", 0) 0%, rgba(" . $sValue . ", 1) 100%)";
}

protected function _setBgUrl($sKey, $oStorage = null)
{
if(empty($oStorage))
Expand Down

0 comments on commit 6706359

Please sign in to comment.