闫增涛
2024-05-29 3465a4b37d56e4a737309ebb7f2965dfcb2090a0
src/books/English/assets/main.less
@@ -287,10 +287,10 @@
    -moz-text-emphasis-style: dot;
    -ms-text-emphasis-style: dot;
    text-emphasis-style: dot;
    -webkit-text-emphasis-position: under;
    -moz-text-emphasis-position: under;
    -ms-text-emphasis-position: under;
    text-emphasis-position: under;
    -webkit-text-emphasis-position: under left;
    -moz-text-emphasis-position: under left;
    -ms-text-emphasis-position: under left;
    text-emphasis-position: under left;
  }
  .fieldset {
@@ -586,7 +586,7 @@
    margin-top: 0.5em;
  }
  .bjh3 {
    border: 10px dotted #faeec6;
    border: 5px dotted #faeec6;
    background: #0da785;
    padding: 0.2em 0.4em 0.2em 0.4em;
    color: #ffffff;
@@ -667,6 +667,9 @@
    padding: 0;
    list-style: none;
  }
  .fm-son {
    font-family: "宋体", SimSun, sans-serif;
  }
  .tl {
    text-align: left !important;
  }
@@ -679,11 +682,26 @@
  .ju-cn {
    justify-content: center;
  }
  .ju-ev {
    justify-content: space-evenly;
  }
  .al-cn {
    align-items: center;
  }
  .al-end {
    align-items: flex-end;
  }
  .fz-14 {
    font-size: 14px;
  }
  .fz-16 {
    font-size: 16px;
  }
  .fz-18 {
    font-size: 18px;
  }
  .fw-bl {
    font-weight: bold;
  }
  .m0 {
    margin: 0 !important;
@@ -694,17 +712,21 @@
  .mb-20 {
    margin-bottom: 20px;
  }
  .mt-40 {
    margin-top: 40px;
  }
  .wh-nr {
    white-space: nowrap;
  }
  .padding-93 {
    padding: 0 93px 0px 93px;
  }
  .pb-104 {
    padding-bottom: 104px;
  }
  .t0 {
    text-indent: 0;
  }
  .w100 {
    width: 100%;
  }
  .pd-20 {
    padding: 0 20px;
@@ -719,10 +741,10 @@
    background: linear-gradient(to right, #639bc2, #fff);
  }
  .event-header-text-bc {
   background-color:#bbd4ec ;
    background-color: #bbd4ec;
  }
  .event-text-color {
    color:#639bc2 ;
    color: #639bc2;
  }
  .y-bc {
    background-color: #f3e3c7;
@@ -744,6 +766,7 @@
      font-weight: bold;
    }
  }
  // 页码
  .preface-bottom {
    height: 104px;
    display: flex;
@@ -754,19 +777,184 @@
      width: 30px;
      height: 30px;
      line-height: 30px;
      color:#11ad8a ;
      color: #11ad8a;
      font-weight: bold;
      text-align: center;
      border: 1px solid #11ad8a;
      border-radius: 20px;
    }
    .contet-num-box {
      width: 50px;
      height: 30px;
      line-height: 40px;
      width: 56px;
      height: 36px;
      line-height: 36px;
      text-align: center;
      background-color: #e6e7e9;
      border-radius: 35px;
      border-radius: 50%;
      font-weight: bold;
    }
  }
  .input-bottom-border {
    border: 0;
    border-bottom: 1px solid #000000;
    width: 86%;
    &:focus {
      outline: none;
    }
  }
  .preface-odd-header {
    height: 104px;
    display: flex;
    align-items: center;
    li:first-child {
      width: 15px;
      height: 100%;
    }
    li:last-child {
      display: flex;
      align-items: center;
      span:first-child {
        box-sizing: border-box;
        height: 30px;
        display: inline-block;
        padding: 5px 10px;
        border-radius: 8px 0 0 8px;
        color: #fff;
        font-weight: bold;
      }
      span:last-child {
        min-width: 40px;
        min-height: 30px;
        line-height: 30px;
        padding: 0 5px;
        display: inline-block;
      }
    }
    .chapter-left-bc {
      background-color: #639bc2;
    }
    .chapter-right-bc {
      background-color: #bbd4ec;
    }
    .chapter-right-cl {
      color: #639bc2;
    }
  }
  .parimary-btn {
    min-width: 80px;
    font-size: 14px;
    margin-left: 5px;
    background-color: #0bab87;
    border-color: #0bab87;
    border-width: 1px;
    color: #fff;
    border-radius: 6px;
    &:hover {
      background-color: #a1afc8;
      border-color: #a1afc8;
    }
  }
  .correct-icon {
    color: green;
  }
  .error-icon {
    color: red;
  }
  .icon-box {
    display: inline-block;
    width: 18px;
    height: 18px;
  }
  .word-bc {
    // background-color: #a1afc8;
    background-color: #e1ebf6;
    cursor: pointer;
  }
  .textarea-text {
    &:focus {
      border-color: #659ac6;
      outline: none;
    }
  }
  .table-th-bc {
    background-color: #f7ab57;
  }
  .table-tr-bc {
    background-color: #f2e2be;
  }
  .table-textarea {
    font-size: 14px;
    font-family: "Times New Roman", "宋体";
    resize: none;
    &:focus {
      outline: none;
    }
  }
  .wh-no {
    white-space: nowrap;
  }
  .tl-cn {
    text-align: center;
  }
  .b0 {
    border: 0;
  }
  button {
    cursor: pointer;
    border-radius: 6px;
  }
  button:focus {
    outline: none;
  }
  .pd-5 {
    padding: 0 5px;
  }
  .resource-primary-border {
    border: 3px dotted #f49a4c;
    border-radius: 1em;
  }
  .btn-border {
    border-color: #0bab87;
  }
  svg {
    fill:#fff ;
  }
  .btn-box {
    margin-left: 5px;
    cursor: pointer;
    text-indent: 0;
    display: inline-block;
    border:1px solid #0bab87;
    height: 22px;
    padding: 5px;
    background-color:#0bab87 ;
    border-radius: 5px;
    &:hover {
      background-color: #fff;
      svg {
        fill:#0bab87 ;
      }
    }
  }
}
/* 媒体查询做基础响应式布局 */
@media (max-width: 660px) {
  .english-book {
    /* 分页padding */
    .padding-93 {
      padding: 0 20px;
    }
    .padding-102 {
      padding: 0 20px;
    }
  }
}
@media (min-width: 660px) {
  .english-book {
    .padding-93 {
      padding: 0 93px 0px 93px;
    }
    .padding-102 {
      padding: 0 102px 0 102px;
    }
  }
}