You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-04-23 15:15:43

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Help with CSS -GLPI

Hi,
I try to make a few changes on GLPI (color changes). I'm not a developer, just the company ask for try to make glpi the color like the official logo.

So, i change a lot, but two things i can't find. The "Tab Page" remain green and the background gray, and the menu remain the background yellow. What the line i need to change on CSS?

Thanks for help.

Regards,


SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

#2 2012-04-23 19:22:05

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Re: Help with CSS -GLPI

Just for better understanding:

http://imageshack.us/g/545/tabpage.png/

Thanks


SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

#3 2012-04-23 21:39:06

dahvakana
Member
Registered: 2012-02-13
Posts: 12

Re: Help with CSS -GLPI

Rather than changing the css files, I've appended my changes to the bottom of style.css. You could even just include a css file of changes after the rest of the glpi css (for a higher precedence ). You can decide whether or not that works for you, either way, here are the  classes i would change:

/* The tab classes: */
.x-tab-strip-active span.x-tab-strip-text {
    color: red !important; /* the important is here to override css hard-coded into the class file */
}
.x-tab-strip span.x-tab-strip-text {
    color: red !important;
}

/* The menu classes: */

ul#menu ul li a {
    background:red;
}

ul# menu ul li a:hover {
    background:gold;
}

good luck! smile


Glpi        ->0.90.1
PHP        ->5.6.31
Apache    ->2.4.27
MySQL    ->5.6.27

Offline

#4 2012-04-23 21:59:50

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Re: Help with CSS -GLPI

dahvakana,

Thanks for your answer, now it's work, and i can change the color smile.

Regards,


SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

Board footer

Powered by FluxBB