Skip to content

Commit

Permalink
Rounder buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
derpylz committed May 15, 2022
1 parent 653cea7 commit 22aeba1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/babyplots.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/babyplots.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/utils/styleText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const styleText = [
".bbp.button-bar>.button.hidden { display: none; }",
".bbp.button-bar>.anim-slider { display: block; float: right; width: 150px; height: 30px }",
".bbp.button-bar>.anim-slider.hidden { display: none; }",
".bbp.button-bar>.button { float: right; width: 75px; height: 30px; cursor: pointer; border-radius: 2px; background-color: #f0f0f0; margin: 0 4px 0 0; transition: all 0.2s ease-in-out;}",
".bbp.button-bar>.button:hover { background-color: #ddd; }",
".bbp.button-bar>.button { float: right; width: 75px; height: 30px; cursor: pointer; border-radius: 20px; background-color: #f0f0f0; margin: 0 6px 6px 0; padding: 2px 8px; transition: all 0.2s ease-in-out;}",
".bbp.button-bar>.button:hover { background-color: #aaa; }",
".bbp.button-bar>.button>svg { width: 75px; height: 30px; }",
".bbp.button-bar>.button.active { background-color: #e95420; }",
".bbp.button-bar>.button.active:hover { background-color: #b52f00; }",
Expand Down

0 comments on commit 22aeba1

Please sign in to comment.