jor / src /pages /input-library /input-library.css
Samfredoly's picture
Upload 91 files
1ce80f7 verified
Raw History Blame Contribute Delete
13.5 kB
@layer components {
.input-shell {
min-height: 100vh;
background: #f5f8f7;
}
.input-shell .sidebar {
width: 216px;
background: linear-gradient(180deg, #07100f 0%, #07100f 76%, #235e12 100%);
}
.input-shell .brand {
width: 100%;
gap: 10px;
padding: 22px 16px 8px;
}
.input-shell .brand-mark {
height: 40px;
gap: 4px;
}
.input-shell .brand-mark i {
width: 7px;
background: #9bfa00;
}
.input-shell .brand-mark i:nth-child(1) { height: 26px; }
.input-shell .brand-mark i:nth-child(2) { height: 38px; }
.input-shell .brand-mark i:nth-child(3) { height: 29px; }
.input-shell .brand-name {
width: 92px;
font-size: 19px;
font-weight: 800;
line-height: 23px;
}
.input-shell .brand em {
border-color: #3f8308;
color: #9bfa00;
}
.input-shell .main-content {
margin-left: 216px;
padding: 0 22px 20px;
background: #f5f8f7;
}
.input-shell .topbar {
min-height: 76px;
}
.input-shell .workspace-head {
min-height: 150px;
align-items: center;
padding: 16px 0 20px;
}
.input-shell .workspace-head h1 {
color: #07112f;
font-size: 44px;
font-weight: 700;
letter-spacing: 0;
}
.input-shell .workspace-head p {
margin-top: 10px;
color: #71809f;
font-size: 15px;
}
.input-shell .eyebrow {
color: #71809f;
}
.input-trust-signal {
display: flex;
align-items: center;
gap: 30px;
padding: 0 6px;
}
.input-trust-signal > div:last-child {
display: flex;
flex-direction: column;
gap: 8px;
}
.input-trust-signal b {
color: #122142;
font-size: 21px;
line-height: 1.3;
}
.input-trust-signal small {
color: #71809f;
font-size: 14px;
}
.input-trust-art {
position: relative;
display: grid;
height: 100px;
width: 190px;
flex: 0 0 auto;
place-items: center;
color: #5f992b;
}
.input-trust-art::before {
position: absolute;
right: 0;
bottom: 5px;
left: 0;
height: 26px;
border-radius: 50%;
background: #e7f5d5;
content: '';
}
.input-trust-art > span {
z-index: 1;
display: grid;
height: 66px;
width: 66px;
place-items: center;
border-radius: 16px;
background: linear-gradient(160deg, #ddf6b5, #8ccb45);
color: #426f22;
}
.input-trust-art > i {
z-index: 1;
display: grid;
height: 56px;
width: 48px;
place-items: center;
margin-left: -8px;
transform: skewY(-12deg);
background: #f8fff1;
color: #7ab83c;
font-style: normal;
}
.input-library-page {
color: #122142;
}
.input-metric-card {
min-height: 128px;
border: 1px solid #e0e7ed;
box-shadow: 0 2px 6px rgba(10, 24, 48, 0.025);
}
.input-metric-icon {
display: grid;
height: 56px;
width: 56px;
flex: 0 0 auto;
place-items: center;
border-radius: 50%;
background: #e7f7d3;
color: #395c29;
}
.input-metric-icon-warning {
background: #9bfa00;
color: #07100f;
}
.input-metric-card small {
color: #71809f;
font-size: 12px;
}
.input-metric-card b {
color: #07112f;
font-size: 32px;
line-height: 1;
white-space: nowrap;
}
.input-metric-card > span:last-child > span {
color: #71809f;
font-size: 11px;
line-height: 1.4;
}
.input-library-tabs {
min-height: 48px;
border-bottom: 1px solid #dde4ea;
scrollbar-width: thin;
}
.input-library-tab {
position: relative;
display: inline-flex;
min-height: 48px;
flex: 0 0 auto;
align-items: center;
border: 0;
background: transparent;
color: #71809f;
font-size: 13px;
white-space: nowrap;
}
.input-library-tab-active {
color: #3f8308;
font-weight: 700;
}
.input-library-tab-active::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 3px;
border-radius: 3px 3px 0 0;
background: #9bfa00;
content: '';
}
.input-toolbar,
.input-table-panel,
.input-details-panel {
border: 1px solid #e0e7ed;
box-shadow: 0 4px 16px rgba(10, 24, 48, 0.04);
}
.input-search {
min-height: 44px;
border: 1px solid #d9e1e7;
border-radius: 8px;
padding: 0 12px;
color: #71809f;
}
.input-search input {
min-width: 0;
flex: 1;
border: 0;
outline: 0;
background: transparent;
color: #122142;
font-size: 12px;
}
.input-search input::placeholder {
color: #71809f;
}
.input-search button {
display: grid;
height: 28px;
width: 28px;
place-items: center;
border: 0;
background: transparent;
color: #71809f;
}
.input-toolbar-button,
.input-view-control {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 8px;
border: 1px solid #d9e1e7;
border-radius: 8px;
padding: 0 13px;
background: white;
color: #07112f;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.input-toolbar-button-active {
border-color: #acd77b;
background: #f3fbe9;
}
.input-view-control {
gap: 0;
padding: 0 4px;
}
.input-view-control button {
display: grid;
height: 34px;
width: 34px;
place-items: center;
border: 0;
border-radius: 6px;
background: transparent;
color: #52627a;
}
.input-view-control button[aria-pressed='true'] {
background: #edf7df;
color: #3f8308;
}
.input-import-button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
gap: 9px;
border: 1px solid #9bfa00;
border-radius: 8px;
padding: 0 16px;
background: #9bfa00;
color: #07100f;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
}
.input-filter-panel {
border-color: #dce4e9;
}
.input-filter-panel select {
min-height: 34px;
border: 1px solid #d9e1e7;
border-radius: 6px;
padding: 0 9px;
background: white;
color: #122142;
font-size: 12px;
}
.input-filter-panel button {
border: 0;
background: transparent;
color: #3f8308;
font-size: 12px;
font-weight: 700;
}
.input-table-panel {
overflow: hidden;
}
.input-table-header {
min-height: 52px;
border-bottom: 1px solid #e2e8ed;
color: #8795a9;
font-size: 10px;
text-transform: uppercase;
}
.input-record {
position: relative;
width: 100%;
min-height: 94px;
border: 0;
border-bottom: 1px solid #e4eaf0;
background: white;
color: #71809f;
text-align: left;
transition: background 140ms ease;
}
.input-record:last-child {
border-bottom: 0;
}
.input-record:hover,
.input-record-selected {
background: #fbfdf8;
}
.input-record-selected::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 3px;
background: #9bfa00;
content: '';
}
.input-record-name > i {
display: grid;
height: 48px;
width: 48px;
flex: 0 0 auto;
place-items: center;
border-radius: 9px;
background: #e8f7d8;
color: #5b922f;
font-style: normal;
}
.input-record-name b {
overflow: hidden;
color: #122142;
font-size: 13px;
text-overflow: ellipsis;
white-space: nowrap;
}
.input-record-name small {
overflow: hidden;
color: #71809f;
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.input-record-version,
.input-record-scope,
.input-record-count,
.input-record-updated {
color: #71809f;
font-size: 11px;
}
.input-record-version {
color: #52627a;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.input-record-status .status-badge {
border: 0;
padding: 0;
background: transparent;
font-size: 10px;
white-space: nowrap;
}
.input-record-status .status-dot {
height: 8px;
width: 8px;
}
.input-record-arrow {
color: #71809f;
}
.input-record-card {
min-height: 160px;
border: 1px solid #e1e8ed;
background: white;
}
.input-record-description {
color: #71809f;
font-size: 10px;
}
.input-details-panel {
position: sticky;
top: 16px;
}
.input-selected-label {
display: inline-flex;
border-radius: 6px;
padding: 7px 10px;
background: #edf7e2;
color: #5d8d2e;
font-size: 11px;
font-weight: 700;
}
.input-details-close {
display: grid;
height: 28px;
width: 28px;
place-items: center;
border: 0;
background: transparent;
color: #9aa8ba;
}
.input-details-title > span:first-child {
display: grid;
height: 48px;
width: 48px;
flex: 0 0 auto;
place-items: center;
border-radius: 9px;
background: #e8f7d8;
color: #5b922f;
}
.input-details-title h2 {
color: #122142;
font-size: 17px;
font-weight: 700;
}
.input-details-title small {
display: block;
margin-top: 4px;
color: #71809f;
font-size: 11px;
}
.input-details-title .status-badge {
border: 0;
padding: 0;
background: transparent;
font-size: 9px;
}
.input-detail-list {
display: flex;
flex-direction: column;
gap: 0;
margin: 18px 0;
border-top: 1px solid #e4eaf0;
border-bottom: 1px solid #e4eaf0;
padding: 8px 0;
}
.input-detail-item {
display: grid;
grid-template-columns: 40% minmax(0, 1fr);
gap: 10px;
padding: 7px 0;
}
.input-detail-item dt {
color: #8795a9;
font-size: 11px;
}
.input-detail-item dd {
margin: 0;
color: #52627a;
font-size: 11px;
line-height: 1.5;
}
.input-downstream h3 {
color: #122142;
font-size: 18px;
font-weight: 700;
}
.input-downstream > p {
margin: 6px 0 12px;
color: #8795a9;
font-size: 11px;
line-height: 1.5;
}
.input-impact-row {
display: grid;
grid-template-columns: 38px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 10px 0;
}
.input-impact-row > span:first-child {
display: grid;
height: 36px;
width: 36px;
place-items: center;
border-radius: 8px;
background: #f0f7e9;
color: #6a8d4b;
}
.input-impact-row > span:nth-child(2) {
display: flex;
min-width: 0;
flex-direction: column;
gap: 3px;
}
.input-impact-row b {
overflow: hidden;
color: #122142;
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.input-impact-row small {
overflow: hidden;
color: #71809f;
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.input-impact-row strong {
color: #122142;
font-size: 17px;
}
.input-lineage-button {
display: flex;
width: 100%;
min-height: 42px;
align-items: center;
justify-content: center;
gap: 9px;
margin-top: 12px;
border: 1px solid #d9e1e7;
border-radius: 8px;
background: white;
color: #07112f;
font-size: 12px;
font-weight: 700;
}
.input-record-viewer { display: grid; gap: 9px; margin-top: 14px; border-top: 1px solid #e4e9ed; padding-top: 12px; }
.input-record-viewer-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.input-record-viewer-heading h3 { color: #122142; font-size: 13px; font-weight: 700; }
.input-record-viewer-heading small, .input-record-viewer > p { color: #71809f; font-size: 9px; }
.input-record-table-scroll { max-height: 300px; overflow: auto; border: 1px solid #e2e8ed; border-radius: 6px; }
.input-record-table-scroll table { width: 100%; border-collapse: collapse; font-size: 9px; }
.input-record-table-scroll th, .input-record-table-scroll td { max-width: 180px; border-bottom: 1px solid #edf0f2; padding: 6px 7px; text-align: left; overflow-wrap: anywhere; }
.input-record-table-scroll th { position: sticky; top: 0; background: #f6f8f9; color: #52627a; }
.input-record-table-scroll td { color: #637187; }
.input-record-pagination { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #71809f; font-size: 9px; }
.input-record-pagination button { min-height: 28px; border: 1px solid #d9e1e7; border-radius: 5px; padding: 0 8px; background: white; color: #344361; font-size: 9px; }
.input-record-pagination button:disabled { cursor: not-allowed; opacity: .5; }
.input-detail-validation { border-top: 1px solid #e4e9ed; padding-top: 7px; color: #637187; font-size: 9px; }
.input-detail-validation summary { cursor: pointer; font-weight: 700; }
.input-detail-validation p { margin-top: 5px; }
.input-issue-banner {
border: 1px solid #dcecc7;
background: #eff9e5;
color: #527b2b;
}
.input-issue-banner > span b {
color: #122142;
font-size: 15px;
}
.input-issue-banner > span small {
color: #718b6c;
font-size: 12px;
line-height: 1.4;
}
.input-issue-banner button {
display: inline-flex;
min-height: 44px;
align-items: center;
gap: 10px;
border: 0;
border-radius: 8px;
padding: 0 17px;
background: #9bfa00;
color: #07100f;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
}
@media (max-width: 760px) {
.input-shell .sidebar { width: 100%; }
.input-shell .main-content { margin-left: 0; padding: 0 14px 24px; }
.input-shell .topbar { min-height: 64px; }
.input-shell .workspace-head { min-height: 0; padding: 12px 0 20px; }
.input-shell .workspace-head h1 { font-size: 34px; }
.input-toolbar-button { flex: 1; }
.input-import-button { flex: 1; }
.input-details-panel { position: static; }
}
@media (max-width: 520px) {
.input-metric-card { min-height: 104px; }
.input-metric-icon { height: 46px; width: 46px; }
.input-metric-card b { font-size: 26px; }
.input-view-control { margin-left: auto; }
.input-search { flex-basis: 100%; }
}
}