WordPress.org

Ready to get started?Download WordPress

Forums

Custom Admin CSS - can't change one color; AJAX question (6 posts)

  1. kalico
    Member
    Posted 7 years ago #

    I'm going a little nuts here, trying to figure out why I can't change this one color in my Admin CSS. I have altered almost everything, but I can't find the one for underlines on hyperlinks. Here is my wp-admin.css :

    http://kalico.pastebin.com/934453

    I have used a color utility to determine the hex code and it's coming up #6699CC. However, that number is not in the CSS anywhere. (So far this utility has been spot on, but maybe it's making a mistake??) I did find that color code in upload.css, and changed it....but it didn't have an impact on the rest of the admin interface (obviously....but I was desperate :)).

    I have also searched for the class that affects the "a" tags, and I'm still not getting it right.

    Does anyone have any idea what I'm doing wrong, or if this one little piece of CSS is really coming from somewhere else?

    I also have a question about AJAX -- at least I think it's about AJAX -- in any case I'm sure it will reveal how little I know about AJAX. How do I alter the colors of things in Admin that fade....like after activating a plugin, the confirmation box fades from yellow to blue. I'd like to change that fade, if I can.

    Thanks in advance. :)

  2. MarkMichon
    Member
    Posted 7 years ago #

    To answer question 1. Line 13. #69c is shorthand for 6699cc. change the bottom-border color to whatever you want. It's on the general "a" styling. Bottom border is often used instead of the text-decoration tag, as it's more versatile.

  3. kalico
    Member
    Posted 7 years ago #

    I knew that. Really I did.

    *headdesk*

  4. kalico
    Member
    Posted 7 years ago #

    Still hoping someone will have an answer to the Ajax part of my question:

    How do I alter the colors of things in Admin that fade....like after activating a plugin, the confirmation box fades from yellow to blue. I'd like to change that fade, if I can.

    I've seen lots of references to ajax in the admin style sheet, and lots of js files that might relate, but I don't want to botch anything up b/c none of them seems to have color info in it.

  5. Civ2boss
    Member
    Posted 7 years ago #

    In wp-includes > js > fat.js,

    on line 32 which says:

    if (!from || from=="#") from = "#FF6600";

    change #FF6600 to a color of your choice.

    #3333FF & #000033 seems like good light and dark blue choices respectively.

  6. Civ2boss
    Member
    Posted 7 years ago #

    Oh and I just have to add, that your question is about JavaScript or more precisely ECMAScript not AJAX.

Topic Closed

This topic has been closed to new replies.

About this Topic