[Resolved] The search box is not visible on white background

    • May 2, 2021 at 2:25 pm #7626
      M
      momentum_it
      Participant

      osTicket v1.15.2 // osTicket-1.15.1-Awesome-102
      PHP 7.4.16 // MySQL 5.7.31 // Apache web server

      The search bar on the right side of the navigation row is invisible (you can see the blue magnifier icon, but not the input field or the placeholder):

      The search bar should be visible when the bar is themed to be white or some other light colour.

      Can you advise on a fix?

      Thanks!

      Miklos

    • May 7, 2021 at 2:49 pm #7640
      stevland
      Keymaster

      Add the following code to Admin Panel > Theme > Custom CSS.

      The first group is the search field as it displays when inactive.

      The second group is when it is in focus.

      background-color and border-color should be self-explanatory. color refers to the color of any text that is entered by the user.

      Adjust the colors as you see fit.

      form[action="kb.php"] #basic_search .input.attached input, form[action="orgs.php"] .input.attached input, form[action="users.php"] .input.attached input, form[action="tasks.php"] .input.attached input, form[action="tickets.php"] .input.attached input {
      background-color: #ddd;
      }
      form[action="kb.php"] #basic_search .input.attached input:focus,
      form[action="orgs.php"] .input.attached input:focus,
      form[action="users.php"] .input.attached input:focus,
      form[action="tasks.php"] .input.attached input:focus,
      form[action="tickets.php"] .input.attached input:focus {
      background-color: #ccc;
      border-color: #eee;
      color: #000;
      }

    • May 18, 2021 at 6:53 am #7660
      M
      momentum_it
      Participant

      Thanks, this worked!

You must be logged in to reply to this topic.