Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 37d0dacb

Von Hans Peter Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 37d0dacbba14b0f9246444ccef26480a20374c36
  • Vorgänger 0e6f4e35
  • Nachfolger b6b30e72

Neues kivitendo Design div. Aenderungen in css/..

Ohne Aenderungen in css/less/ und css/development/

Unterschiede anzeigen:

css/kivitendo/menu.css
8 8
/*   background-color: #d0cfc9 */
9 9
/* } */
10 10

  
11
/*
11 12
div.layout-actionbar ~ #content {
12 13
  padding-top: 32px;
13 14
}
15
*/
14 16

  
17
/*
15 18
#main_menu_div ~ div.layout-actionbar {
16 19
  top: 45px;
17 20
}
21
*/
18 22

  
23
/*
19 24
#main_menu_div ~ #content {
20 25
  padding-top: 25px;
21 26
}
22 27
#main_menu_div ~ div.layout-actionbar ~ #content {
23 28
  padding-top: 54px;
24 29
}
30
*/
25 31

  
26 32
body.menuv3 {
27 33
	behavior: url("css/csshover.htc");
......
31 37
	color: #000000;
32 38
}
33 39
#menuv3 {
34
	background-color: #FFFFFF;
35
	color: #000000;
40
  background-color: #FFFFFF;
41
  color: #000000;
36 42
  width: 100%;
37 43
  position: fixed;
38 44
  z-index: 30;
39 45
}
40 46

  
41
#menuv3 ~ div.layout-actionbar {
42
  top: 40px;
43
}
44

  
47
/*
45 48
#menuv3  ~ #content {
46 49
  padding-top: 35px;
47 50
}
51
*/
48 52

  
53
/*
49 54
#menuv3 ~ div.layout-actionbar ~ #content {
50 55
  padding-top: 64px;
51 56
}
57
*/
52 58

  
53
#menuv3 a, #menuv3 h2, #menuv3 div.x {
54
	font-size: 80%;
55
	line-height: 120%;
56
	display: block;
57
	border: 0;
58
	white-space: nowrap;
59
	margin: 0;
60
	padding: 0.3em 1em;
59
#menuv3 a,
60
#menuv3 h2,
61
#menuv3 div.x {
62
  font-size: 80%;
63
  line-height: 120%;
64
  display: block;
65
  border: 0;
66
  white-space: nowrap;
67
  margin: 0;
68
  padding: 0.3em 1em;
61 69
}
62 70
#menuv3 h2 {
63
	background-color: #ffffff;
64
	color: #000000;
65
	/*padding: 2px 15px;*/
71
  background-color: #ffffff;
72
  color: #000000;
73
  /*padding: 2px 15px;*/
66 74
/* Firefox */
67
	-moz-border-radius: 0.4em 0.4em 0;
75
  -moz-border-radius: 0.4em 0.4em 0;
68 76
/* Safari, Chrome */
69
	-webkit-border-radius: 0.4em 0.4em 0;
77
  -webkit-border-radius: 0.4em 0.4em 0;
70 78
/* Konqueror */
71
	-khtml-border-radius: 0.4em 0.4em 0;
79
  -khtml-border-radius: 0.4em 0.4em 0;
72 80
/* CSS3 */
73
	border-radius: 0.4em 0.4em 0 0;
74
/* 	behavior: url(border-radius.htc); */
81
  border-radius: 0.4em 0.4em 0 0;
82
/*  behavior: url(border-radius.htc); */
75 83
}
76 84
#menuv3 ul:hover h2 {
77
	background-color:#DCDCDC;
85
  background-color:#DCDCDC;
78 86
}
79 87
#menuv3 a, #menuv3 a:visited, #menuv3 div.x, #menuv3 div.x:visited {
80
	color: #000000;
81
	text-decoration: none;
82
	padding-right: 10px;
88
  color: #000000;
89
  text-decoration: none;
90
  padding-right: 10px;
83 91
}
84 92
#menuv3 a {
85
	background: #EBEBEB;
93
  background: #EBEBEB;
86 94
}
87 95
#menuv3 div.x, #menuv3 div.x:visited {
88
	background-color: #EBEBEB;
89
	border-right: 1em solid #FE5F14;
96
  background-color: #EBEBEB;
97
  border-right: 1em solid #FE5F14;
90 98
}
91 99
#menuv3 div.x:hover {
92
	border-right: none;
100
  border-right: none;
93 101
}
94 102
#menuv3 a:hover, #menuv3 div.x:hover {
95
	color: #FE5F14;
96
	background-color: #EBEBEB;
103
  color: #FE5F14;
