usercp.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. // User Control Panel
  2. // -------------------------
  3. .usercp {
  4. .usercp-tabs {
  5. border: none;
  6. li {
  7. float: none;
  8. display: block;
  9. width: 100%;
  10. a:link, a:visited {
  11. border: none;
  12. border-radius: @borderRadiusSmall 0px 0px @borderRadiusSmall;
  13. float: none;
  14. display: block;
  15. width: 100%;
  16. color: @gray;
  17. font-weight: bold;
  18. }
  19. a:active, a:hover {
  20. background-color: @bluePale;
  21. color: @white;
  22. text-shadow: 0px 1px 0px darken(@bluePale, 25%);
  23. }
  24. &.active {
  25. a:link, a:visited, a:active, a:hover {
  26. background-color: @red;
  27. color: @white;
  28. text-shadow: 0px 1px 0px darken(@red, 25%);
  29. }
  30. }
  31. }
  32. }
  33. .usercp-action {
  34. .form-container {
  35. min-height: 180px;
  36. }
  37. }
  38. }
  39. // Avatar Edit
  40. // -------------------------
  41. .usercp-avatar-menu {
  42. margin-bottom: 0px;
  43. .media-object {
  44. border-radius: @borderRadiusLarge;
  45. margin-top: @baseFontSize;
  46. width: 125px;
  47. height: 125px;
  48. }
  49. .media-body {
  50. margin-left: (@baseFontSize * 2) + 125px;
  51. ul.unstyled {
  52. margin-left: @baseFontSize * -1 + 1px;
  53. i {
  54. display: inline-block;
  55. width: 16px;
  56. text-align: center;
  57. }
  58. }
  59. }
  60. }
  61. .usercp-avatar-select {
  62. .usercp-avatar-gallery {
  63. margin: 0px (@baseFontSize * -1);
  64. overflow: auto;
  65. padding-bottom-bottom: @baseFontSize;
  66. .usercp-avatar-select-form {
  67. margin: 0px;
  68. padding: 0px;
  69. float: left;
  70. .usercp-btn-avatar {
  71. margin: @baseFontSize;
  72. padding: 0px;
  73. &, &:active, &:hover {
  74. .opacity(100);
  75. img {
  76. .opacity(100);
  77. }
  78. }
  79. &:active, &:hover {
  80. img {
  81. border-color: @linkColor;
  82. .box-shadow(0px 0px 3px @linkColor);
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }
  89. .usercp-avatar-crop {
  90. .avatar-crop-preview {
  91. border-radius: @borderRadiusLarge;
  92. float: left;
  93. width: @fontSizeLarge * 2.5;
  94. height: @fontSizeLarge * 2.5;
  95. margin-right: @baseFontSize;
  96. overflow: hidden;
  97. }
  98. .avatar-crop-target {
  99. img {
  100. background-color: @white;
  101. }
  102. }
  103. }