Star.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @import "~assets/less/variable";
  2. .starWrapper{
  3. margin-left: 4px;
  4. display: inline-block;
  5. vertical-align: bottom;
  6. border: 1px solid @grey-line-color;
  7. padding: 4px;
  8. border-radius: 4px;
  9. background-color: rgba(0,0,0, .3);
  10. font-size: 0;
  11. user-select: none;
  12. .leftWrapper{
  13. color: @white;
  14. border-right: 1px solid @white;
  15. margin-right: 8px;
  16. padding-right: 8px;
  17. font-size: 12px;
  18. line-height: 12px;
  19. }
  20. .starCount{
  21. color: @white;
  22. font-size: 12px;
  23. line-height: 12px;
  24. }
  25. }
  26. .formWrapper {
  27. padding: 16px;
  28. text-align: left;
  29. .header {
  30. .title{
  31. font-size: 16px;
  32. color:@rich-text;
  33. font-weight: 600;
  34. }
  35. .desc{
  36. margin-top: 4px;
  37. font-size: 14px;
  38. color:@light-text-color;
  39. }
  40. }
  41. .body {
  42. margin: 16px auto;
  43. display: flex;
  44. flex-wrap: wrap;
  45. .avatar {
  46. margin: 0px 6px 6px 6px;
  47. display: flex;
  48. align-items: center;
  49. flex-direction: column;
  50. img {
  51. vertical-align: top;
  52. }
  53. .title {
  54. color: @rich-text;
  55. font-size: 12px;
  56. .ellipsis;
  57. }
  58. }
  59. &:hover {
  60. color: @blue;
  61. }
  62. }
  63. .footer{
  64. button {
  65. margin-right: 6px;
  66. }
  67. }
  68. }