forms definition

Post Reply
marcelocaser
Posts: 88
Joined: 13 Dec 2011, 15:07

11 Jan 2019, 14:53

Hi,

I think we have a problem in the form button settings.

Look:

theme/_forms.scss &.warning-btn

Code: Select all

&.warning-btn {
            background-color: #f0ad4e;
            border-color: #eea236;

            &.ui-state-hover {
                background-color: #ec971f;
                border-color: #d58512;
            }

            &.ui-state-focus {
                background-color: #ec971f;
                border-color: #d58512;
            }

            &.ui-state-active {
                background-color: #d58512;
                border-color: #985f0d;
            }
        }
theme-v4/_forms.scss &.warn-btn

Code: Select all

&.warn-btn {
            background-color: #f0ad4e;
            border-color: #f0ad4e;

            &.ui-state-hover {
                background-color: #ec971f;
                border-color: #eb9316;
            }

            &.ui-state-focus {
                outline: 0 none;
                @include shadow(0 0 0 0.2rem rgba(240,173,78,.5));
            }

            &.ui-state-active {
                background-color: #ec971f;
                border-color: #eb9316;
            }
        }
I think the same definition should be used, correct?

User avatar
aragorn
Posts: 3531
Joined: 29 Jun 2013, 12:38

14 Jan 2019, 09:25

Good catch ;) Fixed now. Correct name is "&.warn-btn"

Best Regards,

Post Reply

Return to “Avalon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests