This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
forked from alexvandesande/stake-voice
-
Notifications
You must be signed in to change notification settings - Fork 184
/
Copy pathstyle.css
164 lines (142 loc) · 2.81 KB
/
style.css
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
body {
background: #dedfde;
font-family: 'Source Serif Pro', serif;
background-size: 100%;
}
.content {
background: #fefefe;
text-align: center;
max-width: 600px;
margin: 90px auto;
padding: 32px;
border-radius: 1px;
box-shadow: rgba(0,0,0,0.2) 0 2px 8px;
}
button {
font-size: 150%;
font-family: 'Source Serif Pro', serif;
border: none;
color: #FFF;
padding: 10px 40px;
border-radius: 2px;
width: 290px;
margin-top: 10px;
border-bottom: solid #555 3px;
box-shadow: #ddd 0 2px 2px;
outline: none;
}
button:active,
button.pressed {
border-bottom: none;
box-shadow: inset rgba(0,0,0,0.5) 0 2px 2px;
position: relative;
top: 3px;
}
#results #support ,
button#vote-support {
background: green;
border-bottom-color: darkgreen;
}
#results #opposition,
button#vote-against {
background: red;
border-bottom-color: darkred;
}
button#see-results {
background: #666;
width: 584px;
transition: opacity 1s ease-in-out;
}
button.pressed {
}
h2 {
opacity: 0.5;
}
.write {
position: relative;
background: #eee;
padding: 20px 10px;
border-radius: 2px;
margin: 0 -32px -32px;
}
#new-proposal {
font-family: 'Source Serif Pro', serif;
font-size: 150%;
width: 600px;
padding: 5px 10px;
border-radius: 3px;
border: solid 2px #ddd;
}
#new-proposal-link {
position: absolute;
top: 24px;
right: 24px;
background: #333;
color: #FFF;
padding: 8px 15px;
text-decoration: none;
font-weight: 600;
border-radius: 2px;
display: none;
}
#status {
position: fixed;
bottom: 32px;
left: 0;
right: 0;
font-size: 150%;
opacity: 0.5;
text-align: center;
}
#results {
opacity: 0;
transition: opacity 1s ease-in-out;
}
#results h3 {
display: inline-block;
width: 50%;
padding: 20px 0;
color: #FFF;
width: 1%;
max-width: 99.5% !important;
min-width: 0.5% !important;
overflow: hidden;
text-overflow: clip;
white-space: nowrap;
transition: width 1s ease-in-out, min-width 1s ease-in-out, max-width 1s ease-in-out;
text-indent: 8px;
}
#results:hover h3 {
max-width: 80% !important;
}
#results:hover h3:hover {
min-width: 20% !important;
max-width: 99.5% !important;
}
#message {
display: none;
padding: 30px;
font-size: 150%;
font-style: italic;
}
#add-account {
display: none;
background: #333;
color: #FFF;
position: fixed;
top: 90px;
right: 32px;
padding: 20px 30px;
box-shadow: rgba(0,0,0,0.2) 0 2px 8px;
}
#add-account:before {
display: block;
background: #333;
transform: rotate(45deg);
top: -9px;
width: 20px;
height: 20px;
content: " ";
position: absolute;
left: 250px;
}