From ef55d9bb24430610b60c1b77821307cd72c08c55 Mon Sep 17 00:00:00 2001 From: zwlucas Date: Sat, 25 Jul 2026 18:23:29 -0300 Subject: feat: upload of the project Signed-off-by: zwlucas --- web/src/pages/UsersPage.module.css | 121 +++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 web/src/pages/UsersPage.module.css (limited to 'web/src/pages/UsersPage.module.css') diff --git a/web/src/pages/UsersPage.module.css b/web/src/pages/UsersPage.module.css new file mode 100644 index 0000000..296b5bf --- /dev/null +++ b/web/src/pages/UsersPage.module.css @@ -0,0 +1,121 @@ +.container { + display: flex; + flex-direction: column; + gap: var(--space-6); + max-width: 800px; + margin: 0 auto; +} + +.card { + background: var(--color-bg-base); + border: 1px solid var(--color-border); + border-radius: var(--radius-lg); + padding: var(--space-6); + box-shadow: var(--shadow-sm); +} + +.title { + font-size: var(--text-xl); + font-weight: 600; + margin-bottom: var(--space-4); + color: var(--color-text-strong); +} + +.form { + display: flex; + flex-direction: column; + gap: var(--space-4); +} + +.field { + display: flex; + flex-direction: column; + gap: var(--space-1); +} + +.field label { + font-size: var(--text-sm); + font-weight: 500; + color: var(--color-text-subtle); +} + +.tableWrapper { + overflow-x: auto; +} + +.table { + width: 100%; + border-collapse: collapse; + text-align: left; +} + +.table th, .table td { + padding: var(--space-3); + border-bottom: 1px solid var(--color-border); +} + +.table th { + font-weight: 600; + color: var(--color-text-subtle); + font-size: var(--text-sm); +} + +.table td { + font-size: var(--text-sm); +} + +.empty { + text-align: center; + color: var(--color-text-subtle); + padding: var(--space-6); +} + +.roleBadge { + display: inline-block; + padding: 2px 8px; + border-radius: 12px; + font-size: var(--text-xs); + font-weight: 600; + text-transform: capitalize; +} + +.roleBadge[data-role="admin"] { + background: #fef2f2; + color: #991b1b; + border: 1px solid #fca5a5; +} + +.roleBadge[data-role="agent"] { + background: #eff6ff; + color: #1e40af; + border: 1px solid #bfdbfe; +} + +.roleBadge[data-role="requester"] { + background: #f3f4f6; + color: #374151; + border: 1px solid #d1d5db; +} + +.modalOverlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + display: flex; + align-items: center; + justify-content: center; + z-index: 100; + backdrop-filter: blur(2px); +} + +.modalContent { + background: var(--color-bg-base); + border-radius: var(--radius-lg); + padding: var(--space-6); + width: 100%; + max-width: 500px; + box-shadow: var(--shadow-lg); +} -- cgit v1.2.3