blob: e2e41559bab6b2ef6fe5ad40969d4c0fbf865bb2 [file] [log] [blame]
/*******************************************************************************
* 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
*******************************************************************************/
/* Combo */
/* Combo always shows a border, the BORDER style flag is ignored by SWT */
Combo, CCombo {
font: 11px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
background-color: #fcfcfc;
color: #4a4a4a;
}
Combo, CCombo[BORDER] {
background-image: gradient(
linear, left top, left bottom,
from( #e2e2e2 ),
color-stop( 15%, #f8f8f8 ),
to( #fbfbfb )
);
border: 1px solid #c1c1c1;
border-radius: 2px;
}
Combo-Button-Icon, CCombo-Button-Icon {
background-image: url( theme/fancy/icons/down.png );
}
Combo-Button-Icon:hover, CCombo-Button-Icon:hover {
background-image: url( theme/fancy/icons/down-hover.png );
}
Combo-Button, CCombo-Button {
background-color: transparent;
border: none;
border-radius: 0px 2px 2px 0px;
background-image: gradient(
linear, left top, left bottom,
from( #ffffff ),
color-stop( 48%, #f0f0f0 ),
color-stop( 52%, #e0e0e0 ),
to( #cccccc )
);
width: 18px;
}
Combo-Button:pressed, CCombo-Button:pressed {
background-image: gradient(
linear, left top, left bottom,
from( #e0e0e0 ),
color-stop( 52%, #e0e0e0 ),
to( #b0b0b0 )
);
}
Combo-List, CCombo-List {
border: 1px solid #c1c1c1;
border-radius: 0px 0px 2px 2px;
}
Combo-FocusIndicator, CCombo-FocusIndicator {
background-color: transparent;
border: 1px dotted #b8b8b8;
margin: 1px 19px 1px 1px;
opacity: 1;
}