You are here

regions.twig in Open Social 8.7

<div class="list-item">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #E57373; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Header</h6>
    <p>Blocks: Primary navigation, user navigation, site search. The header is always present. It holds a navbar component and the logo.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #E6EE9C; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
  <h6 >Breadcrumbs</h6>
  <p>Pathway navigation for large screen and 'go back' navigation for mobile</p>
</span>
</div>

<div class="list-item">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #9575CD; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Hero</h6>
    <p>Provides a summary of the main content of this page, for example a person, a group or an event.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #FFE082; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6 >Secondary navigation</h6>
    <p >Navigation options to the sub contents of a main content.</p>
  </span>
</div>

<div class="list-item">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #FF8A65; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Content top</h6>
    <p>Region to place content blocks above the main content. There are no blocks placed here by default.</p>
  </span>
</div>

<div class="list-item">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #4DB6AC; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Content</h6>
    <p>Content about this section.</p>
  </span>
</div>

<div class="list-item">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #4DD0E1; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Complementary top</h6>
    <p>Complementary content, filters, actions, quick navigations that is specific to the section. On mobile this region will be placed on top of the Main content, possibly in a different appearance such as with an off-canvas component.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #81C784; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Complementary bottom</h6>
    <p>Complementary content like blocks that is specific to the section. On mobile this region will be hidden.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #ec407a; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Sidebar first</h6>
    <p>To create a two column layout you can use the sidebar first region together with the conent region. This is a good layout when the content is both regions are of equal importance.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #ffe0b2; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Sidebar second</h6>
    <p>On top of sidebar first you can also use sidebar second. This will create a 3 column layout where all columns have an equal share. On mobile sidebar second will come last, while on desktop it will be placed on the right.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #DCE775; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Content bottom</h6>
    <p>Region to place content blocks below the main content. There are no blocks placed here by default.</p>
  </span>
</div>

<div class="list-item ">
  <span class="list-item__avatar list-item__avatar--medium">
    <div style="background-color: #64b5f6; width: 44px; height: 44px; border-radius: 50%;"></div>
  </span>
  <span class="list-item__text">
    <h6>Footer</h6>
    <p>It is static and contains information about the whole application.</p>
  </span>
</div>

File

themes/socialbase/components/05-templates/layout/regions.twig
View source
  1. <div class="list-item">
  2. <span class="list-item__avatar list-item__avatar--medium">
  3. <div style="background-color: #E57373; width: 44px; height: 44px; border-radius: 50%;"></div>
  4. </span>
  5. <span class="list-item__text">
  6. <h6>Header</h6>
  7. <p>Blocks: Primary navigation, user navigation, site search. The header is always present. It holds a navbar component and the logo.</p>
  8. </span>
  9. </div>
  10. <div class="list-item ">
  11. <span class="list-item__avatar list-item__avatar--medium">
  12. <div style="background-color: #E6EE9C; width: 44px; height: 44px; border-radius: 50%;"></div>
  13. </span>
  14. <span class="list-item__text">
  15. <h6 >Breadcrumbs</h6>
  16. <p>Pathway navigation for large screen and 'go back' navigation for mobile</p>
  17. </span>
  18. </div>
  19. <div class="list-item">
  20. <span class="list-item__avatar list-item__avatar--medium">
  21. <div style="background-color: #9575CD; width: 44px; height: 44px; border-radius: 50%;"></div>
  22. </span>
  23. <span class="list-item__text">
  24. <h6>Hero</h6>
  25. <p>Provides a summary of the main content of this page, for example a person, a group or an event.</p>
  26. </span>
  27. </div>
  28. <div class="list-item ">
  29. <span class="list-item__avatar list-item__avatar--medium">
  30. <div style="background-color: #FFE082; width: 44px; height: 44px; border-radius: 50%;"></div>
  31. </span>
  32. <span class="list-item__text">
  33. <h6 >Secondary navigation</h6>
  34. <p >Navigation options to the sub contents of a main content.</p>
  35. </span>
  36. </div>
  37. <div class="list-item">
  38. <span class="list-item__avatar list-item__avatar--medium">
  39. <div style="background-color: #FF8A65; width: 44px; height: 44px; border-radius: 50%;"></div>
  40. </span>
  41. <span class="list-item__text">
  42. <h6>Content top</h6>
  43. <p>Region to place content blocks above the main content. There are no blocks placed here by default.</p>
  44. </span>
  45. </div>
  46. <div class="list-item">
  47. <span class="list-item__avatar list-item__avatar--medium">
  48. <div style="background-color: #4DB6AC; width: 44px; height: 44px; border-radius: 50%;"></div>
  49. </span>
  50. <span class="list-item__text">
  51. <h6>Content</h6>
  52. <p>Content about this section.</p>
  53. </span>
  54. </div>
  55. <div class="list-item">
  56. <span class="list-item__avatar list-item__avatar--medium">
  57. <div style="background-color: #4DD0E1; width: 44px; height: 44px; border-radius: 50%;"></div>
  58. </span>
  59. <span class="list-item__text">
  60. <h6>Complementary top</h6>
  61. <p>Complementary content, filters, actions, quick navigations that is specific to the section. On mobile this region will be placed on top of the Main content, possibly in a different appearance such as with an off-canvas component.</p>
  62. </span>
  63. </div>
  64. <div class="list-item ">
  65. <span class="list-item__avatar list-item__avatar--medium">
  66. <div style="background-color: #81C784; width: 44px; height: 44px; border-radius: 50%;"></div>
  67. </span>
  68. <span class="list-item__text">
  69. <h6>Complementary bottom</h6>
  70. <p>Complementary content like blocks that is specific to the section. On mobile this region will be hidden.</p>
  71. </span>
  72. </div>
  73. <div class="list-item ">
  74. <span class="list-item__avatar list-item__avatar--medium">
  75. <div style="background-color: #ec407a; width: 44px; height: 44px; border-radius: 50%;"></div>
  76. </span>
  77. <span class="list-item__text">
  78. <h6>Sidebar first</h6>
  79. <p>To create a two column layout you can use the sidebar first region together with the conent region. This is a good layout when the content is both regions are of equal importance.</p>
  80. </span>
  81. </div>
  82. <div class="list-item ">
  83. <span class="list-item__avatar list-item__avatar--medium">
  84. <div style="background-color: #ffe0b2; width: 44px; height: 44px; border-radius: 50%;"></div>
  85. </span>
  86. <span class="list-item__text">
  87. <h6>Sidebar second</h6>
  88. <p>On top of sidebar first you can also use sidebar second. This will create a 3 column layout where all columns have an equal share. On mobile sidebar second will come last, while on desktop it will be placed on the right.</p>
  89. </span>
  90. </div>
  91. <div class="list-item ">
  92. <span class="list-item__avatar list-item__avatar--medium">
  93. <div style="background-color: #DCE775; width: 44px; height: 44px; border-radius: 50%;"></div>
  94. </span>
  95. <span class="list-item__text">
  96. <h6>Content bottom</h6>
  97. <p>Region to place content blocks below the main content. There are no blocks placed here by default.</p>
  98. </span>
  99. </div>
  100. <div class="list-item ">
  101. <span class="list-item__avatar list-item__avatar--medium">
  102. <div style="background-color: #64b5f6; width: 44px; height: 44px; border-radius: 50%;"></div>
  103. </span>
  104. <span class="list-item__text">
  105. <h6>Footer</h6>
  106. <p>It is static and contains information about the whole application.</p>
  107. </span>
  108. </div>