1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-25 23:16:43 +02:00

17 Commits

Author SHA1 Message Date
BcRikko
bd118e236c refactor(storybook/webpack.config.js): add custom functions 2019-06-04 09:12:58 +09:00
Trezy
8fe6d40e19 refactor: convert local images to data URIs
I’ve added a SCSS function that, when passed a file path, will inject the file as a data URI. This
is super helpful since it ensures that the cursor images will always be available for the CSS. This
issue currently prevents the npm version of the library from being usable at all.
2019-05-22 16:18:02 -05:00
Daniel Vivar
38b31e378a Merge branch 'develop' into fix-cursor-hand 2019-02-18 13:51:22 +00:00
Daniel Vivar
d77d87b2ef feat: make all variables default 2019-02-15 16:20:17 +00:00
Daniel Vivar
d6e9f51c21 fix: cursor pointer coordinates 2019-02-15 15:20:23 +00:00
BcRikko
818ff5844e Merge branch 'develop' into feat/use-data-uris-for-cursors 2019-02-06 13:23:05 +09:00
BcRikko
913766ad89 fix: fix pixelize for form elements
fix #262
2019-02-01 11:00:08 +09:00
Trezy
1b0db4ab1d refactor(cursors): Use data-uris for cursors
I've switched us from using `file-loader` to `url-loader`. This will automatically convert local URL
imports to data URIs, which means the framework no longer needs to load them from a remote URL.

#207
2019-01-30 13:31:30 -06:00
Trezy
44a1fb2fea Move from box-shadow to border-image for pixelated borders (#234)
* refactor: Convert pixelated borders from box-shadows to border-images

Our previous usage of `box-shadows` and pseudo elements proved to be pretty buggy. Converting to
`border-image`s seems to have fixed a lot of the issues that `box-shadows` caused, such as
`background-color`s appering over top of our borders.

BREAKING CHANGE: This change both eliminates pseudo elements from several components, and adds
pseudo elements to components that did not have them before. This could cause compatibility issues
for users that relied on the existence of those pseudo elements for various styling techniques.

* style(buttons): Remove superfluous commented code
2018-12-29 21:24:06 +02:00
Abdallah Samman
b0f833efda style: change cursor urls to absolute url 2018-12-11 23:10:10 +02:00
ダーシノ
b29f88ae3f refactor: color variables (#132)
* refactor(buttons.scss): add color variables

* refactor(inputs.scss): replace to color variables

* refactor(checkboxes.scss): replace to color variables

* refactor(containers.scss): replace to color variables

* refactor(radios.scss): replace to color variables
2018-12-09 15:19:57 +02:00
Otávio Pace
f570d2cedb feat: add pixel art cursor
Add two png files for the cursor, one to
represent the default cursor and the other
one to be a pointer cursor.

Add the default one for the html tag. And
a `inherited` property for label tag.

The pointer one is being added on the button,
radio, checkbox and a tags.
2018-12-07 08:36:28 -02:00
Malcolm
47cf2b860b feat(breaking): remove google font import 2018-12-05 12:02:28 +01:00
BcRikko
907211aa6c add color define(black, white) 2018-12-02 12:18:13 +09:00
BcRikko
434abd0bad 👍 reboot.cssを導入 2018-11-25 18:11:18 +09:00
BcRikko
db0ac66528 🚿 再開発 2018-11-18 09:54:03 +09:00
BcRikko
847c55f0b5 👍 ベースCSSを追加 2018-09-24 20:29:00 +09:00