datawagovau / ckanext-datawagovautheme

CKAN customisations and theme for data.wa.gov.au
7 stars 8 forks source link

[Multiple Pages] Secondary buttons have no background colour #16

Open keithmoss opened 5 years ago

keithmoss commented 5 years ago

The secondary buttons (cream background) now have no background colour and thus are blending into whatever element they're part of.

Some of the secondary buttons on other pages (e.g. https://uat.landgate.links.com.au/dashboard/) are fine.

On UAT main.css has:

.btn-default {
    color: #333333;
   background-color: #ffffff;
    border-color: #cccccc;
}

Where on PROD main.css has:

.btn {
    ...
    background-colour: #f7f7f7
    ...
}

Buttons elsewhere (e.g. https://uat.landgate.links.com.au/dashboard/ "Edit Settings" button) are receiving their background-color from page-specific CSS rules like .content_action .btn.

Maybe we need to add a .wrapper-datawa .btn-secondary class to work across the whole site?

Affected pages and buttons

https://uat.landgate.links.com.au/showcase/nrinfo ("Manage" button) https://uat.landgate.links.com.au/dataset/new ("Edit" button) https://uat.landgate.links.com.au/dashboard/ ("Activity from" button) https://uat.landgate.links.com.au/dataset/resources/test-test-test ("Reorder resources" button) https://uat.landgate.links.com.au/group/new ("Edit", "Upload", and "Link" buttons)

Other pages may be affected.

UAT screen shot 2019-01-24 at 08 05 44

PROD screen shot 2019-01-24 at 08 05 48

krupalip commented 5 years ago

fixed