Styling a tab panel

Forum to discuss the new web client version of Servoy.

Styling a tab panel

Postby huber » Sat Jul 23, 2016 11:27 am

By putting a tab panel with a tab linking a table view form shows by default a top, right and left border line with the color #d4d4d4 (light grey). Interestingly, there is no bottom line shown. Where does this display of a default tab panel come from?

I tried to style the tab panel (and the tab itself) with the following NG client selectors
Code: Select all
.svy-tabpanel {
   background-color: green;
   border-color: #d4d4d4;
   border-color: red;
   border-style: solid;
   border-width: 1px 1px 1px 1px;
}

.nav-tabs {
   background-color: blue;
   background-size: 10px;
   border-color: #d4d4d4;
   border-color: green;
   border-style: solid;
   border-width: 1px 1px 1px 1px;
}

Unfortunately, I do not get any visual display with these meetings. Removing any tab from the tab panel shows something.

Has someone been able to style a tab panels border?

Servoy 8.0.3
Java 1.8
OS X El Capitan

Regards, Robert
You do not have the required permissions to view the files attached to this post.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Styling a tab panel

Postby HEKUCH » Thu Aug 18, 2016 9:44 am

Hi Robert,

With Servoy 8.1 (beta) your style works!

Regards,
Hendrick Kurland

DataBit GmbH
CH-9217 Neukirch an der Thur
HEKUCH
 
Posts: 13
Joined: Thu May 05, 2011 8:02 am

Re: Styling a tab panel

Postby huber » Thu Aug 18, 2016 10:04 am

Hi Hendrick

Wow, great news (form me :-)

Thanks for the Info.

HEKUCH wrote:Hi Robert,

With Servoy 8.1 (beta) your style works!

Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Styling a tab panel

Postby derk.hulshof » Mon Aug 22, 2016 9:56 am

Hi Robert,

When I change the CSS of the following classes:
.bts-tabpanel
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus (bootstrap override)
.tab-content > .active (bootstrap override)

It works for me in version 803

Hope this helps

Greetz
Derk
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: Styling a tab panel

Postby huber » Mon Aug 22, 2016 10:52 am

Hi Derk

Thanks for the info and solution. As I have still a bit time until deployment I will wait for Servoy version 8.1.

Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 7 guests