File tree Expand file tree Collapse file tree 2 files changed +27
-21
lines changed
Expand file tree Collapse file tree 2 files changed +27
-21
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const SessionLogout = () => {
1717 < MainContent >
1818 < title > You have been logged out</ title >
1919 < div className = { styles . logoutScreen } >
20- < div className = { styles . logoutHeading } >
20+ < div className = { styles . logoutBanner } >
2121 < h4 > For your security, you need to login again.</ h4 >
2222 </ div >
2323 < div className = { styles . logoutContent } >
Original file line number Diff line number Diff line change 11.logoutScreen {
2- background-color : # 005eb8 ; /* $color_nhsuk-blue */
3- height : 100vh ; /* Full screen */
42 display : flex;
53 flex-direction : column; /* Stack children vertically */
6- justify-content : center; /* Center vertically */
7- align-items : center; /* Center horizontally */
4+ min-height : 100vh ; /* Full screen */
5+ align-items : center;
6+ background-color : # 005eb8 ; /* $color_nhsuk-blue */
7+ width : 100% ;
8+ margin : 0 auto;
9+ overflow : hidden;
810}
911
10- .logoutHeading {
11- color : # 212b32 ; /* $color_nhsuk-black */
12+ .logoutBanner {
1213 background-color : # ffeb3b ; /* $color_nhsuk-yellow */
13- width : 100% ;
14+ color : # 212b32 ; /* $color_nhsuk-black */
15+ padding : 1rem ;
1416 text-align : center;
15- padding : 10px ;
16- font-weight : bold;
17- display : flex;
18- flex-direction : column; /* Stack children vertically */
19- justify-content : center; /* Center vertically */
17+ width : 100% ;
2018}
2119
22- .logoutHeading h4 {
23- margin : 0 ;
20+ .logoutBanner h4 {
21+ margin : 0 auto ;
2422}
2523
2624.logoutContent {
27- height : 70 vh ;
25+ flex-grow : 1 ; /* Allow the content to take up the remaining vertical space */
2826 display : flex;
29- color : # ffffff ; /* $color_nhsuk-white */
27+ width : 100% ;
28+ flex-direction : column;
29+ justify-content : flex-end; /* pushes content to the bottom */
30+ padding : 2rem 1.5rem ;
3031 text-align : left;
31- padding : 10 px ;
32+ color : # ffffff ; /* $color_nhsuk-white */
3233}
3334
3435.logBackInButton {
3536 width : 80% ;
36- min-width : 150px ;
3737 display : flex;
38- flex-direction : column; /* Stack children vertically */
39- justify-content : center; /* Center vertically */
38+ flex-direction : column;
39+ justify-content : flex-start;
40+ min-width : 150px ;
41+ margin-bottom : 1rem ;
4042}
4143
4244.continueButton button {
4345 background-color : # 005eb8 ; /* $color_nhsuk-blue */
4446}
47+
48+ .continueButton button : hover {
49+ background-color : # 2c5796 ;
50+ }
You can’t perform that action at this time.
0 commit comments