Pixate / pixate-freestyle-ios

Pixate Freestyle for iOS
Apache License 2.0
849 stars 134 forks source link

Autolayout issue #165

Closed binyamg closed 9 years ago

binyamg commented 9 years ago

Here is my scss style for button:

view.light-theme {

    button {
        border-radius: $button-border-radius;   

        label {         
            font-family: $button-text-font;
            font-size: $button-text-size;
            font-weight: $button-font-weight;
            text-transform: uppercase;
        }
    }

    button.flat{

        label{
            color: $button-flat-light-theme-normal-text-color;
        }

        &:normal{
            background-color: $button-flat-light-theme-normal-bg-color;
        }

        &:highlighted{
            background-color: $button-flat-light-theme-highlighted-bg-color;
        }
        &:selected{
            background-color: $button-flat-light-theme-selected-bg-color;
        }
        &:disabled{
            background-color: $button-flat-light-theme-disabled-bg-color;

            label {
                color: $button-flat-light-theme-disabled-text-color;
            }
        }
    }         

}
binyamg commented 9 years ago