104
  background-color: #EBEBEB;
97 105
}
98 106
#menuv3 a:active, #menuv3 div.x:active {
99
	color: #FE5F14;
100
	background-color: #EBEBEB;
107
  color: #FE5F14;
108
  background-color: #EBEBEB;
101 109
}
102 110
#menuv3 ul {
103
	list-style: none;
104
	margin: 0;
105
	padding: 0;
106
	float: left;
111
  list-style: none;
112
  margin: 0;
113
  padding: 0;
114
  float: left;
107 115
}
108 116

  
109 117
#menuv3 li {
110
	position: relative;
111
	float: none;
112
	border: 0;
118
  position: relative;
119
  float: none;
120
  border: 0;
113 121
  border-width:0 0 1px 0;
114 122
}
115 123
li.sub {
116
	position: relativ;
117
	left: 0.2em;
118
	top: 0px;
119
	background-color: #FFFFFF;
124
  position: relative;
125
  left: 0.2em;
126
  top: 0px;
127
  background-color: #FFFFFF;
120 128
}
121 129
/* IE6 spacing bug fix, <li>s without a bottom border get spaced to far  * correction:the bug will change the height of the parent element! this will also cause the whole menu to grow  * so the only method to get this pile of crap going is to add a bottom border to the <li>s, where the enclosing <ul> already has * a bottom border, which just looks ugly * the trick:color the bottom border with the same color as the bottom pixel of the background image - noone notices */
122 130
#menuv3 ul li {
123
	/* border: solid;
124
	border-color: #991900;
125
	border-width: 0 0 1px 0;
131
  /* border: solid;
132
  border-color: #991900;
133
  border-width: 0 0 1px 0;
126 134
*/
127 135
}
128 136
#menuv3 ul ul {
129
	padding: 0 2em 2em 2em;
130
	margin: 0 -2em -2em -2em;
137
  padding: 0 2em 2em 2em;
138
  margin: 0 -2em -2em -2em;
131 139
}
132 140
#menuv3 ul ul li {
133
	/*padding-top: 0.01em;*/
134
	background-color: #FFFFFF;
141
  /*padding-top: 0.01em;*/
142
  background-color: #FFFFFF;
135 143
}
136 144
/* IE6 event bug fix, without a background there hovers will be occassionally lost between the li's to the layer below  * causing the menu to close. Opera 9 has the same bug btw. */
137 145
#menuv3 ul ul {
138
	position: absolute;
139
	z-index: 500;
140
	display: none;
146
  position: absolute;
147
  z-index: 500;
148
  display: none;
141 149
}
142 150
#menuv3 ul ul ul {
143
	top: 0;
144
	left: 99%;
145
	padding: 2em;
146
	margin: -2em;
151
  top: 0;
152
  left: 99%;
153
  padding: 2em;
154
  margin: -2em;
147 155
}
148 156
#menuv3 ul ul ul li {
149
	border-left: 0.2em solid #EBEBEB;
157
  border-left: 0.2em solid #EBEBEB;
150 158
}
151 159
/* Begin non-anchor hover selectors */
152 160
/* Enter the more specific element (div) selectoron non-anchor hovers for IE5.x to comply with theolder version of csshover.htc - V1.21.041022. Itimproves IE's performance speed to use the olderfile and this method */
153 161
div#menuv3 h2:hover {
154
	background: #EBEBEB;
155
	color: #FE5F14;
162
  background: #EBEBEB;
163
  color: #FE5F14;
156 164
}
157 165
div#menuv3 li:hover {
158
	cursor: pointer;
166
  cursor: pointer;
159 167
}
160 168
div#menuv3 li:hover ul ul, div#menuv3 li li:hover ul ul, div#menuv3 li li li:hover ul ul, div#menuv3 li li li li:hover ul ul {
161
	display: none;
169
  display: none;
162 170
}
163 171
div#menuv3 li:hover ul, div#menuv3 li li:hover ul, div#menuv3 li li li:hover ul, div#menuv3 li li li li:hover ul {
164
	display: block;
165
	position: relativ: left: 10px;
172
  display: block;
173
  position: relative;
174
  left: 10px;
166 175
}
167 176
/* End of non-anchor hover selectors */
168 177

  
169 178
li.sub {
170
	position: relativ;
171
	left: 0.2em;
172
	top: 0px;
173
	background-color: #FFFFFF;
179
  position: relative;
180
  left: 0.2em;
181
  top: 0px;
182
  background-color: #FFFFFF;
174 183
}
175 184

  
176 185
/* html menu */

Auch abrufbar als: Unified diff