Skip to content

Fix colors on the proctor login page for dark mode. (Bootstrap alert aproach)#2974

Open
drgrice1 wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:dark-mode-proctor-login-alt
Open

Fix colors on the proctor login page for dark mode. (Bootstrap alert aproach)#2974
drgrice1 wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:dark-mode-proctor-login-alt

Conversation

@drgrice1
Copy link
Copy Markdown
Member

The colors for this were inline style. Colors cannot be inline anymore since the server cannot detect if the user will have the browser in dark mode or not. So this switches to using Bootstrap alerts instead.

This is an alternate approach to #2967.

One minor problem with this approach is that in the math4-yellow theme the difference between an alert-primary and an alert-warning is somewhat subtle. Here is a screenshot demonstrating the two together with this pull request:
proctor-login
The first alert in that image is an alert-warning and the second is an alert-primary.

The colors for this were inline style.  Colors cannot be inline anymore
since the server cannot detect if the user will have the browser in dark
mode or not.  So this switches to using Bootstrap alerts instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant