blob: 8fb617eac374764629c97012df353cd5d0b91823 [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
*******************************************************************************/
/* Spinner */
Spinner {
border: none;
padding: 1px 2px;
color: #464a4e;
background-color: #fcfcfc;
background-image: none;
}
Spinner[BORDER] {
border: 1px solid #a4a4a4;
border-radius: 2px 2px 2px 2px;
background-image: gradient(
linear, left top, left bottom,
from( #e2e2e2 ),
color-stop( 15%, #f8f8f8 ),
to( #fbfbfb )
);
}
Spinner-DownButton {
background-color: transparent;
background-image: gradient(
linear, left top, left bottom,
from( #e0e0e0 ),
to( #ffffff )
);
width: 18px;
border: none;
border-radius: 0px 0px 2px 0px;
}
Spinner-DownButton:pressed {
background-image: gradient(
linear, left top, left bottom,
from( #b0b0b0 ),
color-stop( 52%, #e0e0e0 ),
to( #ffffff )
);
}
Spinner-UpButton {
background-color: transparent;
background-image: gradient(
linear, left top, left bottom,
from( #ffffff ),
to( #e0e0e0 )
);
width: 18px;
border: none;
border-radius: 0px 2px 0px 0px;
}
Spinner-UpButton:pressed {
background-image: gradient(
linear, left top, left bottom,
from( #ffffff ),
color-stop( 52%, #e0e0e0 ),
to( #b0b0b0 )
);
}