fix button widget button styles

This commit is contained in:
nflnkr 2024-05-20 16:04:30 +03:00
parent 8f1caa9b07
commit 4f86cbe2d1
2 changed files with 7 additions and 8 deletions

@ -78,14 +78,13 @@ export default function OpenQuizButton({
sx={[
{
overflow: "hidden",
py: "23px",
px: "40px",
fontSize: "20px",
color: buttonTextColor,
backgroundColor: buttonBackgroundColor,
},
withShadow && {
boxShadow: "0px 0px 8px 0px rgba(0, 0, 0, 0.7)",
},
!rounded && {
borderRadius: 0,
boxShadow: withShadow ? "2px 5px 20px 2px rgba(25, 6, 50, 0.4), 0 2px 10px 0 rgba(35, 17, 58, 0.1)" : "none",
borderRadius: rounded ? "30px" : 0,
},
Boolean(fixedSide) && {
position: "fixed",

@ -13,9 +13,9 @@ export default function RunningStripe({ sx = [] }: Props) {
sx={[
{
position: "absolute",
height: "30px",
height: "70px",
width: "140px",
backgroundColor: "rgba(255 255 255 / 0.6)",
background: "linear-gradient(0deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%)",
animation: "runningStripe linear 3s infinite",
transform: "rotate(-60deg)",
"@keyframes runningStripe": {