Web Dev Solutions

Catalin Mititiuc

From a3804bb1d4e60b2983bc026404fd424004f32ac6 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 27 Jun 2024 15:07:24 -0700 Subject: Add checked select-elevation style --- public/assets/css/radial.css | 30 ------------------------------ public/assets/css/style.css | 6 ++++++ 2 files changed, 6 insertions(+), 30 deletions(-) (limited to 'public/assets') diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css index b704668..50c7e3b 100644 --- a/public/assets/css/radial.css +++ b/public/assets/css/radial.css @@ -241,36 +241,6 @@ use[href="#hex"] { transform: scale(0.9); } -.select-elevation { - position: fixed; - right: 0; - top: 50%; - margin-right: 10px; - background-color: #FFFFFF99; - border: 1px solid gray; - padding: 2px; - font-family: sans-serif; - font-size: 10pt; -} - -.select-elevation label { - display: block; - margin: 2px 0; - text-align: center; - border: 1px solid transparent; - user-select: none; -} - -.select-elevation input { - display: none; -} - -input:checked+label { - border: 1px solid salmon; - border-radius: 3px; - background-color: #cdd9e9; -} - [class^="part"] use { fill-opacity: 0.75; } diff --git a/public/assets/css/style.css b/public/assets/css/style.css index b5d7b8a..e8445c8 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -436,6 +436,12 @@ div#dice { display: none; } +.select-elevation input:checked+label { + border: 1px solid salmon; + border-radius: 3px; + background-color: #cdd9e9; +} + @keyframes roll-out { 0% { transform: scaleX(1); -- cgit v1.2.3