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-25 12:26:11

rtr-glpi
Member
Registered: 2009-04-20
Posts: 9

Help needed changing css

Hello,

since a few versions I have a problem with the design of the followups. One can´t see where the different followups end and the next one begins because there is no borderline or something in between. So I would love to change the colour between the post. But the css is so complex that I can´t find it. Has anyone an idea? border=1? but where?

thank you
rtr

Offline

#2 2012-04-25 14:26:33

rtr-glpi
Member
Registered: 2009-04-20
Posts: 9

Re: Help needed changing css

Hello,

I solved it like this:
.tab_cadre td, .tab_cadre_fixe td, .tab_cadre_fixehov td, .tab_cadrehov td, .tab_cadrehov_pointer td, .tab_cadre_report td  {
   padding: 3px 5px;
/* added*/
border: 1px solid #ffffff;
}

it does what I wanted, but sure there is a better solution.

rtr

Offline

#3 2012-05-02 19:00:45

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

Re: Help needed changing css

I have used the ':nth-child' css3 selector to change the background of alternating rows of tabular data, to make it easier to read. just throw this at the end of your style.css file (or in a separate css file loaded AFTER the style.css file). I'm not sure about browser compatibility with past browsers, but most with css3 will render (i believe IE8 and earlier will not).

.tab_bg_2:nth-child(odd) {
    background-color:#f2f2f2; }
.tab_bg_2:nth-child(even) { 
    background-color:#dfdde8; }

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

Offline

#4 2012-05-04 14:48:18

rtr-glpi
Member
Registered: 2009-04-20
Posts: 9

Re: Help needed changing css

Thanks for your post, but it is not working for me.

I´m using
glpi 0.83.1

rtr

Offline

Board footer

Powered by FluxBB