Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Rework flags #154

Closed
daveredfern opened this issue Nov 30, 2016 · 2 comments
Closed

Rework flags #154

daveredfern opened this issue Nov 30, 2016 · 2 comments
Assignees
Milestone

Comments

@daveredfern
Copy link
Member

Rework flags

// =============================================
// Flag
// =============================================

.u-flag {
    @include flex;
}


// =============================================
// Flag with gutter
// =============================================

.u-flag--gutter {
    @include grid-gutter-x;
}


// =============================================
// Flag centered
// =============================================

.u-flag--center {
    @include align-items(center);
}


// =============================================
// Flag split
// =============================================

.u-flag--split {
    @include justify-content(space-between);
}


// =============================================
// Flag reversed
// =============================================

.u-flag--reverse {
    @include flex-direction(row-reverse);
}


// =============================================
// Flag stretched
// =============================================

.u-flag--stretch {
    > *:first-child {
        flex-grow: 1;
    }
    > *:last-child {
        flex-shrink: 0;
    }
}
@daveredfern daveredfern added this to the December 2016 milestone Nov 30, 2016
@daveredfern daveredfern self-assigned this Nov 30, 2016
@daveredfern
Copy link
Member Author

@gazjoy are we happy with the above? Names all good?

@gazjoy
Copy link
Collaborator

gazjoy commented Dec 1, 2016

Flags are now gone and replaced with 2 new grid types. g-collapse and g-stretch

gazjoy pushed a commit that referenced this issue Dec 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants