buttons, variables and submit

This commit is contained in:
Raphael Goetter 2017-07-31 20:34:26 +02:00
parent 2b3e047429
commit cb906dc5da
5 changed files with 36 additions and 32 deletions

View file

@ -32,6 +32,7 @@ $color3 : #333;
$color4 : #000;
$color5 : #6FA939;
$color6 : #ddd;
$color7 : #777;
$color-light : #fff;
$color-dark : #000;
$color-primary : #0275D8;
@ -52,6 +53,8 @@ $color-link-hover: $color4;
$brand-primary: $color5;
$color-border: $color7;
// button, badges, alerts color variants list
// name - background-color - color - border
$variants-list: (

View file

@ -30,6 +30,7 @@
.btn,
.button,
[type="button"],
[type="submit"]
button {
@extend %btn;

View file

@ -25,26 +25,26 @@ label {
cursor: pointer;
}
input[type="color"],
input[type="date"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
[type="color"],
[type="date"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"]
select,
textarea {
white-space: nowrap;
font-family: inherit;
font-size: inherit;
border: 0;
box-shadow: 0 0 0 1px $color-muted inset;
box-shadow: 0 0 0 1px $color-border inset;
color: $color-base;
vertical-align: middle;
padding: $tiny-value $small-value;