Commit e76f5204 by vulehuan

Add static html page code

parents
body {
font-family: Tahoma, "Times New Roman", Times, serif;
font-size: 12px;
color: #000;
background-image: url("../images/bg1.jpg");
}
.container {
background: #FFF;
}
.sprite-1 {
background: url("../images/sprite_1.png");
}
.sprite-2 {
background: url("../images/sprite_2.png");
}
.margin-1 {
margin-top: 10px;
}
/*****************************************
header
******************************************/
header {
padding: 5px 0;
margin-right: -15px;
position: relative;
}
header .banner img {
border-radius: 4px;
box-shadow: 4px 4px 4px #888888;
}
h1.logo a {
width: 160px;
height: 100px;
color: transparent;
font-size: 0;
overflow: hidden;
display: inline-block;
background: url("../images/logo.jpg") no-repeat;
}
.block-user-action {
position: absolute;
bottom: 13px;
right: 10px;
box-shadow: 4px 4px 4px #666;
}
.block-user-action ul,.block-user-action li {
list-style: none;
margin: 0;
padding: 0;
}
.block-user-action li {
float: left;
margin-left: 10px;
}
.block-search {
margin-right: -15px;
padding-bottom: 10px;
}
.block-search .btn-default {
font-weight: bold;
text-transform: uppercase;
color: #FFF;
background-color: #72a930;
border-color: #ccc;
padding: 7px 12px;
margin-top: -1px;
}
.breadcrumb {
margin-left: -15px;
font-size: 13px;
font-weight: bold;
padding: 4px 15px 4px 0;
}
.breadcrumb span {
display: block;
float: left;
margin-right: 10px;
}
.breadcrumb ul,.breadcrumb li {
list-style: none;
margin: 0;
padding: 0;
}
.breadcrumb li {
float: left;
color: #428bca;
}
.breadcrumb li:after {
content: ">>";
}
.breadcrumb li.last:after {
content: "";
}
.breadcrumb li a {
padding: 0 10px;
}
/*****************************************
box
******************************************/
.box {
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 13px;
}
.box.bg {
background: url("../images/n.jpg");
}
.box a {
font-weight: bold;
color: #000;
}
.box a:hover {
color: #900;
}
.box .list,.box .list li {
list-style: none;
margin: 0;
padding: 0;
}
.box .list>li {
background: url("../images/icon_1.gif") 0 7px no-repeat;
border-bottom: 1px solid #CCC;
}
.box .list>li.last {
border-bottom: none;
}
.box .list>li>a:hover,.box .list>li>a:focus {
background: none;
}
.box .list>li>a:hover {
border-color: #CCC;
}
.box .list>li>a {
border: none;
border-radius: 0;
display: block;
}
.box .list>li>a {
padding: 7px 15px 7px 20px;
}
.box h2 {
position: relative;
margin: 0;
padding: 2px 0;
background: #f1f3ee;
}
.box h2 .corner-left,.box h2 .corner-right {
position: absolute;
display: block;
width: 32px;
height: 26px;
overflow: hidden;
top: 2px;
}
.box h2 .corner-left {
left: 3px;
}
.box h2 .corner-right {
right: 3px;
background-position: top right;
background-position-y: -100px;
}
.box h2 .text {
display: block;
background-position-y: -50px;
color: #FFF;
font-weight: bold;
text-transform: uppercase;
font-family: Tahoma;
font-size: 11px;
min-height: 26px;
line-height: 26px;
text-align: center;
margin: 0 7px 0 3px;
}
/*****************************************
footer
******************************************/
footer {
background: url("../images/bg_footer.jpg") repeat-x;
padding: 20px 10px 10px 10px;
margin-top: 10px;
}
/*****************************************
grid view
******************************************/
.body-box {
border: 1px solid #CCC;
margin-left: -15px;
margin-right: -15px;
padding-left: 16px;
padding-right: 16px;
}
.grid-view .thumbnail {
border: none;
}
.grid-view .item {
border: 1px solid #CCC;
margin: 1px 1px 2px 1px;
}
.grid-view .col-md-3 {
padding: 0;
}
.body-box h2 {
margin: 0;
padding: 0;
background-position-y: -50px;
background-repeat: repeat-x;
height: 29px;
position: relative;
padding-left: 29px;
line-height: 29px;
margin-left: -15px;
margin-right: -15px;
color: #9A370B;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
font-size: 11px;
font-family: Tahoma;
background-position-y: -50px;
}
.body-box h2 span {
display: block;
width: 29px;
height: 29px;
position: absolute;
width: 29px;
top: 0;
left: 0;
}
.grid-view .item h4 {
font-family: Tahoma;
font-size: 11px;
font-weight: bold;
text-align: center;
line-height: 120%;
}
.grid-view .item h4 a {
color: #333;
}
.grid-view .item .price {
color: #000;
font-weight: bold;
text-align: center;
padding-top: 15px;
padding-bottom: 5px;
}
.grid-view .item .price span {
color: #F00;
}
.grid-view .item .action,.list-view .item .action {
text-align: center;
padding-bottom: 7px;
}
.grid-view .item .action .view-detail,.grid-view .item .action .order,.list-view .item .action .view-detail,.list-view .item .action .order
{
color: transparent;
font-size: 0;
display: inline-block;
overflow: hidden;
height: 19px;
}
.grid-view .item .action .view-detail,.list-view .item .action .view-detail
{
width: 74px;
background: url("../images/detail.png") no-repeat;
margin-right: 10px;
}
.grid-view .item .action .order,.list-view .item .action .order {
width: 84px;
background: url("../images/order.png") no-repeat;
}
/*****************************************
list view
******************************************/
.list-view {
}
.list-view .col-md-3 {
width: 100%;
clear: left;
padding-top: 10px;
}
.list-view .thumbnail {
width: 25%;
float: left;
margin-right: 10px;
}
.list-view h4 {
padding-left: 10px;
margin-left: 25%;
margin-bottom: -25px;
}
.list-view .price {
font-size: 13px;
padding-bottom: 5px;
font-weight: bold;
padding-top: 35px;
}
.list-view .price span {
font-size: 14px;
color: #FF0000;
}
.list-view .item .action {
text-align: left;
}
/*****************************************
others
******************************************/
#block-slide {
margin-left: -15px;
margin-right: -15px;
padding-bottom: 10px;
}
.block-advertising .thumbnail {
margin: 5px;
margin-top: 0;
}
\ No newline at end of file
(function($) {
$(function() {
$('.carousel').carousel();
});
})(jQuery);
jQuery.noConflict();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment