Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-4409

CSS code broken, adding space label reveals issue with body color

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.0
    • 2.0
    • None
    • Standalone 2.0RC1, hsql, OS X, Java 1.5, Safari and Firefox, Confluence Personal Edition license

      When I log into my Confluence, the CSS from /styles/main-action.css looks like this:

      ----------------
      body, p, td, table, tr, .bodytext, .stepfield {
      font-family: Verdana, arial, sans-serif;
      font-size: 11px;
      line-height: 16px;
      color: #000000;
      font-weight: normal;
      }
      #PageContent {
      text-align: left;
      background-color: #fff;
      padding: 0px;
      margin: 0px;
      padding-bottom:20px;
      }
      /*

        • when this stylesheet is used for the FCK Wysiwyg editor's edit area, we can't
        • use an id=PageContent or class=wiki-content, so we must
        • set the body style to that used for PageContent, and p to that used for wiki-content.
          */

      body {
      margin: 0px;
      padding: 0px;
      text-align: center;
      background-color: #f0f0f0;
      }
      ------------

      Notice "body" is defined twice. Now, if I to any change to the space labels (add or delete a label) the CSS changes to:

      ------------
      body, p, td, table, tr, .bodytext, .stepfield {
      font-family: Verdana, arial, sans-serif;
      font-size: 11px;
      line-height: 16px;
      color: #000000;
      font-weight: normal;
      }

      body {
      margin: 0px;
      padding: 0px;
      text-align: center;
      background-color: #f0f0f0;
      }
      -----------

      So the "#PageContent " and the comment goes missing. This causes the background of the installation to start using the f0f0f0 (grey) background color so the whole confluence looks odd. The color reset happens to both Safari and Firefox, both when I'm logged in and/or browsing anonymously. Strangely if I go to the global admin section and reset the color settings of Confluence to the defaults (which they already are), the background resets to white again.

        1. Picture 3.png
          Picture 3.png
          18 kB
        2. Picture 4.png
          Picture 4.png
          18 kB

            [CONFSERVER-4409] CSS code broken, adding space label reveals issue with body color

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2897402 ] New: CONFSERVER Bug Workflow v4 [ 2991613 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2789138 ] New: JAC Bug Workflow v3 [ 2897402 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2719480 ] New: JAC Bug Workflow v2 [ 2789138 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388391 ] New: JAC Bug Workflow [ 2719480 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2264995 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388391 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208458 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2264995 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190609 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208458 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1924796 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190609 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1727126 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1924796 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1683174 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1727126 ]

              Unassigned Unassigned
              ec22805fc0e2 Sulka Haro
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: