main.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. @import url(../../../general/template/css/main.css);
  2. /* browse unit */
  3. .bx-base-pofile-unit {
  4. width:184px;
  5. width:11.5rem;
  6. float:left;
  7. }
  8. .bx-base-pofile-unit-wo-info {
  9. position: relative;
  10. display: block;
  11. }
  12. .bx-search-result-block {
  13. text-align:center;
  14. }
  15. /* unit meta */
  16. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-base-profile-unit-meta-item {
  17. height: 1.625rem;
  18. padding-left: 0.5rem;
  19. line-height: 1.625rem;
  20. }
  21. .bx-base-general-unit-meta ul.bx-menu-custom li:first-child .bx-base-profile-unit-meta-item {
  22. padding-left: 0px;
  23. }
  24. /* browse unit with cover */
  25. .bx-base-pofile-unit-cover {
  26. display:block;
  27. height:7.5rem;
  28. line-height:7.5rem;
  29. text-align:center;
  30. background-repeat:no-repeat;
  31. background-position:center center;
  32. -webkit-background-size:cover;
  33. -moz-background-size:cover;
  34. -o-background-size:cover;
  35. background-size:cover;
  36. }
  37. img.bx-base-pofile-unit-thumb {
  38. display: block;
  39. background-color: #fff;
  40. }
  41. p.bx-base-pofile-unit-thumb,
  42. p.bx-base-pofile-unit-ava {
  43. display: block;
  44. margin: 0px;
  45. line-height: 46px;
  46. line-height: 2.9rem;
  47. font-size: 20px;
  48. font-size: 1.2rem;
  49. font-weight: 700;
  50. color: #d0d0d0;
  51. }
  52. p.bx-base-pofile-unit-ava {
  53. line-height: 94px;
  54. line-height: 5.9rem;
  55. font-size: 48px;
  56. font-size: 3.0rem;
  57. font-weight: 700;
  58. }
  59. .bx-base-pofile-unit-info,
  60. .bx-base-pofile-unit-title {
  61. min-width:17.5rem;
  62. }
  63. .bx-base-pofile-unit-with-cover {
  64. display:inline-block;
  65. overflow:hidden;
  66. }
  67. .bx-base-pofile-unit-with-cover .bx-base-pofile-unit-thumb,
  68. .bx-base-pofile-unit-with-cover .bx-base-pofile-unit-ava {
  69. display: inline-block;
  70. vertical-align: middle;
  71. }
  72. .bx-layout-column-thin .bx-base-pofile-unit-with-cover {
  73. margin-left:0;
  74. margin-right:0;
  75. }
  76. .bx-base-pofile-unit-title {
  77. text-align:center;
  78. white-space:nowrap;
  79. text-overflow:ellipsis;
  80. overflow:hidden;
  81. }
  82. .bx-base-pofile-unit-info-members {
  83. float:left;
  84. line-height:1.5rem;
  85. vertical-align:middle;
  86. }
  87. .bx-base-pofile-unit-info-btn {
  88. float:right;
  89. }
  90. /* profile cover */
  91. .bx-base-pofile-menu {
  92. text-align:center;
  93. }
  94. .bx-base-pofile-cover {
  95. position:relative;
  96. min-height:10rem;
  97. }
  98. a.bx-base-pofile-cover-image:hover,
  99. .bx-base-pofile-cover-image {
  100. position:absolute;
  101. width:100%;
  102. height:100%;
  103. text-decoration:none;
  104. background-color: #eee;
  105. background-repeat: no-repeat;
  106. background-position: center center;
  107. -webkit-background-size: cover;
  108. -moz-background-size: cover;
  109. -o-background-size: cover;
  110. background-size: cover;
  111. }
  112. .bx-base-pofile-cover-info-container {
  113. position:relative;
  114. display: -webkit-flex;
  115. display: flex;
  116. -webkit-align-items: center;
  117. align-items: center;
  118. min-height: 40vh;
  119. cursor:pointer;
  120. cursor:hand;
  121. }
  122. .bx-base-pofile-cover-info {
  123. width: 100%;
  124. text-align:center;
  125. }
  126. .bx-base-pofile-cover-info .bx-def-ava,
  127. .bx-base-pofile-cover-info h1,
  128. .bx-base-pofile-cover-info .bx-base-pofile-cover-actions {
  129. display:block;
  130. text-align:center;
  131. }
  132. .bx-base-pofile-cover-info .bx-def-ava,
  133. .bx-base-pofile-cover-info .bx-base-pofile-cover-actions {
  134. display:inline-block;
  135. }
  136. .bx-base-pofile-cover-actions ul li:last-child a {
  137. margin-right:0;
  138. }
  139. .bx-base-pofile-cover-info img,
  140. .bx-base-pofile-cover-info .bx-base-pofile-unit-ava {
  141. border:2px solid #fff;
  142. border:0.15rem solid #fff;
  143. }
  144. .bx-base-pofile-cover-info h1.bx-def-unit-info {
  145. padding:0;
  146. text-shadow: 0px 0px 0.125rem #000;
  147. line-height:normal;
  148. }
  149. .bx-base-pofile-popup-wrapper {
  150. position:relative;
  151. }
  152. .bx-base-pofile-popup-btn {
  153. position:absolute;
  154. top:0;
  155. right:0;
  156. }
  157. /* flexbox */
  158. .bx-base-pofile-units-wrapper {
  159. display: -webkit-box;
  160. display: -webkit-flex;
  161. display: -ms-flexbox;
  162. display: flex;
  163. /* makes all items on a row equal height */
  164. -webkit-box-align: stretch;
  165. -webkit-align-items: stretch;
  166. -ms-flex-align: stretch;
  167. align-items: stretch;
  168. /* wrap onto the next line rather than stretching or shrinking */
  169. -webkit-flex-wrap: wrap;
  170. -ms-flex-wrap: wrap;
  171. flex-wrap: wrap;
  172. /* tells flexbox to start items from the left */
  173. -webkit-box-pack: start;
  174. -ms-flex-pack: start;
  175. plex-pack: start;
  176. -webkit-justify-content: flex-start;
  177. justify-content: flex-start;
  178. }
  179. .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  180. -webkit-box-flex: 0;
  181. -webkit-flex: 0 0 100%;
  182. -ms-flex: 0 0 100%;
  183. flex: 0 0 100%;
  184. overflow:hidden;
  185. }
  186. /* showcase view */
  187. .bx-base-unit-showcase-wrapper {
  188. display:block
  189. }
  190. @media (min-width:533px) and (max-width:720px) {
  191. .bx-layout-column-half .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  192. .bx-layout-column-thin .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  193. -webkit-flex: 0 0 49.8%;
  194. -ms-flex: 0 0 49.8%;
  195. flex: 0 0 49.8%;
  196. }
  197. .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase
  198. {
  199. width:calc(50%);
  200. }
  201. }
  202. @media (min-width:533px) and (max-width:1024px) {
  203. .bx-layout-column-wide .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  204. #sys_search_results .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  205. .bx-layout-column-fullwidth .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  206. -webkit-flex: 0 0 49.8%;
  207. -ms-flex: 0 0 49.8%;
  208. flex: 0 0 49.8%;
  209. }
  210. .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase
  211. {
  212. width:calc(50%);
  213. }
  214. }
  215. @media (min-width:1024px) {
  216. .bx-layout-column-wide .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  217. -webkit-flex: 0 0 49.8%;
  218. -ms-flex: 0 0 49.8%;
  219. flex: 0 0 49.8%;
  220. }
  221. #sys_search_results .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  222. .bx-layout-column-fullwidth .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  223. -webkit-flex: 0 0 33.25%;
  224. -ms-flex: 0 0 33.25%;
  225. flex: 0 0 33.25%;
  226. }
  227. .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase
  228. {
  229. width:calc(33.3%);
  230. }
  231. }
  232. /* view page */
  233. .bx-base-profile-entity-content,
  234. .bx-base-profile-entity-content p {
  235. overflow: hidden;
  236. text-overflow: ellipsis;
  237. }