Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global announcement #71

Merged
merged 2 commits into from
Sep 28, 2017
Merged

Global announcement #71

merged 2 commits into from
Sep 28, 2017

Conversation

mrsimpson
Copy link
Member

Adds a configurable, highlighted message to the Login- and Home-Screen.
Closes #63

global announcement home
global announcement login

A downport to RC core is pending. I'll create a new issue for that on RC

@mrsimpson mrsimpson self-assigned this Sep 28, 2017
@mrsimpson mrsimpson requested a review from ruKurz September 28, 2017 12:44
@ghost ghost added the progress:working label Sep 28, 2017
@mrsimpson
Copy link
Member Author

There is no funky "User has read an accepted it and thus hides the message"-behavior implemented. This would be more complex and raise the question about lifetime of the announcement.

Copy link

@ruKurz ruKurz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. Only thing to mention is that fixed sizes in px should be prevented if possible or set to a global constant.

box-shadow:
0 1px 1px 0 rgba(0, 0, 0, 0.2),
0 2px 10px 0 rgba(0, 0, 0, 0.16);
border-radius: 4px;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a constant available for the border-radius?


#login-global-announcement {
width: 100%;
max-width: 520px;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prevent fixed px.

position: relative;
z-index: 1;
}

#login-card {
width: 100%;
max-width: 520px;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid sizing in fixed px

@ruKurz ruKurz merged commit 5247866 into master Sep 28, 2017
@ghost ghost removed the progress:working label Sep 28, 2017
@ruKurz ruKurz deleted the hotfix/#63-global-announcement branch September 28, 2017 13:25
@mrsimpson mrsimpson restored the hotfix/#63-global-announcement branch September 29, 2017 06:44
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.

2 participants