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

A fix In Message And Reminder Center Button #1614

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ahanipeitra1994
Copy link
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
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
Contributor Author

ahanipeitra1994 commented Jun 8, 2020 via email

@@ -648,6 +651,7 @@ font-weight: bold;
margin-right: 3px;
padding-right: 10px; /* sliding doors padding */
text-decoration: none;
text
Copy link
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
Contributor

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

@maggienegm
Copy link
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
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?

@@ -629,31 +630,38 @@ font-weight: bold;
}

.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
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
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

}

.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
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?

interface/themes/style_purple.css Outdated Show resolved Hide resolved
@muarachmann
Copy link
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
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 :)

@@ -430,7 +430,7 @@ function load_location( location ) {
$widgetTitle = xl('Prescription');
$widgetButtonLabel = xl("Edit");
$widgetButtonLink = $GLOBALS['webroot'] . "/interface/patient_file/summary/rx_frameset.php";
$widgetButtonClass = "iframe rx_modal";
$widgetButtonClass = " iframe rx_modal";
Copy link
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
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
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
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

@@ -760,7 +759,7 @@ div.notab-right {

#report_results table {
border-top: 1px solid black;
border-bottom: 1px solid black;
border-bottom: 1px solid black
Copy link
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