1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-04-14 01:11:51 +02:00

Minor changes to form module

This commit is contained in:
Angelos Chalaris 2016-10-26 17:34:41 +03:00
parent 6365aa0a0f
commit 6f3e909935
4 changed files with 7 additions and 5 deletions

View File

@ -208,4 +208,5 @@
- Added `textarea` and `select` to the `form` `input` styling.
- Added rule for `:not([type="hidden"])`.
- Added `form` element styling (hardcoded still).
- Added demo forms for inline and aligned.
- Added demo forms for inline and aligned.
- Modified `input` `background-color` from `#f5f5f5` to `#fafafa`. Changed `background-color` to `background`.

View File

@ -616,7 +616,7 @@ form {
input:not([type="button"]):not([type="reset"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="file"]):not([type="image"]):not([type="hidden"]),
textarea, select {
box-sizing: border-box;
background-color: #f5f5f5;
background: #fafafa;
color: #212121;
border: 1px solid #e0e0e0;
border-radius: 2px;

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ form {
input:not([type="button"]):not([type="reset"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="file"]):not([type="image"]):not([type="hidden"]),
textarea, select {
box-sizing: border-box;
background-color: #f5f5f5;
background: #fafafa;
color: #212121;
border: 1px solid #e0e0e0;
border-radius: 2px;
@ -30,4 +30,5 @@ textarea, select {
// TODO: Add styling for forms
// TODO: Find a way to make inline and vertical and aligned forms etc. (can also not be a style, but rather built in html)
// TODO: Softcode everything.
// TODO: Maybe style `select` and `number` somehow.
// TODO: Maybe style `select` and `number` somehow.
// TODO: Add styles for focusing, disabled and readonlies.