Skip to content

Commit

Permalink
TabPanel: support focused but not selected state in Generic
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Sep 4, 2024
1 parent 536fcb8 commit 10a2df2
Show file tree
Hide file tree
Showing 24 changed files with 496 additions and 491 deletions.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
border: $generic-tabs-border;
}

&.dx-state-focused {
.dx-multiview-wrapper.dx-state-focused {
border-color: $tabs-focused-border-color;
}
}
// &.dx-state-focused {
// .dx-multiview-wrapper.dx-state-focused {
// border-color: $tabs-focused-border-color;
// }
// }
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,39 @@
);
}

.dx-tabs .dx-tabs-scrollable {
@include dx-tabs-border-mixin(
none,
$generic-tabs-border-width solid,
none,
$generic-tabs-border-width solid,
);
// .dx-tabs .dx-tabs-scrollable {
// @include dx-tabs-border-mixin(
// none,
// $generic-tabs-border-width solid,
// none,
// $generic-tabs-border-width solid,
// );

&::after {
top: $generic-tabs-border-width;
bottom: 0;
}
}
// &::after {
// top: $generic-tabs-border-width;
// bottom: 0;
// }
// }

&.dx-state-focused {
&.dx-disabled-focused-tab {
.dx-tabs-wrapper {
border-block-start: $generic-tabs-border;
}
// &.dx-state-focused {
// &.dx-disabled-focused-tab {
// .dx-tabs-wrapper {
// border-block-start: $generic-tabs-border;
// }

.dx-tabs-nav-button {
border-block-start: $generic-tabs-border;
}
}
// .dx-tabs-nav-button {
// border-block-start: $generic-tabs-border;
// }
// }

.dx-tabs-wrapper {
border-block-start: $generic-tabs-border-focus;
}
// .dx-tabs-wrapper {
// border-block-start: $generic-tabs-border-focus;
// }

.dx-tabs-nav-button {
border-block-start: $generic-tabs-border-focus;
}
}
// .dx-tabs-nav-button {
// border-block-start: $generic-tabs-border-focus;
// }
// }

&:not(.dx-empty-collection) {
.dx-multiview-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,47 @@
border-inline-start: $generic-tabs-border;
border-inline-end: $generic-tabs-border;

@include dx-tabs-border-mixin(
$generic-tabs-border,
none,
$generic-tabs-border,
none,
);
// @include dx-tabs-border-mixin(
// $generic-tabs-border,
// none,
// $generic-tabs-border,
// none,
// );
}

.dx-tabs .dx-tabs-scrollable {
@include dx-tabs-border-mixin(
$generic-tabs-border-width solid,
none,
$generic-tabs-border-width solid,
none,
);
// .dx-tabs .dx-tabs-scrollable {
// @include dx-tabs-border-mixin(
// $generic-tabs-border-width solid,
// none,
// $generic-tabs-border-width solid,
// none,
// );

&::after {
left: 0;
right: $generic-tabs-border-width;
}
}
// &::after {
// left: 0;
// right: $generic-tabs-border-width;
// }
// }

&.dx-state-focused {
&.dx-disabled-focused-tab {
.dx-tabs-wrapper {
border-inline-end: $generic-tabs-border;
}
// &.dx-state-focused {
// &.dx-disabled-focused-tab {
// .dx-tabs-wrapper {
// border-inline-end: $generic-tabs-border;
// }

.dx-tabs-nav-button {
border-inline-end: $generic-tabs-border;
}
}
// .dx-tabs-nav-button {
// border-inline-end: $generic-tabs-border;
// }
// }

.dx-tabs-wrapper {
border-inline-end: $generic-tabs-border-focus;
}
// .dx-tabs-wrapper {
// border-inline-end: $generic-tabs-border-focus;
// }

.dx-tabs-nav-button {
border-inline-end: $generic-tabs-border-focus;
}
}
// .dx-tabs-nav-button {
// border-inline-end: $generic-tabs-border-focus;
// }
// }

