Browse Source

Adjusted dashboard chart CSS to be specific to that chart only (don't want to affect future charts). Also hid x-axis

Stephen Ficklin 7 years ago
parent
commit
b2629bafda
1 changed files with 8 additions and 6 deletions
  1. 8 6
      tripal/theme/css/tripal.css

+ 8 - 6
tripal/theme/css/tripal.css

@@ -82,23 +82,25 @@ div.messages.tripal-site-admin-only{
  /******************************************************************************
   * Format for tripal dashbaord chart
   *****************************************************************************/
- .bar text.value {
+ #tripal-entity-type-chart .bar text.value {
    fill: white;
  }
 
- .axis {
+ #tripal-entity-type-chart .axis {
    shape-rendering: crispEdges;
  }
 
- .axis path {
+ #tripal-entity-type-chart .axis path {
    fill: none;
  }
 
- .x.axis line {
+ #tripal-entity-type-chart .x.axis line {
    stroke: #fff;
    stroke-opacity: .8;
  }
 
- .y.axis path {
+ #tripal-entity-type-chart .y.axis path {
    stroke: black;
- }
+ }
+ 
+ #tripal-entity-type-chart .x.axis text { display: none; }