Skip to content

Instantly share code, notes, and snippets.

View khusnetdinov's full-sized avatar
🏠
Working from home

Marat Khusnetdinov khusnetdinov

🏠
Working from home
View GitHub Profile
//************************************************************************//
// Generate a variable ($all-text-inputs) with a list of all html5
// input types that have a text-based input, excluding textarea.
// http://diveintohtml5.org/forms.html
//************************************************************************//
$inputs-list: 'input[type="email"]',
'input[type="number"]',
'input[type="password"]',
'input[type="search"]',
'input[type="tel"]',
//= require select2
@import 'global/settings';
$c-red-error-bg: #f3b1ac;
.select2-container {
@include user-select;
display: block;
margin: 5px 0 0;
@khusnetdinov
khusnetdinov / forms.css.scss
Created February 18, 2015 16:33
Forms overloads
@import "simple_ui/import/base";
.l-page {
input, textarea, select, button {
font: #{$font-size}/#{$line-height} $font-family;
outline: none;
}
label {
// Stuff