diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-06-20 15:29:09 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-06-20 15:37:14 +0200 |
commit | 1359a7525d4a1deadedbd608c5fbf7900c5dd2ff (patch) | |
tree | 740e117a5c66dfd8356c29016eec8554e304f23c | |
parent | b025787a010eae2b8744f99b29aae4e6af16a94a (diff) |
In particular, use `border-radius: var(--bs-border-radius-lg)` for
consistency with the radio buttons above.
-rw-r--r-- | main.js | 2 | ||||
-rw-r--r-- | style.css | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3979,7 +3979,7 @@ const infoMetadataAccordions = []; (function() { const div = document.createElement('div'); - div.classList.add('measure-value', 'border-secondary', 'rounded-2'); + div.classList.add('measure-value'); body.appendChild(div); const span0 = document.createElement('span'); span0.appendChild(value); @@ -522,6 +522,8 @@ body.inprogress { --bs-border-opacity: .75; border-width: var(--measure-value-border-width); border-style: solid; + border-color: rgb(from var(--bs-secondary) r g b / .75); + border-radius: var(--bs-border-radius-lg); background: rgb(from var(--bs-secondary-bg-subtle) r g b / calc(alpha*.30)); height: calc(var(--bs-body-line-height) * var(--bs-body-font-size) * var(--measure-value-font-size) + 2*var(--measure-value-padding) + 2*var(--measure-value-border-width)); |