Bug 35470

Summary: 23.05 button class update
Product: Koha Reporter: davedaghita <ddaghita>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: gmcharlt, lucas
Version: 23.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: update and sql run button reports
more buttons chaged color

Description davedaghita 2023-12-01 19:11:35 UTC
Created attachment 159478 [details]
update and sql run button reports

I used CSS to change the color of "Update and Run SQL Button" in the reports sections, but it uses a generic button class id.  It changes the color of more buttons in different modules like cataloging and circulation.  Can I have it be a more specialized button class id ex: .btn.btn-default change it to .btn.btn-default-sqlrunning


Below is the CSS code:
/* Speed Green Update and Run Sql button */
.btn.btn-default {
background-color: #7CFC00;
}

Maybe I there is a button class id that is there I just choose the wrong one.  Let me know what would be a good resolution.  

Thank you.
Comment 1 davedaghita 2023-12-01 19:12:05 UTC
Created attachment 159479 [details]
more buttons chaged color
Comment 2 Lucas Gass (lukeg) 2023-12-04 15:38:51 UTC
Dave,

Try using the following CSS: 

/* Speed Green Update and Run Sql button */
#sql_report_form .btn[value="update_and_run_sql"] {
	background: #7CFC00;
}
Comment 3 davedaghita 2023-12-04 15:54:31 UTC
Thank you Lucas.