feat: like and collect button hover status

This commit is contained in:
DIYgod
2022-08-07 20:33:59 +01:00
parent a514180aba
commit 08fcc2bd16
3 changed files with 51 additions and 49 deletions
+26 -12
View File
@@ -74,24 +74,38 @@ body {
@apply fill-gray-500;
}
.button.is-rss3 {
background-color: #e7f1ff;
fill: #1064ff;
color: #1064ff;
}
.button.is-crossbell {
background-color: #fff5e1;
fill: #e5b65a;
color: #e5b65a;
}
.button.is-text {
@apply shadow-none p-0;
@apply text-gray-500 fill-gray-500;
@apply hover:text-gray-600 hover:fill-gray-600;
}
.button.is-like {
@apply shadow-none p-0;
@apply text-gray-500 fill-gray-500;
}
.button.is-like:hover {
color: #f91880;
fill: #f91880;
}
.button.is-like.active {
color: #f91880;
fill: #f91880;
}
.button.is-collect {
@apply shadow-none p-0;
@apply text-gray-500 fill-gray-500;
}
.button.is-collect:hover {
color: #ffcf55;
fill: #ffcf55;
}
.button.is-collect.active {
color: #ffcf55;
fill: #ffcf55;
}
.button.is-green {
--shadow-color-button: theme("colors.green.700");
@apply bg-green-500 hover:bg-green-600 focus:bg-green-700;