This repository was archived by the owner on May 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-27
lines changed
DNADesign/Elemental/Layout
BootstrapElemental/Blocks/AlertSection
SilverStripeElementalBootstrapAlertSection/Elements Expand file tree Collapse file tree 6 files changed +6
-27
lines changed Original file line number Diff line number Diff line change 1- <div class=" element $SimpleClassName.LowerCase<% if $StyleVariant %> $StyleVariant<% end_if %><% if $ExtraClass %> $ExtraClass<% end_if %>" id=" $Anchor" >
1+ <div class=" element $SimpleClassName.LowerCase $ElementName <% if $StyleVariant %>$ElementName--$StyleVariant $StyleVariant<% end_if %><% if $ExtraClass %> $ExtraClass<% end_if %>" id=" $Anchor" >
22 $Element
33</div>
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 <% if DisplayIcon && useIcons || ShowTitle %>
44 <div class=" mb-2 d-flex align-items-center justify-content-center text-left" >
55 <% if DisplayIcon && useIcons %>
6- <span class=" mr-3 mr-md-2" style=" font-size:1.5em;" >
6+ <span class=" {$ElementName}__icon mr-3 mr-md-2" style=" font-size:1.5em;" >
77 <i class=" $FAIcon" ></i>
88 </span>
99 <% end_if %>
1010 <% if ShowTitle %>
11- <b >$Title</b>
11+ <b class= " {$ElementName}__title " >$Title</b>
1212 <% end_if %>
1313 </div>
1414 <% end_if %>
15- <p class=" m-0 text-justify text-md-center" >
15+ <p class=" {$ElementName}__content m-0 text-justify text-md-center" >
1616 $Content
1717 </p>
1818 <% if $Buttons %>
19- <p class=" mb-0 mt-2" >
19+ <p class=" {$ElementName}__buttonholder mb-0 mt-2" >
2020 <% loop Buttons %>
2121 <% if LinkURL %>
22- <a {$IDAttr} class=" mx-1 btn btn-sm btn-outline-$Up.LinkColor" href=" {$LinkURL}" {$TargetAttr}>
22+ <a {$IDAttr} class=" {$ElementName}__button mx-1 btn btn-sm btn-outline-$Up.LinkColor" href=" {$LinkURL}" {$TargetAttr}>
2323 {$Title}
2424 </a>
2525 <% end_if %>
You can’t perform that action at this time.
0 commit comments