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

HW-382: Styled Individual casetype setting page #49

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/custom-civicrm.css

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions scss/civicrm/administer/civi-case/_case-types.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
&.page-civicrm-a {
@include civihr_table();

.crmCaseType {

.crm-button {
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't any button be styled automatically at this point? Why do the buttons on this screen require specific styling? Is the markup different?

@extend %btn-civi;

&[crm-icon=fa-check] {
@extend %btn-civi-primary;
padding: 8px 19px !important;
}

&[crm-icon=fa-times] {
@extend %btn-civi-secondary-outline;
color: $gray !important;
border: solid 1px $gray-dark !important;
padding: 7px 19px !important;
margin: 0;

&:hover {
background: $gray-dark;
color: $crm-white !important;
}
}
}

.crm-block {
Copy link
Contributor

Choose a reason for hiding this comment

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

I see this block padding being fixed multiple times, shouldn't we have a generic css rule that fixes it once and for all?

padding: 20px;
}
}
}