-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
101 lines (98 loc) · 2.16 KB
/
index.scss
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
:root {
--hover--primary-color: #afeeee;
--right-primary-color: #228b22;
--wront-primary-color: #fa8072;
--disabled-primary-color: #a9a9a9;
--square-primary-color: #8dec8f;
}
* {
margin: 0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
padding: 0;
box-sizing: border-box;
}
.container {
position: relative;
display: flex;
flex-direction: column;
width: 50%;
justify-content: center;
margin: 10% auto;
& .content__container {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 1em;
height: 200px;
& .task__block {
display: flex;
font-size: 22px;
gap: 0 4px;
& input {
width: 50px;
border: none;
font-size: 22px;
color: black;
border-bottom: 1px solid black;
}
}
& .square__block {
display: flex;
flex-direction: column;
gap: 1em;
& .square__container__show {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 0 1em;
width: 30%;
animation: fadeIn 1s forwards;
opacity: 0;
transform: translate(0, 50px);
& .square {
width: 42px;
height: 42px;
background-color: var(--square-primary-color);
transition-duration: 0.1s;
&:hover {
transform: scale(1.3);
}
}
}
& .square__container {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 0 1em;
width: 30%;
transform: translate(0, 0);
& .square {
width: 42px;
height: 42px;
background-color: var(--square-primary-color);
transition-duration: 0.1s;
&:hover {
transform: scale(1.3);
}
}
}
}
}
& .button__container {
margin: 30% auto 0 auto;
}
& button {
background-color: var(--hover--primary-color);
padding: 0.5em 4em;
outline: none;
border: none;
color: #000;
font-weight: 600;
cursor: pointer;
border-radius: 5px;
}
}
@keyframes fadeIn {
to {
opacity: 1;
transform: translate(0, 0);
}
}