mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
205 lines
4.2 KiB
Plaintext
205 lines
4.2 KiB
Plaintext
@import '../../tokens.less';
|
|
|
|
.listing-detail {
|
|
padding-bottom: 2rem;
|
|
|
|
&__card {
|
|
background-color: rgba(36, 36, 36, 0.9);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--semi-color-border);
|
|
margin-bottom: 2rem;
|
|
overflow: hidden;
|
|
|
|
.semi-card-body {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
padding: 1.5rem;
|
|
gap: 1rem;
|
|
border-bottom: 1px solid var(--semi-color-border);
|
|
|
|
@media (max-width: 768px) {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
|
|
& > .semi-space {
|
|
width: 100%;
|
|
}
|
|
|
|
&-actions {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
margin-top: 0.5rem;
|
|
|
|
.semi-button {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__image-container {
|
|
width: 100%;
|
|
height: 400px;
|
|
background-color: var(--semi-color-fill-0);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
|
|
@media (max-width: 768px) {
|
|
height: 250px;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.semi-image,
|
|
.semi-image-img {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
object-fit: cover !important;
|
|
display: block !important;
|
|
}
|
|
|
|
&--placeholder {
|
|
img,
|
|
.semi-image-img {
|
|
object-fit: contain !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__address-link {
|
|
color: @color-muted;
|
|
text-decoration: none;
|
|
font-size: @text-base;
|
|
transition: color @transition-fast;
|
|
&:hover {
|
|
color: @color-text;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
&__notes {
|
|
padding: 1.5rem;
|
|
border-top: 1px solid var(--semi-color-border);
|
|
}
|
|
|
|
&__notes-title {
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
|
|
&__notes-actions {
|
|
margin-top: 0.75rem;
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
&__notes-textarea {
|
|
background: #2a2a2a !important;
|
|
border: 1px solid @color-border-bright !important;
|
|
border-radius: @radius-input !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
transition: border-color @transition-fast, background @transition-fast !important;
|
|
|
|
textarea {
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
color: @color-text !important;
|
|
font-family: @font-ui !important;
|
|
font-size: @text-base !important;
|
|
}
|
|
|
|
&.semi-input-textarea-focus,
|
|
&:focus,
|
|
&:focus-within {
|
|
border-color: @color-accent !important;
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
background: #2f2f2f !important;
|
|
}
|
|
}
|
|
|
|
&__watch-btn {
|
|
color: @color-muted !important;
|
|
border: 1px solid @color-border-bright !important;
|
|
border-radius: @radius-btn !important;
|
|
&:hover {
|
|
color: @color-text !important;
|
|
background: rgba(255,255,255,0.06) !important;
|
|
}
|
|
&--active {
|
|
color: @color-accent !important;
|
|
border-color: rgba(224,74,56,0.4) !important;
|
|
background: rgba(224,74,56,0.08) !important;
|
|
}
|
|
}
|
|
|
|
&__open-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
border: 1px solid @color-border-bright;
|
|
border-radius: @radius-btn;
|
|
color: @color-muted;
|
|
font-size: @text-base;
|
|
font-family: @font-ui;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
transition: color @transition-fast, border-color @transition-fast, background @transition-fast;
|
|
&:hover {
|
|
color: @color-text;
|
|
border-color: rgba(255,255,255,0.25);
|
|
background: rgba(255,255,255,0.06);
|
|
}
|
|
}
|
|
|
|
&__info-section {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
&__map-container {
|
|
height: 400px;
|
|
width: 100%;
|
|
border-radius: var(--semi-border-radius-medium);
|
|
margin-top: 1rem;
|
|
border: 1px solid var(--semi-color-border);
|
|
|
|
@media (max-width: 768px) {
|
|
height: 300px;
|
|
}
|
|
}
|
|
|
|
&__map-wrapper {
|
|
margin-top: 2rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.info-tag {
|
|
font-size: 0.9rem;
|
|
padding: 0.2rem 0.6rem;
|
|
}
|
|
}
|
|
|
|
.listing-detail-popup {
|
|
.map-popup-content {
|
|
padding: 5px;
|
|
h4 {
|
|
margin: 5px 0;
|
|
}
|
|
}
|
|
}
|