Changes for page Home
Last modified by Jesse Veentjer on 06-5-2024 05:01
From version 219.15
edited by Jesse Veentjer
on 15-2-2024 05:01
on 15-2-2024 05:01
Change comment:
There is no comment for this version
To version 219.20
edited by Jesse Veentjer
on 15-2-2024 05:18
on 15-2-2024 05:18
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -3,6 +3,7 @@ 3 3 height: 169px; 4 4 width: 100%; 5 5 } 6 + 6 6 /* Styling for the button */ 7 7 .login-btn { 8 8 display: inline-block; ... ... @@ -13,9 +13,9 @@ 13 13 border-radius: 5px; 14 14 font-size: 27px; /* Increased font size for a slightly larger button */ 15 15 cursor: pointer; 16 - position: center;17 + position: relative; 17 17 overflow: hidden; 18 - transition: all 0. 5s ease;19 + transition: all 0.3s ease; 19 19 } 20 20 21 21 /* Styling for the button hover effect */ ... ... @@ -32,7 +32,7 @@ 32 32 width: 300%; 33 33 height: 300%; 34 34 background-color: #878787; 35 - transition: all 0. 5s ease;36 + transition: all 0.3s ease; 36 36 border-radius: 50%; 37 37 z-index: 0; 38 38 transform: translate(-50%, -50%); ... ... @@ -50,4 +50,52 @@ 50 50 position: relative; 51 51 z-index: 1; 52 52 } 54 + 55 +/* Styling for the smaller button */ 56 +.small-login-btn { 57 + display: inline-block; 58 + padding: 12px 24px; /* Reduced padding for a smaller button */ 59 + background-color: #D9D9D9; /* Grijs (formulier - header) */ 60 + color: #000; /* Text color */ 61 + border: none; 62 + border-radius: 5px; 63 + font-size: 18px; /* Reduced font size for a smaller button */ 64 + cursor: pointer; 65 + position: relative; 66 + overflow: hidden; 67 + transition: all 0.3s ease; 68 +} 69 + 70 +/* Styling for the smaller button hover effect */ 71 +.small-login-btn:hover { 72 + background-color: #F2F2F2; /* Lighter shade of grey on hover */ 73 +} 74 + 75 +/* Styling for the smaller button before animation */ 76 +.small-login-btn:before { 77 + content: ""; 78 + position: absolute; 79 + top: 50%; 80 + left: 50%; 81 + width: 300%; 82 + height: 300%; 83 + background-color: #878787; 84 + transition: all 0.3s ease; 85 + border-radius: 50%; 86 + z-index: 0; 87 + transform: translate(-50%, -50%); 88 +} 89 + 90 +/* Animation when smaller button is clicked */ 91 +.small-login-btn.clicked:before { 92 + width: 50%%; 93 + height: 50%; 94 + opacity: 0; 95 +} 96 + 97 +/* Styling for the smaller button text */ 98 +.small-login-btn span { 99 + position: relative; 100 + z-index: 1; 101 +} 53 53 }