mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-28 19:44:24 -04:00
Make refresh button spin counter clockwise (#1155)
This commit is contained in:
committed by
Leendert de Borst
parent
1cf28c43fb
commit
4d66ea9694
@@ -52,6 +52,15 @@ module.exports = {
|
||||
minWidth: {
|
||||
'kanban': '28rem'
|
||||
},
|
||||
animation: {
|
||||
'spin-ccw': 'spin-ccw 1s linear infinite',
|
||||
},
|
||||
keyframes: {
|
||||
'spin-ccw': {
|
||||
'from': { transform: 'rotate(0deg)' },
|
||||
'to': { transform: 'rotate(-360deg)' }
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
|
||||
@@ -1171,6 +1171,20 @@ video {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin-ccw {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(-360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-spin-ccw {
|
||||
animation: spin-ccw 1s linear infinite;
|
||||
}
|
||||
|
||||
.cursor-not-allowed {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@@ -72,6 +72,6 @@
|
||||
/// <returns>A string containing the CSS classes for the icon.</returns>
|
||||
private string GetIconClasses()
|
||||
{
|
||||
return $"w-4 h-4 {(IsRefreshing ? "animate-spin" : "")}";
|
||||
return $"w-4 h-4 {(IsRefreshing ? "animate-spin-ccw" : "")}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user