summaryrefslogtreecommitdiff
path: root/docs/index.css
blob: 9fb3c5d45ad7d29b58cca808e0da1543425deecf (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#hidden-text-input {
  position: absolute;
  left:0;
  top:0;
  background: none;
  border: none;
  opacity: 0;
  pointer-events: none;
}

.dynmet-calc {
  font-size: 18px;
  line-height: 26px;
  user-select: text;
}
  .dynmet-calc input {
    border: none;
    box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.3);
    background: transparent;
    font: inherit;
    color: inherit;
    outline: none;
    margin: 0 0.2em;
    width: 40px;
    text-align: center;
    line-height: inherit;
    color: #eee;
    user-select: text;
  }
  .dynmet-calc input:focus {
    color: #fff;
    box-shadow: inset 0 -2px 0 0 rgb(43, 139, 247);
  }
  .dynmet-calc input[type=number]::-webkit-inner-spin-button, 
  .dynmet-calc input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0;
  }

  .dynmet-calc .arrow {
    margin: 0 0.8em;
    color: #eee;
  }

  .dynmet-calc #dynmet-tracking {
    box-shadow: none;
    width: 57px;
    margin-right: 0.1em;
    color: #eee;
  }
  .dynmet-calc #dynmet-tracking.percent {
    width: 34px;
  }

  .dynmet-calc #dynmet-unit:hover {
    color: rgb(43, 139, 247);
  }
  .dynmet-calc #dynmet-unit:active {
    color: white;
  }