summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/contents/skeleton.css
blob: 6a6b1079f1b7a087753869a1965bbfe00460e140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/skeleton_up.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */
#header_img {margin:5px auto;display:block;width:100%}

#nav,
#nav ul {padding:0 0 5px 0; margin:0; list-style:none;
         font: 14px helvetica, sans-serif;
         /*font: 14px verdana, sans-serif;*/
         border:1px solid #000;
         border-color:#ace #79b #68a #bde;
         border-width:1px 2px 2px 1px; background:#fff;
         position:relative; z-index:200;}

#nav {height:auto; width:calc(100% - 2px);
      padding:0; background-color:#0072bc;
      display: inline-block;}

#nav li {float:left; width:100%;}
#nav li li {float:none; background:#fff;}
/* a hack for IE5.x and IE6 */
* html #nav li li {float:left;}




#nav li a {display:block; float:left;
           color:#FFFFFF; margin:0 25px 0 10px;
           height:auto; line-height:25px;
           text-decoration:none; white-space:normal;
}

/*item in white box*/
#nav li li a {height:auto; line-height:20px; float:none;
              background-color:#0072bc;
              margin:0 0 0 0;
              border:1px solid #000;
              /*border-color:#ace #79b #68a #bde;*/
              border-color:#0072bc;
              border-width:3px 3px 3px 3px; background:#0072bc;
    }

#nav li:hover {position:relative; z-index:300; }

/*white box*/
#nav li:hover ul {left:4em; top:0px; right:-10px; background-color:#0072bc;}

/* another hack for IE5.5 and IE6 */
* html #nav li:hover ul {left:10px;}


#nav ul {position:absolute;
        left:-9999px;
        top:-9999px;
}
/* yet another hack for IE5.x and IE6 */
* html #nav ul {width:1px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:-15px; margin-left:100%; bottom:-7px; top:auto;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */

#nav li:hover > a {text-decoration:underline; }


/* but IE5.x and IE6 need this lot to style the flyouts and path followed */
/* show next level */
#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{left:-15px; margin-left:100%; bottom:-7px; top:auto;}

/* keep further levels hidden */
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px;}

/* show path followed */
#nav li:hover a,
#nav li:hover li:hover a,
#nav li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover li:hover a
{text-decoration:underline; color:#ebb81c;}

/* hide futher possible paths */
#nav li:hover li a,
#nav li:hover li:hover li a,
#nav li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li:hover li a
{text-decoration:none; color:#FFFFFF;}