aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_button.scss
blob: 62c7c47d84d7d9600db5164a0690e6546d19c4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Form elements (button)
button,
input,
select,
textarea {
  margin: 0;
  padding: .2rem var(--s1);
  max-width: 100%;
  background: var(--c2);
  border: 0;
  border-radius: .25rem;
  font: inherit;
  line-height: var(--fs);
  color: var(--f1);
}
button,
[type="button" i],
[type="submit" i],
[type="reset" i] {
  //-webkit-appearance: button;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  //background: var(--c2);
  color: var(--f1);
  border: 0;
  cursor: pointer;
  transition: opacity .25s;
}
button:hover,
[type="button" i]:hover,
[type="submit" i]:hover,
[type="reset" i]:hover {
  opacity: .75;
}
button[disabled],
[type="button" i][disabled],
[type="submit" i][disabled],
[type="reset" i][disabled] {
  opacity: .5;
}