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

#84: Backdrop CSS needed on all pages #103

Merged
merged 2 commits into from
Nov 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions civicrm.info
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ backdrop = 1.x
project = civicrm
php = 5.6
type = module

stylesheets[all][] = civicrm_backdrop.css
16 changes: 16 additions & 0 deletions civicrm_backdrop.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Backdrop CSS which is needed on non-CiviCRM pages, too.
*/

/* Override Backdrop's CSS for CRM-provided UI. */
#crm-container .ui-state-default,
#crm-container .ui-widget-content .ui-state-default,
#crm-container .ui-widget-header .ui-state-default {
background: #e6e6e6 url(/modules/civicrm/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
}

/* Backdrop main navigation icon. */
#admin-bar #admin-bar-menu > li > .dropdown > li > a.civicrm {
background: transparent url(../i/logo_sm.png) 5% center no-repeat;
background-size: 16px;
}