Skip to content

Commit

Permalink
feat(theme): adicionado melhoria no tema para diferentes acessibilidades
Browse files Browse the repository at this point in the history
Adicionado possibilidade de passar mais de uma opção de tema de acessibilidade como exemplo: ‘AA’ e ‘AAA’.

Fixes DTHFUI-9037
  • Loading branch information
bruno-severino committed Oct 7, 2024
1 parent a791f63 commit 46f7100
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/css/components/po-divider/po-divider.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ po-divider {
--font-family: var(--font-family-theme);
--font-size: 10px;
--line-height: 16px;
--text-transform: uppercase;
--text-transform: none;
}

.po-divider-label {
Expand Down
4 changes: 4 additions & 0 deletions src/css/components/po-field/po-input/po-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,7 @@ po-input.ng-invalid-mask .po-input {
border: solid 1px var(--color-feedback-negative-base) !important;
color: var(--color-feedback-negative-base);
}

po-password po-clean + po-icon {
margin-left: 8px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
line-height: 1rem;
}

.po-navbar-action-content:focus-visible {
outline-width: 1px;
outline-color: var(--color-action-focus);
outline-style: auto;
outline-offset: 0;
}

.po-navbar-action-content > :first-child:not(.po-fonts-icon):not(.po-icon) {
line-height: 2rem;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
cursor: default;
}

.po-navbar-item-link:focus-visible {
outline-width: 1px;
outline-color: var(--color-action-focus);
outline-style: auto;
outline-offset: 0;
}

.po-navbar-item-selected {
box-shadow: var(--shadow-navbar-item-box-shadow-selected);
color: var(--color-navbar-item-color-selected);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
vertical-align: middle;
}

.po-navbar-logo-image:focus-visible {
outline-width: 1px;
outline-color: var(--color-action-focus);
outline-style: auto;
outline-offset: 0;
}

@media screen and (max-width: 768px) {
.po-navbar-logo {
text-align: center;
Expand Down
8 changes: 6 additions & 2 deletions src/css/components/po-table/po-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@
}

.po-table-column-actions i {
color: var(--color);
display: block;
font-size: 1.5rem;
}
Expand Down Expand Up @@ -504,7 +503,6 @@
}

.po-table-column-detail-toggle i {
color: var(--color);
display: block;
font-size: 1.5rem;
}
Expand Down Expand Up @@ -676,3 +674,9 @@ span.po-table-header-icon-ascending svg {
.po-table-row-template-container {
max-width: 1rem;
}

.po-table-header-flex po-icon,
.po-table-column-actions i,
.po-table-column-detail-toggle i {
color: var(--color-action-default);
}
2 changes: 1 addition & 1 deletion src/css/themes/po-theme-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ po-search {

--background-select: var(--background);
--background-select-hover: var(--background-hover);
--background-select-disabled: var(background-disabled);
--background-select-disabled: var(--background-disabled);
}

/*------------------------------------*\
Expand Down

0 comments on commit 46f7100

Please sign in to comment.