| /******************************************************************************* |
| * Copyright (c) 2010, 2011 EclipseSource and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * EclipseSource - initial API and implementation |
| ******************************************************************************/ |
| |
| /* Menu default theme */ |
| |
| Menu { |
| background-image: gradient( |
| linear, left top, left bottom, |
| from( #f4f4f4 ), |
| to( #ffffff ) |
| ); |
| padding: 0; |
| opacity: 1; |
| animation: none; |
| color: #0059a5; |
| background-color: #f9f9f9; |
| border: 1px solid #a0b3ca; |
| border-radius: 2px; |
| box-shadow: 0 0 4px #ababab; |
| } |
| |
| MenuItem { |
| color: #4a4a4a; |
| background-color: transparent; |
| background-image: none; |
| opacity: 1; |
| text-shadow: none; |
| padding: 4px 10px 4px 10px; |
| } |
| |
| MenuItem[SEPARATOR] { |
| padding: 0px 10px; |
| } |
| |
| MenuItem:hover { |
| color: #ffffff; |
| background-image: gradient( |
| linear, left top, left bottom, |
| from( #5882b5 ), |
| to( #416693 ) |
| ); |
| } |
| |
| MenuItem:onMenuBar { |
| padding: 4px 6px; |
| } |
| |
| MenuItem-CheckIcon { |
| background-image: url( resource/widget/rap/menu/checkbox.gif ); |
| } |
| |
| MenuItem-RadioIcon { |
| background-image: url( resource/widget/rap/menu/radiobutton.gif ); |
| } |
| |
| MenuItem-CascadeIcon { |
| background-image: url( resource/widget/rap/menu/arrow.gif ); |
| } |