jqml_native-property-operator/styles.css

980 lines
17 KiB
CSS

/* Extracted static layout classes for Obsidian community lint compatibility. */
.native-property-operator-style-001 {
display: flex;
}
.native-property-operator-style-002 {
align-items: center;
}
.native-property-operator-style-003 {
gap: 8px;
}
.native-property-operator-style-004 {
margin-bottom: 10px;
}
.native-property-operator-style-005 {
display: flex;
}
.native-property-operator-style-006 {
flex-wrap: wrap;
}
.native-property-operator-style-007 {
gap: 8px;
}
.native-property-operator-style-008 {
margin: 0 0 14px;
}
.native-property-operator-style-009 {
margin: 12px 0;
}
.native-property-operator-style-010 {
font-weight: 600;
}
.native-property-operator-style-011 {
position: relative;
}
.native-property-operator-style-012 {
margin-top: 6px;
}
.native-property-operator-style-013 {
width: 100%;
}
.native-property-operator-style-014 {
box-sizing: border-box;
}
.native-property-operator-style-015 {
margin-top: 6px;
}
.native-property-operator-style-016 {
background: var(--background-secondary);
}
.native-property-operator-style-017 {
border: 1px solid var(--background-modifier-border);
}
.native-property-operator-style-018 {
border-radius: 8px;
}
.native-property-operator-style-019 {
padding: 12px;
}
.native-property-operator-style-020 {
margin: 10px 0;
}
.native-property-operator-style-021 {
display: flex;
}
.native-property-operator-style-022 {
flex-wrap: wrap;
}
.native-property-operator-style-023 {
gap: 12px;
}
.native-property-operator-style-024 {
align-items: flex-end;
}
.native-property-operator-style-025 {
flex: 1 1 320px;
}
.native-property-operator-style-026 {
min-width: 260px;
}
.native-property-operator-style-027 {
font-size: 12px;
}
.native-property-operator-style-028 {
font-weight: 600;
}
.native-property-operator-style-029 {
opacity: 0.75;
}
.native-property-operator-style-030 {
margin-bottom: 4px;
}
.native-property-operator-style-031 {
width: 100%;
}
.native-property-operator-style-032 {
box-sizing: border-box;
}
.native-property-operator-style-033 {
flex: 0 0 180px;
}
.native-property-operator-style-034 {
min-width: 160px;
}
.native-property-operator-style-035 {
font-size: 12px;
}
.native-property-operator-style-036 {
font-weight: 600;
}
.native-property-operator-style-037 {
opacity: 0.75;
}
.native-property-operator-style-038 {
margin-bottom: 4px;
}
.native-property-operator-style-039 {
width: 100%;
}
.native-property-operator-style-040 {
box-sizing: border-box;
}
.native-property-operator-style-041 {
display: flex;
}
.native-property-operator-style-042 {
flex-wrap: wrap;
}
.native-property-operator-style-043 {
gap: 8px;
}
.native-property-operator-style-044 {
justify-content: flex-start;
}
.native-property-operator-style-045 {
align-items: center;
}
.native-property-operator-style-046 {
margin-top: 10px;
}
.native-property-operator-style-048 {
font-size: 12px;
}
.native-property-operator-style-049 {
opacity: 0.75;
}
.native-property-operator-style-050 {
margin: 0 0 8px;
}
.native-property-operator-style-051 {
opacity: 0.75;
}
.native-property-operator-style-052 {
margin-bottom: 6px;
}
.native-property-operator-style-053 {
display: flex;
}
.native-property-operator-style-054 {
flex-wrap: wrap;
}
.native-property-operator-style-055 {
align-items: center;
}
.native-property-operator-style-056 {
justify-content: space-between;
}
.native-property-operator-style-057 {
gap: 8px;
}
.native-property-operator-style-058 {
margin: 6px 0;
}
.native-property-operator-style-059 {
flex: 1 1 220px;
}
.native-property-operator-style-060 {
display: flex;
}
.native-property-operator-style-061 {
align-items: center;
}
.native-property-operator-style-062 {
justify-content: flex-end;
}
.native-property-operator-style-063 {
gap: 8px;
}
.native-property-operator-style-064 {
flex: 0 1 auto;
}
.native-property-operator-style-065 {
opacity: 0.75;
}
.native-property-operator-style-066 {
margin-top: 6px;
}
.native-property-operator-style-067 {
opacity: 0.75;
}
.native-property-operator-style-068 {
margin-bottom: 6px;
}
.native-property-operator-style-069 {
display: flex;
}
.native-property-operator-style-070 {
align-items: center;
}
.native-property-operator-style-071 {
gap: 8px;
}
.native-property-operator-style-072 {
margin: 4px 0;
}
.native-property-operator-style-073 {
opacity: 0.75;
}
.native-property-operator-style-074 {
margin-top: 6px;
}
.native-property-operator-style-075 {
margin-top: 4px;
}
.native-property-operator-style-076 {
font-size: 12px;
}
.native-property-operator-style-077 {
opacity: 0.75;
}
.native-property-operator-style-078 {
margin: 12px 0;
}
.native-property-operator-style-079 {
font-weight: 600;
}
.native-property-operator-style-080 {
font-size: 12px;
}
.native-property-operator-style-081 {
opacity: 0.75;
}
.native-property-operator-style-082 {
margin: 4px 0 6px;
}
.native-property-operator-style-083 {
position: relative;
}
.native-property-operator-style-084 {
width: 100%;
}
.native-property-operator-style-085 {
box-sizing: border-box;
}
.native-property-operator-style-086 {
margin-top: 6px;
}
.npo-inline-suggest {
position: absolute;
z-index: 1000;
display: none;
right: auto;
min-height: 0;
min-width: 0;
max-width: 100%;
box-sizing: border-box;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
pointer-events: auto;
touch-action: pan-y;
border: 1px solid var(--background-modifier-border);
border-radius: 6px;
background: var(--background-primary);
box-shadow: var(--shadow-s);
color: var(--text-normal);
text-align: left;
}
.npo-inline-suggest-list {
text-align: left;
}
.npo-inline-suggest-visible {
display: block;
}
.npo-inline-suggest .npo-inline-suggest-item {
appearance: none;
display: flex;
flex: 0 0 auto;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 2px;
width: 100%;
height: auto;
min-height: 0;
max-height: none;
min-width: 0;
margin: 0;
padding: 7px 9px;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
background-color: transparent;
background-image: none;
box-shadow: none;
color: var(--text-normal);
cursor: pointer;
line-height: normal;
text-align: left;
white-space: normal;
}
.npo-inline-suggest .npo-inline-suggest-item:hover,
.npo-inline-suggest .npo-inline-suggest-item-selected {
background: var(--background-modifier-hover);
background-image: none;
box-shadow: none;
}
.npo-inline-suggest .npo-inline-suggest-title,
.npo-inline-suggest .npo-inline-suggest-meta {
position: static;
display: block;
width: 100%;
min-width: 0;
max-height: none;
overflow: visible;
overflow-wrap: anywhere;
line-height: normal;
text-align: left;
text-overflow: clip;
white-space: normal;
}
.npo-inline-suggest .npo-inline-suggest-title {
font-weight: 500;
}
.npo-inline-suggest .npo-inline-suggest-meta {
color: var(--text-muted);
font-size: 12px;
}
.npo-inline-suggest-opens-up {
bottom: calc(100% + 4px);
top: auto;
}
.npo-inline-suggest-opens-down {
bottom: auto;
top: calc(100% + 4px);
}
.npo-action-editor-content {
min-width: 0;
overflow-x: hidden;
}
.npo-operation-section,
.npo-operation-list,
.npo-operation-card,
.npo-operation-card-fields {
width: 100%;
min-width: 0;
box-sizing: border-box;
}
.npo-operation-list {
display: grid;
gap: 12px;
}
.npo-operation-card {
display: block;
padding: 12px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background: var(--background-secondary);
}
.npo-operation-card-header .npo-reorder-handle {
margin-top: 0;
}
.npo-locked-property-reference {
display: grid;
grid-template-columns: minmax(90px, 0.3fr) minmax(0, 1fr);
gap: 4px 10px;
width: 100%;
min-width: 0;
box-sizing: border-box;
padding: 8px 0;
}
.npo-locked-property-label,
.npo-locked-property-type {
color: var(--text-muted);
font-size: var(--font-ui-smaller);
}
.npo-locked-property-name,
.npo-locked-property-unresolved,
.npo-locked-property-review {
min-width: 0;
overflow-wrap: anywhere;
}
.npo-locked-property-name {
font-weight: 600;
}
.npo-locked-property-unresolved,
.npo-locked-property-review,
.npo-property-reference-error {
color: var(--text-warning);
}
.npo-property-reference-type,
.npo-property-reference-error {
min-width: 0;
margin: 8px 0;
overflow-wrap: anywhere;
}
.npo-property-reference-type {
color: var(--text-muted);
}
.npo-operation-change-property {
grid-column: 2;
justify-self: start;
}
.npo-operation-card-header {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 4px;
}
.npo-operation-card-title {
min-width: 0;
font-weight: 600;
}
.npo-operation-card-remove.native-property-operator-style-086 {
flex: 0 0 auto;
margin-top: 0;
}
.npo-operation-card-fields {
display: block;
}
.npo-operation-card-fields .setting-item,
.npo-operation-card-fields .setting-item-info,
.npo-operation-card-fields .setting-item-control {
min-width: 0;
}
.npo-operation-card-fields .setting-item-control {
flex: 1 1 50%;
justify-content: flex-start;
margin-left: 0;
}
.npo-operation-card-fields .npo-suggest-wrapper,
.npo-operation-card-fields input,
.npo-operation-card-fields textarea,
.npo-operation-card-fields select {
max-width: 100%;
box-sizing: border-box;
}
.npo-operation-card-fields .setting-item-control,
.npo-operation-card-fields .npo-suggest-wrapper,
.npo-operation-card-fields input,
.npo-operation-card-fields textarea,
.npo-operation-card-fields select {
width: 100%;
}
.npo-operation-add-button {
width: 100%;
min-width: 0;
margin-top: 10px;
}
.npo-operation-empty-state {
padding: 12px;
border: 1px dashed var(--background-modifier-border);
border-radius: 8px;
color: var(--text-muted);
}
.npo-action-editor-footer {
margin-top: 20px;
padding-top: 12px;
border-top: 1px solid var(--background-modifier-border);
}
.npo-action-editor-footer > .setting-item {
padding-top: 0;
border-top: 0;
}
.npo-operation-selector,
.npo-target-selector {
display: block;
}
.npo-operation-selector .setting-item-info,
.npo-target-selector .setting-item-info {
margin-bottom: 6px;
}
.npo-operation-selector-control,
.npo-target-selector-control {
justify-content: flex-start;
width: auto;
max-width: 100%;
margin-left: 0;
}
.npo-operation-selector-control select,
.npo-target-selector-control select,
.npo-operation-card-fields select {
width: auto;
max-width: 100%;
}
.npo-target-section,
.npo-target-list,
.npo-target-adders,
.npo-target-adder {
width: 100%;
min-width: 0;
box-sizing: border-box;
}
.npo-target-list {
display: grid;
gap: 8px;
}
.npo-target-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
min-width: 0;
padding: 8px 0;
border-bottom: 1px solid var(--background-modifier-border);
}
.npo-target-label {
flex: 1 1 240px;
min-width: 0;
overflow-wrap: anywhere;
}
.npo-target-remove {
flex: 0 0 auto;
}
.npo-target-empty-state {
padding: 8px 0;
color: var(--text-muted);
}
.npo-target-adders {
display: grid;
gap: 12px;
margin-top: 10px;
}
.npo-target-adder .npo-suggest-wrapper,
.npo-target-adder input {
width: 100%;
min-width: 0;
max-width: 100%;
box-sizing: border-box;
}
.npo-existing-property-browser {
box-sizing: border-box;
max-width: 100%;
min-width: 0;
overflow-x: hidden;
}
.npo-existing-property-search {
display: block;
position: relative;
z-index: 1;
background: var(--background-primary);
}
.npo-existing-property-search .setting-item-info {
margin-bottom: 6px;
}
.npo-existing-property-search .setting-item-control,
.npo-existing-property-search input {
width: 100%;
min-width: 0;
max-width: 100%;
}
.npo-existing-property-results {
max-height: min(60vh, 520px);
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
touch-action: pan-y;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background-color: var(--background-secondary);
}
.npo-existing-property-result {
display: flex;
flex: 0 0 auto;
flex-direction: column;
align-items: stretch;
gap: 3px;
width: 100%;
height: auto;
min-height: 0;
max-height: none;
min-width: 0;
margin: 0;
padding: 10px 12px;
overflow: visible;
border: 0;
border-bottom: 1px solid var(--background-modifier-border);
border-radius: 0;
background-color: transparent;
box-shadow: none;
color: var(--text-normal);
cursor: pointer;
line-height: normal;
text-align: left;
white-space: normal;
overflow-wrap: anywhere;
}
.npo-existing-property-results > .npo-existing-property-result:hover {
background-color: var(--background-modifier-hover);
box-shadow: inset 0 0 0 1px var(--interactive-accent);
}
.npo-existing-property-results > .npo-existing-property-result-selected {
background-color: var(--background-modifier-hover);
box-shadow: inset 3px 0 var(--interactive-accent);
}
.npo-existing-property-results > .npo-existing-property-result-selected:hover {
box-shadow: inset 3px 0 var(--interactive-accent), inset 0 0 0 1px var(--interactive-accent);
}
.npo-existing-property-result:focus-visible {
outline: 2px solid var(--interactive-accent);
outline-offset: -2px;
}
.npo-existing-property-result-title,
.npo-existing-property-result-meta,
.npo-existing-property-result-examples {
display: block;
width: 100%;
min-width: 0;
max-height: none;
overflow: visible;
overflow-wrap: anywhere;
text-align: left;
text-overflow: clip;
white-space: normal;
}
.npo-existing-property-result-title {
font-weight: 600;
}
.npo-existing-property-result-meta,
.npo-existing-property-result-examples {
color: var(--text-muted);
font-size: var(--font-ui-smaller);
}
.npo-existing-property-empty,
.npo-preview-no-files {
padding: 12px;
color: var(--text-muted);
}
.npo-property-list,
.npo-action-list {
display: grid;
gap: 10px;
width: 100%;
min-width: 0;
}
.npo-property-card,
.npo-action-card {
position: relative;
box-sizing: border-box;
width: 100%;
min-width: 0;
}
.npo-property-main-row {
min-width: 0;
}
.npo-action-card {
display: flex;
flex-direction: column;
padding: 0;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
background: var(--background-secondary);
}
.npo-action-card-header {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
width: 100%;
min-width: 0;
box-sizing: border-box;
padding: 4px 8px;
}
.npo-action-card-title {
flex: 1 1 auto;
min-width: 0;
overflow-wrap: anywhere;
font-weight: 600;
}
.npo-action-card-header-controls {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: flex-end;
min-width: 0;
}
.npo-action-card-header-controls .checkbox-container {
margin: 0;
}
.npo-action-card-summary {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
width: 100%;
min-width: 0;
overflow: hidden;
overflow-wrap: anywhere;
color: var(--text-muted);
line-height: var(--line-height-normal, 1.4);
white-space: pre-line;
padding: 0 8px;
}
.npo-action-card-footer {
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
min-width: 0;
margin-top: auto;
padding: 10px 8px 8px;
border-top: 1px solid var(--background-modifier-border);
}
.npo-action-card-actions {
display: flex;
flex-wrap: nowrap;
justify-content: flex-end;
align-items: center;
gap: 8px;
min-width: 0;
max-width: 100%;
}
.npo-action-card-actions .button {
flex: 0 1 auto;
max-width: 100%;
}
.npo-action-card-header-controls .checkbox-container,
.npo-action-card-actions .button {
white-space: nowrap;
}
.npo-reorder-handle {
flex: 0 0 auto;
align-self: center;
width: 28px;
min-width: 28px;
margin-top: 0;
padding: 4px;
color: var(--text-muted);
cursor: grab;
}
.npo-reorder-handle:active {
cursor: grabbing;
}
.npo-reorder-handle:hover,
.npo-reorder-handle:focus-visible {
color: var(--text-normal);
}
.npo-reorder-dragging {
background: var(--background-modifier-hover);
outline: 1px dashed var(--background-modifier-border-hover);
}
.npo-reorder-target-before {
border-top: 2px solid var(--interactive-accent);
}
.npo-reorder-target-after {
border-bottom: 2px solid var(--interactive-accent);
}
@media (max-width: 600px) {
.npo-property-main-row {
align-items: stretch;
}
.npo-property-name-control,
.npo-property-type-control {
flex: 1 1 100%;
width: 100%;
min-width: 0;
}
.npo-action-card-header {
align-items: stretch;
}
.npo-action-card-title {
flex-basis: calc(100% - 44px);
}
.npo-action-card-header-controls {
margin-left: auto;
}
.npo-action-card-footer {
align-items: flex-end;
}
.npo-action-card-actions {
flex-wrap: wrap;
}
.npo-operation-card-fields .setting-item {
flex-direction: column;
align-items: stretch;
gap: 6px;
}
.npo-operation-card-fields .setting-item-info,
.npo-operation-card-fields .setting-item-control {
width: 100%;
}
.npo-operation-selector-control,
.npo-target-selector-control,
.npo-operation-selector-control select,
.npo-target-selector-control select,
.npo-operation-card-fields select {
width: 100%;
}
}