FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2014
    Location
    Washington
    Posts
    297
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GTK3 Firefox dark theme issues

    Anyone else try the GTK3 Firefox and have issues with the dark theme? When I have it enabled the font turns white on websites and such so viewing what you type, etc blends in with the backgrounds. This issue doesn't seem to be the case in GNOME's Web browser. Possible bug report or suggestion to send to the team? If so, where do I make the report to?

  2. #2
    Join Date
    Aug 2011
    Location
    ~
    Posts
    2,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    Sounds like an undesirable effect, but it is under quite a bit of development so I don't think filing a bug helps a lot or it might already be squashed.
    If you really want to file one though you should do it at mozilla's bugzilla.
    What happens when you change the GTK theme?

  3. #3
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    Sounds like the same issue that's plagued dark themes for ages in browsers, and is usually fixed by adding a userContent.css file to your firefox profile.

    If ~/.mozilla/firefox/*.default/chrome directory doesn't exist, create it.

    Then add the file userContent.css to the chrome directory with the contents of:
    Code:
    /*
    * Use this css file to eliminate problems in Firefox
    * when using dark themes that create dark on dark
    * input boxes, selection menus and buttons. Put this
    * in the ../firefox/default/chrome folder or your
    * individual user firefox profile chrome folder.
    */
    input {
    border: 2px inset white;
    background-color: white;
    color: black;
    -moz-appearance: none !important;
    }
    textarea {
    border: 2px inset white;
    background-color: white;
    color: black;
    -moz-appearance: none !important;
    }
    select {
    border: 2px inset white;
    background-color: white;
    color: black;
    -moz-appearance: none !important;
    }
    input[type="radio"],
    input[type="checkbox"] {
    border: 2px inset white ! important;
    background-color: white ! important;
    color: ThreeDFace ! important;
    -moz-appearance: none !important;
    }
    *|*::-moz-radio {
    background-color: white;
    -moz-appearance: none !important;
    }
    button,
    input[type="reset"],
    input[type="button"],
    input[type="submit"] {
    border: 2px outset white;
    background-color: #eeeeee;
    color: black;
    -moz-appearance: none !important;
    }
    body {
    background-color: white;
    color: black;
    display: block;
    margin: 8px;
    -moz-appearance: none !important;
    }
    Restart firefox-gtk3 if it's still open and running and see if that helps.

  4. #4
    Join Date
    Apr 2014
    Location
    Washington
    Posts
    297
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    PabloTwo, I'm not quite sure I understand what you're saying. There was one directory with a .default on the end and I created that userContent file and restarted and there was no change. Dutchy, the fonts are fine in GTK3-Firefox when not using dark theme. I bet it's something they're working on, hopefully...I love dark theme! I wonder if there's something they could take from GNOME Web? I'm not a programmer so I'm probably just speaking ignorance I'll see if maybe there was a bug already filed, or file one myself

  5. #5
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    I am talking about creating the userContent.css file in the directory ~/.mozilla/firefox/*.default/chrome, where *.default is your Firefox user profile directory and where you would most likely have to create the chrome directory yourself. I don't know how to explain it any better than that.

    The userContet.css file may or may not help resolve your issue, but I thought it worth a try.

    And what "dark theme" are you using?
    Last edited by PabloTwo; 30th June 2014 at 08:18 PM.

  6. #6
    Join Date
    Apr 2014
    Location
    Washington
    Posts
    297
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    Quote Originally Posted by PabloTwo
    I am talking about creating the userContent.css file in the directory ~/.mozilla/firefox/*.default/chrome, where *.default is your Firefox user profile directory and where you would most likely have to create the chrome directory yourself. I don't know how to explain it any better than that.

    The userContet.css file may or may not help resolve your issue, but I thought it worth a try.

    And what "dark theme" are you using?
    Okay I understand exactly what you're saying! I'm using the dark theme in GNOME 3 that you get through the gnome tweak tool

  7. #7
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    59
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    i have used black themes for over 10 years
    a lot of sites have issues

    Mostly with text areas for typing

    this site works well
    light gray text on a #303030 background
    others however .....
    like" /. beta " ,
    and
    http://www.fractalforums.com
    i end up with #000000 collored text on a #303030 background

    it is a ISSUE with the sites " css " ( cascading style sheet)
    for those sites YOU have to change firefox's color settings
    edit/preferences
    "content" tab
    and click on the "color" button
    and uncheck the checkbox

    or try the user css above
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  8. #8
    Join Date
    Sep 2009
    Posts
    2,209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    This thread is a little old, but it came up first when I searched for this topic. PabloTwo's userContent.css file fixed most of the issues I had, but not all. E.g., the search field on Startpage in a new tab. There's a nice extension on Mozilla now that works great. I left the userContent.css file in place, because it seems to reduce the workload on the extension.

    dd_wizard

  9. #9
    Join Date
    Jun 2004
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GTK3 Firefox dark theme issues

    @PabloTwo,

    Thanks!

    - Gilboa
    oVirt-1: Intel S2600C0, 2xE5-2667V2, 128GB, HDD: SSD: 4x500GB, 8x2TB-HDD, GTX 3070, CentOS 8.
    oVirt-2: Intel S2400GP2, 2xE5-2448L, 120GB, HDD: SSD: 4x500GB, 10x2TB-HDD, GTX550, CentOS 8.
    oVirt-3 Gigabyte B85M-HD3, E3-1245V3, 32GB, SSD: 2 x 500GB, HDD: 5x1TB, GTX980, CentOS 8.
    Fedora VM: 16-vcores , 32GB, pass-through GTX 3070, 2xDell U2411 + Dell UP3216Q 4K.
    Windows VM: 8-vcores, 16GB, pass-through GTX 980.

Similar Threads

  1. Change GTK3 theme in fedora 16
    By Shmaleb in forum Using Fedora
    Replies: 5
    Last Post: 3rd March 2012, 06:17 PM
  2. How to install this GTK3 theme in Fedora 16
    By rojo2000r in forum Using Fedora
    Replies: 5
    Last Post: 27th November 2011, 02:36 AM
  3. Ambiance GTK3 Theme Doesn't Work
    By HalfEmptyHero in forum Using Fedora
    Replies: 0
    Last Post: 12th August 2011, 05:40 PM
  4. Dark Gtk theme screws up Firefox 4.0
    By skyxn3t in forum Using Fedora
    Replies: 5
    Last Post: 27th April 2011, 11:33 AM
  5. Favorite Gnome Theme? Dark or Not?
    By wvn in forum Linux Chat
    Replies: 18
    Last Post: 17th October 2008, 09:46 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •