CommandButton Default Color
Hi Friends,
I have one problem with af:commandButton. I need to override Mouse Hover click background color (by default blue).
I tried many times through CSS, but it's not working. Please help me.
Thanks,
parames
Hi Friends,
I used the below code. but still not working, mouse hover button showing by default blue...
af|commandButton:text-only,
af|commandButton:hover:text-only,
af|commandButton:active:text-only,
af|commandButton:hover,
af|commandButton:focus:hover:text-only
color: #000000;
background-color: #FFB56C;
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size: 12px;
border-color: #A00144;
font-weight: bold;
border-width: 1px;
background-image: none;
background: none;
thanks,
parames
Similar Messages
-
How to change the default color of the selected row
hi all,
I need to know how to change the default color(yellow) of the selected row in a table component.whether i need to change anything in the stylesheet.If so, where should i make the changes in the stylesheet.
thanks and regards,
rpkThe chart colors are being referred to *'palette.cxml'* file in these directories
BI_HOME\web\app\res\s_oracle10\chartsupport
BI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\chartsupport
you can change to your custom colors.
Restart OC4J and PS to make the new ones work..
Regards,
Raghu -
How to remove the orange default color of the first cell in an ALV report
Hello all,
I have coded an ALV grid report (in ABAP object) and when I execute it, I saw that the first cell containing data, in the top left corner of the ALV grid is always colored in orange by default. This bothers me because I have colored this cell in green (if I select an other line in my grid, I can clearly see that my top left cell is colored in green).
Does anyone knows how to "desactivate" this orange default color ?
Thanks for your answer.
Best regards
Cyril S.Thanks Uwe and Rainer,
Unfortunately, I tried what you mentioned both and nothing works.
As you said, it seems mandatory that a cell must be selected by default in an ALV grid.
That's a pity because this "ugly orange" hides my beautiful green color.
I will answer my customer that it is not possible. That's all.
Thank you for your help. I did appreciate.
Best regards
Cyril S. -
Is there a way to change the default colors for iPad apps?
I noticed one of my friends iPad 2 had a different color scheme for apps and I would like to change my iPad 2's default ( which is currently grey). To elaborate, the default color for the borders and tabs in Safari are grey on my iPad, my friends are blue. Would like to change from the drab grey color to blue also but I cannot find a setting for this. All applications and Setup apps have this default color scheme on my ipad. Do I have to reset the iPad and start over with setup to achieve this? Hope not, perhaps someone can shed some light on an easy way to do this. Thank You!
You can apply system-wise "negative" color effect under Settings > General > Accessibility, by toggling the White and Black switch - and, in iCab Mobile (and some other, better browsers / PDF readers), its own "night mode" negative color scheme.
Otherwise, no, you can't do anything else except for asking third party app authors to add selectable back/froeground (=text) colors to their apps.
There is an article dedicated to this question: http://www.iphonelife.com/blog/87/do-you-find-your-idevices-screen-be-too-blueis h-or-just-too-harsh-bedtime-reading -
Can I change the default color of a calendar event?
I have a couple calendars that will be using the overlay functionality in 2010, and chosing colors for the overlays is no problem. However the main calendar defaults to green, and then when you open any of the overlay calendars their default color
is green on their calendar but different on the main version. Is there a way I can change the default so that either the main calendar doesn't show green (then each overlay owner wouldn't be confused), or to change the seperate overlay calendars to have
their default match the selected overlay color?DenzelHi Denzel,
SharePoint 2010 calendar makes use of CALENDARV4.CSS file. The default location of this file is [C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable\]
Search for .ms-acal-item element in this CSS file and make changes to
background-color property to suit your requirement. A trial and error method could allow you to achieve your functionality.
CAUTION: Kindly make backup of your original CALENDARV4.CSS file, before making any changes.
There is a good reference/sample of Calendar Styles by Heather Solomon for earlier SharePoint version 2007 here:
http://www.heathersolomon.com/blog/archive/2007/11/20/SharePoint-Calendar-CSS--Clean-and-Condensed.aspx
Additionally, please make use of Internet Explorer 8 Developer Tools (F12) to further explore the overlay calendar CSS. Hope this helps.
Thanks & Regards,
Kamlesh | Blog |
Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
If you get your Question answered, please come back and mark the reply as an Answer, so others can find it.
If you get helped by an Answer to someone else's question, please vote the Post as Helpful. -
How to get default color of a selected row in a JLIst
I have a JList that I am changing the font color for based on a certian situation so I created my own MyCellRenderer to do this. However, when I select an item in the list the row is no longer highlighted. I used the isSelected method to determine if a row was selected and then change the background color of that row. However, I would like the color to be the default color that you get when you select a row in a default JList. I can't seem to figure out how to get that color. How do I obtain what that color is? I found an example where you can get the default color for the background of a button and use that color so I would guess it is something similar to that. My code is below so I hope someone can tell me how to get that color that I want.
Thanks...Chris
class MyCellRenderer extends JLabel implements ListCellRenderer {
public MyCellRenderer() {
setOpaque(true);
public Component getListCellRendererComponent(
JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
int index1 = value.toString().indexOf("-");
String errors = value.toString().substring(index1 + 1, index1 + 6).trim();
int numErrors = Integer.parseInt(errors);
if (numErrors > 0)
setForeground(Color.red);
setBackground(Color.white);
else
setBackground(Color.white);
setForeground(Color.black);
if(isSelected)
//ColorUIResource col = (ColorUIResource)UIManager.getDefaults().get("JButton.background");
ColorUIResource col = (ColorUIResource)UIManager.getDefaults().get("Button.background");
setBackground(col);
setText(value.toString());
return this;
}Swing related questions should be posted in the Swing forum.
I would like the color to be the default color that you get when you select a row in a default JList. I can't seem to figure out how to get that colorlist.getSelectionBackground(); -
Default Colors Limit for Graph in OBIEE 11g
Hi, I'm using OBIEE 11g (11.1.1.6.6)
When I use a graph (either bar or pie), I notice that OBIEE only has 12 default colors to use in the graph. So it starts from blue, red, and so forth, until the 12th color, then for the 13th color it will use the same blue again, and so forth.
The problem is that my column values are more than 12 (it could be 20, it could be 30, etc). So, the repeating colors doesn't make any sense for the graphs.
Could somebody please advise me on how to increase the default number of default colors used by OBIEE (so that it will be like 50 default colors set automatically by OBIEE, just in case)?
Thanks so much!Hi,
type HexaDecimal colors in google you will find n number of colors with the code number, just use this color codes by adding# before every code in the column format properties.
for ex: #ccc99
Follow this follwoing link
http://www.google.co.in/imgres?imgurl=http://howto.websitespot.com/images/hexadecimal-color-chart.gif&imgrefurl=http://howto.websitespot.com/hexadecimal-colors/&h=706&w=498&sz=63&tbnid=9_3i-3tIMDNffM:&tbnh=91&tbnw=64&prev=/search%3Fq%3Dhexadecimal%2Bcolors%26tbm%3Disch%26tbo%3Du&zoom=1&q=hexadecimal+colors&usg=__nWfHEFVvPfjMfZyq2MxXkhJ-288=&docid=FXj6mM0pc4RQTM&hl=en&sa=X&ei=FDxJUc2cDqS8iwKetICACQ&sqi=2&ved=0CEAQ9QEwBA&dur=280
Mark if Helpful/correct.
revert me for any queries
Thanks
Edited by: 934322 on Mar 19, 2013 9:38 PM -
How do I change the default color in pages.
How do I change the default color in pages. Everytime I try to copy and paste a passage, I am unable to do so because it seems that the ink is always white on white. Sometimes I am lucky and can change it using the color box in the format bar, but it's a rarity when I'm able to do it.
What version of Pages & what version of OS X are you using?
A problem with an early Software Update for Snow Leopard caused a lot of problems. The problem is not whether or not your system is the current version but how it got there. You must use the combo updater, not the one from Software Update unless it specifically states it is the combo. Software Update will only offer the combo if your system is two or more versions behind.
If you're not running the latest versions of the iWork apps & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 (or '08 if that's what you're using) folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work. -
When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?
It's probably the fields highlight color of the application, which you can change via Edit - Preferences - Forms.
-
Change Default Color Profile in New Image Document ?
I've looked and looked, and even Googled. Anyone know how to change the default color profile when you start a New image file? In CS5 mine defaults to sRGB (Under the Advanced drop down) but my CS6 is ProPhoto RGB which means I have to change it manually nearly every time I paste an image copied via right click in a web browser.
I think it the same on windows. If I copy things to the clipboard with Photoshop that the document profile seem to be used there when I do a paste there are no color issues. However if I use Prtscn or Alt+PrtScn to capture screen content. I'll see that the colors are wrong when I paste the clipboard into a new document if my default color space is not sRGB. Then I need to assign sRGB to the document to correct the colors.
If I paste a screen capture into the current document the color can be very off and I will not get a prompt on the color mismatch. Therefore I don't think a screen capture has any profile associated with it. And of course the screen has a much lower resolution then the images I edit. So there is also a big size difference. Here is one scaled to 100% zoom after the paste. You can see both the color and resolution difference. This capture was assigned to sRGB so you will see what the screen looks like after the paste and zoom to 100%.
Message was edited by: JJMack -
Excel 2010 ignores print server's default color settings.
Excel 2010 ignores print server's default color settings.
Our Setup:
Printers are hosted on Server 2008 R2 Print Server.
Two local printers are created on the print server for each Xerox MFP that we have. Example: Xerox MFP (B&W) - Default settings are set to print black and white only. Xerox MFP
(Color) - Default settings are set to print color. So for every MFP we have two printers are created.
Both variations of the network printers are deployed to the users with the Black and White version being the default. If a user needs to print something in color, they select the Color version of the MFP printer. This
helps us save on color toner costs.
This works great for web applications, Microsoft Word, Adobe Reader, and other applications. But, it doesn't seem to work in Microsoft Excel 2007 or 2010. Whatever the default printer is of the two versions that are deployed,
excel seems to hold onto those printer settings.
Example: If your default printer is Xerox MFP (B&W), when you select Xerox MFP (Color), it still retains the Black and White selection in the printer properties. However, if you select a completely different model printer such
as Fax, and then go to Xerox MFP (Color), it will pick up the necessary default color settings.
If I install the printers locally on the user's PC/Computer, it works perfectly. However, it doesn't work when they are utilizing the print server's printers.
Things that I have tried:
Different drivers for Xerox. Global, PS, PCL.
Different brands of printers. Still experience the same issue.
Different port names.
Different protocols, raw versus LPR.
Different versions of excel, 2007 and 2010.
Looked through group policy to see if I could force it.
Checked the excel sheet settings, black and white only was not selected.
Tried most of the printer properties settings.
Created a Server 2012 print server and experienced the same result.
Xerox's custom configuration file editor.
*Something to note, if I have the black and white version utilize PostScript Drivers and the color version utilize PCL driver, it correctly loads the color settings. However, if you utilize Postscript for both versions, it doesn't.
I have to vary the print drivers. Ideally, I don't want to have to do this because I want consistency between prints.Hi,
Make sure you have the latest printer drivers - go to the manufacture's website, download and install if necessary.
Jaynet Zhang
TechNet Community Support -
I Have a small problem, that I need some help on ...
I need to find the rgb value for the default background colors
of Panels. I used
new Color color = JPanel().getBackground();
int red = color.getRed();
int green = color.getGreen();
int blue = color.getBlue();
int alpha = color.getAlpha();
Result is (r=204,g=204,b=204,a=255) ........
Then When i try to set a Color of panel's background using these values
I get slightly a different color. (same color but the its darker)
new JPanel().setBackground(new Color(204,204,204,255));
Please tell me Why is this ?
I Really need to know the exact values of the default color .......
Thanks
Shirantha.I have the same problem when using Forte for Java IDE. When I
create a swing component, its color is initially set to 204,204,204.
At least, that is what it shows in the properties table. If you change it to another
color and then later decide that you want it back to default and set RGB
values back to 204,204,204 the slightly darker color that you mentioned comes up!
I tried to trick Forte by editing the source code with an editor. I Compiled
the program and it worked fine. The problem came back as soon as I loaded
the class in the IDE again since the source file was re-built.
Is there anyone who experienced this problem before?? -
How do I set default colors for XY chart series (lines and legend)
I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
.default-color0.chart-series-line {
-fx-stroke: rgb(0, 102, 255);
.default-color1.chart-series-line {
-fx-stroke: rgb(0, 255, 102);
...Update:
Figured it out. Need to do the following:
.default-color0.chart-line-symbol {
-fx-background-color: rgb(R, G, B);
}Edited by: 998038 on May 16, 2013 4:09 PMHere is some css to customize the line and legend colors in a line chart.
/** file: chart.css
place in same directory as LineChartWithCustomColors.java */
.default-color0.chart-series-line {
-fx-stroke: rgb(0, 102, 255);
.default-color1.chart-series-line {
-fx-stroke: rgb(0, 255, 102);
.default-color0.chart-line-symbol {
-fx-background-color: rgb(0, 102, 255), white;
.default-color1.chart-line-symbol {
-fx-background-color: rgb(0, 255, 102), white;
}And a test harness to try it:
import javafx.application.Application;
import javafx.event.*;
import javafx.scene.Scene;
import javafx.scene.chart.*;
import javafx.scene.control.*;
import javafx.scene.input.*;
import javafx.stage.Stage;
public class LineChartWithCustomColors extends Application {
@Override public void start(final Stage stage) {
stage.setTitle("Line Chart Sample");
//defining the axes
final NumberAxis xAxis = new NumberAxis();
xAxis.setLabel("Number of Month");
final NumberAxis yAxis = new NumberAxis();
//creating the chart
final LineChart<Number,Number> lineChart =
new LineChart<>(xAxis,yAxis);
lineChart.setTitle("Stock Monitoring, 2010");
lineChart.setCreateSymbols(false);
//defining a series
XYChart.Series series = new XYChart.Series();
series.setName("My portfolio");
//populating the series with data
series.getData().setAll(
new XYChart.Data(1, 23),
new XYChart.Data(2, 14),
new XYChart.Data(3, 15),
new XYChart.Data(4, 24),
new XYChart.Data(5, 34),
new XYChart.Data(6, 36),
new XYChart.Data(7, 22),
new XYChart.Data(8, 45),
new XYChart.Data(9, 43),
new XYChart.Data(10, 17),
new XYChart.Data(11, 29),
new XYChart.Data(12, 25)
lineChart.getData().add(series);
//adding a context menu item to the chart
final MenuItem resizeItem = new MenuItem("Resize");
resizeItem.setOnAction(new EventHandler<ActionEvent>() {
@Override public void handle(ActionEvent event) {
System.out.println("Resize requested");
final ContextMenu menu = new ContextMenu(
resizeItem
lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
@Override public void handle(MouseEvent event) {
if (MouseButton.SECONDARY.equals(event.getButton())) {
menu.show(stage, event.getScreenX(), event.getScreenY());
Scene scene =
new Scene(
lineChart,800,600
stage.setScene(
scene
stage.show();
scene.getStylesheets().add(
getClass().getResource("chart.css").toExternalForm()
public static void main(String[] args) {
launch(args);
} -
Setting a default color for messages in Mail
I figured out how to change the default font & font size in messages in the Mail application, and how to change the color in my signature, however I cannot figure out how to set the default color for new messages?
Hi,
Look at the Mail's preferences, under Composing. Select where you like to save notes and todos. -
How to set default color to e-mail
I want to set a default color for all e-mail messages and although I have tried to set the color it doesn't seem to work ... second day with a mac, so speak slowly.
Also want to set up a signature with the name in one color and address and contact info a different color. I went into mail>preferences>signatures and was able to change font on different lines of signature ... but when I tried to apply colors, it didn't work
Thanks very much in advance for your assistance, halboyehalboye wrote:
I want to set a default color for all e-mail messages and although I have tried to set the color it doesn't seem to work ... second day with a mac, so speak slowly.
that's not possible. you'll have to do it for every message individually.
Also want to set up a signature with the name in one color and address and contact info a different color. I went into mail>preferences>signatures and was able to change font on different lines of signature ... but when I tried to apply colors, it didn't work
that's possible. while editing a signature go to Format menu->show fonts. in the popup click on T with a green rectangle next to it. that's the button for font color. you'll get yet another popup for color. highlight some text in the signature and click on the color you want.
Thanks very much in advance for your assistance, halboye
Maybe you are looking for
-
I downloaded the upgraded to itunes. It is now not recognizing my ipod nano. I uninstalled the software from my Windows 7 and then reinstalled. The computer recognizes the device, but itunes still does not. Any suggestions...
-
Business process in activity base costing
Hi All, We have implemented ABC to compute cost for sales order. We defined business process & templates to compute the cost. There is one scenario where I need expert advice. For one of the cost element order to cash have 2 rates one is for a order
-
// BUS ERROR (NON-ALIGNED ADDRESS // compile using following // CC -xtarget=native -xarch=v9 -g alligned.c // CC Version = Sun WorkShop 6 update 2 C++ 5.3 2001/05/15 // The following program dumps core when build with above comman
-
OS X keeps forgetting my private keys
Hi, I have Macbook Air (mid-2013). I manage some linux servers, I added my private keys to MBA by running ssh-add command. OS X preserve my keys for a limited time and then forget. I've 2 different keys. I noticed OS X forget my keys after rebooting
-
What is the MAAssetSharing plug in and why is it making logic crash?
I keep having crashing problems when I load a new instrument. Then logic blames it on the MAAssetSharing plugin but I can't find it on my computer to delete it. What is it for and why is it making logic crash. Thanks in advance