-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.less
More file actions
76 lines (75 loc) · 1.58 KB
/
index.less
File metadata and controls
76 lines (75 loc) · 1.58 KB
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
.floatButtonContainer {
position: fixed;
right: 50px;
bottom: 100px;
z-index: 1000;
box-sizing: border-box;
:global {
.float-button {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 48px;
height: 48px;
margin-bottom: 12px;
overflow: hidden;
background-color: #fff;
border-radius: 50%;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
cursor: pointer;
transition: all 0.3s;
&:hover {
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}
&.group-square {
width: 40px;
height: 40px;
margin: 0;
background: none;
border-radius: 0;
box-shadow: none;
&:last-child {
border: none;
}
&:hover {
background-color: rgba(0, 0, 0, 0.05) !important;
box-shadow: 'none';
}
}
&.float-button-primary {
&:hover {
filter: brightness(1.05);
}
}
&.float-button-default {
&:hover {
filter: brightness(0.95);
}
}
.float-button-icon {
display: flex;
align-items: center;
justify-content: center;
width: 50%;
height: 50%;
font-size: 18px;
}
.float-button-link {
color: inherit;
}
}
}
}
.floatButtonGroup {
position: fixed;
right: 50px;
bottom: 100px;
z-index: 1000;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
width: 50px;
border-radius: 8px;
}