Dialog buttons always white

Post Reply
tricky10
Posts: 77
Joined: 25 Oct 2010, 08:52
Location: Poland

12 Jul 2018, 09:31

Hi,

Dialog on Serenity layout always have white buttons - this is a bug or feature :) ? - should I report this bug?
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

merve7
Posts: 415
Joined: 12 Sep 2017, 10:44

12 Jul 2018, 13:53

This is a feature and related to design :) If you want to use colored button, you can remove the below code from assets/sass/theme/_overlay.scss

Code: Select all

.ui-dialog-footer {
            text-align: right;
            border: 0 none;
            border-top: 1px solid $contentBorderColor;

            .ui-button {					//remove .ui-button class
                background-color: #ffffff;
                color: $textColor;
                @include no-shadow();
                width: auto;

                .pi {
                    color: $textSecondaryColor;
                }

                &:hover {
                    @include hover-element();
                }
            }
 }

tricky10
Posts: 77
Joined: 25 Oct 2010, 08:52
Location: Poland

20 Jul 2018, 07:30

Thx
Glassfish Application Server V3.1.2.2
Primefaces Library 3.5 FINAL
Sun Mojarra 2.1.20

Post Reply

Return to “Serenity - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest