main.css 5.5 KB

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