I am successfully using Azure B2C for authentication of a Xamarin project and have delved into customizing the login screen.
I am using the user flow approach using the Azure portal rather than custom policies as it seems easier tbh. The link I used is:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-customize-ui
Works well, but on smaller devices such as the iPhone 5s, the screen looks squashed as the nav bar and action bars are grey (circled in green, obviously). See img below.
I would like to change the colour of this navbar, in fact, remove it if possible.
I have been able to customize the content only so far, following the very helpful GitHub:
First a big thank you to @ChrisPadgett for that!
So now I can, for example, change the text given to me by the Azure B2C api injection (the yellow circle of my img) from white to red by changing the elements css as follows:
#api .intro > p, #api h2 {
color: red !important;
}
So I have been hunting for a list of the elements passed through by B2C, so that I can override them using CSS. Override the Navbar element for example, but also try to change the actual text "Sign in with your existing account" altogether.
I cannot locate this anywhere and I can't launch it on a browser and strip the css as it may not contain all the options available to me.
I saw in a similar post that the functionality to change the navbar/ action bar had been released as in the last reply in this post:
Styling the custom tab with Xamarin and Azure AD B2C
But I cannot find what the user is referring to anywhere either.
Can someone help me either find a list of these elements that MSFT inject or help me change the colour of this bar?? Many thanks.
