aboutsummaryrefslogtreecommitdiff
path: root/public/style.css
blob: 07e0c23228d2fcd8afab3ebf16d5fd971260aa6e (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
  transition-timing-function: ease-in-out;
}

h1 {
  font-size: 34px;
  font-weight: normal;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h4 {
  font-size: 10px;
  font-weight: 500;
}

p {
  font-size: 16px;
}

#buttons {
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-size: 0;
  line-height: 0;
}

#yes-btn, #no-btn {
  display: inline-block;
  margin: 8px 0;
  width: 50%;
  height: 56px;
  padding: 0 16px; /* 8 */
  /* 16 from side */
  font-size: 24px;
  color: #fff;
  border: 0;
  border-radius: 56px;
  outline: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
}

#yes-btn {
  background-color: #58c478;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#no-btn {
  background-color: #ea6462;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#pass-btn {
  display: inline-block;
  margin: 8px 0;
  height: 40px;
  padding: 0 16px; /* 8 */
  /* 16 from side */
  border-radius: 40px;
  font-size: 20px;
  color: #fff;
  background-color: #1d7ba3;
  border: 0;
  outline: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
}

.vote-bar, .vote-bar .red, .vote-bar .grn { height: 10px; border-radius: 10px; }
.vote-bar { position: relative; margin: 20px; background: #efefef; }
.vote-bar .red { position: absolute; right:0; background: #ea6462; }
.vote-bar .grn { position: absolute; left: 0; background: #58c478; }
.vote-bar.dom-red .red { z-index: 1; }
.vote-bar.dom-grn .grn { z-index: 1; }

.fab {
  height: 56px;
  width: 56px; /* 40 */
  padding: 16px; /* 8 */
  /* 16 from side */
  border-radius: 56px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05),
    0 3px 3px rgba(0,0,0,.16), 0 3px 3px rgba(0,0,0,.23);
}

/*
.matsh-d1 { box-shadow: 0 1px 1.5px rgba(0,0,0,.12), 0  1px 1px rgba(0,0,0,.24); }
.matsh-d2 { box-shadow: 0  3px  3px rgba(0,0,0,.16), 0  3px 3px rgba(0,0,0,.23); }
.matsh-d3 { box-shadow: 0 10px 10px rgba(0,0,0,.19), 0  6px 3px rgba(0,0,0,.23); }
.matsh-d4 { box-shadow: 0 14px 14px rgba(0,0,0,.25), 0 10px 5px rgba(0,0,0,.22); }
.matsh-d5 { box-shadow: 0 19px 19px rgba(0,0,0,.30), 0 15px 6px rgba(0,0,0,.22); }
*/