Compare commits

...

3 commits

Author SHA1 Message Date
daria
09067da341 change focus style on Ctrl+E modals #1561 2024-07-12 12:45:41 +03:00
daria
f72ed440e6 fix focus issues on Ctrl+E modal #1558 2024-07-11 16:48:26 +03:00
daria
9098823fd7 change focus style on elements from Ctrl+E modal #1506 2024-07-11 16:11:51 +03:00
3 changed files with 5 additions and 1 deletions

View file

@ -953,6 +953,9 @@
li, li .fa, li .cptools { li, li .fa, li .cptools {
cursor: pointer; cursor: pointer;
border-radius: @variables_radius; border-radius: @variables_radius;
&:focus {
outline: @cryptpad_color_brand solid 2px;
}
} }
&> p { &> p {
display: flex; display: flex;

View file

@ -33,8 +33,8 @@
color: @cp_drive-fg; color: @cp_drive-fg;
} }
&.cp-icons-element-selected { &.cp-icons-element-selected {
background: @cp_drive-icon-hover;
color: @cp_drive-fg; color: @cp_drive-fg;
outline: @cryptpad_color_brand solid 2px;
} }
.fa, .cptools { .fa, .cptools {
display: block; display: block;

View file

@ -670,6 +670,7 @@ define([
$modal: $blockContainer, $modal: $blockContainer,
show: function () { show: function () {
$blockContainer.css('display', 'flex'); $blockContainer.css('display', 'flex');
addTabListener($blockContainer);
}, },
hide: hide hide: hide
}; };