Skip to content

Commit

Permalink
Popup - Actualize focus state (#25503)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderPolosatov authored Sep 8, 2023
1 parent ad0126e commit 1dba654
Show file tree
Hide file tree
Showing 161 changed files with 19 additions and 9 deletions.
6 changes: 6 additions & 0 deletions packages/devextreme/scss/widgets/fluent/popup/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ $fluent-popup-toolbar-label-font-size: $fluent-m-font-size;
& > .dx-popup-fullscreen {
border-radius: 0;
}

.dx-state-focused {
&.dx-overlay-content {
border: 1px solid $base-accent;
}
}
}

.dx-popup-title {
Expand Down
8 changes: 0 additions & 8 deletions packages/devextreme/scss/widgets/generic/overlay/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,3 @@
.dx-overlay-wrapper {
@include dx-base-typography();
}

.dx-popup-wrapper {
.dx-state-focused {
&.dx-overlay-content {
border: 1px solid $overlay-focus-border-color;
}
}
}
6 changes: 6 additions & 0 deletions packages/devextreme/scss/widgets/generic/popup/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ $generic-popup-toolbar-label-font-size: $generic-m-font-size;
& > .dx-popup-fullscreen {
border-radius: 0;
}

.dx-state-focused {
&.dx-overlay-content {
border: 1px solid $base-accent;
}
}
}

.dx-popup-title {
Expand Down
6 changes: 6 additions & 0 deletions packages/devextreme/scss/widgets/material/popup/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ $material-popup-toolbar-label-font-size: $material-m-font-size;
& > .dx-popup-fullscreen {
border-radius: 0;
}

.dx-state-focused {
&.dx-overlay-content {
box-shadow: 0 8px 40px 6px rgba(0,0,0,0.4);
}
}
}

.dx-popup-title {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('editor\'s popup inside filterBuilder is opening & closing right (T1182854)
await dataGrid.getFilterPanel().openFilterBuilderPopup(t)
).getFilterBuilder();

await t.expect(await takeScreenshot('dataGrid-filterPanel-popup.png')).ok();
await t.expect(await takeScreenshot('dataGrid-filterPanel-popup-focused.png')).ok();

await t.click(filterBuilder.getField().getValueText());
await t.expect(await takeScreenshot('dataGrid-filterPanel-popup.-with-editor-popup')).ok();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1dba654

Please sign in to comment.