2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
@import "../../../js/htk/style/classes";
|
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
.catalog {
|
2022-11-19 00:28:24 +00:00
|
|
|
margin-right: $side-panel-width;
|
2015-01-23 13:09:30 +00:00
|
|
|
}
|
2022-11-18 20:10:41 +00:00
|
|
|
.catalog-actions {
|
|
|
|
.htk-search-entry {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2022-11-19 00:28:24 +00:00
|
|
|
& > button.menu {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
& > .htk-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2022-11-18 20:10:41 +00:00
|
|
|
}
|
2022-05-28 19:27:36 +00:00
|
|
|
.title ._subtitle {
|
|
|
|
font-size: .7rem;
|
|
|
|
color: #bbb;
|
2022-06-07 08:19:29 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2022-05-28 19:27:36 +00:00
|
|
|
}
|
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
|
|
|
|
2022-11-19 00:28:24 +00:00
|
|
|
.catalog-panel {
|
2022-05-05 13:54:53 +00:00
|
|
|
background-color: #fafafa;
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
.basket-info {
|
|
|
|
background-color: #8cc63f;
|
|
|
|
color: white;
|
|
|
|
padding: 17px 28px;
|
2022-11-19 00:28:24 +00:00
|
|
|
border-radius: 7px;
|
2022-11-18 20:10:41 +00:00
|
|
|
margin: 14px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
& > button {
|
|
|
|
color: white;
|
|
|
|
background-color: rgba(0, 0, 0, .1);
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
& > button:hover {
|
|
|
|
background-color: white;
|
|
|
|
color: #60872c;
|
|
|
|
}
|
|
|
|
& > p {
|
|
|
|
margin: 0;
|
|
|
|
padding: .4em 0;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.filter {
|
|
|
|
margin: 14px;
|
|
|
|
}
|
|
|
|
.categories,
|
|
|
|
.filters,
|
|
|
|
.order {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
.filters,
|
|
|
|
.order {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.realm-msg {
|
|
|
|
margin-top: 14px;
|
|
|
|
}
|
|
|
|
.realm-msg > h5 {
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: center;
|
|
|
|
padding: 34px 0;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #777;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
}
|
|
|
|
.realms > div > div {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.realms a {
|
|
|
|
display: inline-block;
|
|
|
|
width: 25%;
|
2022-11-19 00:28:24 +00:00
|
|
|
padding: 8px;
|
2022-11-18 20:10:41 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
.realms a:hover {
|
|
|
|
background-color: rgba(1, 1, 1, .05);
|
|
|
|
}
|
|
|
|
.realms a > img {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.filters > button {
|
2022-11-19 00:28:24 +00:00
|
|
|
margin-top: 14px;
|
2022-11-18 20:10:41 +00:00
|
|
|
}
|
2016-01-07 12:58:29 +00:00
|
|
|
}
|
2015-01-23 13:09:30 +00:00
|
|
|
|
2016-05-04 14:36:51 +00:00
|
|
|
/* Items */
|
2015-07-07 15:27:47 +00:00
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
.item-box {
|
2022-05-28 00:37:24 +00:00
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
& > .htk-image {
|
|
|
|
flex: none;
|
|
|
|
}
|
|
|
|
& > .item-info {
|
|
|
|
flex: auto;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.second-category {
|
|
|
|
font-weight: bold;
|
|
|
|
color: orange;
|
|
|
|
}
|
|
|
|
.third-category {
|
|
|
|
font-weight: bold;
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
& > h2 {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.item-id {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
& > .available-price {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
font-size: .95em;
|
|
|
|
text-align: right;
|
|
|
|
align-items: middle;
|
|
|
|
column-gap: .2em;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
border-radius: .2em;
|
|
|
|
padding: .1em .3em;
|
|
|
|
border: .1em transparent solid;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.grouping {
|
|
|
|
width: 38px;
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
.available {
|
|
|
|
width: 65px;
|
|
|
|
border-color: #bbb;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
.price {
|
|
|
|
width: 75px;
|
|
|
|
border-color: #9cbc28;
|
|
|
|
color: #748c1e;
|
|
|
|
}
|
|
|
|
}
|
2022-05-28 00:37:24 +00:00
|
|
|
}
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
.item-info {
|
|
|
|
& > h2 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-bottom: .15em;
|
|
|
|
}
|
|
|
|
& > .sub-name {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: #777;
|
|
|
|
font-size: .9rem;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: .2em;
|
|
|
|
}
|
|
|
|
.item-id {
|
|
|
|
font-size: .9rem;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
& > p {
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: .2em;
|
|
|
|
}
|
2018-08-24 11:17:34 +00:00
|
|
|
}
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
/* Tags */
|
|
|
|
|
|
|
|
.grid-view,
|
|
|
|
.list-view,
|
|
|
|
.item-card {
|
|
|
|
.item-tags {
|
|
|
|
font-size: .8em;
|
|
|
|
display: table;
|
|
|
|
color: #333;
|
|
|
|
margin: 0;
|
|
|
|
width: auto;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
td:first-child {
|
|
|
|
color: #999;
|
|
|
|
padding-right: .5em;
|
|
|
|
}
|
|
|
|
}
|
2016-05-04 14:36:51 +00:00
|
|
|
}
|
2022-11-18 20:10:41 +00:00
|
|
|
.grid-view,
|
|
|
|
.item-card {
|
|
|
|
.item-tags {
|
|
|
|
td {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
td:first-child {
|
|
|
|
max-width: 90px;
|
|
|
|
width: 90px;
|
|
|
|
}
|
|
|
|
td:last-child {
|
|
|
|
max-width: 120px;
|
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
}
|
2015-09-25 00:53:59 +00:00
|
|
|
}
|
2015-09-11 09:37:16 +00:00
|
|
|
|
2022-05-28 00:37:24 +00:00
|
|
|
/* Grid view */
|
|
|
|
|
2022-11-18 20:10:41 +00:00
|
|
|
.grid-view {
|
|
|
|
& > * {
|
|
|
|
display: flex;
|
|
|
|
gap: 16px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.item-box {
|
|
|
|
border-radius: .6em;
|
|
|
|
box-shadow: .05em .05em .2em rgba(0, 0, 0, .1);
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: white;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 260px;
|
|
|
|
overflow: hidden;
|
2022-05-28 00:37:24 +00:00
|
|
|
|
2022-11-18 20:10:41 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: #efefef;
|
|
|
|
}
|
|
|
|
& > .htk-image {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 260px;
|
|
|
|
}
|
|
|
|
& > .item-info {
|
|
|
|
flex: auto;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 10px;
|
|
|
|
height: 158px;
|
|
|
|
|
|
|
|
& > h2 {
|
|
|
|
max-height: 48px;
|
|
|
|
}
|
|
|
|
& > .item-tags {
|
|
|
|
position: absolute;
|
|
|
|
top: 74px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-05-28 00:37:24 +00:00
|
|
|
}
|
|
|
|
|
2016-01-08 21:00:02 +00:00
|
|
|
/* List view */
|
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
.list-view {
|
2022-05-28 00:37:24 +00:00
|
|
|
border-radius: .6em;
|
|
|
|
box-shadow: .05em .05em .2em rgba(0, 0, 0, .1);
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: white;
|
|
|
|
max-width: 544px;
|
2016-01-08 21:00:02 +00:00
|
|
|
margin: 0 auto;
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
.item-box {
|
|
|
|
gap: 10px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px;
|
|
|
|
height: 130px;
|
|
|
|
overflow: visible;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
& > .htk-image {
|
|
|
|
width: 110px;
|
|
|
|
height: 110px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
& > .item-info {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& > h2 {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
& > .color {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
& > .htk-button {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
& > .item-tags {
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& > tr {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
display: inline-block;
|
|
|
|
padding-right: .5em;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-20 14:30:29 +00:00
|
|
|
}
|
2016-01-08 21:00:02 +00:00
|
|
|
|
2018-07-20 14:30:29 +00:00
|
|
|
/* Card */
|
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
.card-popup {
|
2018-07-20 14:30:29 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
2022-05-26 06:08:31 +00:00
|
|
|
.item-card {
|
2022-11-18 20:10:41 +00:00
|
|
|
font-size: .9rem;
|
2018-07-20 14:30:29 +00:00
|
|
|
width: 20em;
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
& > .top {
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
& > .item-info {
|
|
|
|
margin-left: 9em;
|
|
|
|
height: 8em;
|
|
|
|
}
|
|
|
|
& > .htk-image {
|
|
|
|
height: 8em;
|
|
|
|
width: 8em;
|
|
|
|
float: left;
|
|
|
|
border-radius: .3em;
|
|
|
|
}
|
|
|
|
& > .desc {
|
|
|
|
clear: both;
|
|
|
|
margin-top: 15px 0;
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > .lots-grid {
|
|
|
|
border-top: 1px solid #DDD;
|
|
|
|
|
|
|
|
tr {
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
.cell-spin {
|
|
|
|
max-width: initial;
|
|
|
|
width: 42px;
|
|
|
|
}
|
|
|
|
.price-kg {
|
|
|
|
font-size: .8rem;
|
|
|
|
color: #999;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
.cell-text {
|
|
|
|
max-width: initial;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.cell-button {
|
|
|
|
max-width: initial;
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > .footer {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
background-color: #1a1a1a;
|
|
|
|
color: white;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
& > button {
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255, 255, 255, .1);
|
|
|
|
}
|
|
|
|
& > .htk-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-20 14:30:29 +00:00
|
|
|
}
|
2015-09-11 09:37:16 +00:00
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
|
2022-11-18 20:10:41 +00:00
|
|
|
@include mobile {
|
2022-11-11 14:20:48 +00:00
|
|
|
.catalog-actions > button.menu {
|
2015-09-11 09:37:16 +00:00
|
|
|
display: block;
|
|
|
|
}
|
2022-11-11 14:20:48 +00:00
|
|
|
.catalog {
|
2015-12-15 15:22:46 +00:00
|
|
|
margin-right: 0;
|
2015-09-11 09:37:16 +00:00
|
|
|
}
|
2015-01-23 13:09:30 +00:00
|
|
|
}
|
2022-11-11 15:17:20 +00:00
|
|
|
@media (max-width: 650px) {
|
2022-11-11 14:20:48 +00:00
|
|
|
.grid-view .item-box {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 450px;
|
2022-11-18 20:10:41 +00:00
|
|
|
|
|
|
|
& > .htk-image {
|
|
|
|
min-height: initial;
|
|
|
|
}
|
2022-11-11 14:20:48 +00:00
|
|
|
}
|
|
|
|
}
|