jor / src /pages /model-library /model-library.css
Samfredoly's picture
Upload 81 files
1c34a81 verified
Raw History Blame Contribute Delete
8.85 kB
@layer components {
.model-library-shell {
padding: 18px 24px 40px;
}
.brand-name {
display: flex;
flex-direction: column;
gap: 0;
font-size: 19px;
line-height: 21px;
}
.model-library-tabs {
border-bottom: 1px solid #e6ebec;
padding-bottom: 6px;
}
.model-library-tab {
display: inline-flex;
min-height: 42px;
align-items: center;
gap: 12px;
border: 0;
border-radius: 999px;
padding: 10px 18px;
background: transparent;
color: #25344a;
font-size: 12px;
font-weight: 700;
}
.model-library-tab b {
color: #82909e;
font-size: 10px;
}
.model-library-tab-active {
background: #b4fa18;
color: #1c2c09;
}
.model-library-tab-active b {
color: #587b18;
}
.model-product-filter {
border: 1px solid #e0e6e8;
border-radius: 9px;
padding: 0 15px;
background: white;
color: #344257;
}
.model-product-filter select {
width: 100%;
min-width: 0;
min-height: 40px;
flex: 1;
appearance: none;
border: 0;
background: transparent;
color: inherit;
font-size: 11px;
outline: none;
}
.model-summary-card {
display: flex;
min-height: 136px;
align-items: center;
gap: 16px;
border: 1px solid #e1e7e9;
border-radius: 12px;
padding: 18px;
background: white;
}
.model-summary-card-dark {
border-color: #13201d;
background:
radial-gradient(ellipse at 97% 10%, #568e08 0%, #091612 52%, #080e0d 100%);
color: white;
}
.model-summary-icon {
display: grid;
height: 50px;
width: 50px;
flex: 0 0 auto;
place-items: center;
border: 0;
border-radius: 11px;
background: #edf3ef;
color: #17263e;
}
.model-summary-card-dark .model-summary-icon {
background: rgba(255, 255, 255, 0.12);
color: white;
}
.model-summary-copy {
display: flex;
min-width: 0;
flex-direction: column;
gap: 5px;
}
.model-summary-copy small {
color: #778392;
font-size: 10px;
}
.model-summary-card-dark .model-summary-copy small,
.model-summary-card-dark .model-summary-copy > span {
color: #bdc8c5;
}
.model-summary-copy strong {
color: #0d1831;
font-size: 30px;
line-height: 1;
}
.model-summary-card-dark .model-summary-copy strong {
color: white;
}
.model-summary-copy > span {
color: #778392;
font-size: 10px;
}
.model-summary-copy em {
margin-right: 7px;
color: #b4fa18;
font-size: 11px;
font-style: normal;
font-weight: 700;
}
.model-list-section {
min-width: 0;
}
.model-list-header {
min-height: 48px;
margin: 4px 0 14px;
}
.model-list-header h2 {
margin: 0;
color: #0d1831;
font-size: 16px;
}
.model-list-header h2 span {
color: #84909d;
font-size: 10px;
font-weight: 500;
}
.model-sort-control,
.model-view-control {
display: inline-flex;
min-height: 40px;
align-items: center;
justify-content: center;
gap: 9px;
border: 1px solid #e0e6e8;
border-radius: 9px;
background: white;
color: #344257;
}
.model-sort-control {
min-width: 184px;
justify-content: space-between;
padding: 0 12px;
font-size: 11px;
}
.model-view-control {
width: 40px;
}
.model-view-control-active {
border-color: #c8e69b;
background: #eff8df;
color: #4a7116;
}
.model-records {
display: flex;
min-width: 0;
flex-direction: column;
gap: 10px;
overflow: visible;
}
.model-record-list {
min-height: 94px;
border: 1px solid #dfe6e9;
border-radius: 10px;
padding: 12px 16px;
background: white;
box-shadow: 0 2px 5px rgba(17, 31, 42, 0.025);
transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.model-record-list:hover {
border-color: #c6df8d;
background: #fcfef9;
box-shadow: 0 8px 18px rgba(17, 31, 42, 0.06);
transform: translateY(-1px);
}
.model-record-emphasized {
border-color: transparent;
background: #091612;
box-shadow: none;
}
.model-record-emphasized .model-record-name > span > b,
.model-record-emphasized .model-record-owner b,
.model-record-emphasized .model-record-version,
.model-record-emphasized .model-more-button {
color: white;
}
.model-record-emphasized .model-record-name > small,
.model-record-emphasized .model-record-owner small,
.model-record-emphasized .model-record-updated small,
.model-record-emphasized .model-record-updated > span {
color: #80958d;
}
.model-record-emphasized .model-record-updated b {
color: #d3ddd8;
}
.model-record-emphasized .model-record-version {
border: 0;
background: #263a33;
}
.model-record-grid {
min-height: 280px;
border: 1px solid #dfe6e9;
background: white;
box-shadow: 0 2px 5px rgba(17, 31, 42, 0.025);
transition: border-color 160ms ease, box-shadow 160ms ease;
}
.model-record-grid:hover {
border-color: #c6df8d;
box-shadow: 0 8px 18px rgba(17, 31, 42, 0.06);
}
.model-record-identity {
width: 100%;
}
.model-product-icon {
display: grid;
height: 50px;
width: 50px;
flex: 0 0 auto;
place-items: center;
border-radius: 9px;
background: #edf7f4;
color: #13a888;
}
.product-fia {
background: #f1f6e8;
color: #6b9a29;
}
.product-rila {
background: #eef2f8;
color: #52729e;
}
.product-di {
background: #f4eff8;
color: #80609b;
}
.product-cat {
background: #26362f;
color: #b4fa18;
}
.model-record-name {
display: flex;
flex: 1;
flex-direction: column;
gap: 6px;
}
.model-record-name > span > b {
overflow: hidden;
color: #0d1831;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.model-record-name > small {
overflow: hidden;
color: #95a0ad;
font-size: 7px;
text-overflow: ellipsis;
white-space: nowrap;
}
.model-favorite,
.model-more-button {
display: grid;
flex: 0 0 auto;
place-items: center;
border: 0;
background: transparent;
color: #84909d;
}
.model-favorite-active {
color: #a3d927;
}
.model-record-version {
justify-self: start;
border-radius: 6px;
padding: 7px 8px;
background: #eff7df;
color: #568112;
font-size: 9px;
font-weight: 700;
}
.model-record-owner {
display: flex;
min-width: 0;
align-items: center;
gap: 9px;
}
.model-record-owner i {
display: grid;
height: 28px;
width: 28px;
flex: 0 0 auto;
place-items: center;
border: 2px solid white;
border-radius: 50%;
color: white;
font-size: 9px;
font-style: normal;
font-weight: 700;
box-shadow: 0 1px 3px rgba(20, 30, 40, 0.16);
}
.model-record-owner > span {
display: flex;
min-width: 0;
flex-direction: column;
gap: 3px;
}
.model-record-owner b {
overflow: hidden;
color: #27364d;
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.model-record-owner small,
.model-record-updated small,
.model-record-updated > span {
color: #8995a3;
font-size: 9px;
}
.model-record-updated {
display: flex;
flex-direction: column;
gap: 3px;
}
.model-record-updated b {
color: #233149;
font-size: 9px;
}
.model-record-status .status-badge {
white-space: nowrap;
}
.model-record-status .status-badge {
border: 0;
padding: 0;
background: transparent;
font-size: 8px;
}
.model-record-status .status-dot {
height: 7px;
width: 7px;
}
.model-open-button {
min-height: 40px;
min-width: 112px;
border: 0;
border-radius: 10px;
padding: 0 12px;
background: #f2f5f6;
color: #18263d;
font-size: 10px;
font-weight: 700;
white-space: nowrap;
}
.model-open-button:hover {
background: #e9f1d5;
}
.model-open-button-dark,
.model-record-emphasized .model-open-button {
background: #03100c;
color: white;
}
.model-open-button-dark:hover,
.model-record-emphasized .model-open-button:hover {
background: #172d23;
}
.model-filter-panel {
border-color: #d9e1e5;
color: #46566b;
}
.model-filter-select {
min-height: 34px;
border: 1px solid #d9e1e5;
border-radius: 6px;
padding: 0 8px;
background: white;
color: #25344a;
}
.model-mobile-details {
color: #78879a;
font-size: 9px;
}
.model-record-emphasized .model-mobile-details {
color: #81958b;
}
@media (max-width: 1000px) {
.model-record-list {
min-height: 0;
row-gap: 10px;
}
}
.model-grid-meta {
display: flex;
align-items: center;
gap: 9px;
color: #778392;
font-size: 10px;
}
.model-grid-basis {
color: #8995a3;
font-size: 10px;
}
.model-empty-state {
border: 1px dashed #d7e0e3;
border-radius: 12px;
padding: 30px 18px;
color: #778392;
text-align: center;
}
.model-list-foot {
margin: 12px 0 0;
color: #82909e;
font-size: 10px;
}
}