mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 20:52:44 +08:00
842 lines
12 KiB
CSS
842 lines
12 KiB
CSS
body {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.clearfix {
|
|
zoom: 1
|
|
}
|
|
|
|
.clearfix:after {
|
|
display: block;
|
|
clear: both;
|
|
content: "";
|
|
visibility: hidden;
|
|
height: 0;
|
|
}
|
|
|
|
.fl {
|
|
float: left;
|
|
}
|
|
|
|
.fr {
|
|
float: right;
|
|
}
|
|
|
|
.layui-badge, .layui-badge-rim {
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
#header {
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
position: fixed;
|
|
background-color: #393D49;
|
|
}
|
|
|
|
#main {
|
|
margin-top: 80px;
|
|
margin-bottom: 40px;
|
|
min-height: 550px;
|
|
}
|
|
|
|
#footer {
|
|
padding: 30px 0;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
background: #474443;
|
|
}
|
|
|
|
.logo {
|
|
|
|
}
|
|
|
|
.top-nav {
|
|
margin-left: 100px;
|
|
}
|
|
|
|
.search {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 240px;
|
|
width: 250px;
|
|
}
|
|
|
|
.search .layui-input {
|
|
border: none;
|
|
height: 30px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
#footer span, #footer a {
|
|
color: #999;
|
|
}
|
|
|
|
#footer a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.bottom-nav, .copyright {
|
|
margin-bottom: 10px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.bottom-nav a, .copyright span, .copyright a {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.breadcrumb {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.container {
|
|
padding: 20px;
|
|
margin-bottom: 15px;
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.pager {
|
|
text-align: center;
|
|
}
|
|
|
|
.layout-content {
|
|
float: left;
|
|
width: 760px;
|
|
}
|
|
|
|
.layout-sidebar {
|
|
float: right;
|
|
width: 320px;
|
|
}
|
|
|
|
.layout-sidebar .loading {
|
|
padding: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.layout-sidebar .sidebar {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.index-container .layui-tab {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.index-container .layui-tab-title {
|
|
border: none;
|
|
}
|
|
|
|
.index-container .layui-tab-content {
|
|
padding: 20px 0 0 0;
|
|
}
|
|
|
|
.index-container .header {
|
|
text-align: center;
|
|
font-size: 18px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #f6f6f6;
|
|
}
|
|
|
|
.index-carousel {
|
|
text-align: center;
|
|
}
|
|
|
|
.index-carousel .slide {
|
|
width: auto;
|
|
height: 270px;
|
|
max-height: 270px;
|
|
}
|
|
|
|
.search-empty {
|
|
padding: 50px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.search-empty .icon {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.search-empty .icon .layui-icon {
|
|
font-size: 150px;
|
|
color: #393D49;
|
|
}
|
|
|
|
.search-empty .text {
|
|
color: #666;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.search-empty .text .query {
|
|
color: red;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.search-course-list {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.search-course-card {
|
|
padding-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
|
|
.search-course-card:last-child {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
border: none;
|
|
}
|
|
|
|
.search-course-card .cover {
|
|
float: left;
|
|
width: 210px;
|
|
height: 118px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.search-course-card .cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.search-course-card .info {
|
|
float: left;
|
|
width: 500px;
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.search-course-card .title {
|
|
margin-bottom: 10px;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.search-course-card .summary {
|
|
margin-bottom: 10px;
|
|
line-height: 1.5em;
|
|
max-height: 4.5em;
|
|
word-wrap: break-word;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.search-course-card .meta span {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.search-course-card em {
|
|
color: red;
|
|
font-style: normal;
|
|
}
|
|
|
|
.query-badge {
|
|
padding: 2px 5px;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.course-card {
|
|
float: left;
|
|
width: 20%;
|
|
height: 200px;
|
|
}
|
|
|
|
.course-card .cover {
|
|
width: 210px;
|
|
height: 118px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.course-card .cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.course-card .title {
|
|
width: 210px;
|
|
white-space: nowrap;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.course-card .meta {
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.course-card .meta span {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.course-card .price {
|
|
color: red;
|
|
}
|
|
|
|
.course-card .free {
|
|
color: green;
|
|
}
|
|
|
|
.course-filter {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.filter-group {
|
|
padding-bottom: 5px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.filter-group .title {
|
|
float: left;
|
|
width: 50px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.filter-group .content {
|
|
float: left;
|
|
}
|
|
|
|
.filter-group .content a {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.course-list {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.course-meta .cover {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.course-meta .info {
|
|
position: relative;
|
|
float: left;
|
|
width: 80%;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.course-meta .share {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.course-meta .share a {
|
|
margin-right: 5px;
|
|
color: #999;
|
|
}
|
|
|
|
.course-meta .share a:hover {
|
|
color: #000;
|
|
}
|
|
|
|
.course-meta .price {
|
|
color: red;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.course-meta .free {
|
|
color: green;
|
|
}
|
|
|
|
.course-meta span {
|
|
color: #666;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.course-meta .cover img {
|
|
width: 210px;
|
|
height: 118px;
|
|
}
|
|
|
|
.course-meta p {
|
|
line-height: 30px;
|
|
}
|
|
|
|
.course-tab {
|
|
margin: 0;
|
|
}
|
|
|
|
.course-tab .layui-tab-content {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.course-tab .loading {
|
|
text-align: center;
|
|
padding: 15px;
|
|
}
|
|
|
|
.course-tab .loading .layui-icon {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.course-details {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.lesson-item {
|
|
position: relative;
|
|
padding: 0 10px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.lesson-item a {
|
|
display: block;
|
|
}
|
|
|
|
.lesson-item .title {
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.lesson-item .free-badge {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.lesson-item .duration, .lesson-item .live {
|
|
top: 0;
|
|
right: 10px;
|
|
position: absolute;
|
|
color: #666;
|
|
}
|
|
|
|
.lesson-item .study-time {
|
|
color: green;
|
|
}
|
|
|
|
.lesson-item:hover {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.package-item {
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
|
|
.package-item:last-child {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
border: none;
|
|
}
|
|
|
|
.package-info {
|
|
float: left;
|
|
width: 180px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.package-info span {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.package-info .title {
|
|
padding: 0 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.package-info .origin-price {
|
|
color: #666;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.package-info .origin-price i {
|
|
color: red;
|
|
font-style: normal;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.package-info .price {
|
|
color: #666;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.package-info .price i {
|
|
color: red;
|
|
font-style: normal;
|
|
}
|
|
|
|
.package-course-list {
|
|
width: 580px;
|
|
height: 180px;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.package-course-list .separator {
|
|
color: #666;
|
|
display: inline-block;
|
|
padding-top: 35px;
|
|
margin-left: -5px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.package-course-card {
|
|
width: 175px;
|
|
height: 160px;
|
|
display: inline-block;
|
|
margin-right: 8px;
|
|
vertical-align: top;
|
|
box-shadow: 0 4px 8px 0 rgba(7, 17, 27, 0.1);
|
|
}
|
|
|
|
.package-course-card .cover {
|
|
width: 175px;
|
|
height: 95px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.package-course-card .cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.package-course-card .title {
|
|
font-size: 12px;
|
|
padding: 0 3px;
|
|
text-align: center;
|
|
white-space: normal;
|
|
}
|
|
|
|
.review-card {
|
|
position: relative;
|
|
padding-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
|
|
.review-card:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.review-card .avatar {
|
|
float: left;
|
|
width: 60px;
|
|
height: 60px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.review-card .avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 60px;
|
|
}
|
|
|
|
.review-card .info {
|
|
float: left;
|
|
width: 650px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.review-card .rating {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.review-card .rating .layui-icon {
|
|
color: orange;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.review-card .title {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.review-card .user {
|
|
margin-bottom: 10px;
|
|
color: #666;
|
|
}
|
|
|
|
.review-card .content {
|
|
margin-bottom: 10px;
|
|
color: #666;
|
|
word-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.review-card .footer {
|
|
color: #666;
|
|
}
|
|
|
|
.sidebar-order .order {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.sidebar-order .reward-btn {
|
|
width: 84px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.sidebar-teacher-card {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.sidebar-teacher-card .avatar {
|
|
float: left;
|
|
width: 60px;
|
|
height: 60px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.sidebar-teacher-card .avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 60px;
|
|
}
|
|
|
|
.sidebar-teacher-card .info {
|
|
float: left;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.sidebar-teacher-card .info .name {
|
|
}
|
|
|
|
.sidebar-teacher-card .info .title {
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.topic-badge {
|
|
padding: 2px 5px;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.sidebar-course-card {
|
|
padding-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
|
|
.sidebar-course-card:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.sidebar-course-card .cover {
|
|
float: left;
|
|
width: 90px;
|
|
height: 50px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.sidebar-course-card .cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.sidebar-course-card .info {
|
|
float: left;
|
|
width: 190px;
|
|
color: #666;
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sidebar-course-card .title {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sidebar-course-card .meta span {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.cart-course-card {
|
|
padding-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
|
|
.cart-course-card:last-child {
|
|
padding: 0;
|
|
margin: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.cart-course-card .cover {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.cart-course-card .cover img {
|
|
width: 175px;
|
|
height: 95px;
|
|
}
|
|
|
|
.cart-course-card p {
|
|
line-height: 30px;
|
|
}
|
|
|
|
.cart-course-card .info {
|
|
float: left;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.cart-course-card span {
|
|
color: #666;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.cart-course-card .price {
|
|
color: red;
|
|
}
|
|
|
|
.cart-stats .info {
|
|
float: left;
|
|
line-height: 38px;
|
|
}
|
|
|
|
.cart-stats .amount {
|
|
color: red;
|
|
}
|
|
|
|
.cart-stats .pay-amount {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cart-stats span {
|
|
color: #666;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.cart-form {
|
|
float: right;
|
|
}
|
|
|
|
.payment .header {
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #f6f6f6;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.payment .header span {
|
|
color: #666;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.payment .header .amount {
|
|
color: red;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.payment .channel {
|
|
margin-top: 50px;
|
|
margin-bottom: 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
.channel .alipay, .channel .wxpay {
|
|
width: 200px;
|
|
height: 80px;
|
|
display: inline-block;
|
|
margin-right: 15px;
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.channel .alipay {
|
|
background-image: url("/static/web/img/alipay.png");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
|
|
.channel .wxpay {
|
|
background-image: url("/static/web/img/wxpay.png");
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
}
|
|
|
|
.payment .footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.payment .footer .tips {
|
|
color: #999;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#pay-layer {
|
|
padding-top: 50px;
|
|
}
|
|
|
|
#pay-layer .qrcode {
|
|
text-align: center;
|
|
}
|
|
|
|
#pay-layer .qrcode img {
|
|
width: 160px;
|
|
height: 160px;
|
|
border: 3px dashed #ccc;
|
|
}
|
|
|
|
#pay-layer .success-tips {
|
|
color: green;
|
|
text-align: center;
|
|
}
|
|
|
|
.account-container {
|
|
padding-top: 40px;
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
.account-form {
|
|
width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.account-form .layui-input-block {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.account-form .verify-input-inline {
|
|
display: inline-block;
|
|
width: 283px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.account-form .verify-btn-inline {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.verify-btn-inline button {
|
|
min-width: 108px;
|
|
}
|
|
|
|
.login-tab {
|
|
margin: 0;
|
|
}
|
|
|
|
.login-tab .layui-tab-title {
|
|
text-align: center;
|
|
}
|
|
|
|
.login-tab .layui-tab-content {
|
|
padding-top: 30px;
|
|
}
|
|
|
|
.login-container .link {
|
|
margin-bottom: 30px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.login-container .link a {
|
|
color: #999;
|
|
}
|
|
|
|
.login-container .link .separator {
|
|
margin: 0 15px;
|
|
color: #999;
|
|
} |