Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8660

civicrm.css refers to non-existing png files

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.4
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      I fixed item 1 below, but need help on the following issues:

      1. Currently, many spots in civicrm.css reference this path:
      ../packages/jquery/jquery-ui-1.8.16/css/custom-theme/images
      For example line 2760 ->
      background: #484e4c url("../packages/jquery/jquery-ui-1.8.16/css/custom-theme/images/ui-bg_flat_40_70716b_40x100.png") 50% 50% repeat-x;

              • HOWEVER, I do NOT see custom-theme directory in that location in svn, only smoothness. Not sure what to do with these - did we miss picking up a directory for jquery ui 1.8.16 ???

      2. I can't see where this class is used on the code, and I don't understand why it declares a background (quiz.png) AND a background-image (ui-icons ....)??

      div.statusicon {
      background : transparent url(../i/quiz.png) no-repeat;
      display : inline-block;
      cursor : pointer;
      background-position:-48px -144px;
      background-image:url(../packages/jquery/themes/smoothness/images/ui-icons_222222_256x240.png);
      background-color:#CCC;
      width:16px;
      height:16px;
      overflow:hidden;
      text-indent: -10000px;
      }

      — Original Post —
      in the /i/icons folder, the following files are present:

      jquery-ui-2786C2.png jquery-ui-52534D.png jquery-ui-91CE00.png jquery-ui-FFFFFF.png
      jquery-ui-3E3E3E.png jquery-ui-8A1F11.png jquery-ui-F5F6F1.png jquery-ui-b0d730.png

      Only one of them has color in its name made of small letters, all other have large letters in color code.

      Error is in civicrm.css:
      civicrm.css: background-image:url(../i/icons/jquery-ui-3e3e3e.png);

      There are other places where the filename is specified correctly:

      civicrm.css:#crm-container .ac_results li a:hover .icon

      { background-image:url(../i/icons/jquery-ui-3E3E3E.png); }

      Also civicrm.css tries to reference jquery-ui-1.8.5, while jquery-ui-1.8.11 is provided with the installation.

      civicrm.css: background-image:url("../packages/jquery/jquery-ui-1.8.5/css/custom-theme/images/ui-icons_8d2c27_256x240.png")!important;

      There is no jquery/themes folder now, while civicrm.css refers to it:
      civicrm.css: background-image:url(../packages/jquery/themes/smoothness/images/ui-icons_222222_256x240.png);

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              danilad Danila Deliya
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: