hedera-web/forms/ecomerce/catalog/style.css

431 lines
5.7 KiB
CSS
Raw Normal View History

2015-03-06 23:33:54 +00:00
.catalog
{
margin-right: 17em;
}
2015-02-08 15:38:38 +00:00
/* Topbar */
2015-11-19 13:57:23 +00:00
.catalog-actions > .htk-search-entry
2015-02-08 15:38:38 +00:00
{
2015-09-16 16:11:15 +00:00
margin-top: .8em;
2015-12-10 13:48:43 +00:00
margin-right: .4em;
2015-02-08 15:38:38 +00:00
}
2015-09-28 09:46:24 +00:00
/* Right panel */
2015-02-08 15:38:38 +00:00
2015-09-16 16:11:15 +00:00
.right-panel
2015-02-08 15:38:38 +00:00
{
position: fixed;
2015-09-16 16:11:15 +00:00
top: 3.9em;
2015-07-03 05:49:45 +00:00
bottom: 0;
right: 0;
2015-10-14 11:51:43 +00:00
width: 17em;
2015-02-08 15:38:38 +00:00
background-color: white;
2016-10-20 10:44:32 +00:00
box-shadow: 0 0 .2em rgba(1, 1, 1, .2);
2015-12-10 13:48:43 +00:00
overflow: auto;
}
2015-12-10 13:48:43 +00:00
.right-panel .basket-info
2015-10-14 11:51:43 +00:00
{
background-color: #00ACC1;
2015-12-10 13:48:43 +00:00
color: white;
2016-10-20 10:44:32 +00:00
box-shadow: 0 .1em .1em rgba(1, 1, 1, .3);
padding: 1.2em 2em;
2015-10-14 11:51:43 +00:00
}
2015-12-10 13:48:43 +00:00
.right-panel .basket-info > button
{
color: #E0F2F1;
margin: 0 auto;
display: block;
margin-top: .4em;
}
2015-12-10 13:48:43 +00:00
.right-panel .basket-info > p
{
2015-12-10 13:48:43 +00:00
margin: 0;
padding: .4em 0;
2015-04-01 08:24:15 +00:00
font-size: 1.1em;
2015-12-10 13:48:43 +00:00
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.right-panel .filter
{
padding: 1em 1.8em;
}
.right-panel .filters,
.right-panel .order
{
display: none;
2015-07-23 15:58:48 +00:00
}
.right-panel .realm-msg
{
margin-top: 1em;
2016-10-20 10:44:32 +00:00
/* box-shadow: 0 0 .3em rgba(1, 1, 1, .5);
border-radius: 50%;
overflow: hidden;*/
}
.right-panel .realm-msg > h1
{
font-weight: normal;
text-align: center;
padding: 2.5em 0;
color: #777;
/* background-color: #009688;
color: white;*/
}
.right-panel h2
{
font-weight: normal;
padding: .4em 0;
color: #777;
font-size: 1.1em;
}
.right-panel .realms
{
width: 95%;
margin: .2em auto;
}
.right-panel .realms a
{
display: block;
float: left;
width: 33.33%;
}
.right-panel .realms a:hover
2015-07-23 15:58:48 +00:00
{
2016-10-20 10:44:32 +00:00
background-color: rgba(1, 1, 1, .05);
border-radius: .1em;
}
.right-panel .realms a > img
{
display: block;
padding: 0;
2015-07-23 15:58:48 +00:00
width: 100%;
}
.right-panel .vn-filter,
.right-panel select
{
margin: 0 auto;
margin-bottom: .7em;
width: 90%;
display: block;
}
2015-12-10 13:48:43 +00:00
.vn-filter > ul
{
2015-12-10 13:48:43 +00:00
margin: 0;
list-style-type: none;
text-align: left;
color: #666;
padding-left: .8em;
2015-02-01 03:21:54 +00:00
}
2015-12-10 13:48:43 +00:00
.vn-filter li
{
2015-12-10 13:48:43 +00:00
margin: 0;
margin-top: .3em;
2015-12-10 13:48:43 +00:00
line-height: 2em;
max-width: 90%;
2015-12-10 13:48:43 +00:00
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
2015-12-10 13:48:43 +00:00
.vn-filter li > button
{
2015-12-10 13:48:43 +00:00
vertical-align: middle;
text-align: center;
padding: .2em;
2016-01-15 13:14:07 +00:00
margin: 0;
2015-12-10 13:48:43 +00:00
margin-right: .2em;
}
.right-panel .filters > button
{
display: block;
margin: 0 auto;
margin-top: 1em;
}
2016-05-04 14:36:51 +00:00
/* Items */
2015-07-07 15:27:47 +00:00
2016-05-04 14:36:51 +00:00
.item-info
2015-07-07 15:27:47 +00:00
{
2016-05-04 14:36:51 +00:00
position: relative;
2015-07-07 15:27:47 +00:00
}
2016-05-04 14:36:51 +00:00
.item-info .second-category
{
font-weight: bold;
color: orange;
}
2016-05-04 14:36:51 +00:00
.item-info .third-category
2015-02-01 03:21:54 +00:00
{
font-weight: bold;
color: red;
2015-02-01 03:21:54 +00:00
}
2016-05-04 14:36:51 +00:00
.item-info .from
2015-02-08 15:38:38 +00:00
{
2016-05-04 14:36:51 +00:00
font-size: .8em;
font-style: italic;
2015-02-08 15:38:38 +00:00
}
2016-05-04 14:36:51 +00:00
.item-info .price
2015-02-01 03:21:54 +00:00
{
2016-05-04 14:36:51 +00:00
color: green;
font-size: 1.1em;
2015-02-01 03:21:54 +00:00
}
2016-05-04 14:36:51 +00:00
.item-info > h2
{
2016-05-04 14:36:51 +00:00
padding: 0;
padding-bottom: .1em;
font-weight: normal;
2016-04-26 14:20:28 +00:00
font-size: 1.1em;
}
2016-05-04 14:36:51 +00:00
.item-info > p
{
margin: 0;
padding: 0;
color: #777;
font-size: .8em;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
2016-05-04 14:36:51 +00:00
.item-info .producer
{
text-transform: uppercase;
2016-04-26 14:20:28 +00:00
font-weight: bold;
2016-05-04 14:36:51 +00:00
padding: 0;
padding-bottom: .2em;
font-size: 1em;
}
.item-info > .aval-price
{
position: absolute;
bottom: 0;
}
.catalog .item-info > .htk-button
{
margin: -0.3em;
padding: .3em;
}
.catalog .item-info > .htk-button > img
{
vertical-align: middle;
}
2016-05-04 14:36:51 +00:00
/* Card */
.card-popup
{
2016-05-04 14:36:51 +00:00
overflow: auto;
}
.item-card
{
font-size: .9em;
width: 20em;
}
.item-card .top
{
padding: 1em;
border-bottom: 1px solid #DDD;
}
.item-card .item-info
{
margin-left: 9em;
height: 8em;
}
.item-card .htk-image
{
height: 8em;
width: 8em;
float: left;
border-radius: .3em;
}
.item-card .desc
{
clear: both;
margin: 0;
margin-top: 1em;
font-size: .9em;
}
.item-card .lots-grid tr
{
height: 3em;
}
.item-card .footer
{
text-align: center;
background-color: #009688;
color: white;
line-height: 2em;
padding: .4em;
}
.item-card .footer > button
{
margin: 0;
}
.item-card .erase
{
float: left;
}
.item-card .confirm
{
float: right;
}
.item-card .erase > img,
.item-card .confirm > img
{
display: block;
height: 1em;
}
/* List view */
.list-view
{
max-width: 30em;
margin: 0 auto;
padding: 1em;
}
.list-view .item-box
{
display: block;
position: relative;
width: 100%;
margin: 0;
height: 5.5em;
overflow: visible;
border-bottom: 1px solid #DDD;
}
2016-05-02 13:05:49 +00:00
.list-view .item-box > .htk-image
{
margin: 1em;
width: 3.5em;
height: 3.5em;
float: left;
overflow: hidden;
}
2016-05-02 13:05:49 +00:00
.list-view .item-box > .htk-image > img
{
2016-05-02 13:05:49 +00:00
border-radius: 50%;
}
.list-view .item-info
{
position: absolute;
left: 5.5em;
right: 0;
top: 0;
bottom: 0;
margin: .9em;
margin-left: 0;
}
.list-view .item-info > h2
{
font-size: 1em;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.list-view .item-info > .color
{
display: none;
}
.list-view .item-info > .aval-price
{
right: .3em;
}
.list-view .item-info > .htk-button
{
float: right;
}
.list-view .item-info > .info-button
{
margin-right: 0;
}
/* Grid view */
.grid-view
{
padding: 1em;
padding-right: .2em;
padding-bottom: .4em;
text-align: center;
}
.grid-view .item-box
{
text-align: left;
position: relative;
display: inline-block;
width: 22.5em;
margin: 0;
margin-right: .8em;
margin-bottom: .6em;
height: 10em;
overflow: hidden;
}
2016-05-02 13:05:49 +00:00
.grid-view .item-box > .htk-image
{
width: 10em;
height: 100%;
float: left;
}
.grid-view .item-info
{
position: absolute;
left: 10.4em;
right: 0;
top: 0;
bottom: 0;
margin: .6em;
}
.grid-view .item-info > .aval-price
{
right: 2.8em;
}
.grid-view .item-info .add-button
{
position: absolute;
bottom: 0;
right: 0;
}
.grid-view .item-info > .info-button
2015-11-19 13:57:23 +00:00
{
float: right;
}
/* Mobile */
2015-11-19 13:57:23 +00:00
.catalog-actions > button.menu
{
display: none;
padding: 1.1em .5em;
}
2015-11-19 13:57:23 +00:00
.catalog-actions > button.menu > img
{
height: 1.8em;
}
@media (max-width: 960px)
{
2015-11-19 13:57:23 +00:00
.catalog-actions > button.menu
{
display: block;
}
2015-09-16 16:11:15 +00:00
.right-panel
{
2015-09-16 16:11:15 +00:00
top: 0;
right: -17em;
2015-10-14 11:51:43 +00:00
z-index: 20;
transition: transform 200ms ease-out;
-webkit-transition: transform 200ms ease-out;
2015-09-16 16:11:15 +00:00
}
.right-panel.show
{
transform: translateZ(0) translateX(-17em);
-webkit-transform: translateZ(0) translateX(-17em);
}
.catalog
{
margin-right: 0;
}
}