|
17 | 17 | $date = '"color":"#aaa","font-family":"Arial","font-size":"12px","line-height":"180%"'; |
18 | 18 | $image = '"border-top-left-radius":"2px","border-top-right-radius":"2px","border-bottom-left-radius":"2px","border-bottom-right-radius":"2px"'; |
19 | 19 | $userImage = '"width":"50px","height":"50px","margin-right":"8px",' . $image; |
| 20 | +$separator = '"background-color":"rgba(255,255,255,0.2)","height":"2px","margin-top":"30px","margin-bottom":"30px"'; |
20 | 21 |
|
21 | | -$getElementsStyles = function($prefix) use ($text, $h1, $h2, $h3, $input, $link, $button, $date, $userImage, $image) { |
| 22 | +$getElementsStyles = function ($prefix) use ($text, $h1, $h2, $h3, $input, $link, $button, $date, $userImage, $image, $separator) { |
22 | 23 | return [ |
23 | 24 | $prefix . 'HeadingLargeCSS' => '{' . $h1 . '}', |
24 | 25 | $prefix . 'HeadingMediumCSS' => '{' . $h2 . '}', |
|
51 | 52 | $prefix . 'ForumPostsShowMoreButtonCSS' => '{' . $link . '}', |
52 | 53 | $prefix . 'ForumPostsNewPostButtonCSS' => '{' . $link . '}', |
53 | 54 | $prefix . 'ShareButtonCSS' => '{' . $button . '}', |
| 55 | + $prefix . 'SeparatorLargeCSS' => '{' . $separator . ',"width":"80%"}', |
| 56 | + $prefix . 'SeparatorMediumCSS' => '{' . $separator . ',"width":"60%"}', |
| 57 | + $prefix . 'SeparatorSmallCSS' => '{' . $separator . ',"width":"40%"}', |
54 | 58 | ]; |
55 | 59 | }; |
56 | 60 |
|
|
0 commit comments