mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
various CSS outline fixes
This commit is contained in:
@@ -53,6 +53,10 @@ $listbox-header-icon-margin: 0 !default;
|
||||
.rz-listbox-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.rz-listbox-item {
|
||||
|
||||
@@ -35,17 +35,15 @@ $pager-button-size: "%button-md" !default;
|
||||
gap: var(--rz-pager-gap);
|
||||
flex-wrap: wrap;
|
||||
|
||||
&:focus {
|
||||
outline: var(--rz-outline-normal);
|
||||
}
|
||||
.rz-pager-element,
|
||||
.rz-pager-page {
|
||||
&:focus {
|
||||
outline: var(--rz-outline-normal);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
.rz-pager-element,
|
||||
.rz-pager-page {
|
||||
&.rz-state-focused {
|
||||
outline: var(--rz-outline-focus);
|
||||
outline-offset: var(--rz-outline-offset);
|
||||
}
|
||||
&:focus-visible {
|
||||
outline: var(--rz-outline-focus);
|
||||
outline-offset: var(--rz-outline-offset);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,6 +48,10 @@ ul.rz-profile-menu {
|
||||
}
|
||||
}
|
||||
|
||||
.rz-navigation-menu:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.rz-navigation-item-icon-children {
|
||||
color: var(--rz-profile-menu-toggle-button-color);
|
||||
|
||||
|
||||
@@ -9,15 +9,6 @@ $splitbutton-sizes: xs, sm, md, lg;
|
||||
display: inline-flex;
|
||||
border-radius: var(--rz-button-border-radius);
|
||||
|
||||
&:focus {
|
||||
outline: var(--rz-outline-normal);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline: var(--rz-button-focus-outline);
|
||||
outline-offset: var(--rz-button-focus-outline-offset);
|
||||
}
|
||||
|
||||
.rz-button-icon-only {
|
||||
.rz-button-text {
|
||||
display: none;
|
||||
@@ -50,6 +41,10 @@ $splitbutton-sizes: xs, sm, md, lg;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.rz-menuitem {
|
||||
|
||||
@@ -32,26 +32,6 @@ $tabs-transition: var(--rz-transition-all) !default;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
&:focus {
|
||||
outline: var(--rz-outline-normal);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline: var(--rz-outline-focus);
|
||||
outline-offset: var(--rz-outline-offset);
|
||||
|
||||
.rz-tabview-nav {
|
||||
.rz-state-focused {
|
||||
&:not(.rz-tabview-selected) {
|
||||
&:not(.rz-state-disabled) {
|
||||
outline: var(--rz-tabs-tab-focus-outline);
|
||||
outline-offset: var(--rz-tabs-tab-focus-outline-offset);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.rz-tabview-top {
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -83,6 +63,24 @@ $tabs-transition: var(--rz-transition-all) !default;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
&:focus {
|
||||
outline: var(--rz-outline-normal);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline: var(--rz-outline-focus);
|
||||
outline-offset: var(--rz-outline-offset);
|
||||
|
||||
.rz-state-focused {
|
||||
&:not(.rz-tabview-selected) {
|
||||
&:not(.rz-state-disabled) {
|
||||
outline: var(--rz-tabs-tab-focus-outline);
|
||||
outline-offset: var(--rz-tabs-tab-focus-outline-offset);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
border: var(--rz-tabs-border);
|
||||
background-color: var(--rz-tabs-tab-background-color);
|
||||
|
||||
Reference in New Issue
Block a user