diff --git a/src/form/button.wc b/src/form/button.wc index 4690d06..36d10a1 100644 --- a/src/form/button.wc +++ b/src/form/button.wc @@ -11,6 +11,7 @@ display: inline-block; min-width: 64px; height: 32px; + border-radius: 4px; user-select: none; -moz-user-select: none; color: nth($cd, 2); @@ -26,7 +27,7 @@ padding: 0 5px; margin: auto; border: 1px solid nth($cp, 3); - border-radius: 4px; + border-radius: inherit; white-space: nowrap; background: #fff; font-size: inherit; @@ -41,6 +42,7 @@ &:active { border-color: nth($cgr, 1); } + &::-moz-focus-inner { border: none; } @@ -52,14 +54,14 @@ } } -:host([round]) button { +:host([round]) { border-radius: 21px; } :host([circle]) { min-width: 32px; + border-radius: 50%; button { padding: 0; - border-radius: 50%; } .icon { margin-right: 0; @@ -230,6 +232,13 @@ :host([color='grey'][disabled]) button { background: nth($cgr, 1); } + +:host(:focus-within) { + box-shadow: 0 0 3px nth($ct, 1); +} +:host(:focus-within[disabled]) { + box-shadow: 0 0 3px nth($co, 1); +}