mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Modified Floating button based on Material Design specs.
This commit is contained in:
parent
3c83cd9b80
commit
8f1c09f779
@ -33,7 +33,9 @@ class FloatingButton extends Component {
|
||||
let classes = 'btn-circle ' + this.props.className;
|
||||
return (
|
||||
<div className={classes} onClick={this.handleClick.bind(this)}>
|
||||
<div className={classes + " btn-shade"}>
|
||||
<i className="fw fw-add"></i>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@ -27,8 +27,20 @@
|
||||
box-shadow: rgba(0, 0, 0, 0.156863) 0px 3px 10px, rgba(0, 0, 0, 0.227451) 0px 3px 10px
|
||||
}
|
||||
|
||||
.btn-circle:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-shade:focus {
|
||||
background-color: rgba(0, 0, 0, .12);
|
||||
}
|
||||
|
||||
.btn-circle i {
|
||||
margin-top: 40%;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
font-size: 18px;
|
||||
padding: 3px;
|
||||
margin-top: 16px
|
||||
}
|
||||
|
||||
.small {
|
||||
@ -40,7 +52,3 @@
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.primary {
|
||||
background-color: blue;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user