| /******************************************************************************* |
| * Copyright (c) 2008, 2009 Innoopract Informationssysteme GmbH. |
| * 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: |
| * Innoopract Informationssysteme GmbH - initial API and implementation |
| * EclipseSource - ongoing development |
| ******************************************************************************/ |
| |
| /* Test RAP theme file */ |
| |
| /* All Widgets and Controls */ |
| |
| * { |
| rwt-selectionmarker-color: #56a0ea; |
| } |
| |
| /* Another rule with the same selector */ |
| |
| * { |
| color: rgb( 112, 94, 66 ); |
| background-color: rgb( 255, 255, 255 ); |
| font: bold 12px Arial, Helvetica, sans-serif; |
| } |
| |
| /* Wildcard type name with style flag */ |
| |
| *[BORDER] { |
| border: 2px outset; |
| } |
| |
| /* All white widgets */ |
| List, Text, Tree, Table { |
| background-color: white; |
| } |
| |
| /* All gray widgets */ |
| Button, Label, Composite { |
| color: rgb( 39, 64, 139 ); |
| background-color: #c0c0c0; |
| } |
| |
| /* Button */ |
| |
| Button { |
| color: #705e42; /* 112, 94, 66 */ |
| padding: 12px 6px; |
| } |
| |
| Button[PUSH], Button[TOGGLE] { |
| background-color: #9dd0ea; |
| border: 1px #1695d4; |
| font: 11px 'Segoe UI', Tahoma, 'Lucida Sans Unicode'; |
| } |
| |
| Button[PUSH][BORDER], Button[TOGGLE][BORDER] { |
| border: 2px #1695d4; |
| } |
| |
| Button[PUSH]:pressed, Button[TOGGLE]:pressed { |
| background-color: rgb( 227, 221, 158 ); |
| } |
| |
| /* Border radius */ |
| Composite[BORDER] { |
| color: #123456; |
| border: 2px #1695d4; |
| border-radius: 5px 10px; |
| } |
| |
| /* Custom variant */ |
| |
| .special { |
| color: red; |
| } |
| |
| Button.special { |
| color: red; |
| background-color: transparent; |
| } |
| |
| .special-blue { |
| color: blue; |
| } |