Button.armed css style not work

Hi,I have a css like followd:
.button {
    -fx-padding: 3 25 2 25;
    -fx-text-fill: black;
    -fx-background-radius: 4;
    -fx-background-insets: 0,0,0,0;
    -fx-background-color: linear (0%,0%) to (0%,100%) stops (0.0,white) (0.5,rgb(207,207,207)) (0.51,rgb(190,190,190)) (1.0,rgb(200,200,200));
    -fx-border-width: 1;
.button:hover{
    -fx-background-color: linear (0%,0%) to (0%,100%) stops (0.0,white) (0.5,rgb(207,207,207)) (0.51,rgb(190,190,190)) (1.0,rgb(200,200,200));
.button:armed {
    -fx-background-color: red;
.button:focused {
    -fx-background-color: green;
    -fx-background-radius: 6.4;
    -fx-background-insets: -1.4, 0, 1, 2;
.button:strong {
    -fx-background-color: linear (0%,0%) to (0%,100%) stops (0.0,white) (0.5,rgb(207,207,207)) (0.51,rgb(190,190,190)) (1.0,rgb(200,200,200));
.button:disabled {
    -fx-opacity: .4;
}but seems .button:armed not work,why?

If I take only the button:armed property, it works well (but defining -fx-color instead of -fx-background-color looks nicer).
If I take all your definitions, it no longer work.
If I take out the .button:focused out of the CSS, it works again. Looks like there is a conflict between armed and focused (because an armed button is also focused?). Not sure how to manage this conflict... I see that caspian defines focused as a background color, and armed as a simple color.

Similar Messages

  • External CSS styles not working in Flash

    I have a text area component and it loads external text files
    into the area.
    Works great. Now my client needs to have some simple tabular
    data in there
    .. 3 columns by 3 rows, one value per cell. But Flash doesn't
    support table
    tags in html formatting .. so I'm looking at CSS as an
    option. The list tag
    is supported so I'm trying to make my table cells into list
    items and
    display them inline with a left and right margin to simulate
    a table row.
    No luck so far.
    Can anyone tell me if this is even possible? And if not .. is
    there any way
    to get this to look like what a table would look?
    Thanks bunches!
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development

    Hi Ben, I ammended this line of code as you have shown and still I have no joy. So I reverted to an older version which was correct, but i am stil having the same issue.
    I have a my_site folder (defined local root folder), with the index.dwt in it. In my_site there is also an assets folder with 3 further folders, CSS, JS and Images and their respective files in these.
    Bregent. Thanks, I did define at set up. I went back to manage sites and checked there too and thr root file on the local is the same at set up. I just don't get why after I made changes to the carousel and and reiploaded the site I have had issues :-(
    Any other places I should be looking people? This is driving me crackers!

  • Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on.

    Hi I have an iPhone 4 and suddenly it stopped working. Could here notifications and nothing on the diisplay. Wake up  button on top is not working. so unable to restart the phone. Wanted to try restore from iTunes but Find my iPhone (iCloud) is on. How to recover or restart my Phone

    Follow these steps to log into your iCloud account on your computer and deactivate "Find my iPhone" on your device:
    Remove an iOS device or Mac on which you can’t turn off Find My iPhone
    If you can’t turn off Find My iPhone on the device, turn off the device so it goes offline, then remove it from Find My iPhone on iCloud.com.
    Note:    You can also remove your iOS device by first erasing it—just follow the instructions below for removing an iOS device you don’t have. You can later restore the device from an iCloud or iTunes backup.
    Turn off the device you want to remove.
    Sign in to icloud.com/#find on another computer with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, select the offline device, then click Remove from Account. If you don’t see Remove from Account, click All Devices again, then click the Delete button next to the device. If the device comes online again, it will reappear in Find My iPhone. If your device reappears, turn off Find My iPhone on the device (follow the instructions above for removing a device by turning off Find My iPhone), or if it’s an iOS device and you no longer have it, follow the instructions below for removing an iOS device you no longer have.
    Remove an iOS device you no longer have
    If you no longer have the iOS device because you gave it away or sold it, you need to remotely erase it before you can remove it.
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud). If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.
    Click All Devices, then select the device.
    Click Erase [device], then enter your Apple ID password. Because the device isn’t lost, don’t enter a phone number or message.
    Note:    If you’re trying to erase a family member’s device, that person will need to enter his or her Apple ID password on this device. If the device is offline, the remote erase begins the next time it’s online. You’ll receive an email when the device is erased.
    When the device is erased, click Remove from Account.All your content is erased, and someone else can now activate the device.
    copied from: iCloud: Remove your device from Find My iPhone

  • My ipod touch 4th gen home button has stopped working i have taken of the screen and tried pushing the button underneath and still not working please help

    my ipod touch 4th gen home button has stopped working i have taken of the screen and tried pushing the button underneath and still not working please help

    Try a reset:
    Hold the Sleep and Home button down until you see the Apple logo.

  • My phone died last night and when I plugged it in it wouldn't turn on.I tried restarting it but it has yet to turn on since last night,It was just a black screen,i try the on/off and home buttons together but its not working,What should I do?

    My phone died last night and when I plugged it in it wouldn't turn on.I tried restarting it but it has yet to turn on since last night,It was just a black screen,i try the on/off and home buttons together but its not working,What should I do?

    How long have you had your phone? Because if you've had it a long time, the battery in the phone might of died on you. Or have you dropped it in water, snow, from high up? All those things could of disconnected something internally in your phone, or permentaly damaged the internal hard drive its self, or the sims card.

  • I have Iphone4 and my Iphone wifi button greyed out mean not working, Please suggest what need to do.

    I have Iphone4 and my Iphone wifi button grayed out mean not working, Please suggest what need to do and i am using ios 6.

    Please ask your question

  • HT202159 Mountain Lion upgrade download stopped, now it states in purchased apps that 'an error has occured' and resume button is blank & will not work

    Mountain Lion upgrade download stopped, now it states in purchased apps that 'an error has occured' and resume button is blank & will not work. Tried to re download, but it states code has already been used

    Danielle...
    From the App Store menu bar top of your screen click Store > Check for Unfinished Downloads
    If that doesn't help, disable anti virus software and turn off the Firewall in System Preferences > Security & Privacy.
    Keep in mind, for downloading Mountain Lion from the App Store, a high speed (broadband) internet connection is strongly recommended by Apple as noted here > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you need to reinstall OS X or repair the the startup disk using Mountain Lion Recovery, that requires broadband (high speed internet) access to the internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the internet form Apple when OS X Recovery is used for reinstallation.

  • Home button in HTML Help Not Working

    My Home button in HTML Help Not Working.
    Also the Home option from the Options menu does not work. I receive the "This program cannot display the webpage" error.
    I have the correct file name (titlepg.htm) in the Advanced Windows Ptoperties "Default" field and the "Home" field. However, I still receive the "This program cannot display the webpage" error.
    How can I correct this situation? Thanks, your help is appreciated!

    Can you post a couple of screen captures please?
    One where you show the Project Explorer with the desired topic in view. Another where you show the dialog where you specify the Home page destination.
    Another thing you may wish to try is to define a totally new window, assign the values there and ensure you point to the window in the Single Source Layout recipe.
    Oh, and one other thing. Are you using RoboHelp HTML or RoboHelp for Word?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • 4.1EA. Open Body button in toolbar does not work

    Hi, All!
    4.1EA. Open Body button in toolbar does not work. In object tree click on some Package. Next - in toolbar click on OpenBody button. Body is not opened.

    Ow, that's a bad one, good catch.
    As a workaround the 'gutter blue arrow' hyperlinks DO work.
    Once I DO manage to get the body open, the button works for me without fail, even after an application restart. And I'm able to open other package bodies. So I can reproduce this bug once, but only once.
    Do you see the same?

  • I bought iphone 5c 4-5 days back from india and today back button of this phone not working, i am totally dissatisfy with the apple service support. i want replacement

    (i bought iphone 5c 4-5 days back from india and today back button of this phone not working, i am totally dissatisfy with the apple service support. i want replacement.)
    Hello i am nitin from india, i purchased a iphone5c because i heard that iphone comes with a great coustmer service, but this statment becomes totally wrong today, when i faced coustmer executive at service center of iphone then he said that i have to check it out and it may be a physical damage, ( how it is possible even i carried this phone with anti shock cover guard and its never fall down from my hand.) the simple thing i know that i want my phone replaced, otherwise it would be a great mistake of my life to purchase an iphone.
                                                                                          Thanks to all apple team for your wonderful service,

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue... See here...
    Contacting Apple World Wide for Support and Service
    http://support.apple.com/kb/HE57
    Apple Warranty  >  http://www.apple.com/legal/warranty/
    iPhone Warranty  >  The warranty is only valid in the country of original purchase... Except for EU Countries...

  • TS1702 My "send" button for iMessage is not working. Anyone else having this oproblem?

    My "send" button for iMessage is not working. Anyone else having this problem?

    Mine isn't working either for my iPhone. I tried activating it again and it won't wont let me select my number for iMessage:/ it only lets me add an email address which is pointless seeing as I use I message to txt from my number.

  • All button and touch pad not working except power button

    I face the problems that all button and touch pad not working after power on or wake up from sleep state except power button. And i have make the system sleep and wake again so that the mac book air can working as normal( mouse can move and button got response).

    Sometimes electrical components needs to have all power sources removed and reintroduced to work properly.  Try performing a hard reset first, if it doesn't work then we'll move to the next step.
    To Perform A Hard Reset
    Shut down the computer by going to the Start menu and selecting shut down. (If you have no display, hold the power button down for  5 seconds); (if the computer doesn't power on, move to the next step)
    Disconnect the AC Adapter from the notebook.
    Remove the battery from the bottom of the notebook.  There will be a switch/button to eject the battery.
    Wait at least 1 minute with all power sources disconnected.
    Re-insert the battery and reconnect the AC Adapter and then attempt to power on the notebook.

  • Button template's styleClass not working

    We have created our own button template in UIX, which specifies a default style and JavaScript mouse events so that the button visually changes when the user hovers the mouse over it.
    This works, except that on startup, the default class that we assign to the button isn't there in the generated HTML.
    The onMouseOut/onMouseOver events do work however, so we get the weird situation that our buttons look all wrong, but they look correct once the user has moved the mouse over them at least once.
    Does anyone have any idea? Here's our UIT file:
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el"
    targetNamespace="http://xmlns.psb.nl/osiris/templates"
    localName="button">
    <type base="ui:button">
    <attribute name="text" javaType="string"/>
    </type>
    <content>
    <button styleClass="UnselectedButton"
    onMouseOut="this.className='UnselectedButton';"
    onMouseOver="this.className='SelectedButton';">
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    </button>
    </content>
    </templateDefinition>

    From daniel.early79 at this thread: https://discussions.apple.com/thread/4894152?start=6&tstart=6
    I just experienced the same issue of my down volume button not working but the up volume button does. I messed around with the phone for a bit. I just found out that if I hold the iPhone in my right hand with my thumb on the upper right corner of the phone and apply slight pressure on the upper right corner, the down volume button worked. After doing this a couple times it started working normally again. Must be a design issue. Hope this helps!

  • Character Styles Not Working

    Hello all,
    Never have I been as exasperated with a piece of software as
    I am with RH 7. I've sworn by Adobe products before but this has
    been a tremendous letdown. Grumbling out of the way, I need to ask
    for some help.
    I've been able to define and apply paragraph styles
    successfully for FM books that I'm importing into RH. I did that
    according to the direction given by the online presentation
    provided by Adobe (that is, I've defined everything in the
    fmstyles.css with a dummy file, etc.).
    The problem is that my character style of bold, defined and
    properly mapped, is not being rendered in the output. What is
    behind this? Could someone provide some insight?
    I dumped variables, because I found they were being converted
    into bullets. I don't see conditional text working and the
    auto-numbering is a joke...I don't believe there's a single person
    out there that's able to get it to work without manipulating the FM
    files or working the HTML files in RH.
    I don't want to solve all these problems. I've spent too much
    time as it is trying to get some kind of usable output.
    I just want to know why I can't rely on the character style
    I've defined.
    (This was an awful rant. Forgive me.)
    Cheryl

    Just to add one thing here, which I find even more
    perplexing. I am using the dummy file and have applied the
    fmstyles.css to it. I understand see that Paragraph Styles are
    applied correctly in the rest of the topic (the rest of the FM book
    files).
    If my Paragraph Styles are working, then I have to assume I
    am correctly defining in fmstyles.css and correctly mapping from FM
    to RH. Strangely, when I copy and paste text from one of those FM
    book files into the dummy file, my Character Styles appear
    correctly.
    What am I missing?? Why does my Character Style work in the
    dummy file but not in the rest of the book/topic?
    Any help would be appreciated...

  • CSS style not correct in IE8 but correct in MF and Chrome

    Hi,
    I'm working with Dreamweaver CS5.5 and in more new sites I get the same problem with css styles.
    I'm making a mistake but can't find it.
    See http://www.a2models.nl
    The next text has to be collored red.
    A2Models is wegens vakantie gesloten van woensdag 21 december 2011 t/m dinsdag 03 januari 2012. U kunt in deze periode gewoon bestellingen plaatsen.
    Het verwerken van bestellingen zal echter iets langer duren dan normaal.
    I made a div with a class melding.
    Can someone find the error?
    Thanks a lot.
    Carla

    rgba is NOT supported in IE8: (read link below)
    http://css-tricks.com/2151-rgba-browser-support/

Maybe you are looking for

  • TS1292 How do i tranfer credits from one account to another ?

    I redeemed credits on an account that is not mine and I need help, is it possible to transfer the credits from that account to my account ??

  • Controlling the page of an SQL report region

    I have an SQL report region containing 70 rows. It shows the status of a bidding process that takes place in sequence, from the guy in the first row to the guy in the last. I use a "red light/green light" technique in each row to show who is currentl

  • How do I enable the hot swap function on motherboard MS-7758?

    Hi, I just installed a hot swap rack in my computer that runs windows 8.1. It shows up in device manager under Other devices->unknowns device, but the rack will not read a hard drive when i put one in it. I contacted the manufacturer of the hot swap

  • What are the certification books for Business objects Xi developer certifi?

    Hi all, i am planning to take up business objects certifications Can anyone tell me the prescribes books for the certification? i am able to find out the exam codes from persaon vue but no the Prescribed books can anyone pls guide me on this!! Thanks

  • GetDBTransaction is not connected...

    Hi, I had an application module called "SampleAppModule" and I deployed it as remote stateful session bean and using Container transaction management described in ejb-jar.xml, then I wrote a sample client simply for calling the SampleAppModuleBean. I