mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
* ui-improvements * improving dashboard and settings * improve job overview * improving job card * improving grid view of listings+ * restructuring settings * next release version
173 lines
3.0 KiB
Plaintext
173 lines
3.0 KiB
Plaintext
@import '../../cards/DashboardCardColors.less';
|
|
|
|
.listingsGrid {
|
|
&__imageContainer {
|
|
position: relative;
|
|
height: 180px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&__topbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
|
|
.listingsGrid__topbar__search {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.listingsGrid__topbar__search {
|
|
width: 100%;
|
|
flex: unset;
|
|
}
|
|
|
|
.semi-radio-group {
|
|
flex: 1;
|
|
}
|
|
|
|
.semi-select {
|
|
flex: 1;
|
|
min-width: 100px;
|
|
width: auto !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__watchButton {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
background-color: white !important;
|
|
box-shadow: var(--semi-shadow-elevated);
|
|
|
|
&:hover {
|
|
background-color: var(--semi-color-fill-0) !important;
|
|
}
|
|
}
|
|
|
|
&__statusTag {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 8px;
|
|
}
|
|
|
|
&__card {
|
|
height: 100%;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
background-color: rgba(36, 36, 36, 0.9);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--semi-color-border);
|
|
|
|
&:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--semi-shadow-elevated);
|
|
background-color: rgba(36, 36, 36, 1);
|
|
}
|
|
|
|
&--inactive {
|
|
.listingsGrid__imageContainer,
|
|
.listingsGrid__content {
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__inactiveOverlay {
|
|
position: absolute;
|
|
top: 70px;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
color: var(--semi-color-danger);
|
|
font-weight: bold;
|
|
font-size: 1.3rem;
|
|
text-transform: uppercase;
|
|
transform: rotate(-30deg);
|
|
padding: 5px;
|
|
max-height: fit-content;
|
|
margin: auto;
|
|
}
|
|
|
|
&__titleLink {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: var(--semi-color-primary);
|
|
}
|
|
}
|
|
|
|
&__title {
|
|
display: block;
|
|
height: 1.5em;
|
|
}
|
|
|
|
&__pagination {
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
&__price {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: @color-green-text;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin: 8px 0 6px;
|
|
}
|
|
|
|
&__meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
width: 100%;
|
|
}
|
|
|
|
&__actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
&__setupButton {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
&__linkButton {
|
|
background: var(--semi-color-primary);
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
font-weight: 600;
|
|
height: 24px;
|
|
width: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 3px;
|
|
|
|
a {
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
&:hover {
|
|
background: var(--semi-color-primary-hover);
|
|
}
|
|
}
|
|
}
|