Support/remove btn circle
@@ -64,7 +64,7 @@ class BookmarkButton extends React.Component {
href="#"
title="Bookmark"
onClick={this.handleClick}
- className={`btn btn-circle btn-outline-warning btn-bookmark border-0 ${`btn-${this.props.size}`} ${this.state.isBookmarked && 'active'}`}
+ className={`btn rounded-circle btn-outline-warning btn-bookmark border-0 ${`btn-${this.props.size}`} ${this.state.isBookmarked && 'active'}`}
>
<i className="icon-star"></i>
</button>
@@ -43,7 +43,7 @@ class LikeButton extends React.Component {
<button
type="button"
- className={`btn btn-circle btn-outline-info btn-like border-0 ${this.state.isLiked ? 'active' : ''}`}
+ className={`btn rounded-circle btn-outline-info btn-like border-0 ${this.state.isLiked ? 'active' : ''}`}
<i className="icon-like"></i>
@@ -88,10 +88,8 @@ $easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
}
- .btn.btn-like,
.btn.btn-bookmark {
&.btn-lg {
- padding: 8px;
font-size: 1.5em;
@@ -1,36 +1,5 @@
-.btn.btn-circle {
- width: 30px;
- height: 30px;
- padding: 6px 0;
- font-size: 12px;
- line-height: 1.428571429;
- text-align: center;
- border-radius: 15px;
-}
-
-.btn-circle.btn-lg {
- width: 50px;
- height: 50px;
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 25px;
-.btn-circle.btn-xl {
- width: 70px;
- height: 70px;
- font-size: 24px;
- border-radius: 35px;
.btn.btn-like,
- font-size: 1.2em;
- line-height: 1em;
&.active,
&:hover {
// header buttons are always white for active