caipan_shop_admin/public/static/css/public.less

273 lines
4.2 KiB
Plaintext
Executable File

body,
ul,
ol,
h1,
h2,
h4,
p {
margin: 0;
padding: 0;
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
color: #000;
background: white;
min-width: 1200px;
max-width: 1920px;
margin: auto;
background: white;
}
img {
border: 0px;
}
.inline_img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
display: inline-block;
vertical-align: middle;
}
ul,
ol {
list-style-type: none;
}
a {
width: auto;
height: auto;
text-decoration: none;
}
input {
outline: none;
border: none;
}
//
.clear:after, .clear:before {
content: "";
display: block;
clear: both;
}
.w1200 {
width: 1200px;
margin: auto;
}
.w100 {
width: 100%;
margin: auto;
}
//菜单
.head_title {
height: 80px;
padding: 30px 0;
.logo {
height: 80px;
float: left;
display: block;
}
.search_row {
width: 525px;
height: 80px;
float: left;
margin-left: 75px;
}
.search_row .btn_row {
width: 525px;
height: 33px;
}
.search_row .btn_row .btn {
width: 100px;
height: 33px;
line-height: 33px;
text-align: center;
font-size: 22px;
color: #d84848;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
float: left;
}
.search_row .btn_row .on {
color: white;
background: #d84848;
}
.input_div {
width: 521px;
height: 43px;
border: 2px #d84848 solid;
position: relative;
}
.input_div input {
width: 390px;
height: 43px;
background: url("/static/images/index_11.jpg") no-repeat;
background-size: 20px 20px;
background-position: left 10px center;
background-color: white;
text-indent: 40px;
font-size: 22px;
color: #333333;
position: absolute;
top: 0;
left: 0;
}
/*修改提示文字的颜色*/
.input_div input::-webkit-input-placeholder { /* WebKit browsers */
color: #dedede;
}
.input_div input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #dedede;
}
.input_div input::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #dedede;
}
.input_div input:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #dedede;
}
.input_div .search_submit {
width: 130px;
height: 43px;
line-height: 43px;
text-align: center;
font-size: 22px;
color: white;
background-color: #d84848;
position: absolute;
top: 0;
right: 0;
}
.login_register {
width: auto;
height: 80px;
line-height: 80px;
float: right;
}
.login_register div {
width: auto;
height: 50px;
line-height: 50px;
display: inline-block;
vertical-align: middle;
font-size: 18px;
color: #6f6f6f;
margin: auto 15px;
letter-spacing: 2px;
}
.login_register img {
margin-right: 5px;
}
}
@menu_height: 60px;
.menu_row {
background-color: #d84848;
height: @menu_height;
.w1200 {
height: @menu_height;
}
.w1200 a {
display: block;
width: 132px;
height: @menu_height;
line-height: @menu_height;
text-align: center;
font-size: 18px;
color: white;
float: left;
}
.w1200 a:hover {
background-color: #9e2525;
}
.w1200 .on {
background-color: #9e2525;
}
}
//底部
.footer_div {
background-color: #000000;
padding: 50px 0;
}
.footer {
.footer_list_row{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}
.footer_list {
width: 172px;
//float: left;
}
.footer_list p, .footer_list .qrmsg {
font-size: 14px;
color: #666666;
text-align: center;
}
.footer_list .title {
font-size: 18px;
color: #666666;
text-align: center;
margin-bottom: 10px;
}
.footer_list .qr_img{
width: 92px;
display: block;
margin: auto;
}
.footer_p{
line-height: 1.5;
font-size: 14px;
color: #666666;
text-align: center;
margin: 30px auto;
}
}
//
.site_location{
font-size: 18px;
color: #333333;
margin: 30px auto;
}