index.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. table {
  25. .bg {
  26. background: #f8f8f8;
  27. }
  28. tr {
  29. th {
  30. padding: 10px;
  31. }
  32. td {
  33. padding: 10px;
  34. }
  35. }
  36. .item {
  37. margin: 0;
  38. .icon {
  39. position: relative;
  40. left: 0;
  41. top: 0;
  42. }
  43. }
  44. }
  45. .item.selected {
  46. .icon {
  47. background-image: url('/assets/option_select.png');
  48. }
  49. }
  50. .item.show {
  51. .total {
  52. display: block;
  53. }
  54. }
  55. .item.show.true {
  56. .icon {
  57. background-image: url('/assets/option_right.png');
  58. }
  59. }
  60. .item.show.false {
  61. .text {
  62. color: #686872;
  63. }
  64. }
  65. .item.show.false.selected {
  66. .icon {
  67. background-image: url('/assets/option_wrong.png');
  68. }
  69. }
  70. }