Initialize governed Views module
This commit is contained in:
@@ -0,0 +1,364 @@
|
||||
.titlebar-view-selector {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
gap: 7px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.titlebar-view-selector select {
|
||||
width: min(190px, 24vw);
|
||||
height: 32px;
|
||||
padding: 0 28px 0 8px;
|
||||
border: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
background-color: transparent;
|
||||
color: var(--text);
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.titlebar-view-selector select:hover,
|
||||
.titlebar-view-selector select:focus-visible {
|
||||
background-color: var(--titlebar-hover-bg);
|
||||
}
|
||||
|
||||
.titlebar-view-selector select:disabled {
|
||||
cursor: default;
|
||||
opacity: .78;
|
||||
}
|
||||
|
||||
.views-admin-shell {
|
||||
display: grid;
|
||||
grid-template-columns: 280px minmax(0, 1fr);
|
||||
min-height: 620px;
|
||||
max-height: calc(100vh - 190px);
|
||||
overflow: hidden;
|
||||
border: var(--border-line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.views-definition-pane {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
border-right: var(--border-line);
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.views-pane-heading,
|
||||
.views-editor-heading,
|
||||
.views-section-heading {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.views-pane-heading {
|
||||
align-items: center;
|
||||
min-height: 50px;
|
||||
padding: 0 14px;
|
||||
border-bottom: var(--border-line);
|
||||
}
|
||||
|
||||
.views-pane-heading > span {
|
||||
color: var(--muted);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.views-definition-list {
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.views-definition-item {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto 18px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
min-height: 58px;
|
||||
padding: 9px 8px 9px 10px;
|
||||
border: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.views-definition-item:hover {
|
||||
background: var(--hover-tint-soft);
|
||||
}
|
||||
|
||||
.views-definition-item.active {
|
||||
background: var(--accent-hover-bg);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.views-definition-item-main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.views-definition-item-main strong,
|
||||
.views-definition-item-main small {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.views-definition-item-main small {
|
||||
margin-top: 3px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.views-editor-pane {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.views-editor-heading {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.views-editor-heading h3,
|
||||
.views-section-heading h4,
|
||||
.views-empty-editor h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.views-editor-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.views-editor-heading p,
|
||||
.views-section-heading p {
|
||||
margin: 4px 0 0;
|
||||
}
|
||||
|
||||
.views-definition-form {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(220px, .65fr) minmax(300px, 1.35fr);
|
||||
gap: 14px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.views-definition-form textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.views-surface-section,
|
||||
.views-assignments-section {
|
||||
margin-top: 22px;
|
||||
padding-top: 18px;
|
||||
border-top: var(--border-line);
|
||||
}
|
||||
|
||||
.views-section-heading {
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.views-stale-surface-warning {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.views-surface-selector {
|
||||
overflow: hidden;
|
||||
border: var(--border-line);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.views-surface-filter {
|
||||
padding: 8px;
|
||||
border-bottom: var(--border-line);
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
|
||||
.views-surface-filter input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.views-surface-modules {
|
||||
height: 350px;
|
||||
overflow: auto;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.views-surface-modules details {
|
||||
border-bottom: var(--border-line);
|
||||
}
|
||||
|
||||
.views-surface-modules details:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.views-surface-modules summary {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.views-surface-modules summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.views-surface-children {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
padding: 0 0 6px 24px;
|
||||
}
|
||||
|
||||
.views-surface-row {
|
||||
display: grid;
|
||||
grid-template-columns: 18px minmax(0, 1fr) 18px;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
min-height: 42px;
|
||||
padding: 6px 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.views-surface-row:hover {
|
||||
background: var(--hover-tint-soft);
|
||||
}
|
||||
|
||||
.views-surface-row.disabled {
|
||||
cursor: default;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.views-surface-row strong,
|
||||
.views-surface-row small {
|
||||
display: block;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.views-surface-row small {
|
||||
margin-top: 2px;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.views-assignment-list {
|
||||
max-height: 280px;
|
||||
overflow: auto;
|
||||
border: var(--border-line);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.views-assignment-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(180px, 1.3fr) auto auto minmax(120px, .7fr) auto auto;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-height: 58px;
|
||||
padding: 8px 10px;
|
||||
border-bottom: var(--border-line);
|
||||
}
|
||||
|
||||
.views-assignment-row:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.views-assignment-row:hover {
|
||||
background: var(--hover-tint-soft);
|
||||
}
|
||||
|
||||
.views-assignment-view strong,
|
||||
.views-assignment-view span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.views-assignment-view span,
|
||||
.views-assignment-priority,
|
||||
.views-assignment-revision {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.views-empty-list,
|
||||
.views-empty-editor {
|
||||
padding: 24px 16px;
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.views-empty-editor {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
min-height: 420px;
|
||||
}
|
||||
|
||||
.views-assignment-dialog {
|
||||
width: min(760px, calc(100vw - 40px));
|
||||
}
|
||||
|
||||
.views-assignment-toggles {
|
||||
display: grid;
|
||||
align-content: end;
|
||||
gap: 10px;
|
||||
min-height: 70px;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.views-admin-shell {
|
||||
grid-template-columns: 230px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.views-assignment-row {
|
||||
grid-template-columns: minmax(170px, 1fr) auto auto;
|
||||
}
|
||||
|
||||
.views-assignment-priority,
|
||||
.views-assignment-revision {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.titlebar-view-selector select {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.views-admin-shell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.views-definition-pane {
|
||||
max-height: 220px;
|
||||
border-right: 0;
|
||||
border-bottom: var(--border-line);
|
||||
}
|
||||
|
||||
.views-definition-form {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.views-editor-heading,
|
||||
.views-section-heading,
|
||||
.views-stale-surface-warning {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.views-assignment-row {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user