Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ul#mp_product_list li {
- display: inline-table;
- margin-right: 20px;
- }
- /* products grid view */
- #mp_product_list .mp_one_tile {
- position:relative;
- float:left;
- width:240px;
- margin:10px;
- }
- .mp_one_tile {
- height:94px;
- }
- .mp_one_tile.mp_excerpt {
- height:143px;
- }
- .mp_one_tile.mp_thumbnail {
- height:183px;
- }
- .mp_one_tile.mp_thumbnail.mp_excerpt {
- height:246px;
- }
- #mp_product_list .mp_one_tile {
- height:155px;
- }
- #mp_product_list .mp_one_product {
- width:220px;
- }
- #mp_product_list .mp_one_tile:hover {
- outline:none;
- }
- #mp_product_list .mp_one_product {
- position:absolute;
- padding:10px;
- background:white;
- border:1px solid transparent;
- transition: all 0.25s linear;
- -moz-transition: all 0.25s linear;
- -webkit-transition: all 0.25s linear;
- -o-transition: all 0.25s linear;
- }
- #mp_product_list .mp_one_product:hover {
- border:1px solid #cccccc;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- -webkit-box-shadow: 0 .0625em .25em rgba(51, 65, 80, .35);
- -moz-box-shadow: 0 .0625em .25em rgba(51,65,80,.35);
- box-shadow: 0 .0625em .25em rgba(51, 65, 80, .35);
- z-index:3;
- }
- #mp_product_list .mp_img_link img {
- display:block;
- float:none;
- max-width: 160px;
- width: auto;
- max-height: 160px;
- height: 100%;
- margin:auto;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
- border: none;
- }
- #mp_product_list#mp_product_list .mp_img_link img {
- padding: 1px;
- border: 1px solid #CCC;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- border-radius: 2px;
- }
- #mp_product_list a.mp_img_link {
- display:block;
- min-height:100px;
- margin:0px;
- background-size:100% auto;
- background-repeat:no-repeat;
- background-position:center;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- border-radius: 2px;
- }
- #mp_product_list .mp_one_product:hover a.mp_img_link {
- height:auto;
- }
- #mp_product_list h3.mp_product_name {
- width:100%;
- min-height:25px;
- margin-top:5px;
- }
- #mp_product_list h3.mp_product_name {
- white-space:nowrap;
- text-align: center;
- }
- #mp_product_list h3.mp_product_name, #mp_product_list p.mp_excerpt {
- overflow:hidden;
- text-overflow:ellipsis;
- }
- #mp_product_list .mp_one_product:hover h3.mp_product_name, #mp_product_list .mp_one_product:hover p.mp_excerpt {
- height:auto;
- white-space:normal;
- overflow:auto;
- text-align: left;
- }
- #mp_product_list p.mp_excerpt {
- height:50px;
- min-height: 50px;
- margin-bottom:0px;
- }
- #mp_product_list .mp_price_buy {
- position:relative;
- width:100%;
- height:40px;
- }
- #mp_product_list .mp_price_buy .mp_product_price {
- position:absolute;
- left:0px;
- top:0px;
- }
- #mp_product_list .mp_price_buy .mp_buy_form {
- position:absolute;
- right:0px;
- top:0px;
- }
- #mp_product_list .mp_price_buy .mp_buy_form input[type="submit"] {
- cursor:pointer;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement