From 8ab32b7862ea0f325855279275593d911c148534 Mon Sep 17 00:00:00 2001 From: daria Date: Thu, 6 Jun 2024 20:54:08 +0300 Subject: [PATCH] add focus style for checkmarks + Add/Share modals elements #1506 --- customize.dist/src/less2/include/alertify.less | 10 ++++++++++ customize.dist/src/less2/include/checkmark.less | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/customize.dist/src/less2/include/alertify.less b/customize.dist/src/less2/include/alertify.less index 0b5e7dfb9..e41177d81 100644 --- a/customize.dist/src/less2/include/alertify.less +++ b/customize.dist/src/less2/include/alertify.less @@ -198,6 +198,12 @@ text-decoration: none; } } + .cp-usergrid-user, textarea { + outline: none; + &:focus { + outline: @cryptpad_color_brand solid 2px; + } + } } .cp-alertify-type-container { overflow: visible !important; @@ -237,6 +243,10 @@ } } } + outline: none; + &:focus { + outline: @cryptpad_color_brand solid 2px; + } } span.alertify-tabs-active { background-color: @cp_alertify-fg !important; diff --git a/customize.dist/src/less2/include/checkmark.less b/customize.dist/src/less2/include/checkmark.less index 723f4297a..18e2c4ac9 100644 --- a/customize.dist/src/less2/include/checkmark.less +++ b/customize.dist/src/less2/include/checkmark.less @@ -128,9 +128,9 @@ position: absolute; box-sizing: border-box; } + outline: none; &:focus { - box-shadow: 0px 0px 5px @cp_checkmark-back1; - outline: none; + outline: @cryptpad_color_brand solid 2px; } } @@ -216,9 +216,9 @@ height: @checkmark-dim1; height: var(--checkmark-dim1); } + outline: none; &:focus { - box-shadow: 0px 0px 5px @cp_checkmark-back1; - outline: none; + outline: @cryptpad_color_brand solid 2px; } }