index.less 901 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @import '../../app.less';
  2. .answer-list {
  3. padding-left: 20px;
  4. .item {
  5. position: relative;
  6. margin-bottom: 30px;
  7. .text {
  8. color: #303036;
  9. }
  10. .icon {
  11. width: 15px;
  12. height: 15px;
  13. position: absolute;
  14. left: -25px;
  15. top: 4px;
  16. background: url('/assets/option_normal.png') no-repeat center;
  17. }
  18. .total {
  19. display: none;
  20. color: #A7A7B7;
  21. margin-top: 20px;
  22. }
  23. }
  24. .item.selected {
  25. .icon {
  26. background-image: url('/assets/option_select.png');
  27. }
  28. }
  29. .item.show {
  30. .total {
  31. display: block;
  32. }
  33. }
  34. .item.show.true {
  35. .icon {
  36. background-image: url('/assets/option_right.png');
  37. }
  38. }
  39. item false show
  40. .item.show.false {
  41. .text {
  42. color: #686872;
  43. }
  44. }
  45. .item.show.false.selected {
  46. .icon {
  47. background-image: url('/assets/option_wrong.png');
  48. }
  49. }
  50. }