Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
561 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | @use './vendor-prefixes';
|
---|
| 2 |
|
---|
| 3 | // Mixin overriding default button styles like the gray background, the border, and the outline.
|
---|
| 4 | @mixin reset {
|
---|
| 5 | @include vendor-prefixes.user-select(none);
|
---|
| 6 | cursor: pointer;
|
---|
| 7 | outline: none;
|
---|
| 8 | border: none;
|
---|
| 9 | -webkit-tap-highlight-color: transparent;
|
---|
| 10 |
|
---|
| 11 | // The `outline: none` from above works on all browsers, however Firefox also
|
---|
| 12 | // adds a special `focus-inner` which we have to disable explicitly. See:
|
---|
| 13 | // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Firefox
|
---|
| 14 | &::-moz-focus-inner {
|
---|
| 15 | border: 0;
|
---|
| 16 | }
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.