View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/cms/branches/cms-restyling/api/src/main/styling/less/_hippo_menu.less
Revision: 47789
Committed: Wed Dec 24 11:08:36 2014 UTC (7 years, 1 month ago) by mdenburger
File size: 1658 byte(s)
Log Message:
CMS7-8595: remove menu spacer class and CSS

It's not used anywhere.

File Contents

# Content
1 /*
2 * Copyright 2014 Hippo B.V. (http://www.onehippo.com)
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 .hippo-toolbar-menu-item {
18 background-color: @hippo-menu-bgcolor;
19 min-width: 80px;
20 font-size: unit(@hippo-menu-fontsize, px);
21 padding: 6px 0;
22
23 li {
24 clear: left;
25 margin-right: 0;
26
27 .hippo-toolbar-menu-item-button {
28 display: block;
29 width: auto;
30 padding: 6px 12px;
31 white-space: nowrap;
32 }
33
34 // enabled item
35 a.hippo-toolbar-menu-item-button {
36 white-space: nowrap;
37 text-decoration: none;
38 color: @hippo-menu-enabled-color;
39 }
40
41 // enabled item hover
42 &:hover a.hippo-toolbar-menu-item-button {
43 color: @hippo-menu-enabled-hover-color;
44 background-color: @hippo-menu-enabled-hover-bgcolor;
45 }
46
47 // disabled item
48 span.hippo-toolbar-menu-item-button {
49 color: @hippo-menu-disabled-color;
50 }
51
52 .hippo-toolbar-menu-item-button-icon {
53 display: inline-flex;
54 position: relative;
55 top: 2px;
56 padding-right: 6px;
57 }
58
59 .hippo-toolbar-menu-item-button-label {
60 position: relative;
61 top: -2px;
62 }
63 }
64 }