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

37 Commits

Author SHA1 Message Date
markcytian
27817d63ba fix(radio): fix radio before element center 2021-05-15 20:52:11 +08:00
markcytian
c4aec38674 feat(form): add "is-disabled" class with form 2021-05-11 13:21:48 +08:00
HiKaylum
6b6f68ee8c fix(select): fixed select state styling
select when `is-dark` can now have `is-error`, `is-success` and `is-warning`

#384
2019-12-27 15:46:26 +00:00
Igor Guastalla de Lima
20354d5d92 style: fix stylelint errors 2019-10-15 06:49:45 -03:00
thisisabhinay
6ae1049fd8 fix: string interpolation to calculate width of inputs
Uses css calc() to calculate the width of form input classes (nes-input, nes-textarea, nes-select) and uses SCSS's string interpolation to place and perform calculation on variable's ($border-size) value
2019-10-10 08:45:31 +05:30
BcRikko
c40598341e refactor: add visually-hidden util 2019-07-14 13:22:02 +09:00
kyu-suke
3c2e25a320 fix: accessibility
* delete `visibility: hidden;`
* set 1px height and width to radio and checkbox
* set background color
2019-06-30 22:47:30 +09:00
kyu-suke
1f3368512c fix: radio and checkbox style in ios
* add visibility
2019-06-28 01:15:09 +09:00
Igor Guastalla de Lima
e285d14851 feat(select): add select is-dark class type like input component 2019-05-18 11:43:09 -03:00
lucasjs
cb93b879ea fix: remove input shadow on ios 2019-03-30 21:01:19 -03:00
Igor Guastalla de Lima
53610cb83b feat(radio): add is-dark to radio, changed inputs story 2019-02-25 21:08:06 -03:00
Ilyeo
9c4afae3d4 feat(checkbox): add dark mode to checkbox
We need to add styles when the checkbox is on dark mode, currently, the
checkbox is not visible at all if the container is dark.
2019-02-06 01:52:05 -06:00
BcRikko
20d348e95b fix: fix border bugs on chrome
border is broken when zooming in/out on chrome

fix #244
2019-02-06 00:08:11 +09:00
BcRikko
913766ad89 fix: fix pixelize for form elements
fix #262
2019-02-01 11:00:08 +09:00
Igor Guastalla de Lima
596505fb1e chore(form): moved radios and checkboxes to form folder
#219
2019-01-30 19:57:24 -02:00
Juan Pablo
b58e8b01c9 adding is-dark modifier to input 2019-01-16 17:49:41 -03:00
Igor Guastalla de Lima
78e522e4dd fix(container): removed padding-top inside with-title class 2019-01-02 20:17:34 -02: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
d0p1
361b2c28f0 fix: add missing nes-prefix 2018-12-26 11:12:06 +01:00
Wojciech Olejnik
b8686b6af5 refactor(select): add @BcRikko's suggestions for the select component
Change select.scss to selects.scss, add margin to .nes-select, use different color variables,
refactor handling of different select states
2018-12-22 20:31:29 +01:00
Wojciech Olejnik
607828fd93 fix(select): change outline-color to match state of the component 2018-12-20 22:38:58 +01:00
Wojciech Olejnik
9813073630 refactor(select): Refactor #pixelize usage, fix link in index.html
Use remove width, height and transform properties and use font-size to adjust #pixelize output.

#152
2018-12-20 21:52:06 +01:00
Wojciech Olejnik
13d4d7ec9b feat(component): implement select states, add examples to the demo page
re #152
2018-12-20 20:41:24 +01:00
Wojciech Olejnik
6713344379 feat(component): add a select component 2018-12-20 19:36:05 +01:00
ダーシノ
73b3616472 (breaking changes)Add prefix to class name (#82)
* feat: add prefix

BREAKING CHANGE: add nes- to class prefix

* feat: fix storybook
2018-12-10 10:55:41 +02:00
Igor Guastalla de Lima
2297d78c37 feat(textarea): add textarea class to inputs 2018-12-09 13:03:55 -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
Wako
94e3f76d55 Merge branch 'develop' into patch-1 2018-12-08 21:16:11 -06:00
Wako
b3da154fa4 Update inputs.scss
Using width instead of max-width don't make the input wider than it's container in mobile.
2018-12-08 12:23:18 -06:00
BcRikko
28d8839c61 fix(inputs.scss): fix field responsive 2018-12-08 23:07:40 +09:00
jkd65
8046ee6b78 updated input success color for both css and sass 2018-12-02 09:45:40 -06:00
James Ives
bfe3400460 Preventings overflowing inputs 2018-11-29 11:14:56 -05:00
BcRikko
b735f29340 👍 inputのooutlineの色をスタイルに合わせて調整 2018-11-28 18:33:43 +09:00
BcRikko
0572e82127 🎉 inputsを追加 2018-11-27 08:39:29 +09:00
BcRikko
db0ac66528 🚿 再開発 2018-11-18 09:54:03 +09:00
BcRikko
bf06208d1e 👍 actionグループを追加 2018-09-29 17:12:18 +09:00
BcRikko
f399767f52 👍 inputフィールドを追加 2018-09-29 16:51:11 +09:00