Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5095

Add textarea for custom CSS overrides to themes

    Details

      Description

      For admin and client themes, add a text-area labeled "CSS Overrides" below all of the other fields. Any CSS here should be loaded last as part of the theme CSS. This will give greater control over themes to change styles that are not currently editable via a theme and must be edited manually in an overrides file.

      I would like to potentially include a new theme (Or update FIVE) in this release to make some style improvements in the client area, and possibly the admin area.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        admin Paul Phillips made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 2 [ 196 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 2 [ 196 ] 5.11.0 Sprint 1 [ 194 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour, 50 minutes [ 6600 ]
        Worklog Id 16880 [ 16880 ]
        abdy Abdy Franco made changes -
        Time Spent 1 hour, 50 minutes [ 6600 ] 7 hours, 58 minutes [ 28680 ]
        Worklog Id 16881 [ 16881 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        admin Paul Phillips added a comment -

        Action note! Once this is merged into dev, I want to do a build on the dev branch to test this and create a theme to ship with 5.11 that has some minor UI improvements as part of this feature. When merged, let me know.

        Show
        admin Paul Phillips added a comment - Action note! Once this is merged into dev, I want to do a build on the dev branch to test this and create a theme to ship with 5.11 that has some minor UI improvements as part of this feature. When merged, let me know.
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 final [ 194 ] 5.10.0 final, 5.11.0 Sprint 1 [ 194, 201 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 final, 5.11.0 Sprint 1 [ 194, 201 ] 5.10.0 final, 5.11.0 Sprint 1, 5.11.0 Sprint 1.5 [ 194, 201, 205 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Time Spent 7 hours, 58 minutes [ 28680 ] 1 day, 24 minutes [ 30240 ]
        Worklog Id 17307 [ 17307 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]
        Hide
        admin Paul Phillips added a comment -

        If you set some custom CSS, like

        .card-blesta>.card-header, .panel .card-blesta>.panel-heading

        Unknown macro: { padding}

        And save it. Then go back and edit the theme again, and use the color selector and change a color for say "Header Background Color" and save, the custom CSS is removed from the theme.

        Show
        admin Paul Phillips added a comment - If you set some custom CSS, like .card-blesta>.card-header, .panel .card-blesta>.panel-heading Unknown macro: { padding} And save it. Then go back and edit the theme again, and use the color selector and change a color for say "Header Background Color" and save, the custom CSS is removed from the theme.
        abdy Abdy Franco made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        jonathan Jonathan Reissmueller made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        abdy Abdy Franco made changes -
        Time Spent 1 day, 24 minutes [ 30240 ] 1 day, 55 minutes [ 32100 ]
        Worklog Id 17339 [ 17339 ]
        abdy Abdy Franco made changes -
        Status Reopened [ 4 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 final, 5.11.0 Sprint 1, 5.11.0 Sprint 1.5 [ 194, 201, 205 ] 5.10.0 final, 5.11.0 Sprint 1, 5.11.0 Sprint 3, 5.11.0 Sprint 1.5 [ 194, 201, 202, 205 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 final, 5.11.0 Sprint 1, 5.11.0 Sprint 3, 5.11.0 Sprint 1.5 [ 194, 201, 202, 205 ] 5.10.0 final, 5.11.0 Sprint 2, 5.11.0 Sprint 1, 5.11.0 Sprint 1.5 [ 194, 196, 201, 205 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 1 day, 55 minutes
              1d 55m

                Agile