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

317 lines
3.9 KiB
CSS
Raw Normal View History

2015-03-06 23:33:54 +00:00
.catalog
{
position: relative;
width: 100%;
2015-02-01 03:21:54 +00:00
height: 100%;
2015-02-08 15:38:38 +00:00
min-height: 25em;
2015-02-01 03:21:54 +00:00
}
2015-03-07 00:56:24 +00:00
.catalog div.center
2015-02-01 03:21:54 +00:00
{
position: absolute;
2015-02-08 15:38:38 +00:00
top: 0;
bottom: 0;
left: 0;
right: 17em;
}
2015-02-08 15:38:38 +00:00
/* Main */
2015-03-07 00:56:24 +00:00
.catalog div.main
{
position: absolute;
2015-02-08 15:38:38 +00:00
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow: auto;
padding: .4em;
}
2015-09-16 16:11:15 +00:00
.htk-toast
{
margin-left: -11em;
}
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: absolute;
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;
2015-12-10 13:48:43 +00:00
box-shadow: 0 0.2em 0.2em rgba(1, 1, 1, 0.4);
overflow: auto;
}
2015-12-10 13:48:43 +00:00
.right-panel > .body
2015-10-14 11:51:43 +00:00
{
2015-12-10 13:48:43 +00:00
text-align: center;
2015-10-14 11:51:43 +00:00
}
2015-12-10 13:48:43 +00:00
.right-panel .section
2015-10-14 11:51:43 +00:00
{
2015-12-10 13:48:43 +00:00
padding: 1.2em 2em;
2015-10-14 11:51:43 +00:00
}
2015-12-10 13:48:43 +00:00
.right-panel .section > button
2015-10-14 11:51:43 +00:00
{
2015-12-10 13:48:43 +00:00
display: block;
margin: 0 auto;
margin-top: .4em;
2015-10-14 11:51:43 +00:00
}
2015-12-10 13:48:43 +00:00
.right-panel .basket-info
2015-10-14 11:51:43 +00:00
{
2015-12-10 13:48:43 +00:00
background-color: #00acc1;
color: white;
box-shadow: 0 0.1em 0.1em rgba(1, 1, 1, 0.3);
2015-10-14 11:51:43 +00:00
}
2015-12-10 13:48:43 +00:00
.right-panel .basket-info > button
{
2015-12-10 13:48:43 +00:00
color: #e0f2f1;
}
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;
}
2015-12-10 13:48:43 +00:00
.right-panel .filters
{
}
2015-12-10 13:48:43 +00:00
.right-panel .section > select,
.right-panel .section > .vn-filter
{
2015-12-10 13:48:43 +00:00
margin-bottom: 1em;
2015-07-23 15:58:48 +00:00
}
2015-12-10 13:48:43 +00:00
.right-panel select
2015-07-23 15:58:48 +00:00
{
2015-12-10 13:48:43 +00:00
margin: 0 auto;
2015-07-23 15:58:48 +00:00
width: 100%;
}
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: 1.5em;
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: .4em;
line-height: 2em;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 85%;
}
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;
margin-right: .2em;
}
2015-11-19 13:57:23 +00:00
/* Item description */
.desc-popup
{
padding: 1em;
max-width: 15em;
}
2015-07-07 15:27:47 +00:00
/* Lots popup*/
div.amount
{
text-align: center;
background-color: #009688;
color: white;
line-height: 2.5em;
padding: 0.2em;
2015-07-07 15:27:47 +00:00
}
button.erase
{
float: left;
}
button.confirm
{
float: right;
}
button.erase > img,
button.confirm > img
{
height: 1em;
}
2015-03-09 08:36:54 +00:00
/* List view */
.catalog .list-view
{
margin: 0 auto;
padding: .5em;
max-width: 45em;
min-width: 25em;
}
2015-07-03 05:49:45 +00:00
.items
2015-02-01 03:21:54 +00:00
{
width: 100%;
}
2015-07-03 05:49:45 +00:00
.catalog div.box div.header,
.items > thead > tr,
2015-03-06 23:33:54 +00:00
.realms-bar
2015-02-08 15:38:38 +00:00
{
2015-02-17 11:48:53 +00:00
background-color: #777;
2015-02-08 15:38:38 +00:00
}
2015-07-03 05:49:45 +00:00
.items > tbody > tr
2015-02-01 03:21:54 +00:00
{
2015-09-22 07:20:47 +00:00
height: 4em;
2015-02-01 03:21:54 +00:00
}
.items .icon
{
2015-09-22 07:20:47 +00:00
width: 4em;
padding: 0;
}
.items .icon > img
{
2015-09-22 07:20:47 +00:00
max-height: 2.5em;
max-width: 2.5em;
border-radius: 50%;
}
td.second-category
{
font-weight: bold;
color: orange;
}
td.third-category
{
font-weight: bold;
color: red;
}
.catalog .price
{
color: green;
font-size: 1.1em;
}
.catalog .footer-message
{
padding-bottom: 1em;
text-align: center;
}
/* Grid view */
.catalog .grid-view
{
text-align: center;
}
.item-box
{
display: inline-block;
text-align: left;
position: relative;
width: 22em;
padding: .8em;
margin: .4em;
margin-bottom: .1em;
height: 9em;
overflow: hidden;
}
.item-box > .image
{
width: 9em;
height: 100%;
float: left;
margin-right: 1em;
}
2015-12-10 13:48:43 +00:00
.item-box > .image > img
{
2015-12-10 13:48:43 +00:00
max-width: 100%;
height: 100%;
display: block;
margin: 0 auto;
2015-09-28 09:46:24 +00:00
border-radius: .3em;
}
.item-box > p
{
margin: 0;
padding: 0;
font-size: .9em;
}
.item-box > .producer
{
text-transform: uppercase;
font-size: 1em;
}
.item-box > h2
{
font-size: 1.1em;
font-weight: normal;
}
.item-box > .aval-price
{
position: absolute;
bottom: 1em;
right: 4em;
}
.item-box > .add-button
{
position: absolute;
bottom: .5em;
right: .5em;
}
2015-11-19 13:57:23 +00:00
.item-box > .info-button
{
float: right;
}
/* Mobile */
2015-11-19 13:57:23 +00:00
.catalog-actions > button.menu
{
display: none;
}
2015-11-19 13:57:23 +00:00
.catalog-actions > button.menu > img
{
height: 1.8em;
}
@media (max-width: 950px)
{
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: 200ms ease-out all;
-webkit-transition: 200ms ease-out all;
2015-09-16 16:11:15 +00:00
}
.right-panel.show
{
transform: translateZ(0) translateX(-17em);
-webkit-transform: translateZ(0) translateX(-17em);
}
.catalog div.center
{
right: 0;
}
}