1 | $input-color: $color-dark-slate-gray;
|
2 | $input-border-color: $color-light-gray;
|
3 | $input-shadow: none;
|
4 |
|
5 | $input-focus-box-shadow-color: none;
|
6 | $input-focus-border-color: $color-gray;
|
7 | $input-hover-border-color: $color-gray;
|
8 | $input-active-border-color: $color-gray;
|
9 |
|
10 | $input-disabled-border-color: $color-gray;
|
11 |
|
12 | @import "bulma/sass/form/_all.sass";
|
13 |
|
14 |
|
15 | @mixin form_control {
|
16 | font-family: $family-source-sans-pro;
|
17 | font-weight: 600;
|
18 |
|
19 | line-height: 1.3;
|
20 |
|
21 | border-width: 0.125rem;
|
22 | }
|
23 |
|
24 |
|
25 | .input {
|
26 | @include form_control;
|
27 | box-sizing: border-box;
|
28 | height: 2.5em;
|
29 | padding-left: $space-small;
|
30 |
|
31 | &.is-medium {
|
32 | font-size: 1.43rem;
|
33 | height: 3.875rem;
|
34 | padding-left: $space-normal;
|
35 | }
|
36 |
|
37 | &.is-large {
|
38 | font-size: 1.75rem;
|
39 | height: 5.063rem;
|
40 | padding-left: $space-big;
|
41 | }
|
42 | }
|
43 |
|
44 |
|
45 | .textarea {
|
46 | @include form_control;
|
47 | box-sizing: border-box;
|
48 | min-height: 6.875em;
|
49 | resize: both;
|
50 | }
|
51 |
|
52 |
|
53 | .select {
|
54 | select {
|
55 | @include form_control;
|
56 |
|
57 | option {
|
58 | font-weight: 400;
|
59 | }
|
60 | }
|
61 |
|
62 | &:not(.is-multiple):not(.is-loading)::after {
|
63 | background: linear-gradient(45deg, $color-black 50%, transparent 50%);
|
64 |
|
65 | border: none;
|
66 | border-radius: 0;
|
67 | }
|
68 | }
|