templates.scss
templates.scss
.properties-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
margin: 0.75rem 0;
&:empty {
display: none;
}
> .property-editor {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.375rem;
height: var(--input-height);
}
.property-name {
max-width: var(--metadata-label-width);
&::-webkit-calendar-picker-indicator {
display: none !important;
}
}
.remove-property-btn {
height: var(--input-height);
width: 1.5rem;
}
.tags-property {
.property-select {
opacity: 0.5;
select {
cursor: not-allowed;
}
}
}
}
#property-types-list.properties-list {
.property-editor {
border-radius: var(--radius-s);
.tree-item-flair {
min-width: 1.5rem;
text-align: center;
padding: 0.25rem;
border-radius: var(--radius-s);
color: var(--text-faint);
margin-left: auto;
justify-self: flex-end;
display: none;
}
.remove-property-btn {
justify-self: flex-end;
}
.remove-property-btn[disabled] {
opacity: 0;
pointer-events: none;
}
}
.property-name {
min-width: var(--metadata-label-width);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: var(--font-ui-smaller);
cursor: default;
border: none;
box-shadow: none;
background-color: transparent;
}
}
.property-select {
position: relative;
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: center;
select {
opacity: 0;
width: 1.5rem;
height: var(--input-height);
cursor: pointer;
z-index: 2;
}
.property-selected {
z-index: 1;
position: absolute;
top: 0;
left: 0;
user-select: none;
-webkit-user-select: none;
width: 1.5rem;
height: var(--input-height);
display: flex;
align-items: center;
justify-content: center;
opacity: 0.85;
svg {
width: var();
height: 16px;
}
}
@media (hover: hover) {
&:hover {
color: var(--text-normal);
}
}
}
.is-mobile {
#properties-list {
--input-height: 2rem;
--background-modifier-form-field: transparent;
gap: 0;
.property-editor {
border-bottom: 1px solid var(--background-modifier-border);
}
}
}