Page 1 of 1

forms definition

Posted: 11 Jan 2019, 14:53
by marcelocaser
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?

Re: forms definition

Posted: 14 Jan 2019, 09:25
by aragorn
Good catch ;) Fixed now. Correct name is "&.warn-btn"

Best Regards,