Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25590

Load all required font weights for Open Sans

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Web UI
    • Release Notes Summary:
      -
    • Tags:
    • Sprint:
      nxGang Sprint 10.3.7, nxGang Sprint 10.3.8
    • Story Points:
      2

      Description

      Right now, we're only loading the default weight for Open Sans (400), which renders using css properties like font-weight useless. As a workaround, people have been using text-shadow to simulate a bolder font:

      text-shadow: -0.1px 0 rgba(0, 0, 0, 0.4), 0 0.1px rgba(0, 0, 0, 0.4), 0.1px 0 rgba(0, 0, 0, 0.4), 0 -0.1px rgba(0, 0, 0, 0.4);
      

      We should load the other relevant weights on base.html:

      <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
      

      However, this will require a review of all the stylings that might be affected, as well as all usages to text-shadow to simulate bold fonts.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 30 minutes
                  5h 30m