Color not changing on Selected Menu tab

I'm creating a custom css and in doing so have been trying to change the text color of the selected menu tab. I've added it to my stylesheet but it is not changing upon running it. If I change the menu tab specifically via the properties of the tab, it will change. Is 'color' something we can change?
Here is a snipet of my css:
.af|menuTabs::selected {color:red;
white-space:nowrap;
font-family:Arial,Helvetica,Geneva,sans-serif;
font-size:200%;
background-color:white;
font-weight:bold;
text-decoration:none;
Thanks,
Lisa

A: Color not changing on Selected Menu tab

Your '.' before af|menuTabs is wrong.
It's just "af|menuTabs::selected" not ".af|menuTabs::selected".
Also, you need to use the ::selected-link pseudo-element to style the color of the text.
/* Make the selected tab bold */
af|menuTabs::selected-link
font-weight: bold;
font-size: 14pt;
color: green;
}

Your '.' before af|menuTabs is wrong.
It's just "af|menuTabs::selected" not ".af|menuTabs::selected".
Also, you need to use the ::selected-link pseudo-element to style the color of the text.
/* Make the selected tab bold */
af|menuTabs::selected-link
font-weight: bold;
font-size: 14pt;
color: green;
}

Similar Messages

  • Tab pages not changed when selecting from TAB LIST

    Hi All,
    I have a form which has 15 tabs, 1st 10 Tabs are dynamic (enabled at new form instance, depending on configuration) and 11 to 15 are Static tabs visible for all.
    My problem is when i am clicking on tabs iam able to switch tabs, but when I select tab from Tab List I am not going to the selected TAB.
    Ex: when I am in TAB 1 and Select TAB15 from Tab list My form Still Stays in TAB1 and not moving to TAB 15
    Please provide me a Solution.
    My code in WHEN TAB PAGE CHANGED is
    DECLARE
    l_curr_rec NUMBER;
         BEGIN
              l_curr_rec := :SYSTEM.CURSOR_RECORD;
              --Get the Top Default Tab Page for the Form
              SHOW_VIEW('HDR_CANVAS_FIXED');
              :global.headers:=GET_CANVAS_PROPERTY('TAB_CANVAS', topmost_tab_page);
         IF(:GLOBAL.HEADERS='AS_REC_IMAGE')THEN      
    SHOW_VIEW('AS_REC_IMAGE');
    SET_VIEW_PROPERTY('AS_REC_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('AS_REC_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('AS_REC');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='TRIM_REC_IMAGE')THEN      
    SHOW_VIEW('TRIM_REC_IMAGE');
    SET_VIEW_PROPERTY('TRIM_REC_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('TRIM_REC_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('TRIM_REC');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='AS_SHIP_IMAGE')THEN      
    SHOW_VIEW('AS_SHIP_IMAGE');
    SET_VIEW_PROPERTY('AS_SHIP_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('AS_SHIP_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('AS_SHIP');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='TRIM_SHIP_IMAGE')THEN      
    SHOW_VIEW('TRIM_SHIP_IMAGE');
    SET_VIEW_PROPERTY('TRIM_SHIP_IMAGE',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('TRIM_SHIP_IMAGE',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('TRIM_SHIP');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSIF(:GLOBAL.HEADERS='EXTRA')THEN      
                   ---Show the Export Canvas---------     
    SHOW_VIEW('EXTRA');
    SET_VIEW_PROPERTY('EXTRA',VISIBLE,PROPERTY_TRUE);
    SET_TAB_PAGE_PROPERTY('EXTRA',ENABLED,PROPERTY_TRUE);
              GO_BLOCK('EXTRA');
                   --Hide the other canvases except the Pricing Canvas                     
         ELSE -- DYNAMIC TABS
    --Hide all the other  static canvases
    IF (:GLOBAL.HEADERS='CT01')THEN
         GO_BLOCK('CT01');
    ELSIF (:GLOBAL.HEADERS='CT02')THEN
         GO_BLOCK('CT02');
    ELSIF (:GLOBAL.HEADERS='CT03')THEN
         GO_BLOCK('CT03');
    ELSIF (:GLOBAL.HEADERS='CT04')THEN
         GO_BLOCK('CT04');
    ELSIF (:GLOBAL.HEADERS='CT05')THEN
         GO_BLOCK('CT05');
    ELSIF (:GLOBAL.HEADERS='CT06')THEN
         GO_BLOCK('CT06');
    ELSIF (:GLOBAL.HEADERS='CT07')THEN
         GO_BLOCK('CT07');
    ELSIF (:GLOBAL.HEADERS='CT08')THEN
         GO_BLOCK('CT08');
    ELSIF (:GLOBAL.HEADERS='CT09')THEN
         GO_BLOCK('CT09');
    ELSE --ELSIF (:GLOBAL.HEADERS='CT10')THEN
         GO_BLOCK('CT10');
    END IF;
              END IF;
         END;
    Thanks,
    Durga Srinivas.
    Edited by: DurgaSrinivas_886836 on Dec 3, 2012 8:12 PM

    In your trigger, you are doing a SHOW_VIEW ('HDR_CANVAS_FIXED'); before you select the :GLOBAL.HEADERS information. I'm not sure what HDR_CANVAS_FIXED is, but I am wondering if that is what is messing you up. What happens if you either comment that out:
    DECLARE
      l_curr_rec     NUMBER;
    BEGIN
      l_curr_rec := :SYSTEM.CURSOR_RECORD;
      --Get the Top Default Tab Page for the Form
      --SHOW_VIEW ('HDR_CANVAS_FIXED'); /* <-------------------------------------------------------Comment it out */
      :global.headers := GET_CANVAS_PROPERTY ('TAB_CANVAS', topmost_tab_page);
      IF (:GLOBAL.HEADERS = 'AS_REC_IMAGE') THEN
        SHOW_VIEW ('AS_REC_IMAGE');
        .or if it is necessary move it to after the :GLOBAL.HEADERS:
    DECLARE
      l_curr_rec     NUMBER;
    BEGIN
      l_curr_rec := :SYSTEM.CURSOR_RECORD;
      --Get the Top Default Tab Page for the Form
      :global.headers := GET_CANVAS_PROPERTY ('TAB_CANVAS', topmost_tab_page);
      SHOW_VIEW ('HDR_CANVAS_FIXED'); /* <------------------------------------ Swap it with :global.headers */
      IF (:GLOBAL.HEADERS = 'AS_REC_IMAGE') THEN
        SHOW_VIEW ('AS_REC_IMAGE');
        SET_VIEW_PROPERTY ('AS_REC_IMAGE', VISIBLE, PROPERTY_TRUE);
        SET_TAB_PAGE_PROPERTY ('AS_REC_IMAGE', ENABLED, PROPERTY_TRUE);
        GO_BLOCK ('AS_REC');
      --Hide the other canvases except the Pricing Canvas
      ELSIF (:GLOBAL.HEADERS = 'TRIM_REC_IMAGE') THEN
        SHOW_VIEW ('TRIM_REC_IMAGE');
        .

  • Change Color in Spcolor File but Color Not Changed in Site - SP 2013

    I have changed the color in the spcolor file that is associated with the theme selected for my site, but when I save it and upload it to the site again, the color does not change on the site. Is there another way colors can be changed that would override
    the spcolor file?

    Hi Tracey,
    Please download the orginal spcolor file for particular composed look/theme from that site collection themem gallery, then change the color value with Notepad application, then upload it back to theme gallery to overrride spcolor file, check out and check
    in this file, then see if the custom color could be changed for that particular composed look for your site, please try this in a test site collection firstly.
    Also you can try creating a new custom composed look with custom spcolor for your site per the following articles, see if it could work.
    http://www.learningsharepoint.com/2013/06/03/create-custom-theme-in-sharepoint-2013-step-by-step-tutorial/
    http://bniaulin.wordpress.com/2012/12/16/step-by-step-create-a-sharepoint-2013-composed-look/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Changing scene selection menu action

    I'm trying to create a DVD with a particular theme. Everything works fine until I try the Scene Select button in the Preview Mode. When the Scene Selection menu comes up it is using a theme from a previous project. I am unable to change this to the theme being used in the first menu for this project.
    How can I cancel the old project theme out of the Scene Selection menu?
    Or how can I change it once I've started a project using a particular theme?
    Thanks for any help you can give!

    If you go to the main menu and then Advanced/Apply Theme To Project, it won't do that? If not:
    This frequently helps solve some problems. Quit iDVD. Search for the file named com.apple.iDVD.plist and trash it. (A new one will be created next launch of iDVD.) Or look in: User/Library/Preferences. This may solve project loading errors too. Restart and use Disk Utility to Repair Permissions.

  • Excise base value is not changing in MIGO excise tab for Import  PO scenari

    Dear Gururs,
    We are using MIGO to capture & Post Excise Invoice for our Import PO (PO type ZIMP). the problem is, when we change the qty in MIGO Qty tab, corresponding base value is not getting update in Excise tab. we are not creating the planned cost mIRO directly we do the GRN.
    Please suggest a solution.
    Thanks
    Shital

    Hello Shital  ,
    You are using the India Scenario right?
    The issue can be because you have not assigned a zero tax code to the line item. For India please make the tax code field in PO as mandatory so that the user does not save the PO without atleast a zero tax code.
    Maintain the tax code & proceed. You will see the tab in MIGO.
    Regards
    Plauto

  • Base Value not changing in MIGO Excise Tab

    Dear Gururs,
    We are using MIGO to capture & Post Excise Invoice for our Import PO (PO type ZIMP). the problem is, when we change the qty in MIGO Qty tab, corresponding base value is not getting update in Excise tab. Please suggest a solution.

    Hi,
    If you are doing a MIGO for Import consignment, duties are flow from Invoice booked thru MIRO, so doutful if you can change corresponding base value in MIGO.
    Regards,
    Vikas

  • Why is the label color not changing when my file is updated?

    I would like the label color to change to white when a file has been updated/changed. Since upgrading to 10.7.2 the file color stays the same. Is there a setting I am missing that will allow the file to go back to white when updated?
    Thanks for any input...

    As far as I know, this is not standard functionality in the Mac OS.  Granted this, some third party application, or a script of something, was making this happen for you. Somehow the system update broke it. If you can figure out what software was giving you this feature, maybe you can update it or re-install it.
    charlie

  • Color not Changing, So -

    May I hope that me reporting this problem helps to make Apple act?
    How weird of Pages v5.5.  I select text of which to change color, I select a color in the palette, but the color stays the-same.  :-(
    So I closed & I re-opened _just_ that file.  Colors then work as they-should.  :-)  How strange, yes?

    The NI installer does not have that level of flexibility. I would suggest looking into using a third-party installer. I use Inno Setup (http://www.jrsoftware.org/isinfo.php), which is free, and has a quick start pack download, but there's plenty of others out there.

  • Hover color not changing

    http://www.jdcdemo.com/seark/test.html
    I alledgedly set up the style for the links to change background color on the top menu. For some reason which I have not been able to plumb, that ain't happenin'  Can someone who knows more that I tell me where I went astray?
    Thanks,
    Joe

    lol, here is yoru selector for hover:
    #nav1 li a:hover {
    It's empty!
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Link Color not changing for Visited Pages - How do I set the Color?

    In earlier versions of Safari, the user could select the color used to display links that have already been visited. I can't find that option in Preferences anymore. Some visited links do show a different color, some don't. Is it just random? How do I set the color in Safari 4.0.4 and activate the behavior?

    HI,
    I think you change visited pages link colors using Google preferences.
    http://www.googleguide.com/preferences.html
    Carolyn

  • Song list not changing when selecting a new artist

    I'm having problems with the Music app changing the song list when a new artist is selected.  I'm in Artist view, select a new Artist however the song list of the prior artist being played remains.  Seems to be an issue with my music.  Not an issue with the music I downloaded from Amazon.

    hello dolphingirl419, please go to firefox > addons > extensions & remove any suspicious entries (toolbars, things that you have not installed intentionally, etc). also go to the windows control panel / programs and remove all toolbars or potentially unwanted software from there and to a full scan of your system with the security software that you have in place.
    [[Remove a toolbar that has taken over your Firefox search or home page]]
    then go to firefox > help > troubleshooting information > "profile folder - show folder". a new window should open up - in case it does contain a file named user.js, please delete that and restart the browser.
    you could also install the [https://addons.mozilla.org/firefox/addon/searchreset/ searchreset addon] afterwards, it will revert the settings that those kind of adware usually modifies to their default.

  • Blend Visual States not changing when selecting them at design time

    I've been having an issue with Blend for quite some time now and can find no info on this.
    Problem: After adding states to a user control and configuring each state, when you click on any of the states, the designer does not show the state (once in a while this does work).  As a work around, I have to first click the state I want to see,
    then change a property like margin (then put it back) and the state will show, sometimes only for a second, and once in while it will stay until I click the next state.
    Any help would be appreciated. Thanks!

    Jhon, what Frank mentioned can't be fixed from the outside. You or the developers who use phase listens without thinking about the design view are the ones to fix this. Frank provided you with the solution for this.
    However, we don't know if you use any self written phase listener. If you don't do this you have another problem. I do see some of your symptoms but can't reproduce them at the moment. As long as we can't reproduce the problem somehow it's difficult to to get a solution.
    My advise is to keep your eyes open (add I do) and whenever you can reproduce this behaviour come back and tell us about it. It's hard or impossible to give the 'best' settings for Jdev.conf as they depend on other factors e.g. operating system, memory, other applications running at the same time and many more.
    Personally I don't change the parameters as long as I can't put the problems to low memory (which I can't at the moment).
    Timo

  • Label color not changing color

    hi,
    i'm having some problems trying to set the color or a jlabel, but it's not working. here is the code:
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.text.*;
    import java.awt.event.*;
    public class PaperTest extends DefaultStyledDocument{
         int maxLen;       
         public static void main(String args[]) {
              JFrame paper = new JFrame();
              GridLayout gd = new GridLayout(3,1);
              paper.getContentPane().setLayout(gd);
                 paper.addWindowListener(new WindowAdapter() {
                  public void windowClosing(WindowEvent e) {
                       System.exit(0);          
             JLabel header = new JLabel("Header");
             JLabel footer = new JLabel("Footer");
             header.setBackground(Color.BLUE);          //  Set the color here
             footer.setBackground(Color.WHITE);       //  Set the color here
              JTextPane tp = new JTextPane();
              StyledDocument doc = (StyledDocument)tp.getDocument();
              tp.setDocument(new PaperTest(11));
              tp.setBackground(Color.RED);
         //     tp.setFont(new java.awt.Font("Serif", 0, 24));
              tp.setForeground(Color.WHITE);
              paper.getContentPane().add(header);
              paper.getContentPane().add(tp);
              paper.getContentPane().add(footer);
              paper.setSize(100,100);
             paper.setVisible(true);
         public void insertString(int offset,String str, AttributeSet a) throws javax.swing.text.BadLocationException {
             if( getLength() + str.length() >= maxLen )
                  return;     
             super.insertString(offset, str, a);   
         public PaperTest(int maxLen) {     
                 super();     
                 this.maxLen = maxLen;               //  Set the max length (chars) allowed in Note
    }Any ideas?
    Thanks.

    Hi,
    header.setOpaque(true); // <--- important
    footer..setOpaque(true);
    header.setBackground(Color.BLUE);          // Set the colorhere
    footer.setBackground(Color.WHITE);
    A label is normally transparent and displays it's container's color, unless you set it opaque.
    HTH

  • BackGround Color not Changing???

    Here is a section of my code.
    I am trying to make the label Black and the panel holding it, grey.
    I have written this way but the label remains grey.
    What is the matter and how do i deal with?
    TitledBorder titled2=BorderFactory.createTitledBorder("");
        titled2=BorderFactory.createTitledBorder(titled2,"Calculator",
        TitledBorder.CENTER,TitledBorder.TOP);
        //TitledBorder titled2=BorderFactory.createTitledBorder()
        F1=new Font("TimesRoman",Font.BOLD,36);
        calculator2= new JLabel();
        calculator2.setFont(F1);
        calculator2.setMinimumSize(new Dimension(220,110));
        calculator2.setPreferredSize(new Dimension(220,110));
        calculator2.setMaximumSize(new Dimension(220,110));
        //calculator2.setBorder(BorderFactory.createLineBorder(Color.black));
        calculator2.setBorder(titled2);
        calculator2.setBackground(Color.black);
        //calculator2.setBackground(Color.blue);
        //calculator2.setForeground(Color.black);
        Right1=new JPanel();
        //Right1.setBackground(Color.cyan);
        Right1.setMinimumSize(new Dimension(225,110));
        Right1.setPreferredSize(new Dimension(225,110));
        Right1.setMaximumSize(new Dimension(225,110));
        Right1.setLayout(new BoxLayout(Right1,BoxLayout.Y_AXIS));
        calculator2.setAlignmentX (Component.LEFT_ALIGNMENT);
        Right1.add(calculator2);
        //scrollPane2.setAlignmentX (Component.LEFT_ALIGNMENT);
        //Right1.add(scrollPane2);

    call:
    label.setOpaque(true);
    before setting background.

  • AB: Phone label will not change to selected choice

    Hello all,
    I have a problem that occurs only for some address book records: I cannot change the label associated with a phone number.
    For example, I have 2 number entered and they're both listed as work. I try changing one to home and then end editing the record and it reverts back to work. Even if i delete the number and then re-add it, it wants to remain associated with the work label.
    I've had this happen while trying to change from * to *, so it doesn't appear to be restricted to just a certain label. And again, it doesn't happen every time. Many labels change without incident.
    Any ideas?
    Thanks, jim
    MBP   Mac OS X (10.4.8)  

    Hi there,
    What kind of call forwarding service do you have? You may need to make sure that AT&T has it set up correctly on their end as well as you phone picks up your call forwarding service info from the AT&T network.
    As a heads up, your primary point of contact for BlackBerry support is via your carrier (in your case AT&T) and if they are unable to resolve the problem, they have the ability to escalate you to RIM if necessary (at no cost to you).
    Now then, when is the last time you were able to change the Call Forwarding number on your device?
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

Maybe you are looking for

  • I am having issues with my external HD

    I just bought a new 27" Imac for Christmas, so I went ahead and updated all my other Macs with Lion. I have an Iomega home media external HD (networked). I updated the firmware on the HD  to the newest version (3.1.14.995). Here is the issue:  someti

  • ITunes 10.5.3.3 installation - disable auto sync

    I have tried everything to disable the AutomaticDeviceSync.  I have created the HKEY_LOCAL_MACHINE\Software\Apple Computer, Inc.\iTunes\Parental Controls\Default\AdminFlags HKEY_CURRENT_USER\Software\Apple Computer, Inc.\iTunes\Parental Controls\User

  • Problem Webutil WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work

    Hi, i am using WebUtil with Oracle Developer 10g(9.0.4) i have got the problem oracle.forms.webutil.file.FileFunctions bean not found WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work. all configuration is very good ( formsweb.cfg, wenutill.pll...

  • Sorting paragraph, apply style then next and (maybe) placing images...

    Hi everybody, I have to set a layout on several pages for a magazine, arranging pictures along with some text related. I have a text file of this kind: Text a/1 (should apply Heading style) Text b/1 (should apply Bodytext style) Text a/2 (should appl

  • Using Customer Exit of an iView

    Hi I want to pass a dynamic custom parameter to my webdynpro ABAP component which is shown in portal as com.sap.appintegrator.sap iView. I have created a portal service which implements ICustomerParameterProvider interface. i have overridden the meth