From eeadc1c494724cba398c17df3e01a3f067f8c5fc Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Tue, 15 Apr 2025 13:22:12 -0500 Subject: [PATCH] Make it look like a stamp --- app/assets/stylesheets/cards.css | 10 +++++----- app/models/card/closeable.rb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 00c3de056..c6eede99d 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -216,24 +216,24 @@ .card__badge { --size: 5cqi; - background: var(--color-ink); + border: 1px solid currentColor; block-size: var(--size); border-radius: 50%; - color: var(--color-ink-reversed); + color: var(--color-negative); container-type: inline-size; font-size: 1.5rem; - font-weight: 500; + font-weight: bold; inset: 50% auto auto -0.5ch; inline-size: var(--size); - padding: 0.25cqi; + padding: calc(var(--size) * 0.05); position: absolute; + transform: rotate(-10deg); translate: -100% -50%; span { display: grid; inset: 0; font-size: 45cqi; - font-weight: bold; place-content: center; position: absolute; text-align: center; diff --git a/app/models/card/closeable.rb b/app/models/card/closeable.rb index 5b7ab98af..2f9c69d76 100644 --- a/app/models/card/closeable.rb +++ b/app/models/card/closeable.rb @@ -2,7 +2,7 @@ module Card::Closeable extend ActiveSupport::Concern AUTO_CLOSE_AFTER = 30.days - AUTO_CLOSE_REMINDER = 7.days + AUTO_CLOSE_REMINDER = 22.days included do has_one :closure, dependent: :destroy