-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(atomic): change to tailwind classes and small refacto
- Loading branch information
Showing
3 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
20 changes: 9 additions & 11 deletions
20
...components/insight/atomic-insight-result-action-bar/atomic-insight-result-action-bar.pcss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
@import '../../../global/global.pcss'; | ||
|
||
atomic-insight-result-action-bar { | ||
display: flex; | ||
position: absolute; | ||
visibility: hidden; | ||
right: 1.5rem; | ||
@apply flex absolute invisible right-6 top-[-1rem]; | ||
|
||
> atomic-insight-result-action:not(:last-child) { | ||
button { | ||
border-top-right-radius: 0; | ||
border-bottom-right-radius: 0; | ||
border-right: 0px; | ||
@apply rounded-r-none border-r-0; | ||
&:hover { | ||
border-right: 1px solid; | ||
@apply border-r; | ||
} | ||
} | ||
} | ||
> atomic-insight-result-action:not(:first-child) { | ||
button { | ||
border-top-left-radius: 0; | ||
border-bottom-left-radius: 0; | ||
@apply rounded-tl-none rounded-bl-none; | ||
} | ||
} | ||
} | ||
|
||
.hovered { | ||
visibility: visible; | ||
@apply visible; | ||
} | ||
|
||
.firstActionBarElement { | ||
@apply top-0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters