-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (115 loc) · 2.04 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
*{
margin: 0;
padding: 0;
}
body{
background:#5356FF;
}
.container{
/* border: 2px solid; */
position:absolute;
width: 80%;
left: 10%;
height: 100vh;
/* top: 10%; */
display: flex;
flex-direction: column;
/* justify-content: center; */
align-items: center;
padding:10px;
}
.container #input{
position: relative;
border: 2px solid;
width: 80%;
height: 5%;
margin:10px 0;
resize: none;
font-size: x-large;
text-align: center;
padding:5px;
outline: none;
border-radius: 10px;
overflow: hidden;
}
.container .findContainer{
position: relative;
width: 80%;
/* left: 10%; */
text-align: center;
}
.numContainer{
width: 50px;
height: 50px;
display: inline-block;
justify-content: center;
background-color: white;
margin-right: 10px;
margin-top: 5px;
border-radius: 50px;
border: none;
cursor: pointer;
}
.container #tree{
position: relative;
width: 80%;
margin-top: 1%;
/* left: 10%; */
height: 85%;
background-color: white;
border: 2px solid black;
overflow: auto;
border-radius: 10px;
}
.btn-container{
position: relative;
width: 80%;
display: flex;
justify-content: flex-start;
margin-top: 10px;
}
.btn-lock, .btn-clear{
position: relative;
width: 80px;
height: 30px;
border: none;
cursor: pointer;
border-radius: 10px;
background-color: #67C6E3;
margin-left: 5px;
font-weight: 400;
font-size: 18px;
}
.btn-clear:hover,.btn-lock:hover{
background-color:#50a8c2;
}
.btn-clear{
display: none;
}
/* =============Animation=================*/
.gold{
animation: goldfill 1s forwards;
}
.gray{
animation: brownfill 1s forwards;
}
.green{
animation: greenfill 1s forwards;
}
@keyframes goldfill{
100%{
fill: gold;
}
}
@keyframes brownfill{
100%{
fill:gray;
transform: scale(0.9);
}
}
@keyframes greenfill{
100%{
fill:green;
transform: scale(1.1);
}
}