aboutsummaryrefslogtreecommitdiffstats
path: root/public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css
blob: 16268d371472f43964af62fc2ef9aebffe7ac3dd (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
.btn {
  cursor: pointer;
}

.btn--delete {
  background: hsl(0, 44%, 44%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 0 2px hsl(0, 44%, 29%), 1px 2px 1px 2px hsl(0, 44%, 29%);
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  transition: transform 0.3s ease-in-out 0s;
}

.btn--delete:hover,
.btn--delete:focus {
  background: hsl(0, 44%, 50%);
  transform: scale(1.1);
}

.btn--delete:active {
  background: hsl(0, 44%, 40%);
  transform: scale(1);
}

.btn .icon {
  height: 100%;
  width: 100%;
}

.btn--delete #trash-lid-handle {
  stroke: #fff;
  stroke-width: 4;
}

.btn--delete #trash-container,
.btn--delete #trash-lid {
  fill: hsl(0, 44%, 49%);
  stroke: #fff;
  stroke-width: 5;
}

.btn--delete #trash-stroke1,
.btn--delete #trash-stroke2,
.btn--delete #trash-stroke3 {
  fill: #fff;
  stroke: #fff;
  stroke-width: 1;
}

.btn--restore {
  background: hsl(212, 44%, 44%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 0 2px hsl(212, 44%, 29%), 1px 2px 1px 2px hsl(212, 44%, 29%);
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  transition: transform 0.3s ease-in-out 0s;
}

.btn--restore:hover {
  background: hsl(212, 44%, 50%);
  transform: scale(1.1);
}

.btn--restore:active {
  background: hsl(212, 44%, 40%);
  transform: scale(1);
}

.btn--restore #restore-circle,
.btn--restore #restore-arrow,
.btn--restore #restore-first-clock-hand,
.btn--restore #restore-second-clock-hand {
  fill: #fff;
}