You are here

spacing-preview.html.twig in Bootstrap Styles 1.0.x

Default theme implementation of spacing preview box.

File

templates/spacing-preview.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of spacing preview box.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. {{ attach_library('bootstrap_styles/plugins_groups.spacing.spacing_preview') }}
  10. <div class="spacing-preview">
  11. <div class="preview-box margin-box">
  12. <span class="title">{{ 'Margin'|t }}</span>
  13. <span class="left margin-left">0</span>
  14. <span class="top margin-top">0</span>
  15. <span class="right margin-right">0</span>
  16. <span class="bottom margin-bottom">0</span>
  17. <div class="preview-box padding-box">
  18. <span class="title">{{ 'Padding'|t }}</span>
  19. <span class="left padding-left">0</span>
  20. <span class="top padding-top">0</span>
  21. <span class="right padding-right">0</span>
  22. <span class="bottom padding-bottom">0</span>
  23. </div>
  24. </div>
  25. </div>
  26. <div id="bs_spacing_preview_calc"></div>