summaryrefslogtreecommitdiffhomepage
path: root/packages/console/app/src/routes/workspace/payment-section.module.css
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-09-28 19:55:38 -0400
committerFrank <[email protected]>2025-09-28 19:55:40 -0400
commit918739057d28ec440547bbe1299c1b6da9cf5485 (patch)
treef29060dc58ab35ac9a5ca193f99e601f5c8a357b /packages/console/app/src/routes/workspace/payment-section.module.css
parente3a7096e447d3e9b217f870da4623fab34298479 (diff)
downloadopencode-918739057d28ec440547bbe1299c1b6da9cf5485.tar.gz
opencode-918739057d28ec440547bbe1299c1b6da9cf5485.zip
wip: zen
Diffstat (limited to 'packages/console/app/src/routes/workspace/payment-section.module.css')
-rw-r--r--packages/console/app/src/routes/workspace/payment-section.module.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/packages/console/app/src/routes/workspace/payment-section.module.css b/packages/console/app/src/routes/workspace/payment-section.module.css
new file mode 100644
index 000000000..2e1afe78b
--- /dev/null
+++ b/packages/console/app/src/routes/workspace/payment-section.module.css
@@ -0,0 +1,76 @@
+.root {
+ [data-slot="payments-table"] {
+ overflow-x: auto;
+ }
+
+ [data-slot="payments-table-element"] {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: var(--font-size-sm);
+
+ thead {
+ border-bottom: 1px solid var(--color-border);
+ }
+
+ th {
+ padding: var(--space-3) var(--space-4);
+ text-align: left;
+ font-weight: normal;
+ color: var(--color-text-muted);
+ text-transform: uppercase;
+ }
+
+ td {
+ padding: var(--space-3) var(--space-4);
+ border-bottom: 1px solid var(--color-border-muted);
+ color: var(--color-text-muted);
+ font-family: var(--font-mono);
+
+ &[data-slot="payment-date"] {
+ color: var(--color-text);
+ }
+
+ &[data-slot="payment-id"] {
+ font-family: var(--font-mono);
+ font-weight: 400;
+ color: var(--color-text-muted);
+ max-width: 200px;
+ word-break: break-word;
+ }
+
+ &[data-slot="payment-amount"] {
+ color: var(--color-text);
+
+ &[data-refunded="true"] {
+ text-decoration: line-through;
+ }
+ }
+ }
+
+ tbody tr {
+ &:last-child td {
+ border-bottom: none;
+ }
+ }
+
+ @media (max-width: 40rem) {
+ th,
+ td {
+ padding: var(--space-2) var(--space-3);
+ font-size: var(--font-size-xs);
+ }
+
+ th {
+ &:nth-child(2) /* Payment ID */ {
+ display: none;
+ }
+ }
+
+ td {
+ &:nth-child(2) /* Payment ID */ {
+ display: none;
+ }
+ }
+ }
+ }
+}