heartbeat.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. .token-tree {
  2. display: block;
  3. }
  4. .heartbeat-message {
  5. border: 1px solid #dfdfdf;
  6. padding: 16px;
  7. }
  8. .heartbeat-message img {
  9. display: block;
  10. padding: 4px;
  11. }
  12. .heartbeat-message img:first-of-type ~ img {
  13. display: inline-block;
  14. max-width: 25%;
  15. }
  16. .heartbeat-message img:last-of-type {
  17. max-width: 100%;
  18. }
  19. .heartbeat-comments {
  20. display: none;
  21. }
  22. .heartbeat-comments-visible {
  23. display: block!important;
  24. }
  25. /*Imgs displayed in colorbox*/
  26. .cboxPhoto {
  27. max-height: 854px;
  28. width: auto!important;
  29. height: auto!important;
  30. position: absolute;
  31. top:0;
  32. bottom: 0;
  33. left: 0;
  34. right: 0;
  35. margin: auto;
  36. }
  37. #colorbox {
  38. text-align: center!important;
  39. position: fixed!important;
  40. top: 0!important;
  41. left: 0!important;
  42. background: rgba(28, 28, 28, 0.75)!important;
  43. height: 100%!important;
  44. width: 100%!important;
  45. }
  46. #cboxContent,
  47. #cboxLoadedContent,
  48. #cboxWrapper {
  49. width: 100%!important;
  50. height: 100%!important;
  51. }
  52. #cboxNext {
  53. position: absolute;
  54. right: 5px;
  55. top: 45%;
  56. color: transparent;
  57. background: rgba(45, 45, 45, 0.5) url(/themes/kekistan/images/icons/forward.png) no-repeat 10px 10px;
  58. background-size: 30px;
  59. width: 10px;
  60. height: 50px;
  61. }
  62. #cboxPrevious {
  63. position: absolute;
  64. left: 5px;
  65. top: 45%;
  66. color: transparent;
  67. background: rgba(45, 45, 45, 0.5) url(/themes/kekistan/images/icons/backward.png) no-repeat 10px 10px;
  68. background-size: 30px;
  69. width: 10px;
  70. height: 50px;
  71. }
  72. #cboxClose {
  73. position: absolute;
  74. top: 16%;
  75. right: 10%;
  76. width: 65px;
  77. height: 67px;
  78. background: url(/themes/kekistan/images/icons/cross-circular-button-outline.png) no-repeat center center;
  79. color: transparent;
  80. }
  81. #cboxPrev:hover, #cboxNext:hover, #cboxClose:hover {
  82. opacity: 0.5;
  83. }
  84. /*Main Feed Form*/
  85. #heartbeat-feed-form input[type="radio"] {
  86. -webkit-appearance: none;
  87. display: inline-block;
  88. }
  89. #heartbeat-feed-form .form-type-radio {
  90. display: inline-block;
  91. position: relative;
  92. border-right: 1px solid white;
  93. }
  94. #heartbeat-feed-form input.form-radio {
  95. background: #12ff00;
  96. min-width: 100%;
  97. margin-bottom:0;
  98. padding: 0em 22em 2.5em 0em;
  99. font-weight: 700;
  100. display: inline-block;
  101. }
  102. #heartbeat-feed-form input.form-radio:hover {
  103. background: #1E6100;
  104. }
  105. #heartbeat-feed-form input[type="radio"]:checked {
  106. background: #003b00;
  107. }
  108. #heartbeat-feed-form label {
  109. font-size:1rem;
  110. font-weight: 700;
  111. color: white;
  112. position:absolute;
  113. /*top:50%;;*/
  114. /*left:50%;*/
  115. display:inline-block;
  116. width:auto;
  117. transform:translate(5%, -150%);
  118. }
  119. #heartbeat-feed-form .form-item-feedtabs {
  120. display: inline-block;
  121. }
  122. #heartbeat-feed-form .form-item-feedsearch,
  123. #heartbeat-feed-form #edit-submit {
  124. display: none;
  125. }
  126. /*Heartbeat feed re-render block
  127. Temporarily hiding all irrelevant content */
  128. #block-heartbeatblock a.visually-hidden,
  129. #block-heartbeatblock #toolbar-administration,
  130. #block-heartbeatblock header,
  131. #block-heartbeatblock footer,
  132. #block-heartbeatblock .highlighted,
  133. #block-heartbeatblock .region-breadcrumb,
  134. #block-heartbeatblock #sidebar-first,
  135. #block-heartbeatblock .block-page-title-block,
  136. #block-heartbeatblock #block-kekistan-breadcrumbs,
  137. #block-heartbeatblock #block-kekistan-page-title { display: none}
  138. #block-heartbeatblock #content {
  139. margin-left: 0!important;
  140. width: 100%!important;
  141. }
  142. #heartbeat-loader {
  143. display: none;
  144. position: fixed;
  145. bottom: 48px;
  146. left: 62.5%;
  147. width: 96px;
  148. height: 96px;
  149. background: url('../images/drupal-loader.gif') no-repeat;
  150. background-size: contain;
  151. }
  152. /*heartbeat-stream section.section {*/
  153. /*padding: 0;*/
  154. /*}*/
  155. .heartbeat-youtube {
  156. display: block;
  157. }
  158. /*@media (min-width: 532px)*/
  159. /*and (max-width: 767px) {*/
  160. /*}*/
  161. /*@media (min-width: 300px) and (max-width: 420px)*/
  162. /*and (min-height: 640px) and (max-height: 768px) {*/
  163. /*}*/
  164. /*@media (min-width: 532px) and (max-height: 370px) and (max-width: 767px) {*/
  165. /*}*/
  166. /*@media all and (min-width: 768px) and (max-width: 960px) {*/
  167. /*}*/
  168. /*@media (min-height: 320px) and (max-height: 420px) and (max-width: 768px) {*/
  169. /*}*/
  170. /*@media (min-height: 420px) and (max-width: 768px) {*/
  171. /*}*/
  172. /*@media (min-width: 960px) {*/
  173. /*}*/
  174. /*@media all and (max-width: 767px) {*/
  175. /*}*/
  176. /*@media all and (min-width: 300px) {*/
  177. /*}*/
  178. /*TODO
  179. //add responsiveness for colorbox on mobile using something like the following:
  180. max-width: 400px;
  181. height: auto!important;
  182. */