Skip to content

Commit 864b32e

Browse files
OlgaLarinaOlga Larina
and
Olga Larina
authored
Co-authored-by: Olga Larina <olga.larina.dev@gmail.com>
1 parent a097240 commit 864b32e

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

packages/survey-creator-core/src/components/tabs/logic-ui.scss

+8-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
width: 100%;
3535
}
3636
}
37-
.svc-logic-tab__content .svc-logic-operator {
37+
.svc-logic-paneldynamic .svc-logic-operator {
3838
appearance: none;
3939
padding: calcSize(1) calcSize(2);
4040
border-radius: calcSize(12.5);
@@ -51,6 +51,10 @@
5151
}
5252
}
5353

54+
.svc-logic-operator:focus {
55+
outline: 1px dotted $primary;
56+
}
57+
5458
.svc-logic-question--answered .svc-logic-operator {
5559
color: $foreground;
5660
}
@@ -94,11 +98,11 @@
9498
background-image: url("data:image/svg+xml,%3Csvg width='20' height='22' viewBox='0 0 20 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4H18H14V2C14 0.9 13.1 0 12 0H8C6.9 0 6 0.9 6 2V4H2H0V6H2V20C2 21.1 2.9 22 4 22H16C17.1 22 18 21.1 18 20V6H20V4ZM8 2H12V4H8V2ZM16 20H4V6H6H14H16V20ZM12 8H14V18H12V8ZM9 8H11V18H9V8ZM6 8H8V18H6V8Z' fill='%23E60A3E'/%3E%3C/svg%3E%0A");
9599
}
96100

97-
.svc-logic-tab__content .svc-logic-paneldynamic__button-remove-text {
101+
.svc-logic-paneldynamic .svc-logic-paneldynamic__button-remove-text {
98102
display: none;
99103
}
100104

101-
.svc-logic-tab__content .svc-logic-paneldynamic__button {
105+
.svc-logic-paneldynamic .svc-logic-paneldynamic__button {
102106
background: none;
103107
box-shadow: none;
104108
appearance: none;
@@ -198,6 +202,7 @@
198202
.sl-table__cell--detail-panel {
199203
.sd-page.sd-body__page {
200204
padding-left: 0;
205+
padding-top: 0;
201206
}
202207

203208
.sl-panel__footer {

packages/survey-creator-core/src/components/tabs/logic.scss

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
@import "../../variables.scss";
22
@import "../../colors.scss";
33

4-
.sl-table__row:hover .sl-detail-panel__icon:before {
4+
.sl-table__row:hover .sl-detail-panel__icon:before,
5+
.sl-table__cell--detail-button:focus .sl-detail-panel__icon:before
6+
{
57
content: "";
68
display: block;
79
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2223%22%20viewBox%3D%220%200%2010%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0)%22%3E%0A%3Cpath%20d%3D%22M0%204.7L1.4%206.1L3.7%203.8V9.4H5.7V3.8L8%206.1L9.4%204.7L4.7%200L0%204.7Z%22%20fill%3D%22%23909090%22%2F%3E%0A%3Cpath%20d%3D%22M5.7%2018.9999V13.3999H3.7V18.9999L1.4%2016.6999L0%2018.0999L4.7%2022.7999L9.4%2018.0999L8%2016.6999L5.7%2018.9999Z%22%20fill%3D%22%23909090%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0%22%3E%0A%3Crect%20width%3D%229.4%22%20height%3D%2222.8%22%20fill%3D%22white%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A");
@@ -14,7 +16,8 @@
1416
.sl-table__row #remove-row .sv-action-bar-item__icon use {
1517
display: none;
1618
}
17-
.sl-table__row:hover #remove-row {
19+
.sl-table__row:hover #remove-row,
20+
#remove-row:focus-within {
1821
.sv-action-bar-item {
1922
padding: calcSize(0.25);
2023
border: none;
@@ -42,9 +45,10 @@
4245
.sl-table__cell--detail-button {
4346
overflow: hidden;
4447
appearance: none;
48+
outline: none;
4549
border: none;
4650
background-color: transparent;
47-
padding: calсSize(0.25);
51+
padding: calcSize(0.25);
4852
}
4953

5054
.sl-table {

0 commit comments

Comments
 (0)