From b88855860d3e92a9247e008343b9b3e7768e3c72 Mon Sep 17 00:00:00 2001 From: enlineawork Date: Fri, 11 Sep 2026 10:02:35 -0300 Subject: [PATCH] style(web): simplify company profile presentation --- web-v2/src/pages/companyInventory.css | 105 ++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 web-v2/src/pages/companyInventory.css diff --git a/web-v2/src/pages/companyInventory.css b/web-v2/src/pages/companyInventory.css new file mode 100644 index 0000000..a97a844 --- /dev/null +++ b/web-v2/src/pages/companyInventory.css @@ -0,0 +1,105 @@ +.company-page { display: grid; gap: 18px; } +.company-breadcrumb { margin-bottom: 0; } + +.company-hero { + display: flex; + align-items: flex-end; + justify-content: space-between; + gap: 24px; + padding: 4px 0 2px; +} +.company-hero h1 { margin: 6px 0 5px; font-size: clamp(31px, 3.5vw, 44px); line-height: 1.02; letter-spacing: -.045em; } +.company-hero p { margin: 0; color: var(--muted); font-size: 13px; } +.company-hero-actions { display: flex; align-items: center; gap: 12px; } + +.company-tabs { + display: flex; + align-items: center; + gap: 4px; + overflow-x: auto; + padding: 0 0 1px; + border-bottom: 1px solid var(--line); +} +.company-tabs button { + position: relative; + min-height: 43px; + padding: 9px 13px; + border: 0; + color: #566178; + background: transparent; + cursor: pointer; + white-space: nowrap; + font-size: 12px; + font-weight: 700; +} +.company-tabs button:hover { color: var(--ink); } +.company-tabs button.active { color: var(--blue); } +.company-tabs button.active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--blue); } + +.company-stack { display: grid; gap: 15px; } +.company-card { padding: 23px; } +.company-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; } +.company-card-heading h2 { margin: 4px 0 4px; } +.company-card-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; } +.company-card-actions { display: flex; justify-content: flex-end; margin-top: 17px; } + +.company-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--line); } +.company-data-grid > div { min-height: 78px; padding: 15px 16px; background: #fff; } +.company-data-grid small, .company-data-grid strong { display: block; } +.company-data-grid small { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; } +.company-data-grid strong { font-size: 13px; font-weight: 750; } +.company-edit-form { display: grid; gap: 16px; } + +.company-area-list { display: grid; gap: 8px; } +.company-area-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 12px 14px; border: 1px solid #e3e7ee; border-radius: 10px; background: #fafbfc; } +.company-area-row > a { min-width: 0; text-decoration: none; } +.company-area-row > a:hover strong { color: var(--blue); } +.company-area-row strong, .company-area-row small { display: block; } +.company-area-row strong { font-size: 13px; } +.company-area-row small { margin-top: 4px; color: var(--muted); font-size: 10px; } +.company-area-row > div { display: flex; align-items: center; gap: 7px; } +.company-inline-action { margin-top: 13px; border: 1px dashed #cfd7e5; border-radius: 10px; background: #fbfcfe; } +.company-inline-action summary { display: flex; align-items: center; gap: 7px; padding: 13px 14px; cursor: pointer; color: var(--blue); font-size: 12px; font-weight: 750; list-style: none; } +.company-inline-action summary::-webkit-details-marker { display: none; } +.company-inline-action form { display: grid; gap: 13px; padding: 0 14px 14px; } + +.company-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } +.company-metrics > div { display: grid; gap: 6px; padding: 16px; border: 1px solid #e2e7ef; border-radius: 11px; background: #f8faff; } +.company-metrics small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; } +.company-metrics strong { color: #173b7a; font-size: 25px; line-height: 1; letter-spacing: -.04em; } + +.company-doc-heading { align-items: center; } +.company-doc-counts { display: flex; gap: 7px; } +.company-doc-counts span { padding: 6px 9px; border-radius: 999px; color: #536078; background: #f0f3f8; font-size: 10px; font-weight: 750; } +.company-document-search { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 17px; padding: 0 12px; border: 1px solid #d8dee8; border-radius: 10px; background: white; } +.company-document-search .icon { color: #818ba0; } +.company-document-search input { width: 100%; min-height: 43px; border: 0; outline: 0; background: transparent; font-size: 12px; } +.company-doc-table table { min-width: 870px; } +.company-doc-table td { vertical-align: middle; } + +.company-document-list { display: grid; gap: 8px; } +.company-document-list > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 14px; border: 1px solid #e2e6ed; border-radius: 10px; background: #fbfcfd; } +.company-document-list strong, .company-document-list small { display: block; } +.company-document-list strong { font-size: 12px; } +.company-document-list small { margin-top: 4px; color: var(--muted); font-size: 10px; } +.company-more { margin-top: 13px; } +.company-more summary { cursor: pointer; color: #59657b; font-size: 11px; font-weight: 750; } +.company-identifier-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 10px; } +.company-identifier-list > div { display: grid; gap: 3px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfc; } +.company-identifier-list strong { font-size: 10px; color: var(--blue); } +.company-identifier-list span { font-size: 12px; font-weight: 750; } +.company-identifier-list small { color: var(--muted); font-size: 9px; } +.company-advanced-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 15px; border: 1px dashed #ccd4e2; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.55); font-size: 11px; } +.company-advanced-link a { color: var(--blue); font-weight: 750; text-decoration: none; } + +@media (max-width: 760px) { + .company-hero { align-items: flex-start; flex-direction: column; } + .company-hero-actions { width: 100%; justify-content: space-between; } + .company-card { padding: 18px; } + .company-card-heading { align-items: flex-start; flex-direction: column; } + .company-data-grid, .company-metrics { grid-template-columns: 1fr; } + .company-area-row { align-items: flex-start; flex-direction: column; } + .company-area-row > div { width: 100%; justify-content: space-between; } + .company-doc-counts { width: 100%; } + .company-advanced-link { align-items: flex-start; flex-direction: column; } +}