308 lines
3.4 KiB
CSS
Executable File
308 lines
3.4 KiB
CSS
Executable File
.catalog
|
|
{
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 25em;
|
|
}
|
|
.catalog div.center
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 17em;
|
|
}
|
|
|
|
/* Main */
|
|
|
|
.catalog div.main
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
overflow: auto;
|
|
padding: .4em;
|
|
}
|
|
.htk-toast
|
|
{
|
|
margin-left: -11em;
|
|
}
|
|
|
|
/* Topbar */
|
|
|
|
.action-bar > div > .search
|
|
{
|
|
margin-top: .8em;
|
|
background-color: white;
|
|
height: 2.3em;
|
|
}
|
|
.search > input
|
|
{
|
|
margin: 0;
|
|
border: none;
|
|
width: 8em;
|
|
box-shadow: none;
|
|
}
|
|
.search > input:focus
|
|
{
|
|
background-color: initial;
|
|
}
|
|
.search > img
|
|
{
|
|
margin: 0;
|
|
margin-left: .4em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Menu */
|
|
|
|
.right-panel
|
|
{
|
|
position: absolute;
|
|
z-index: 20;
|
|
top: 3.9em;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 17em;
|
|
background-color: white;
|
|
box-shadow: 0 0.2em 0.2em #AAA;
|
|
}
|
|
button.basket
|
|
{
|
|
width: 100%;
|
|
height: 3em;
|
|
font-size: 1.1em;
|
|
text-align: center;
|
|
background-color: #00BCD4;
|
|
border-radius: 0;
|
|
}
|
|
button.basket:hover
|
|
{
|
|
background-color: #0AB;
|
|
}
|
|
|
|
/* Realms */
|
|
|
|
.realms-box
|
|
{
|
|
box-shadow: 0 0 0.4em #AAA;
|
|
background-color: rgba(1, 1, 1, .1);
|
|
}
|
|
.realms-box a
|
|
{
|
|
display: block;
|
|
float: left;
|
|
line-height: 0;
|
|
width: 33.3%;
|
|
}
|
|
.realms-box a > img
|
|
{
|
|
width: 100%;
|
|
border: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
.realms-box img:hover
|
|
{
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* Types */
|
|
|
|
.types-box
|
|
{
|
|
position: absolute;
|
|
top: 11.5em;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
overflow: auto;
|
|
}
|
|
.types-box a
|
|
{
|
|
padding: .5em 1.5em;
|
|
display: block;
|
|
}
|
|
.types-box a:hover
|
|
{
|
|
background-color: rgba(1, 1, 1, .1);
|
|
}
|
|
|
|
/* Lots popup*/
|
|
|
|
div.amount
|
|
{
|
|
text-align: center;
|
|
background-color: #009688;
|
|
color: white;
|
|
line-height: 2.5em;
|
|
padding: 0.2em;
|
|
}
|
|
button.erase
|
|
{
|
|
float: left;
|
|
}
|
|
button.confirm
|
|
{
|
|
float: right;
|
|
}
|
|
button.erase > img,
|
|
button.confirm > img
|
|
{
|
|
height: 1em;
|
|
}
|
|
|
|
/* List view */
|
|
|
|
.catalog .list-view
|
|
{
|
|
margin: 0 auto;
|
|
padding: .5em;
|
|
max-width: 45em;
|
|
min-width: 25em;
|
|
}
|
|
.items
|
|
{
|
|
width: 100%;
|
|
}
|
|
.catalog div.box div.header,
|
|
.items > thead > tr,
|
|
.realms-bar
|
|
{
|
|
background-color: #777;
|
|
}
|
|
.items > tbody > tr
|
|
{
|
|
height: 4em;
|
|
}
|
|
.items .icon
|
|
{
|
|
width: 4em;
|
|
padding: 0;
|
|
}
|
|
.items .icon > img
|
|
{
|
|
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
|
|
{
|
|
text-align: left;
|
|
position: relative;
|
|
width: 22em;
|
|
display: inline-block;
|
|
padding: .8em;
|
|
margin: .4em;
|
|
margin-bottom: .1em;
|
|
height: 9em;
|
|
overflow: hidden;
|
|
}
|
|
.item-box > .image
|
|
{
|
|
width: 9em;
|
|
height: 100%;
|
|
float: left;
|
|
margin-right: 1em;
|
|
}
|
|
.item-box img
|
|
{
|
|
max-width: 9em;
|
|
max-height: 9em;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
.item-box > p
|
|
{
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: .9em;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
/* Transitions */
|
|
|
|
.right-panel
|
|
{
|
|
transition: right .3s;
|
|
}
|
|
|
|
/* Mobile */
|
|
|
|
.catalog-actions button.menu
|
|
{
|
|
display: none;
|
|
}
|
|
.catalog-actions button.menu > img
|
|
{
|
|
height: 1.8em;
|
|
}
|
|
|
|
@media (max-width: 950px)
|
|
{
|
|
.catalog-actions button.menu
|
|
{
|
|
display: block;
|
|
}
|
|
.right-panel
|
|
{
|
|
top: 0;
|
|
right: -17em;
|
|
}
|
|
.right-panel.show
|
|
{
|
|
right: 0;
|
|
}
|
|
.catalog div.center
|
|
{
|
|
right: 0;
|
|
}
|
|
}
|
|
|