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