forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton-fab.scss
More file actions
58 lines (41 loc) · 834 Bytes
/
button-fab.scss
File metadata and controls
58 lines (41 loc) · 834 Bytes
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
@import "../../themes/ionic.globals";
// Floating Action Buttons
// --------------------------------------------------
/// @prop - Width and height of the FAB button
$button-fab-size: 56px !default;
.button-fab {
position: absolute;
overflow: hidden;
line-height: $button-fab-size;
vertical-align: middle;
background-clip: padding-box;
}
.button-fab.button {
width: $button-fab-size;
min-width: 0;
height: $button-fab-size;
font-size: 14px;
}
.button-fab ion-icon {
flex: 1;
font-size: 2.8rem;
}
.button-fab[fab-center] {
left: 50%;
margin-left: -$button-fab-size / 2;
}
.button-fab[fab-top] {
top: 16px;
}
.button-fab[fab-right] {
right: 16px;
}
.button-fab[fab-bottom] {
bottom: 16px;
}
.button-fab[fab-left] {
left: 16px;
}
.button-fab[fab-fixed] {
position: fixed;
}