Skip to content

Commit

Permalink
feat(popup): add size modifiers to none javascript popup
Browse files Browse the repository at this point in the history
  • Loading branch information
prudho authored and Sean committed Nov 11, 2018
1 parent 5b7ebae commit c284ecd
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/definitions/modules/popup.less
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,42 @@
transform-origin: left center;
}

/*--------------
Size
---------------*/

[data-tooltip][data-variation~="mini"]:before,
[data-tooltip][data-variation~="mini"]:after {
font-size: @mini;
}
[data-tooltip][data-variation~="tiny"]:before,
[data-tooltip][data-variation~="tiny"]:after {
font-size: @tiny;
}
[data-tooltip][data-variation~="small"]:before,
[data-tooltip][data-variation~="small"]:after {
font-size: @small;
}
[data-tooltip][data-variation~="medium"]:before,
[data-tooltip][data-variation~="medium"]:after {
font-size: @medium;
}
[data-tooltip][data-variation~="large"]:before,
[data-tooltip][data-variation~="large"]:after {
font-size: @large;
}
[data-tooltip][data-variation~="huge"]:before,
[data-tooltip][data-variation~="huge"]:after {
font-size: @huge;
}

/*--------------
Basic
---------------*/
[data-tooltip][data-variation~="basic"]:before {
display: none;
}

/*--------------
Spacing
---------------*/
Expand Down

0 comments on commit c284ecd

Please sign in to comment.