vr-shopxo-source/public/static/plugins/css/commonrightnavigation/style.css

352 lines
9.6 KiB
CSS
Executable File

.commonrightnavigation-right-nav .cart .cart-text {
line-height: 16px;
font-size: 12px;
}
.commonrightnavigation-right-nav .cart .cart-text .cart-count {
width: 20px;
height: 20px;
border-radius: 10px;
line-height: 20px;
padding: 0;
}
@media only screen and (min-width:640px) {
.commonrightnavigation-right-nav {
width: 35px;
height: 100vh;
background: #000;
position: fixed;
top: 0;
right: 0;
font-size: 16px;
z-index: 1000;
}
.commonrightnavigation-right-nav .base-nav {
text-align: center;
position: absolute;
width: 100%;
color: #ccc;
}
.commonrightnavigation-right-nav .base-nav .nav-a {
color: #ccc;
}
.commonrightnavigation-right-nav .base-nav a {
cursor: pointer;
}
.commonrightnavigation-right-nav .base-nav [class*="am-icon-"]:before {
line-height: 35px;
}
.commonrightnavigation-right-nav .mui-mbar-tab-tip {
position: absolute;
left: -90px;
top: 0;
width: 90px;
height: 35px;
line-height: 35px;
text-align: center;
color: #fff;
background-color: #494949;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);
-moz-box-shadow: 0 0 5px rgba(0,0,0,.2);
box-shadow: 0 0 5px rgba(0,0,0,.2);
font-size: 12px;
font-weight: 700;
display: none;
}
.mui-mbar-popup {
height: auto;
position: absolute;
right: 35px;
display: none;
box-shadow: -5px 0px 15px 5px rgba(0,0,0,.4);
}
.commonrightnavigation-right-nav .base-nav:hover {
background: #d2364c;
color: #fff;
}
.commonrightnavigation-right-nav .base-nav:hover .nav-a {
color: #fff;
text-decoration: none;
}
.commonrightnavigation-right-nav .base-nav:hover .mui-mbar-tab-tip, .commonrightnavigation-right-nav .base-nav:hover .mui-mbar-popup {
display: block;
}
.commonrightnavigation-right-nav .mui-mbar-tab-tip-arr {
top: 10px;
right: -8px;
color: #494949;
}
.commonrightnavigation-right-nav .mui-mbar-arr {
position: absolute;
width: 16px;
height: 16px;
line-height: 16px;
text-align: center;
font-size: 16px;
font-family: "\5b8b\4f53";
}
.commonrightnavigation-right-nav .go-top {
bottom: 0;
left: 0;
height: 35px;
display: none;
}
.commonrightnavigation-right-nav .answer-content {
bottom: 70px;
left: 0;
height: 35px;
}
.commonrightnavigation-right-nav .qrcode-content {
bottom: 35px;
left: 0;
height: 35px;
}
.commonrightnavigation-right-nav .cart {
bottom: 40vh;
left: 0;
height: 125px;
border-top: 1px solid #444;
border-bottom: 1px solid #444;
padding: 5px 0;
}
.commonrightnavigation-right-nav .cart:hover {
border-top: 1px solid #d2364c;
border-bottom: 1px solid #d2364c;
}
.commonrightnavigation-right-nav .favor {
bottom: calc(40vh + 135px);
left: 0;
height: 35px;
}
.commonrightnavigation-right-nav .browse {
bottom: calc(40vh + 170px);
left: 0;
height: 35px;
}
.commonrightnavigation-right-nav .user-center {
bottom: calc(40vh + 205px);
left: 0;
height: 35px;
padding: 5px;
}
.commonrightnavigation-right-nav .user-center img {
border-radius: 50px;
}
.commonrightnavigation-right-nav .cart .cart-text {
width: 12px;
font-size: 12px;
margin-left: 11.5px;
}
.commonrightnavigation-right-nav .cart .cart-text .cart-count {
margin-left: -4px;
}
.commonrightnavigation-right-nav .qrcode-items {
bottom: 0;
width: 140px;
}
.commonrightnavigation-right-nav .qrcode-items ul {
padding: 0;
border: 1px solid #eee;
padding: 10px 10px;
background: #f5f5f5;
}
.commonrightnavigation-right-nav .qrcode-items li {
list-style: none;
}
.commonrightnavigation-right-nav .qrcode-items li:not(:first-child) {
margin-top: 10px;
}
.commonrightnavigation-right-nav .qrcode-items p {
font-size: 14px;
font-weight: 700;
color: #666;
padding: 0;
margin: 0;
line-height: 24px;
}
.commonrightnavigation-right-nav .qrcode-items img {
width: 120px;
}
.commonrightnavigation-right-nav .answer-content .mui-mbar-popup {
bottom: 0;
width: 230px;
height: 335px;
background: #fff;
padding: 10px;
text-align: left;
color: #666;
}
.commonrightnavigation-right-nav .answer-content .mui-mbar-popup legend span {
font-weight: 500;
}
.commonrightnavigation-right-nav .answer-content .am-form-group {
width: 100%;
}
.commonrightnavigation-right-nav .cart-content {
bottom: 0;
width: 400px;
min-height: 100px;
max-height: 360px;
background: #fff;
color: #666;
}
}
@media only screen and (max-width:640px) {
.commonrightnavigation-right-nav .user-content,
.commonrightnavigation-right-nav .browse-content,
.commonrightnavigation-right-nav .favor-content,
.commonrightnavigation-right-nav .qrcode-content,
.commonrightnavigation-right-nav .cart-content,
.commonrightnavigation-right-nav .commonrightnavigation-cart a.nav-a,
.commonrightnavigation-right-nav .go-top .mui-mbar-tab-tip,
.commonrightnavigation-right-nav .answer-content {
display: none;
}
.commonrightnavigation-right-nav .go-top {
position: fixed;
bottom: 130px;
right: 10px;
background: #eee;
width: 45px;
height: 45px;
line-height: 45px;
text-align: center;
color: #666;
font-size: 20px;
cursor: pointer;
border-radius: 50px;
border: 1px solid #e3e3e3;
z-index: 1000;
display: none;
}
.cart-show {
display: block !important;
}
.commonrightnavigation-right-nav .cart-show {
position: fixed;
right: 0;
bottom: calc(50% - 50px);
background: #eee;
width: 30px;
padding: 5px;
text-align: center;
border-left: 1px solid #e3e3e3;
border-top: 1px solid #e3e3e3;
border-bottom: 1px solid #e3e3e3;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
z-index: 1000;
}
.commonrightnavigation-right-nav a.cart-show {
text-decoration: none;
}
}
/**
* 购物车
*/
.commonrightnavigation-cart .cart-content {
text-align: left;
font-size: 12px;
}
.commonrightnavigation-cart .cart-content .cart-items {
min-height: 60px;
max-height: 320px;
overflow-x: auto;
}
.commonrightnavigation-cart .cart-content .goods-detail img {
width: 60px;
height: 60px;
position: absolute;
}
.commonrightnavigation-cart .cart-content .goods-detail {
position: relative;
min-height: 60px;
}
.commonrightnavigation-cart .cart-content .goods-title {
display: block;
max-height: 36px;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
}
.commonrightnavigation-cart .cart-content .goods-title:hover {
text-decoration: underline;
}
.commonrightnavigation-cart .cart-content .goods-base {
float: left;
top: 0;
margin-left: 65px;
}
.commonrightnavigation-cart .cart-content .goods-attr {
margin-top: 5px;
}
.commonrightnavigation-cart .cart-content .goods-attr li {
color: #888;
line-height: 16px;
font-size: 12px;
}
.commonrightnavigation-cart .cart-content strong.total-price-content, .commonrightnavigation-cart .cart-content .nav-total-price {
font-weight: 700;
}
.commonrightnavigation-cart .cart-content .cart-nav label {
cursor: pointer;
}
.commonrightnavigation-cart .cart-content .selected-tips strong, .commonrightnavigation-cart .cart-content .nav-total-price {
font-size: 14px;
}
.commonrightnavigation-cart .cart-content strong.total-price-content, .commonrightnavigation-cart .cart-content .selected-tips strong, .commonrightnavigation-cart .cart-content .nav-total-price {
color: #d2364c;
font-family: Verdana,Tahoma,arial;
}
.commonrightnavigation-cart .cart-content .am-table {
margin-bottom: 10px;
}
.commonrightnavigation-cart .cart-content .am-table > tbody > tr > td {
border-top: 1px solid #F5F5F5;
}
.commonrightnavigation-cart .cart-content table td.base input[type="checkbox"] {
float: left;
}
.commonrightnavigation-cart .cart-content .cart-nav {
background: #eee;
height: 40px;
line-height: 40px;
padding: 0 0 0 5px;
}
.commonrightnavigation-cart .cart-content .cart-nav .separate-submit {
height: 40px;
width: 100px;
font-size: 16px;
font-weight: 500;
}
.commonrightnavigation-cart .cart-content .selected-tips {
margin-right: 15px;
}
.commonrightnavigation-cart .cart-content table tr .base {
width: 60%;
}
.commonrightnavigation-cart .cart-content table tr .total-price {
width: 26%;
}
.commonrightnavigation-cart .cart-content table tr .operation {
width: 12%;
}
.commonrightnavigation-cart .cart-content .cart-nav .nav-total-price {
margin-right: 5px;
}
.commonrightnavigation-cart .cart-content .mixed-tips {
margin-bottom: 2%;
margin-top: 2%;
}
.commonrightnavigation-cart .cart-content .mixed-tips-content {
margin-top: 20px;
}
form.am-form .am-form-group {
padding: 0 !important;
}