From 6c558b6ed097ae6b5238ed4ce70a1d626a304d98 Mon Sep 17 00:00:00 2001 From: Alexey Koshelev Date: Thu, 15 Aug 2024 21:27:43 +0300 Subject: [PATCH] Add style for radio --- sdkjs-plugins/v1/plugins.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sdkjs-plugins/v1/plugins.css b/sdkjs-plugins/v1/plugins.css index e43c1623f..44d3d7652 100644 --- a/sdkjs-plugins/v1/plugins.css +++ b/sdkjs-plugins/v1/plugins.css @@ -165,6 +165,26 @@ input[type='checkbox'].form-control { input[type='checkbox'].form-control:disabled { opacity: .5; } + + input[type='radio'].form-control { + appearance: none; + -webkit-appearance: none; + border: 2px solid #fff; + border-radius: 100%; + box-shadow: 0 0 0 1px #cfcfcf; + height: 12px; + width: 12px; + accent-color: #444; + margin: 0 0 1px; + } + + input[type='radio'].form-control:checked { + background-color: #444; + } + + input[type='radio'].form-control:disabled { + opacity: .5; + } } /* label */