_forms.scss 1.19 KB
Newer Older
Matthew Mongeau committed
1
form {
2
  font-size: 1em;
3
}
Matthew Mongeau committed
4

5 6 7 8 9 10 11
label {
  color: $base-font-color;
  font: italic 300 1rem/1.6rem $serif;
  margin-bottom: 5px;
  text-shadow: 0 1px rgba(255,255,255, 0.4);
  -webkit-font-smoothing: antialiased;
}
Matthew Mongeau committed
12

13 14 15
textarea,
input[type="text"],
input[type="email"],
16 17
input[type="password"],
input[type="tel"] {
18 19
  background: $form-bg-color;
  border: 1px solid $border-color-2;
20
  border-radius: 3px;
21
  box-shadow: 0 1px 0 0 rgba(255,255,255, 0.6), inset 0 0 3px 0 rgba(0,0,0, 0.1);
22 23 24 25 26 27
  @include box-sizing(border-box);
  font: italic 300 1rem/1.6rem $serif;
  height: 35px;
  padding: 5px 12px;
  vertical-align: top;
  -webkit-font-smoothing: antialiased;
Matthew Mongeau committed
28

29 30
  &:last-child {
    margin-right: 0px;
Matthew Mongeau committed
31 32
  }

33
  &:focus {
34
    border-color: darken($button-archive-color, 50%);
35
    box-shadow: 0 0 6px 0 darken($button-archive-color, 50%), inset 0 0 4px 0 rgba(0,0,0, 0.15);
36
    outline: none;
37
  }
38
}
39

40 41 42 43 44 45
textarea {
  height: 60px;
}

input[type="submit"],
input[type="button"],
46
button,
47
.button {
48
  border-radius: 3px;
49
  @include button(shiny, $button-color);
50 51 52 53 54 55
  font: normal 1.2rem/1.6rem $sans-serif;
  letter-spacing: 1px;
  padding: 4px 20px;
  text-transform: uppercase;
  vertical-align: top;
  -webkit-font-smoothing: antialiased;
Matthew Mongeau committed
56
}