Bug 35470 - 23.05 button class update
Summary: 23.05 button class update
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 23.05
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 19:11 UTC by davedaghita
Modified: 2024-07-04 20:38 UTC (History)
2 users (show)

See Also:
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 (11.58 KB, image/png)
2023-12-01 19:11 UTC, davedaghita
Details
more buttons chaged color (11.30 KB, image/png)
2023-12-01 19:12 UTC, davedaghita
Details

Note You need to log in before you can comment on or make changes to this bug.
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.