代码去重

This commit is contained in:
caishi 2020-05-08 14:30:04 +08:00
parent cd3dc222e2
commit 5d7344fb1c
10 changed files with 24 additions and 90 deletions

View File

@ -3550,40 +3550,7 @@ input.radio-width90 {
background: #fafafa;
}
/*白色色块--类似个人主页-学习-里面的tab*/
.white-panel {
border-radius: 2px;
width: 100%;
margin: 0px auto;
box-sizing: border-box;
padding-left: 25px;
}
.white-panel li {
width: 118px;
height: 48px;
line-height: 48px;
text-align: center;
color: #05101A;
float: left;
cursor: pointer;
border: 1px solid #fff;
}
.white-panel li a {
display: block;
width: 100%;
}
.white-panel li.active {
border-radius: 24px;
border: 1px solid #4CACFF;
color: #4CACFF;
}
.white-panel li.active a {
color: #4CACFF;
}
/* 个人主页翻页 */

View File

@ -183,14 +183,6 @@
border-top: none !important;
}
.white-panel li {
border: 1px solid #fafafa !important;
}
.white-panel li.active {
border: 1px solid #4CACFF !important;
}
/* 选择实训列表 */
.greybackHead {
height: 40px;

View File

@ -188,11 +188,6 @@ class InfosCourse extends Component {
margin-left: 40px !important;
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
`
}
</style>

View File

@ -184,11 +184,6 @@ class InfosPackage extends Component {
line-height: 46px !important;
margin-left: 40px !important;
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
`
}
</style>

View File

@ -204,12 +204,6 @@ class InfosPath extends Component {
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
`

View File

@ -202,15 +202,6 @@ class InfosProject extends Component {
margin-left: 40px !important;
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
`
}
</style>

View File

@ -217,16 +217,6 @@ class InfosShixun extends Component {
line-height: 46px !important;
margin-left: 40px !important;
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
`
}
</style>

View File

@ -201,15 +201,6 @@ class Projects extends Component{
margin-left: 40px !important;
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
`
}
</style>

View File

@ -152,6 +152,30 @@ color: #4CACFF
margin-top: -15px;
}
/*白色色块--类似个人主页-学习-里面的tab*/
.white-panel {
width: 100%;
margin: 0px auto;
box-sizing: border-box;
padding-left: 25px;
}
.white-panel li {
width: 118px;
height: 48px;
line-height: 48px;
text-align: center;
color: #05101A;
float: left;
cursor: pointer;
}
.white-panel li a {
display: block;
width: 100%;
}
.white-panel li.active a {
color: #4CACFF;
}
.project-package-item.with-operator .item-operator {
width: 0;
transition: width .2s;

View File

@ -308,11 +308,6 @@ function InfoVideo(props) {
.videoItem {
margin-right: 24px;
}
.white-panel li.active {
border-radius: 24px;
border: none !important;
color: #4CACFF;
}
.whitepanelysllisyt {
width: 70px !important;
height: 48px !important;