Ad Widget

Collapse

Web login screen color style not follow profile theme?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpka
    Junior Member
    • Sep 2013
    • 24

    #1

    Web login screen color style not follow profile theme?

    Hi!
    The Zabbix php frontend has two dark themes. It is quite professional and health behaviour, because saves people's eyes from burning when working many hours a day.
    However, two places (at least) still remains not themed (white/bright background, inverted text) when selecting dark (say Dark-orange) theme from profile: They are 1) light blue login screen, and 2) top bar with ZABBIX logo and Help....Logout main menu.
    Is there any possibility to make it darker (following theme) please?
    Thank you so much!
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    This works to me:
    Code:
    *** /usr/share/zabbix/styles/themes/darkorange/main.css.orig    2013-08-21 15:59:23.000000000 +0200
    --- /usr/share/zabbix/styles/themes/darkorange/main.css 2013-09-13 09:18:51.000000000 +0200
    ***************
    *** 59,62 ****
    --- 59,68 ----
      }
      
    + table.page_header tr td.page_header_r {
    +         text-align: right;
    +         white-space: nowrap;
    +       background-color:#666666;
    + }
    + 
      table.page_footer{
            background: #1A1A1A url('../../../images/gradients/table_head_bb.gif') repeat-x top left;
    ***************
    *** 512,513 ****
    --- 518,527 ----
            color: #000;
      }
    + 
    + /********* DIV IMG *********/
    + .zabbix_logo{
    +         height: 31px;
    +         width: 118px;
    +         background: #666666 url('../images/general/zabbix.png') no-repeat;
    +         cursor: pointer;
    + }
    If you feel it should be changed in upstream, then don't hesitate to open a ZBXNEXT

    Comment

    • jpka
      Junior Member
      • Sep 2013
      • 24

      #3
      Re: Web login screen color style not follow profile theme?

      Hi! It works well. Thank you so much!
      P.S. While it works, it looks like quick fix, but only partial, because menu text remains very dark and not follow rest of texts on screen.
      But now i know (i think) how to fix theming, so i will try to fix remaining places (except login screen) myself.
      I will also post the fixes here, as they become done.
      Thanks!

      Comment

      Working...