Skip to content

A fix In Message And Reminder Center Button#1614

Open
ahanipeitra1994 wants to merge 5 commits intoLibreHealthIO:masterfrom
ahanipeitra1994:Incrrect_button_appearance_In_Message_And_Reminder
Open

A fix In Message And Reminder Center Button#1614
ahanipeitra1994 wants to merge 5 commits intoLibreHealthIO:masterfrom
ahanipeitra1994:Incrrect_button_appearance_In_Message_And_Reminder

Conversation

@ahanipeitra1994
Copy link
Copy Markdown
Contributor

image
I fixed the message and reminder button and other buttons which has the same class.

@ahanipeitra1994 ahanipeitra1994 changed the title A Iix In Message And Reminder Center Button A fix In Message And Reminder Center Button Jun 6, 2020
@maggienegm
Copy link
Copy Markdown
Contributor

Looks good so far! I just have a few small UI suggestions. The text within the buttons still seems off to me, like it's not fully centered. I would also change the text color to another color like white, so it's easier to see.

@ahanipeitra1994
Copy link
Copy Markdown
Contributor Author

ahanipeitra1994 commented Jun 8, 2020 via email

Comment thread interface/themes/style_purple.css Outdated
margin-right: 3px;
padding-right: 10px; /* sliding doors padding */
text-decoration: none;
text
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this incomplete or supposed to be deleted?

@maggienegm
Copy link
Copy Markdown
Contributor

@Ngai-E @muarachmann @robbyoconnor can I get one of you to review this? :)

@maggienegm
Copy link
Copy Markdown
Contributor

maggienegm commented Jun 8, 2020

Hmmm looks like I was too hasty when I left my review. Because the text was changed to white and button gif was removed, some buttons now look like this:
white-button-text
(Patient profile -> Issues)

Can you try to fix this?

Copy link
Copy Markdown
Member

@robbyoconnor robbyoconnor left a comment

Choose a reason for hiding this comment

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

I'm not giving a yay or nay on this, but why didn't you remove the commented out CSS code?

Comment thread interface/themes/style_purple.css Outdated

.css_button_small span {
background: transparent url( 'theme_assets/bg_button_span_small.gif' ) no-repeat;
/* background: transparent url( 'theme_assets/bg_button_span_small.gif' ) no-repeat; */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a reason why you didn't just remove this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No reason. OK I will remove it now

Comment thread interface/themes/style_purple.css Outdated

.css_button, a[role="button"] {
background: transparent url( 'theme_assets/bg_button_a.gif' ) no-repeat scroll top right;
/* background: transparent url( 'theme_assets/bg_button_a.gif' ) no-repeat scroll top right; */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same question as above?

Comment thread interface/themes/style_purple.css Outdated
@muarachmann
Copy link
Copy Markdown
Member

@ahanipeitra1994 , tried to test this but I still have the default stuffs, also tried switching themes to no avail... maybe a good description will do

@maggienegm
Copy link
Copy Markdown
Contributor

Woohoo! Most of the buttons are fixed! Great improvement!

Hmmm looks like I was too hasty when I left my review. Because the text was changed to white and button gif was removed, some buttons now look like this:
white-button-text
(Patient profile -> Issues)

Can you try to fix this?

Looks like this issue still exists though. If you take a closer look, you'll notice those reference the "css_button" and "css_button_small" classes. I would start there :)

Comment thread interface/patient_file/summary/demographics.php
$widgetButtonLabel = xl("Edit");
$widgetButtonLink = $GLOBALS['webroot'] . "/interface/patient_file/summary/rx_frameset.php";
$widgetButtonClass = "iframe rx_modal";
$widgetButtonClass = " iframe rx_modal";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there a reason why you added a space here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes this is because when this variable was used in a function it coincides with another causing the button to be white.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is there a reason why you added a space here?

OK testing.

Copy link
Copy Markdown
Contributor

@maggienegm maggienegm left a comment

Choose a reason for hiding this comment

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

I like the gray color of the buttons against the purple background! Looks like there are still some white text buttons though.

add-buttons

#report_results table {
border-top: 1px solid black;
border-bottom: 1px solid black;
border-bottom: 1px solid black
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Missing a semi-colon

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.

5 participants