cksource-archive / samples-framework

☠☠☠ This repository is no longer used ☠☠☠
Other
0 stars 0 forks source link

There should be possibility to freed grid container width #28

Closed adelura closed 9 years ago

adelura commented 9 years ago

For now it's not possible because of this. We should introduce class like freed-width and modify selector to:

main .grid-container,
header .grid-container,
.navigation-a > div,
footer > div {
    overflow: hidden;

    &:not( .freed-width ) {
        max-width: 960px + 2 * @grid-gutter-width;
    }
}
oleq commented 9 years ago

The basic question: why?

adelura commented 9 years ago

Because some elements (advanced toolbar configurator) is 100% width wide.

oleq commented 9 years ago

Why not .grid-container > .grid-width-100 structure? I takes care of paddings, etc.

Besides, if one of

main .grid-container,
header .grid-container,
.navigation-a > div,
footer > div

should not hold max-width because it's a toolbar configurator, it should not belong to that selector. We don't need a separate class for it. As simple as that.