@default-border-radius: 6px; @default_price_color: rgb(210, 105, 30); @default_radius: 6px; * { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 62.5%; font-family: "Roboto", sans-serif; } .container { width: 960px; } .mybox { border-radius: @default-border-radius; border: 1px solid #eee; background: rgba(255, 255, 255, 0.8); } .content { min-height: 80vh; } li { list-style: none; } a { text-decoration: none; } body { background-color: rgba(0, 0, 0, 0.1); } h4 { &.h4-title { font-size: 20px; text-align: center; margin-top: 20px; } &.item-detail-title { font-size: 18px; margin: 0 0 10px 0; } &.h4-title-desc { font-size: 20px; border-bottom: 2px solid #eee; margin: 10px 0; padding: 10px; border-left: 2px solid #ccc; } &.page-title { font-size: 18px; padding: 10px 0; border-bottom: 1px solid #ccc; } } .ap-gold { background: url(/public/static/images/gold.png) no-repeat; margin-top: -5px; width: 25px; height: 25px; display: block; } .page-content { padding: 10px; } .top-banner { border: 1px solid #ccc; background: #fff; border-radius: @default-border-radius; .hot-items { border-radius: @default-border-radius; .left-item { border-bottom: 1px solid #eee; &:last-child { border-bottom: none; } } } .banners { border-radius: @default-border-radius; } } .navbar-form { .form-control { border: 1px solid #ccc; background: rgba(255, 255, 255, 0.3); color: #FFF; } } .profile-menu { li { background: #eee; text-align: none; padding: 6px 10px; margin: 10px; border-radius: @default-border-radius; &.cur { background: #ffcc00; a { color: #fff; } } } a { color: #666; text-decoration: none; } } .alert { line-height: 25px; .important { border-bottom: 1px solid #faebcc; margin-bottom: 5px; padding-bottom: 5px; font-weight: bold; } } .h-v100 { min-height: 100vh; } .mt-20 { margin-top: 20px; } .bg-white { background-color: #fff; } .footer { margin-top: 20px; } .left-item { display: flex; padding: 8px 20px; } .cart-container { display: flex; } .cart-container .right { width: 30%; border-left: 1px solid #eee; min-height: 300px; padding: 0 10px; } .cart-container .right .channel { border-bottom: 1px solid #eee; display: flex; align-items: center; padding: 5px 0; } .cart-container .right .channel input { margin: 0; } .cart-container .right .channel label { padding: 0 10px; } .cart-item { display: flex; align-items: center; border-bottom: 1px solid #cccccc; padding: 20px 0; } .cart-item:last-child { border-bottom: none; } .cart-item img { height: 60px; } .cart-item .name { width: 50%; padding-left: 20px; flex-grow: 1 } .cart-item .quantity { width: 20%; } .cart-item .quantity a { width: 20%; text-decoration: none; } .cart-item .operate { width: 20%; text-align: right; } .cart-item .operate .del-icon { padding: 0 20px; } .cart-item .price { text-decoration: line-through; color: #cccccc; } .cart-item .net-price { font-weight: 600; color: #eea236; } .cart-footer { padding: 20px 0; text-align: right; display: flex; justify-content: flex-end; color: #eea236; } .cart-footer .t { font-weight: bold; } .cart-footer .sub-t { font-weight: bold; padding-left: 10px; color: @default_price_color; } .empty-item { padding: 20px; text-align: center; } .form-group .tips { display: none; color: red; } .info-wrap .input-group-text { width: 90px; } .need-full-card, .need-cvv, #subLoading, #customer_gateway { display: none; } #subLoading { text-align: center; } #payRest { word-wrap: break-word; word-break: break-all; } #payRest pre { padding: 15px; background-color: #c6e7fb; } #create-account-form input.error { border: 1px solid #ff0000; } .h4-title-bar { border-bottom: 2px solid #eee; margin: 15px 0; font-size: 20px; border-left: 3px solid #ffcc00; padding-left: 15px; padding-bottom: 10px; } .cart-item { display: flex; margin-bottom: 10px; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; img { height: 50px; border-radius: @default-border-radius; } .net-price { color: @default_price_color; font-weight: bold; } .price { color: #666; text-decoration: line-through; padding-left: 20px; } .name { width: 50%; text-align: left; padding-left: 10px; flex-grow: 1; } } .cart-footer { display: flex; justify-content: flex-end; text-align: right; border-top: 1px solid #ccc; .t { font-weight: bold; color: @default_price_color; margin: 5px 0; } .primary-button { background: #5969a2; color: #fff; } } #cart-count { position: absolute; top: 8px; right: -8px; width: 15px; height: 15px; border-radius: 10px; line-height: 15px; text-align: center; font-size: 12px; color: #fff; background: rgba(255, 0, 0, 0.5); display: block; } .order-item { border: 1px solid #eee; border-radius: @default_radius; margin-bottom: 20px; line-height: 27px; img { height: 54px; width: 40px; border-radius: 4px; } .top { border-bottom: 1px solid #eee; display: flex; justify-content: space-between; padding: 5px; } .detail { display: flex; padding: 10px; border-bottom: 1px dashed #eee; &:last-child { border-bottom: none; } .btn { display: flex; justify-content: center; align-items: center; } } } .pure-button { border: none; &.btn-status { border-radius: @default_radius; padding: 4px 10px; a { color: #ccc; } } &.btn-blue { color: #fff; background: #5969a2; } &.btn-orange { color: #fff; background: orange; } &.btn-red { color: #fff; background: red; } &.btn-green { color: #fff; background: green; } &.btn-purple { color: #fff; background: purple; } &.btn-closed { color: #eee; background: #ccc; } &.btn-pending { color: #fff; background: #666; } } .pagination { display: inline-block; li { display: inline-block; background: #eee; margin: 3px; border-radius: 5px; &.active { background: #ccc; } } li:first-child { border-top-left-radius: @default-border-radius; border-bottom-left-radius: @default-border-radius; margin-left: 0; } li:last-child { border-top-right-radius: @default-border-radius; border-bottom-right-radius: @default-border-radius; } } .pagination-sm { display: inline-block; li { display: inline-block; background: #eee; margin: 3px; border-radius: 5px; &.active { background: #ccc; } } li:first-child { border-top-left-radius: @default-border-radius; border-bottom-left-radius: @default-border-radius; margin-left: 0; } li:last-child { border-top-right-radius: @default-border-radius; border-bottom-right-radius: @default-border-radius; } } .detail-item { display: flex; margin-bottom: 20px; .item-img { img { height: 90px; border-radius: @default_radius; } } } .like-item { display: flex; margin: 10px 0; .l { img { width: 45px; height: 60px; border-radius: 5px; } } .r { margin-left: 10px; p { word-wrap: break-word; margin: 0; .price { color: gray; text-decoration: line-through; } .net-price { color: @default_price_color ; } } } }