Project

General

Profile

Feature #2767 » Tabs-Changes.txt

Chris Stein, 2013-08-31 03:50 AM

 
1
<!-- 
2
TABS
3

    
4
Clearing Div
5
In order to do the restyling I added a clearing div to the #cacap-tabs ul. Overflow:hidden doesn't work because then it messes with the bottom border I need to overlap on the tab to make it look like there is no bottom border.
6

    
7
HTML Changes to tab:
8
-->
9

    
10
	<ul>
11
				
12
		<li>
13
			<a href="http://cdev.gc.cuny.edu/members/cstein/profile/">Public Portfolio</a>
14
		</li>
15

    
16
		<li class="current-tab">
17
			<a href="http://cdev.gc.cuny.edu/members/cstein/profile/?commons-profile=1">Commons Profile</a>
18
		</li>
19
  		<div class="clear"></div>
20
	</ul>
21

    
22

    
23
	
24
// CSS changes for tabs
25

    
26
//change to this (remove everything but the one rule below)
27
//this moves it so the bottom border for the li covers the ul's bottom border
28
#cacap-tabs li.current-tab {
29
	margin-bottom: -1px;
30
}
31
		
32
//change to this
33
#cacap-tabs li.current-tab a{
34
	font-weight: bold;
35
	color: #3c3c3c;
36
	border: 1px solid #e6e6e6;
37
	border-bottom-color: #fff;
38
	-webkit-border-radius: 5px 5px 0 0;
39
	-moz-border-radius: 5px 5px 0 0;
40
	border-radius: 5px 5px 0 0;
41
}
42

    
(2-2/2)