index.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @charset "utf-8";
  2. #exercise {
  3. .code-module {
  4. padding: 80px 250px;
  5. text-align: center;
  6. .title {
  7. font-size: 18px;
  8. margin-bottom: 24px;
  9. }
  10. .input-block {
  11. margin-bottom: 24px;
  12. .input {
  13. width: 350px;
  14. input {
  15. border-top-left-radius: 22px;
  16. border-bottom-left-radius: 22px;
  17. }
  18. }
  19. .button {
  20. width: 150px;
  21. border-top-right-radius: 22px;
  22. border-bottom-right-radius: 22px;
  23. }
  24. .error {
  25. color: #ff7554;
  26. text-align: left;
  27. }
  28. }
  29. .tip {
  30. .left {
  31. float: left;
  32. }
  33. .right {
  34. float: right;
  35. }
  36. }
  37. }
  38. .work-body {
  39. .work-nav {
  40. margin-bottom: 20px;
  41. .left {
  42. display: inline-block;
  43. padding-left: 5px;
  44. font-size: 16px;
  45. font-weight: 600;
  46. }
  47. .right {
  48. float: right;
  49. }
  50. }
  51. }
  52. .sentence-code {
  53. margin-top: -10px;
  54. margin-bottom: 10px;
  55. a {
  56. margin: 3px;
  57. }
  58. }
  59. }
  60. .code-module-modal {
  61. .title {
  62. height: 38px;
  63. line-height: 38px;
  64. font-size: 18px;
  65. border-bottom: 1px solid #fff;
  66. font-weight: bold;
  67. }
  68. .desc {
  69. text-align: center;
  70. margin-top: 20px;
  71. margin-bottom: 20px;
  72. height: 100px;
  73. .input {
  74. width: 100%;
  75. background: #fff;
  76. input {
  77. background: #f7f7f7;
  78. border: none;
  79. }
  80. }
  81. .tip {
  82. .left {
  83. float: left;
  84. }
  85. .right {
  86. float: right;
  87. }
  88. }
  89. .error {
  90. color: #ff7554;
  91. text-align: left;
  92. width: 50%;
  93. float: left;
  94. }
  95. }
  96. .btn-list {
  97. text-align: center;
  98. margin-bottom: 15px;
  99. .btn {
  100. display: inline-block;
  101. width: 70px;
  102. line-height: 35px;
  103. height: 35px;
  104. border: 1px solid #fff;
  105. background: #006DAA;
  106. cursor: pointer;
  107. }
  108. .btn:hover {
  109. background: darken(#006DAA, 5);
  110. }
  111. }
  112. }