diff --git a/ui/css/mainstyle.css b/ui/css/mainstyle.css index cbd05ff..6c148e0 100755 --- a/ui/css/mainstyle.css +++ b/ui/css/mainstyle.css @@ -59,11 +59,13 @@ body { font-size: 100%; text-decoration: none; color: black; + transition: 1s; } .textlink:hover { color: darkblue; - font-size: 120%; + font-size: 115%; + transition: 0.3s; } .linkbutton { @@ -72,11 +74,14 @@ body { padding: 20px; color: white; background-color:rgba(0, 40, 131, 1); - border-radius: 20px; + border-radius: 25px; + transition: 1s; } .linkbutton:hover { background-color: darkblue; + border-radius: 5px; + transition: 0.3s; } .references { diff --git a/ui/css/menustyle.css b/ui/css/menustyle.css index 96ea650..ac2bda7 100755 --- a/ui/css/menustyle.css +++ b/ui/css/menustyle.css @@ -64,11 +64,13 @@ width: 80%; display: block; padding: 2%; - color: white + color: white; + transition: 0.6s; } .menubutton:hover { background-color: darkblue; + transition: 0.2s; } @media only screen and (min-width: 999px) { @@ -87,13 +89,6 @@ justify-content: center; } - .stickybox { - display: inline; - position: sticky; - position: -webkit-sticky; - top: 0px; - } - .menubutton { text-decoration: none; display: inline-block; @@ -102,19 +97,13 @@ color: white; border-radius: 0%; background-color: rgba(0,0,0,0); + transition: 0.6s; } - + .menubutton:hover { border-radius: 0%; - animation-name: fadein; - animation-duration: 300ms; - background-color: darkblue; - } - - .subitems:hover { - animation-name: fadein; - animation-duration: 300ms; background-color: darkblue; + transition: 0.3s; } .dropdown-menu { @@ -125,40 +114,22 @@ list-style-type: none; position: absolute; min-width: 200px; - } - - @keyframes fadein { - 0% {opacity: 0;} - 100% {opacity: 1;} + transform-origin: top center; + flex-direction: column; } @keyframes growDown { 0% { - transform: scaleY(0) - } - 80% { - transform: scaleY(1.1) + transform: scaleY(0); } 100% { - transform: scaleY(1) - } - } - - @keyframes rotateMenu { - 0% { - transform: rotateX(-90deg) - } - 70% { - transform: rotateX(20deg) - } - 100% { - transform: rotateX(0deg) + transform: scaleY(1); } } .dropdown:hover .dropdown-menu { - display: block; - animation: rotateMenu 300ms ease-in-out forwards; + display: flex; + animation: growDown 0.3s ease-in-out; } .mainitems { diff --git a/ui/index.html b/ui/index.html index 9b3daf3..8bbc3be 100755 --- a/ui/index.html +++ b/ui/index.html @@ -42,6 +42,13 @@ GitHub +
My biggest personal project yet. A fully free open source event management solution
+ Learn more +