This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/assets/stylesheets/template-store.css.erb

110 lines
2.4 KiB
Plaintext

/* list page */
header {
background-image: url(<%= asset_path "theader_bg.jpg"%>);
}
#toolbar {
background-image: url(<%= asset_path "tfilter_bg.jpg"%>);
}
#item-list li {
width: 25%;
}
#item-list li a {
width: 220px;
height: 220px;
background: url(<%= asset_path "tlist_tap.png"%>) center top no-repeat;
padding-top: 16px;
margin: 0 auto 35px auto;
background-color: #fff;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
#item-list li a:hover .item-info {
visibility: visible;
opacity: 1;
}
#item-list .item-thumb {
width: 210px;
height: 210px;
border: solid 5px #fff;
}
#item-list .item-info {
visibility: hidden;
opacity: 0;
position: absolute;
bottom: 5px;
left: 5px;
width: 190px;
height: 60px;
padding: 10px;
background-color: #000;
background-color: rgba(0,0,0,0.7);
-webkit-transition: opacity 0.3s ease;
-moz-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
}
#item-list .item-name {
color: #fff;
}
#item-list .item-price {
right: 10px;
bottom: 0;
border-radius: 3px 3px 0 0;
}
.color-tag {
display: inline-block;
vertical-align: middle;
width: 24px;
height: 24px;
border-radius: 2px;
box-shadow: inset 0 1px 1px rgba(0,0,0,0.6);
}
.btn .color-tag {
margin: 2px -6px;
vertical-align: baseline;
}
.red {
background-color: #ef202a;
}
.yellow {
background-color: #feba29;
}
.green {
background-color: #2ca53b;
}
.blue {
background-color: #019cef;
}
.purple{
background-color: #d402e7;
}
.white {
background-color: #fff;
}
.gray {
background-color: #969696;
}
.black {
background-color: #222;
}
#color-filter .btn:hover {
background-color: #aaa;
border-color: #9a9a9a;
background-image: linear-gradient(bottom, rgb(204,204,204) 0%, rgb(172,172,172) 100%);
background-image: -o-linear-gradient(bottom, rgb(204,204,204) 0%, rgb(172,172,172) 100%);
background-image: -moz-linear-gradient(bottom, rgb(204,204,204) 0%, rgb(172,172,172) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(204,204,204) 0%, rgb(172,172,172) 100%);
background-image: -ms-linear-gradient(bottom, rgb(204,204,204) 0%, rgb(172,172,172) 100%);
}
#color-filter .btn:hover .color-tag {
box-shadow: inset 0 1px 1px rgba(0,0,0,0.6), inset 0 -1px 0 rgba(255,255,255,0.6);
}
#color-filter .option-default:hover {
background-color: #f6f6f6;
background-image: none;
border-color: #e0e0e0;
}
/* content page */
#item-info .item-thumb, #screen-shot {
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}