You are here

meta.css in Open Social 8.9

.metainfo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  margin-bottom: 30px;
  line-height: 1.4;
}

.metainfo__avatar {
  margin-right: 12px;
}

.metainfo__avatar .img-metainfo__avatar {
  width: 44px;
  height: auto;
}

.metainfo__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 0.875rem;
}

.metainfo__content a {
  text-decoration: underline;
  color: #4d4d4d;
}

.metainfo__content .badge--toggle {
  vertical-align: text-top;
}

.metainfo__authorname {
  display: inline-block;
  color: #777777;
  margin-right: 0.2em;
}

.metainfo__published-date {
  display: inline-block;
  color: #777777;
}

.metainfo__properties {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
  margin: 20px 0 40px;
}

.meta-engage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.meta-engage .badge + .badge,
.meta-engage .meta-engage--buttons > * + * {
  margin-left: 5px;
}

.meta-engage .meta-engage--buttons {
  margin-right: 5px;
}

.meta-engage .btn {
  margin-bottom: 3px;
}

.meta-engage > * {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 1rem;
}

.article__special-fields {
  padding: 30px 0;
  border-top: 1px solid #e6e6e6;
}

.article__special-fields .article__special-field {
  margin-bottom: 15px;
}

.article__special-fields .article__special-field:last-child {
  margin-bottom: 0;
}

.article__special-fields .article__special-fields-icon {
  width: 18px;
  height: 18px;
  line-height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: #222222;
  margin-right: 12px;
}

.node--unpublished__label {
  display: inline-block;
  position: absolute;
  font-style: italic;
  font-weight: 500;
  top: 0;
  right: 0;
  padding: 0.5em 1em;
}

.stream-item .node--unpublished__label {
  top: -1.25rem;
  right: -1.25rem;
}

@media (min-width: 600px) {
  .meta-engage {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 900px) {
  .meta-engage .meta-engage--buttons {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}

@media (max-width: 899px) {
  .meta-engage {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .meta-engage .btn .btn:first-child {
    margin-left: 0;
  }
}

File

themes/socialbase/assets/css/meta.css
View source
  1. .metainfo {
  2. display: -webkit-box;
  3. display: -ms-flexbox;
  4. display: flex;
  5. -ms-flex-wrap: wrap;
  6. flex-wrap: wrap;
  7. position: relative;
  8. margin-bottom: 30px;
  9. line-height: 1.4;
  10. }
  11. .metainfo__avatar {
  12. margin-right: 12px;
  13. }
  14. .metainfo__avatar .img-metainfo__avatar {
  15. width: 44px;
  16. height: auto;
  17. }
  18. .metainfo__content {
  19. -webkit-box-flex: 1;
  20. -ms-flex: 1;
  21. flex: 1;
  22. font-size: 0.875rem;
  23. }
  24. .metainfo__content a {
  25. text-decoration: underline;
  26. color: #4d4d4d;
  27. }
  28. .metainfo__content .badge--toggle {
  29. vertical-align: text-top;
  30. }
  31. .metainfo__authorname {
  32. display: inline-block;
  33. color: #777777;
  34. margin-right: 0.2em;
  35. }
  36. .metainfo__published-date {
  37. display: inline-block;
  38. color: #777777;
  39. }
  40. .metainfo__properties {
  41. -webkit-box-flex: 1;
  42. -ms-flex: 1 1 100%;
  43. flex: 1 1 100%;
  44. margin: 20px 0 40px;
  45. }
  46. .meta-engage {
  47. display: -webkit-box;
  48. display: -ms-flexbox;
  49. display: flex;
  50. -ms-flex-wrap: wrap;
  51. flex-wrap: wrap;
  52. -webkit-box-pack: justify;
  53. -ms-flex-pack: justify;
  54. justify-content: space-between;
  55. }
  56. .meta-engage .badge + .badge,
  57. .meta-engage .meta-engage--buttons > * + * {
  58. margin-left: 5px;
  59. }
  60. .meta-engage .meta-engage--buttons {
  61. margin-right: 5px;
  62. }
  63. .meta-engage .btn {
  64. margin-bottom: 3px;
  65. }
  66. .meta-engage > * {
  67. display: -webkit-box;
  68. display: -ms-flexbox;
  69. display: flex;
  70. -ms-flex-wrap: wrap;
  71. flex-wrap: wrap;
  72. -webkit-box-align: center;
  73. -ms-flex-align: center;
  74. align-items: center;
  75. margin-bottom: 1rem;
  76. }
  77. .article__special-fields {
  78. padding: 30px 0;
  79. border-top: 1px solid #e6e6e6;
  80. }
  81. .article__special-fields .article__special-field {
  82. margin-bottom: 15px;
  83. }
  84. .article__special-fields .article__special-field:last-child {
  85. margin-bottom: 0;
  86. }
  87. .article__special-fields .article__special-fields-icon {
  88. width: 18px;
  89. height: 18px;
  90. line-height: 20px;
  91. display: inline-block;
  92. vertical-align: middle;
  93. fill: #222222;
  94. margin-right: 12px;
  95. }
  96. .node--unpublished__label {
  97. display: inline-block;
  98. position: absolute;
  99. font-style: italic;
  100. font-weight: 500;
  101. top: 0;
  102. right: 0;
  103. padding: 0.5em 1em;
  104. }
  105. .stream-item .node--unpublished__label {
  106. top: -1.25rem;
  107. right: -1.25rem;
  108. }
  109. @media (min-width: 600px) {
  110. .meta-engage {
  111. margin-bottom: 1.5rem;
  112. }
  113. }
  114. @media (min-width: 900px) {
  115. .meta-engage .meta-engage--buttons {
  116. -webkit-box-ordinal-group: 2;
  117. -ms-flex-order: 1;
  118. order: 1;
  119. }
  120. }
  121. @media (max-width: 899px) {
  122. .meta-engage {
  123. -webkit-box-orient: vertical;
  124. -webkit-box-direction: normal;
  125. -ms-flex-direction: column;
  126. flex-direction: column;
  127. }
  128. .meta-engage .btn .btn:first-child {
  129. margin-left: 0;
  130. }
  131. }