7604 |
25 Feb 19 |
nicklas |
1 |
@charset "UTF-8"; |
7604 |
25 Feb 19 |
nicklas |
2 |
/* $Id$ |
7604 |
25 Feb 19 |
nicklas |
3 |
------------------------------------------------------------------ |
7604 |
25 Feb 19 |
nicklas |
Copyright (C) 2005 Nicklas Nordborg |
7604 |
25 Feb 19 |
nicklas |
Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg |
7604 |
25 Feb 19 |
nicklas |
6 |
|
7604 |
25 Feb 19 |
nicklas |
7 |
This file is part of BASE - BioArray Software Environment. |
7604 |
25 Feb 19 |
nicklas |
8 |
Available at http://base.thep.lu.se/ |
7604 |
25 Feb 19 |
nicklas |
9 |
|
7604 |
25 Feb 19 |
nicklas |
10 |
BASE is free software; you can redistribute it and/or |
7604 |
25 Feb 19 |
nicklas |
11 |
modify it under the terms of the GNU General Public License |
7604 |
25 Feb 19 |
nicklas |
12 |
as published by the Free Software Foundation; either version 3 |
7604 |
25 Feb 19 |
nicklas |
13 |
of the License, or (at your option) any later version. |
7604 |
25 Feb 19 |
nicklas |
14 |
|
7604 |
25 Feb 19 |
nicklas |
15 |
BASE is distributed in the hope that it will be useful, |
7604 |
25 Feb 19 |
nicklas |
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
7604 |
25 Feb 19 |
nicklas |
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
7604 |
25 Feb 19 |
nicklas |
18 |
GNU General Public License for more details. |
7604 |
25 Feb 19 |
nicklas |
19 |
|
7604 |
25 Feb 19 |
nicklas |
20 |
You should have received a copy of the GNU General Public License |
7604 |
25 Feb 19 |
nicklas |
21 |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
7604 |
25 Feb 19 |
nicklas |
22 |
------------------------------------------------------------------ |
7604 |
25 Feb 19 |
nicklas |
23 |
|
7604 |
25 Feb 19 |
nicklas |
24 |
Stylesheet used by the Menu taglib. Used on all pages with a menu. |
7604 |
25 Feb 19 |
nicklas |
25 |
|
7604 |
25 Feb 19 |
nicklas |
26 |
@author Nicklas |
7604 |
25 Feb 19 |
nicklas |
27 |
@version 2.0 |
7604 |
25 Feb 19 |
nicklas |
28 |
*/ |
7604 |
25 Feb 19 |
nicklas |
29 |
|
7604 |
25 Feb 19 |
nicklas |
30 |
.menu.horizontal |
7604 |
25 Feb 19 |
nicklas |
31 |
{ |
7604 |
25 Feb 19 |
nicklas |
32 |
position: fixed; |
7604 |
25 Feb 19 |
nicklas |
33 |
cursor: default; |
7604 |
25 Feb 19 |
nicklas |
34 |
border-bottom-width: 1px; |
7604 |
25 Feb 19 |
nicklas |
35 |
} |
7604 |
25 Feb 19 |
nicklas |
36 |
|
7604 |
25 Feb 19 |
nicklas |
37 |
.menu.horizontal > table |
7604 |
25 Feb 19 |
nicklas |
38 |
{ |
7604 |
25 Feb 19 |
nicklas |
39 |
height: 100%; |
7604 |
25 Feb 19 |
nicklas |
40 |
} |
7604 |
25 Feb 19 |
nicklas |
41 |
|
7604 |
25 Feb 19 |
nicklas |
42 |
.menu.horizontal > table > tbody > tr > td |
7604 |
25 Feb 19 |
nicklas |
43 |
{ |
7604 |
25 Feb 19 |
nicklas |
44 |
border-right-width: 1px; |
7604 |
25 Feb 19 |
nicklas |
45 |
} |
7604 |
25 Feb 19 |
nicklas |
46 |
.menu.horizontal > table > tbody > tr > td:last-child |
7604 |
25 Feb 19 |
nicklas |
47 |
{ |
7604 |
25 Feb 19 |
nicklas |
48 |
border-right: 0px; |
7604 |
25 Feb 19 |
nicklas |
49 |
padding-right: 4px; |
7604 |
25 Feb 19 |
nicklas |
50 |
} |
7604 |
25 Feb 19 |
nicklas |
51 |
.menu.horizontal .menuitem |
7604 |
25 Feb 19 |
nicklas |
52 |
{ |
7604 |
25 Feb 19 |
nicklas |
53 |
padding: 3px 6px 3px 6px; |
7604 |
25 Feb 19 |
nicklas |
54 |
white-space: nowrap; |
7604 |
25 Feb 19 |
nicklas |
55 |
} |
7604 |
25 Feb 19 |
nicklas |
56 |
|
7604 |
25 Feb 19 |
nicklas |
57 |
.menu.horizontal .menuitem.interactable:hover |
7604 |
25 Feb 19 |
nicklas |
58 |
{ |
7604 |
25 Feb 19 |
nicklas |
59 |
border-width: 2px; |
7604 |
25 Feb 19 |
nicklas |
60 |
padding: 1px 4px 1px 4px; |
7604 |
25 Feb 19 |
nicklas |
61 |
border-radius: 3px; |
7604 |
25 Feb 19 |
nicklas |
62 |
} |
7604 |
25 Feb 19 |
nicklas |
63 |
|
7604 |
25 Feb 19 |
nicklas |
64 |
.menu.horizontal .menufill |
7604 |
25 Feb 19 |
nicklas |
65 |
{ |
7604 |
25 Feb 19 |
nicklas |
66 |
white-space: nowrap; |
7604 |
25 Feb 19 |
nicklas |
67 |
width: 90%; |
7604 |
25 Feb 19 |
nicklas |
68 |
text-align: right; |
7604 |
25 Feb 19 |
nicklas |
69 |
} |
7604 |
25 Feb 19 |
nicklas |
70 |
|
7604 |
25 Feb 19 |
nicklas |
71 |
.menu.vertical |
7604 |
25 Feb 19 |
nicklas |
72 |
{ |
7604 |
25 Feb 19 |
nicklas |
73 |
position: fixed; |
7604 |
25 Feb 19 |
nicklas |
74 |
border-width: 1px; |
7604 |
25 Feb 19 |
nicklas |
75 |
box-shadow: 3px 3px 5px #CCCCCC; |
7604 |
25 Feb 19 |
nicklas |
76 |
} |
7604 |
25 Feb 19 |
nicklas |
77 |
|
7604 |
25 Feb 19 |
nicklas |
78 |
.menu.vertical .menuitem |
7604 |
25 Feb 19 |
nicklas |
79 |
{ |
7604 |
25 Feb 19 |
nicklas |
80 |
padding: 3px 4px 3px 4px; |
7604 |
25 Feb 19 |
nicklas |
81 |
white-space: nowrap; |
7604 |
25 Feb 19 |
nicklas |
82 |
} |
7604 |
25 Feb 19 |
nicklas |
83 |
|
7604 |
25 Feb 19 |
nicklas |
84 |
.menu.vertical .menuitem.interactable:hover |
7604 |
25 Feb 19 |
nicklas |
85 |
{ |
7604 |
25 Feb 19 |
nicklas |
86 |
border-width: 2px; |
7604 |
25 Feb 19 |
nicklas |
87 |
padding: 1px 2px 1px 2px; |
7604 |
25 Feb 19 |
nicklas |
88 |
border-radius: 3px; |
7604 |
25 Feb 19 |
nicklas |
89 |
cursor: pointer; |
7604 |
25 Feb 19 |
nicklas |
90 |
} |
7604 |
25 Feb 19 |
nicklas |
91 |
|
7604 |
25 Feb 19 |
nicklas |
92 |
.menu.vertical .menuseparator |
7604 |
25 Feb 19 |
nicklas |
93 |
{ |
7604 |
25 Feb 19 |
nicklas |
94 |
border-top-width: 1px; |
7604 |
25 Feb 19 |
nicklas |
95 |
height: 1px; |
7604 |
25 Feb 19 |
nicklas |
96 |
width: 100%; |
7604 |
25 Feb 19 |
nicklas |
97 |
} |
7604 |
25 Feb 19 |
nicklas |
98 |
|
7604 |
25 Feb 19 |
nicklas |
99 |
.menu.vertical .padding |
7604 |
25 Feb 19 |
nicklas |
100 |
{ |
7604 |
25 Feb 19 |
nicklas |
101 |
width: 20px; |
7604 |
25 Feb 19 |
nicklas |
102 |
display: inline-block; |
7604 |
25 Feb 19 |
nicklas |
103 |
} |
7604 |
25 Feb 19 |
nicklas |
104 |
|
7604 |
25 Feb 19 |
nicklas |
105 |
.menuicon |
7604 |
25 Feb 19 |
nicklas |
106 |
{ |
7604 |
25 Feb 19 |
nicklas |
107 |
margin-right: 4px; |
7604 |
25 Feb 19 |
nicklas |
108 |
max-width: 16px; |
7604 |
25 Feb 19 |
nicklas |
109 |
} |
7604 |
25 Feb 19 |
nicklas |
110 |
|
7604 |
25 Feb 19 |
nicklas |
111 |
.submenuicon |
7604 |
25 Feb 19 |
nicklas |
112 |
{ |
7604 |
25 Feb 19 |
nicklas |
113 |
width: 1.5rem; |
7604 |
25 Feb 19 |
nicklas |
114 |
max-width: 1.5rem; |
7604 |
25 Feb 19 |
nicklas |
115 |
text-align: right; |
7604 |
25 Feb 19 |
nicklas |
116 |
font-size: 1.2em; |
7604 |
25 Feb 19 |
nicklas |
117 |
font-weight: bold; |
7604 |
25 Feb 19 |
nicklas |
118 |
} |
7604 |
25 Feb 19 |
nicklas |
119 |
|
7604 |
25 Feb 19 |
nicklas |
120 |
|
7604 |
25 Feb 19 |
nicklas |
121 |
.menufill .menuseparator |
7604 |
25 Feb 19 |
nicklas |
122 |
{ |
7604 |
25 Feb 19 |
nicklas |
123 |
border-right-width: 1px; |
7604 |
25 Feb 19 |
nicklas |
124 |
margin-right: 4px; |
7604 |
25 Feb 19 |
nicklas |
125 |
margin-left: 4px; |
7604 |
25 Feb 19 |
nicklas |
126 |
} |
7604 |
25 Feb 19 |
nicklas |
127 |
|
7604 |
25 Feb 19 |
nicklas |
128 |
.menu .menusection |
7604 |
25 Feb 19 |
nicklas |
129 |
{ |
7604 |
25 Feb 19 |
nicklas |
130 |
font-weight: bold; |
7604 |
25 Feb 19 |
nicklas |
131 |
color: #000000; /* To override the 'disabled' grey color */ |
7604 |
25 Feb 19 |
nicklas |
132 |
} |
7604 |
25 Feb 19 |
nicklas |
133 |
|
7604 |
25 Feb 19 |
nicklas |
134 |
.menu .menuitem.disabled |
7604 |
25 Feb 19 |
nicklas |
135 |
{ |
7604 |
25 Feb 19 |
nicklas |
136 |
cursor: default; |
7604 |
25 Feb 19 |
nicklas |
137 |
pointer-events: none; |
7604 |
25 Feb 19 |
nicklas |
138 |
} |
7604 |
25 Feb 19 |
nicklas |
139 |
|
7604 |
25 Feb 19 |
nicklas |
140 |
.menu .menuitem.active |
7604 |
25 Feb 19 |
nicklas |
141 |
{ |
7604 |
25 Feb 19 |
nicklas |
142 |
font-weight: bold; |
7604 |
25 Feb 19 |
nicklas |
143 |
} |
7604 |
25 Feb 19 |
nicklas |
144 |
|