mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
@ -34,20 +34,22 @@
|
|||||||
|
|
||||||
:host(.fab-vertical-top) {
|
:host(.fab-vertical-top) {
|
||||||
top: $fab-content-margin;
|
top: $fab-content-margin;
|
||||||
|
|
||||||
&.fab-edge {
|
|
||||||
top: -$fab-size / 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host(.fab-vertical-top.fab-edge) {
|
||||||
|
top: -$fab-size / 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
:host(.fab-vertical-bottom) {
|
:host(.fab-vertical-bottom) {
|
||||||
bottom: $fab-content-margin;
|
bottom: $fab-content-margin;
|
||||||
|
|
||||||
&.fab-edge {
|
|
||||||
bottom: -$fab-size / 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host(.fab-vertical-bottom.fab-edge) {
|
||||||
|
bottom: -$fab-size / 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
:host(.fab-vertical-center) {
|
:host(.fab-vertical-center) {
|
||||||
@include margin(-$fab-size / 2, null, null, null);
|
@include margin(-$fab-size / 2, null, null, null);
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ export class Fab {
|
|||||||
class: {
|
class: {
|
||||||
[`fab-horizontal-${this.horizontal}`]: !!this.horizontal,
|
[`fab-horizontal-${this.horizontal}`]: !!this.horizontal,
|
||||||
[`fab-vertical-${this.vertical}`]: !!this.vertical,
|
[`fab-vertical-${this.vertical}`]: !!this.vertical,
|
||||||
['fab-edge']: this.edge
|
'fab-edge': this.edge
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user