add border to control button

pull/590/head
Cory LaViska 2021-11-16 09:30:23 -05:00
rodzic a14642b62a
commit d6e4d2f24b
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -91,6 +91,7 @@ You can change the appearance and location of the control box by targeting the `
bottom: 1rem;
left: 1rem;
background-color: deeppink;
border: none;
color: white;
}
</style>

Wyświetl plik

@ -5,7 +5,7 @@ export default css`
${componentStyles}
:host {
--control-box-size: 2.5rem;
--control-box-size: 3rem;
--icon-size: calc(var(--control-box-size) * 0.625);
display: inline-flex;
position: relative;
@ -33,7 +33,7 @@ export default css`
height: var(--control-box-size);
font-size: var(--icon-size);
background: none;
border: none;
border: solid 2px currentColor;
background-color: rgb(var(--sl-color-neutral-1000) / 50%);
border-radius: var(--sl-border-radius-circle);
color: rgb(var(--sl-color-neutral-0));