&:not(.dx-empty-collection) {
.dx-multiview-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,47 @@
border-inline-start: $generic-tabs-border;
border-inline-end: $generic-tabs-border;

@include dx-tabs-border-mixin(
$generic-tabs-border,
none,
$generic-tabs-border,
none,
);
// @include dx-tabs-border-mixin(
// $generic-tabs-border,
// none,
// $generic-tabs-border,
// none,
// );
}

.dx-tabs .dx-tabs-scrollable {
@include dx-tabs-border-mixin(
$generic-tabs-border-width solid,
none,
$generic-tabs-border-width solid,
none,
);
// .dx-tabs .dx-tabs-scrollable {
// @include dx-tabs-border-mixin(
// $generic-tabs-border-width solid,
// none,
// $generic-tabs-border-width solid,
// none,
// );

&::after {
right: 0;
left: $generic-tabs-border-width;
}
}
// &::after {
// right: 0;
// left: $generic-tabs-border-width;
// }
// }

&.dx-state-focused {
&.dx-disabled-focused-tab {
.dx-tabs-wrapper {
border-inline-start: $generic-tabs-border;
}
// &.dx-state-focused {
// &.dx-disabled-focused-tab {
// .dx-tabs-wrapper {
// border-inline-start: $generic-tabs-border;
// }

.dx-tabs-nav-button {
border-inline-start: $generic-tabs-border;
}
}
// .dx-tabs-nav-button {
// border-inline-start: $generic-tabs-border;
// }
// }

.dx-tabs-wrapper {
border-inline-start: $generic-tabs-border-focus;
}
// .dx-tabs-wrapper {
// border-inline-start: $generic-tabs-border-focus;
// }

.dx-tabs-nav-button {
border-inline-start: $generic-tabs-border-focus;
}
}
// .dx-tabs-nav-button {
// border-inline-start: $generic-tabs-border-focus;
// }
// }

&:not(.dx-empty-collection) {
.dx-multiview-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,39 @@
);
}

.dx-tabs .dx-tabs-scrollable {
@include dx-tabs-border-mixin(
none,
$generic-tabs-border-width solid,
none,
$generic-tabs-border-width solid,
);
// .dx-tabs .dx-tabs-scrollable {
// @include dx-tabs-border-mixin(
// none,
// $generic-tabs-border-width solid,
// none,
// $generic-tabs-border-width solid,
// );

&::after {
top: 0;
bottom: $generic-tabs-border-width;
}
}
// &::after {
// top: 0;
// bottom: $generic-tabs-border-width;
// }
// }

&.dx-state-focused {
&.dx-disabled-focused-tab {
.dx-tabs-wrapper {
border-block-end: $generic-tabs-border;
}
// &.dx-state-focused {
// &.dx-disabled-focused-tab {
// .dx-tabs-wrapper {
// border-block-end: $generic-tabs-border;
// }

.dx-tabs-nav-button {
border-block-end: $generic-tabs-border;
}
}
// .dx-tabs-nav-button {
// border-block-end: $generic-tabs-border;
// }
// }

.dx-tabs-wrapper {
border-block-end: $generic-tabs-border-focus;
}
// .dx-tabs-wrapper {
// border-block-end: $generic-tabs-border-focus;
// }

.dx-tabs-nav-button {
border-block-end: $generic-tabs-border-focus;
}
}
// .dx-tabs-nav-button {
// border-block-end: $generic-tabs-border-focus;
// }
// }

&:not(.dx-empty-collection) {
.dx-multiview-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
.dx-tabpanel-tab {
padding: $generic-tabpanel-tabs-item-padding;

&.dx-state-focused::after {
border-color: $tabs-border-color;
}
// &.dx-state-focused::after {
// border-color: $tabs-border-color;
// }

&.dx-state-disabled {
&::after {
Expand Down
Loading

0 comments on commit 10a2df2

Please sign in to comment.