main.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  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. .bx-base-pofile-unit .bx-def-unit-img,
  16. .bx-base-pofile-unit-wo-info .bx-def-unit-img,
  17. .bx-base-pofile-unit-with-cover .bx-def-unit-img {
  18. position: relative;
  19. overflow: visible;
  20. }
  21. /* unit meta */
  22. .sys-author ul.bx-menu-custom li .bx-base-profile-unit-meta-item,
  23. .bx-base-general-unit-meta ul.bx-menu-custom li .bx-base-profile-unit-meta-item {
  24. height: 1.625rem;
  25. padding-left: 0.5rem;
  26. line-height: 1.625rem;
  27. }
  28. .sys-author ul.bx-menu-custom li:first-child .bx-base-profile-unit-meta-item,
  29. .bx-base-general-unit-meta ul.bx-menu-custom li:first-child .bx-base-profile-unit-meta-item {
  30. padding-left: 0px;
  31. }
  32. /* browse unit with cover */
  33. .bx-base-pofile-unit-cover {
  34. display:block;
  35. height:7.5rem;
  36. line-height:7.5rem;
  37. text-align:center;
  38. background-repeat:no-repeat;
  39. background-position:center center;
  40. -webkit-background-size:cover;
  41. -moz-background-size:cover;
  42. -o-background-size:cover;
  43. background-size:cover;
  44. }
  45. img.bx-base-pofile-unit-thumb {
  46. display: block;
  47. background-color: #fff;
  48. }
  49. p.bx-base-pofile-unit-thumb,
  50. p.bx-base-pofile-unit-ava {
  51. display: block;
  52. margin: 0px;
  53. line-height: 46px;
  54. line-height: 2.9rem;
  55. font-size: 32px;
  56. font-size: 2.0rem;
  57. font-weight: 700;
  58. color: #ffffff;
  59. }
  60. p.bx-base-pofile-unit-ava {
  61. line-height: 94px;
  62. line-height: 5.9rem;
  63. text-align: center;
  64. font-size: 48px;
  65. font-size: 3.0rem;
  66. font-weight: 700;
  67. }
  68. .bx-base-pofile-unit-online {
  69. position: absolute;
  70. right: 0;
  71. bottom: 0;
  72. width: 0.625rem;
  73. height: 0.625rem;
  74. border: 1px solid #ffffff;
  75. border-radius: 0.625rem;
  76. background-color: #7ed321;
  77. }
  78. .bx-base-pofile-unit-with-cover {
  79. display:inline-block;
  80. overflow:hidden;
  81. }
  82. .bx-base-pofile-unit-with-cover .bx-def-unit-img,
  83. .bx-base-pofile-unit-with-cover .bx-base-pofile-unit-thumb,
  84. .bx-base-pofile-unit-with-cover .bx-base-pofile-unit-ava {
  85. display: inline-block;
  86. vertical-align: middle;
  87. }
  88. .bx-layout-column-thin .bx-base-pofile-unit-with-cover {
  89. margin-left:0;
  90. margin-right:0;
  91. }
  92. .bx-base-pofile-unit-title {
  93. text-align:center;
  94. white-space:nowrap;
  95. text-overflow:ellipsis;
  96. overflow:hidden;
  97. }
  98. .bx-base-pofile-unit-info-members {
  99. float:left;
  100. line-height:1.5rem;
  101. vertical-align:middle;
  102. }
  103. .bx-base-pofile-unit-info-btn {
  104. float:right;
  105. }
  106. /* --- Profile Cover --- */
  107. .bx-base-pofile-cover {
  108. position:relative;
  109. min-height:10rem;
  110. }
  111. a.bx-base-pofile-cover-image:hover,
  112. .bx-base-pofile-cover-image {
  113. position:absolute;
  114. width:100%;
  115. height:100%;
  116. text-decoration:none;
  117. background-color: #eee;
  118. background-repeat: no-repeat;
  119. background-position: center center;
  120. -webkit-background-size: cover;
  121. -moz-background-size: cover;
  122. -o-background-size: cover;
  123. background-size: cover;
  124. }
  125. .bx-base-pofile-cover-info-container {
  126. position:relative;
  127. display: -webkit-flex;
  128. display: flex;
  129. -webkit-align-items: flex-end;
  130. align-items: flex-end;
  131. min-height: 40vh;
  132. cursor:pointer;
  133. cursor:hand;
  134. }
  135. .bx-base-pofile-cover-info {
  136. position: relative;
  137. display: -webkit-flex;
  138. display: flex;
  139. -webkit-align-items: flex-start;
  140. align-items: flex-start;
  141. -webkit-justify-content: space-between;
  142. justify-content: space-between;
  143. width: 100%;
  144. background-color: rgba(255, 255, 255, 1.0);
  145. }
  146. .bx-base-pofile-cover-user {
  147. -webkit-flex: 0 3 auto;
  148. -ms-flex: 0 3 auto;
  149. flex: 0 3 auto;
  150. position: relative;
  151. z-index: 2;
  152. display: -webkit-flex;
  153. display: flex;
  154. -webkit-align-items: center;
  155. align-items: center;
  156. -webkit-justify-content: space-between;
  157. justify-content: space-between;
  158. height: 100%;
  159. }
  160. .bx-base-pofile-cover-user div.bx-def-unit-image {
  161. display: -webkit-flex;
  162. display: flex;
  163. -webkit-align-items: flex-end;
  164. align-items: flex-end;
  165. height: 4rem;
  166. }
  167. .bx-base-pofile-cover-user a.bx-def-unit-image,
  168. .bx-base-pofile-cover-user a.bx-def-unit-image img {
  169. position: relative;
  170. display: block;
  171. }
  172. .bx-base-pofile-cover-user a.bx-def-unit-image img {
  173. border:2px solid #fff;
  174. border:0.15rem solid #fff;
  175. background-color: #fff;
  176. }
  177. .bx-base-pofile-cover-user h1.bx-def-unit-info {
  178. margin-top: 0;
  179. margin-bottom: 0;
  180. padding: 0 0 0 1rem;
  181. line-height:normal;
  182. text-align: left;
  183. text-shadow: none;
  184. font-size: 1.5rem;
  185. font-weight: 800;
  186. color: rgba(29,75,96,1);
  187. }
  188. .bx-base-pofile-cover-actions {
  189. position: relative;
  190. -webkit-flex: 1 1 auto;
  191. -ms-flex: 1 1 auto;
  192. flex: 1 1 auto;
  193. display: -webkit-flex;
  194. display: flex;
  195. -webkit-align-items: center;
  196. align-items: center;
  197. height: 4rem;
  198. max-width: 50%;
  199. }
  200. .bx-base-pofile-cover-actions div.bx-base-general-entity-actions {
  201. position: relative;
  202. width: 100%;
  203. }
  204. .bx-base-pofile-cover-actions ul.bx-menu-hor.bx-menu-more-auto {
  205. display: -webkit-flex;
  206. display: flex;
  207. -webkit-flex-wrap: nowrap;
  208. flex-wrap: nowrap;
  209. -webkit-justify-content: flex-end;
  210. justify-content: flex-end;
  211. }
  212. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item {
  213. white-space: nowrap;
  214. }
  215. .bx-base-pofile-cover-actions .cmt,
  216. .bx-base-pofile-cover-actions .bx-view,
  217. .bx-base-pofile-cover-actions .bx-vote,
  218. .bx-base-pofile-cover-actions .bx-score,
  219. .bx-base-pofile-cover-actions .bx-favorite,
  220. .bx-base-pofile-cover-actions .bx-feature,
  221. .bx-base-pofile-cover-actions .bx-report,
  222. .bx-base-pofile-cover-actions .bx-tl-repost,
  223. .bx-base-pofile-cover-actions .bx-menu-btns-hor.bx-menu-object-sys_social_sharing,
  224. .bx-base-pofile-cover-actions .bx-base-general-entity-action {
  225. position: relative;
  226. float: none;
  227. display: inline-block;
  228. vertical-align: top;
  229. margin: 0;
  230. padding: 0;
  231. }
  232. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .cmt-element-holder,
  233. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .cmt-counter-holder,
  234. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-view-element-holder,
  235. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-view-counter-holder,
  236. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-vote-element-holder,
  237. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-vote-counter-holder,
  238. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-score-element-holder,
  239. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-score-counter-holder,
  240. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-favorite-element-holder,
  241. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-favorite-counter-holder,
  242. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-report-element-holder,
  243. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-report-counter-holder,
  244. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-tl-repost-element-holder,
  245. .bx-base-pofile-cover-actions .bx-menu-hor li.bx-menu-item .bx-tl-repost-counter-holder {
  246. float: none;
  247. display: inline-block;
  248. vertical-align: top;
  249. }
  250. .bx-base-pofile-popup-wrapper {
  251. position:relative;
  252. }
  253. .bx-base-pofile-popup-btn {
  254. position:absolute;
  255. top:0;
  256. right:0;
  257. }
  258. /* flexbox */
  259. .bx-base-pofile-units-wrapper {
  260. display: -webkit-box;
  261. display: -webkit-flex;
  262. display: -ms-flexbox;
  263. display: flex;
  264. /* makes all items on a row equal height */
  265. -webkit-box-align: stretch;
  266. -webkit-align-items: stretch;
  267. -ms-flex-align: stretch;
  268. align-items: stretch;
  269. /* wrap onto the next line rather than stretching or shrinking */
  270. -webkit-flex-wrap: wrap;
  271. -ms-flex-wrap: wrap;
  272. flex-wrap: wrap;
  273. /* tells flexbox to start items from the left */
  274. -webkit-box-pack: start;
  275. -ms-flex-pack: start;
  276. plex-pack: start;
  277. -webkit-justify-content: flex-start;
  278. justify-content: flex-start;
  279. }
  280. .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  281. -webkit-box-flex: 0;
  282. -webkit-flex: 0 0 100%;
  283. -ms-flex: 0 0 100%;
  284. flex: 0 0 100%;
  285. overflow:hidden;
  286. }
  287. /* showcase view */
  288. .bx-base-unit-showcase-wrapper {
  289. display: block;
  290. white-space: nowrap;
  291. overflow: hidden;
  292. }
  293. .bx-base-unit-showcase-wrapper .bx-base-unit-showcase {
  294. white-space: normal;
  295. }
  296. .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  297. width:calc(100%);
  298. }
  299. .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  300. display: inline-block;
  301. vertical-align: top;
  302. width: calc(16.6%);
  303. }
  304. /* MEDIA: tablet2 */
  305. .bx-media-tablet2 .bx-layout-column-wide .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  306. .bx-media-tablet2 #sys_search_results .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  307. .bx-media-tablet2 .bx-layout-column-fullwidth .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  308. -webkit-flex: 0 0 49.8%;
  309. -ms-flex: 0 0 49.8%;
  310. flex: 0 0 49.8%;
  311. }
  312. .bx-media-tablet2 .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  313. width:calc(50%);
  314. }
  315. .bx-media-tablet2 .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  316. width:calc(100%);
  317. }
  318. .bx-media-tablet2 .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  319. width:calc(10.0%);
  320. }
  321. .bx-media-tablet2 .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  322. width:calc(16.6%);
  323. }
  324. /* MEDIA: desktop */
  325. .bx-media-desktop .bx-layout-column-wide .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  326. -webkit-flex: 0 0 49.8%;
  327. -ms-flex: 0 0 49.8%;
  328. flex: 0 0 49.8%;
  329. }
  330. .bx-media-desktop #sys_search_results .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover,
  331. .bx-media-desktop .bx-layout-column-fullwidth .bx-base-pofile-units-wrapper .bx-base-pofile-unit-with-cover {
  332. -webkit-flex: 0 0 33.25%;
  333. -ms-flex: 0 0 33.25%;
  334. flex: 0 0 33.25%;
  335. }
  336. .bx-media-desktop .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  337. width:calc(33.3%);
  338. }
  339. .bx-media-desktop .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  340. width:calc(100%);
  341. }
  342. .bx-media-desktop .bx-layout-column-half .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-showcase {
  343. width:calc(50%);
  344. }
  345. .bx-media-desktop .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  346. width:calc(6.25%);
  347. }
  348. .bx-media-desktop .bx-layout-column-thin .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  349. width:calc(25.0%);
  350. }
  351. .bx-media-desktop .bx-layout-column-half .bx-base-unit-showcase-wrapper .bx-base-pofile-unit-wo-info-showcase {
  352. width:calc(10.0%);
  353. }
  354. /* view page */
  355. .bx-base-profile-entity-content,
  356. .bx-base-profile-entity-content p {
  357. overflow: hidden;
  358. text-overflow: ellipsis;
  359. }