mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-30 09:20:02 +02:00
style(badges): lint fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { storiesOf } from '@storybook/html'; // eslint-disable-line import/no-extraneous-dependencies
|
import { storiesOf } from '@storybook/html'; // eslint-disable-line import/no-extraneous-dependencies
|
||||||
import { // eslint-disable-line import/no-extraneous-dependencies
|
import { // eslint-disable-line import/no-extraneous-dependencies
|
||||||
withKnobs, radios, boolean, number
|
withKnobs, radios, boolean, number,
|
||||||
} from '@storybook/addon-knobs';
|
} from '@storybook/addon-knobs';
|
||||||
|
|
||||||
const stories = storiesOf('Badges', module);
|
const stories = storiesOf('Badges', module);
|
||||||
|
@@ -35,25 +35,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin setup($px) {
|
|
||||||
}
|
|
||||||
|
|
||||||
// Default style
|
// Default style
|
||||||
.nes-badge {
|
.nes-badge {
|
||||||
$em: 0.75em;
|
$em: 0.75em;
|
||||||
width: $em * 14;
|
|
||||||
height: $em;
|
|
||||||
font-size: $em * 1.2;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
width: $em * 14;
|
||||||
|
height: $em;
|
||||||
padding: 0.75em;
|
padding: 0.75em;
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
|
font-size: $em * 1.2;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: $cursor-click-url, pointer;
|
cursor: $cursor-click-url, pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@include setup(7px);
|
|
||||||
|
|
||||||
// Other styles
|
// Other styles
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
|
Reference in New Issue
Block a user