user-card.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //
  2. // User Card
  3. // --------------------------------------------------
  4. .user-card {
  5. background: @body-bg;
  6. border: 1px solid @gray-lighter;
  7. border-radius: @border-radius-large;
  8. margin-bottom: @line-height-computed;
  9. overflow: hidden;
  10. // we defautly hide status icons from cards
  11. .status-icon, .status-icon.ui-preview {
  12. display: none;
  13. }
  14. .user-card-bg-image{
  15. background: @body-bg;
  16. & > img {
  17. display: none;
  18. }
  19. }
  20. .user-details {
  21. padding: @padding-base-vertical @padding-base-horizontal;
  22. overflow: auto;
  23. .user-avatar {
  24. float: left;
  25. img {
  26. width: 60px;
  27. height: 60px;
  28. }
  29. }
  30. .user-name {
  31. margin-left: 76px;
  32. .item-title {
  33. font-size: @font-size-large;
  34. }
  35. }
  36. .user-subscript {
  37. margin-left: 76px;
  38. color: @text-muted;
  39. font-size: @font-size-base * 0.66;
  40. &>span {
  41. margin-right: 8px;
  42. .status-label.ui-preview {
  43. height: @font-size-base * 0.66;
  44. }
  45. }
  46. }
  47. }
  48. }
  49. .user-card.ui-preview {
  50. .user-name .ui-preview-text {
  51. height: @font-size-large;
  52. }
  53. .user-subscript .ui-preview-text {
  54. height: @font-size-base * 0.66;
  55. position: relative;
  56. top: 0px;
  57. }
  58. }