Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117103

Color of enabled hyperlinks and regular text is same

XMLWordPrintable

      Steps to reproduce:
      - run Modena app
      - scroll to Hyperlink section

      There are at least two possible solutions how to improve hyperlinks. Two of them are captured in attached CSS code.

      /*******************************************************************************
       * *
       * Solution 1 *
       * *
       ******************************************************************************/
      .hyperlink,
      .hyperlink:visited:armed,
      .hyperlink:hover:armed {
          -fx-text-fill: -fx-accent;
      }
      .hyperlink:hover,
      .hyperlink:visited {
          -fx-text-fill: -fx-text-background-color;
      }
      .hyperlink,
      .hyperlink:visited {
          -fx-underline: true;
      }
      .hyperlink:hover,
      .hyperlink:armed {
          -fx-underline: false;
      }
      /*******************************************************************************
       * *
       * Solution 2 *
       * *
       ******************************************************************************/
      .hyperlink,
      .hyperlink:hover,
      .hyperlink:hover:visited {
          -fx-text-fill: -fx-accent;
      }
      .hyperlink:armed,
      .hyperlink:visited,
      .hyperlink:hover:armed {
          -fx-text-fill: -fx-text-background-color;
      }
      .hyperlink:hover,
      .hyperlink:visited,
      .hyperlink:hover:visited {
          -fx-underline: true;
      }
      .hyperlink:visited:armed {
          -fx-underline: false;
      }

        1. Current.png
          Current.png
          16 kB
        2. Solution 1.png
          Solution 1.png
          17 kB
        3. Solution 2.png
          Solution 2.png
          17 kB

            jasper Jasper Potts (Inactive)
            jdinga Jindrich Dinga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: