-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.css
69 lines (61 loc) · 1.45 KB
/
common.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
/*-- orange gradient buttons --*/
.button
{
display: inline-block;
position: relative;
min-width: 100px;
height: 30px;
border-radius: 30px;
color: #544243;
overflow: hidden;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 -1px 1px 0 rgba(0, 0, 0, 0.1), 1px 2px 4px 0 rgba(0, 0, 0, 0.07), -1px 2px 4px 0 rgba(0, 0, 0, 0.07);
margin: 0 4px 0 4px;
cursor: pointer;
font-size: 16px;
line-height: 30px;
text-align: center;
user-select: none;
padding: 0 12px 0 12px;
box-sizing: border-box;
}
.button .gradientback
{
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
transition: opacity .2s;
}
.button .gradientback.not-selected
{
background: linear-gradient(to bottom, rgba(254,196,131,1) 0%, rgba(254,153,53,1) 100%);
z-index: -10;
}
.button:hover .gradientback.not-selected
{
opacity: 0;
}
.button:active .not-selected,.button:active .selected
{
opacity: 0;
}
.button .gradientback.selected
{
background: linear-gradient(to bottom, rgb(255, 228, 197) 0%, rgb(255, 194, 134) 100%);
z-index: -11;
}
.button .gradientback.complete
{
background: linear-gradient(to bottom, rgb(149,231,105) 0%, rgb(95,202,56) 100%);
z-index: -13;
}
.button .gradientback.focus
{
background: linear-gradient(to bottom, #a56524 0%, #a57c4f 100%);
z-index: -12;
}
.button.complete .not-selected,.button.complete .selected,.button.complete .focus
{
opacity: 0;
}