Skip to content

Commit 4d0774f

Browse files
committed
[PRAC/cont] Add highlights to el in "focus" states
Organiz highlights at "focus" for "all" row-contacts, contacts-item. Worth noting: - thus improving the UX. core: B-3 / JS-BL
1 parent 1d0be82 commit 4d0774f

File tree

1 file changed

+14
-0
lines changed
  • core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/css

1 file changed

+14
-0
lines changed

core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/css/crm-output.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@
172172
height: 65px;
173173
}
174174

175+
.crm__output-table-body-row:focus-visible {
176+
outline: solid rgba(152, 115, 255, 0.5);
177+
}
178+
175179
.crm__output-table-body-row .crm__output-table-body-cell_id {
176180
padding-left: 15px;
177181
color: var(--text-gray);
@@ -212,6 +216,16 @@
212216
transition-timing-function: ease;
213217
}
214218

219+
.crm__output-table-body-cell_contacts-item:focus-within {
220+
border: none;
221+
border-bottom: 1px solid var(--light-purple);
222+
outline: none;
223+
}
224+
225+
.crm__output-table-body-cell_contacts-item:focus-within .crm__output-table-body-cell_contacts-item-i {
226+
color: var(--dark-purple);
227+
}
228+
215229
.table-row-contacts-icon {
216230
position: absolute;
217231
top: 0;

0 commit comments

Comments
 (0)