page.profile.less 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. .enable_profile() when(@enable-profile = true) {
  2. .profile-user-info {
  3. display: table;
  4. width: 98%;
  5. width: ~"calc(100% - 24px)";
  6. margin: 0 auto;
  7. }
  8. .profile-info-row {
  9. display: table-row;
  10. }
  11. .profile-info-name {
  12. text-align: right;
  13. padding: 6px 10px 6px 4px;
  14. font-weight: normal;
  15. color: #667E99;
  16. background-color: transparent;
  17. border-top: 1px dotted #D5E4F1;
  18. display: table-cell;
  19. width: 110px;
  20. vertical-align: middle;
  21. }
  22. .profile-info-value {
  23. display: table-cell;
  24. padding: 6px 4px 6px 6px;
  25. //margin-left: 110px;
  26. border-top: 1px dotted #D5E4F1;
  27. > span + span:before{/* for a list of values (such as location city & country) put a comma between them */
  28. display:inline;
  29. content:",";
  30. margin-left:1px;
  31. margin-right:3px;
  32. color:#666;
  33. border-bottom:1px solid #FFF;
  34. }
  35. > span + span.editable-container:before {
  36. display:none;
  37. }
  38. }
  39. .profile-info-row {
  40. &:first-child .profile-info-name {
  41. border-top:none;
  42. }
  43. &:first-child .profile-info-value {
  44. border-top:none;
  45. }
  46. }
  47. .profile-user-info-striped {
  48. border: 1px solid #DCEBF7;
  49. .profile-info-name {
  50. color: #336199;
  51. background-color: #EDF3F4;
  52. border-top: 1px solid #F7FBFF;
  53. }
  54. .profile-info-value {
  55. border-top: 1px dotted #DCEBF7;
  56. padding-left: 12px;
  57. }
  58. }
  59. .profile-picture {
  60. border: 1px solid #CCC;
  61. background-color: #FFF;
  62. padding: 4px;
  63. display: inline-block;
  64. max-width: 100%;
  65. .box-sizing(border-box);
  66. box-shadow:1px 1px 1px rgba(0,0,0,0.15);
  67. }
  68. .profile-activity {
  69. padding:10px 4px;
  70. border-bottom:1px dotted #D0D8E0;
  71. position:relative;
  72. border-left:1px dotted #FFF;
  73. border-right:1px dotted #FFF;
  74. &:first-child {
  75. border-top:1px dotted transparent;
  76. &:hover {
  77. border-top-color:#D0D8E0;
  78. }
  79. }
  80. &:hover {
  81. background-color:#F4F9FD;
  82. border-left:1px dotted #D0D8E0;
  83. border-right:1px dotted #D0D8E0;
  84. }
  85. img {
  86. border:2px solid #C9D6E5;
  87. border-radius:100%;
  88. max-width:40px;
  89. margin-right:10px;
  90. margin-left:0px;
  91. box-shadow:none;
  92. }
  93. .thumbicon {
  94. background-color: #74ABD7;
  95. display: inline-block;
  96. border-radius: 100%;
  97. width: 38px;
  98. height: 38px;
  99. color: #FFF;
  100. font-size: @font-size-profile-thumb;
  101. text-align: center;
  102. line-height: 38px;
  103. margin-right:10px; margin-left:0px;
  104. text-shadow:none !important;
  105. }
  106. .time {
  107. display:block;
  108. margin-top:4px;
  109. color:#777;
  110. }
  111. a.user {
  112. font-weight:bold;
  113. color:#9585BF;
  114. }
  115. .tools {
  116. position:absolute;
  117. right: 12px;
  118. bottom:8px;
  119. display:none;
  120. }
  121. &:hover .tools {
  122. display:block;
  123. }
  124. }
  125. .user-profile .ace-thumbnails li {
  126. border:1px solid #CCC;
  127. padding:3px;
  128. margin:6px;
  129. .tools {
  130. left:3px; right:3px;
  131. }
  132. &:hover .tools {
  133. bottom:3px;
  134. }
  135. }
  136. .user-profile .user-title-label {
  137. &:hover {
  138. text-decoration:none;
  139. }
  140. + .dropdown-menu {
  141. margin-left:-12px;
  142. }
  143. }
  144. .profile-contact-links {
  145. padding: 4px 2px 5px;
  146. border: 1px solid #E0E2E5;
  147. background-color: #F8FAFC;
  148. }
  149. .btn-link:hover .@{icon} {
  150. text-decoration: none !important;
  151. }
  152. .profile-social-links > a {
  153. text-decoration: none;
  154. margin: 0 1px;
  155. &:hover > .@{icon} {
  156. text-decoration: none;
  157. }
  158. }
  159. .profile-skills .progress {
  160. height: 26px;
  161. margin-bottom: 2px;
  162. background-color:transparent;
  163. .progress-bar {
  164. line-height: 26px;
  165. font-size: @base-font-size;
  166. font-weight: bold;
  167. font-family: "Open Sans";
  168. padding :0 8px;
  169. }
  170. }
  171. .profile-users {
  172. .user {
  173. display:block;
  174. position:static;
  175. text-align:center;
  176. width:auto;
  177. img {
  178. padding:2px;
  179. .border-radius(100%);
  180. border:1px solid #AAA;
  181. max-width:none;
  182. width:64px;
  183. .transition(~"all 0.1s");
  184. &:hover {
  185. .box-shadow(~"0 0 1px 1px rgba(0,0,0,0.33)");
  186. }
  187. }
  188. }
  189. .memberdiv {
  190. background-color:#FFF;
  191. width:100px;
  192. .box-sizing(border-box);
  193. border:none;
  194. text-align:center;
  195. margin:0 8px 24px;
  196. .name a:hover .@{icon} {
  197. text-decoration:none;
  198. }
  199. .body {
  200. display:inline-block;
  201. margin:8px 0 0 0;
  202. }
  203. .popover {
  204. visibility:hidden;
  205. min-width: 0;
  206. max-height: 0;
  207. max-width: 0;
  208. margin-left:0;
  209. margin-right:0;
  210. top:-5%;
  211. left:auto;
  212. right:auto;
  213. opacity:0;
  214. display:none;
  215. position: absolute;
  216. .transition(~"opacity 0.2s linear 0s, visibility 0s linear 0.2s, max-height 0s linear 0.2s, max-width 0s linear 0.2s, min-width 0s linear 0.2s");
  217. &.right {
  218. left:100%;
  219. right:auto;
  220. display:block;
  221. }
  222. &.left {
  223. left:auto;
  224. right:100%;
  225. display:block;
  226. }
  227. }
  228. > :first-child:hover .popover {
  229. visibility:visible;
  230. opacity:1;
  231. z-index: @zindex-popover;
  232. max-height: 250px;
  233. max-width: 250px;
  234. min-width: 150px;
  235. -webkit-transition-delay:0s;
  236. -moz-transition-delay:0s;
  237. -o-transition-delay:0s;
  238. transition-delay:0s;
  239. }
  240. .tools {
  241. position:static;
  242. display:block;
  243. width:100%;
  244. margin-top:2px;
  245. > a {
  246. margin:0 2px;
  247. &:hover {
  248. text-decoration:none;
  249. }
  250. }
  251. }
  252. }
  253. }
  254. .user-status {
  255. display:inline-block;
  256. width:11px; height:11px;
  257. background-color:#FFF;
  258. border:3px solid #AAA;
  259. .border-radius(100%);
  260. vertical-align:middle;
  261. margin-right:1px;
  262. &.status-online{
  263. border-color:#8AC16C;
  264. }
  265. &.status-busy{
  266. border-color:#E07F69;
  267. }
  268. &.status-idle{
  269. border-color:#FFB752;
  270. }
  271. }
  272. .tab-content.profile-edit-tab-content {
  273. border:1px solid #DDD;
  274. padding:8px 32px 32px;
  275. .box-shadow(~"1px 1px 0 0 rgba(0, 0, 0, 0.2)");
  276. background-color: #FFF;
  277. }
  278. //profile
  279. @media only screen and (max-width: @screen-xs) {
  280. .profile-info-name {
  281. width: 80px;
  282. }
  283. .profile-user-info-striped {
  284. .profile-info-name {
  285. float: none;
  286. width: auto;
  287. text-align: left;
  288. padding: 6px 4px 6px 10px;
  289. display: block;
  290. }
  291. .profile-info-value {
  292. margin-left: 10px;
  293. display: block;
  294. }
  295. }
  296. }
  297. @media only screen and (max-width: @screen-xs) {
  298. .user-profile .memberdiv {
  299. width: 50%;
  300. margin-left: 0;
  301. margin-right: 0;
  302. }
  303. }
  304. }
  305. .enable_profile();