gridstack.library.css in GridStack 8.2
This is a modified version of the original GridStack library CSS.
Not needed by native CSS Grid, nor static Bootstrap/Foundation. This is a counterpart of gridstack.native.css. This file depends on gridstack.static.css so to re-use at Outlayer Isotope. This file is also loaded at admin UI pages, so beware to not break it.
At most cases, no need to re-touch this file.
See also
css/gridstack.css for details
File
css/gridstack.library.cssView source
- /**
- * @file
- * This is a modified version of the original GridStack library CSS.
- *
- * Not needed by native CSS Grid, nor static Bootstrap/Foundation.
- * This is a counterpart of gridstack.native.css.
- * This file depends on gridstack.static.css so to re-use at Outlayer Isotope.
- * This file is also loaded at admin UI pages, so beware to not break it.
- *
- * At most cases, no need to re-touch this file.
- *
- * @see css/gridstack.css for details
- */
-
- .is-gs-enabled.is-gs-layout > .box {
- min-width: 8.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='1'] {
- left: 8.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='1'] {
- min-width: 8.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='1'] {
- max-width: 8.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='2'] {
- left: 16.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='2'] {
- min-width: 16.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='2'] {
- max-width: 16.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='3'] {
- left: 25%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='3'] {
- min-width: 25%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='3'] {
- max-width: 25%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='4'] {
- left: 33.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='4'] {
- min-width: 33.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='4'] {
- max-width: 33.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='5'] {
- left: 41.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='5'] {
- min-width: 41.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='5'] {
- max-width: 41.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='6'] {
- left: 50%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='6'] {
- min-width: 50%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='6'] {
- max-width: 50%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='7'] {
- left: 58.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='7'] {
- min-width: 58.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='7'] {
- max-width: 58.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='8'] {
- left: 66.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='8'] {
- min-width: 66.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='8'] {
- max-width: 66.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='9'] {
- left: 75%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='9'] {
- min-width: 75%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='9'] {
- max-width: 75%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='10'] {
- left: 83.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='10'] {
- min-width: 83.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='10'] {
- max-width: 83.3333333333%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='11'] {
- left: 91.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='11'] {
- min-width: 91.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='11'] {
- max-width: 91.6666666667%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-x='12'] {
- left: 100%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-min-width='12'] {
- min-width: 100%;
- }
-
- .is-gs-enabled.is-gs-layout > .box[data-gs-max-width='12'] {
- max-width: 100%;
- }
-
- .is-gs-enabled.is-gs-layout .box__content {
- bottom: 0;
- left: 8px;
- right: 8px;
- position: absolute;
- width: auto;
- z-index: 0;
- }
-
- /* verticalMargin 10 / 2 = 5 */
- .is-gs-enabled.is-gs-layout[data-gs-vm="5"] .box__content {
- left: 5px;
- right: 5px;
- }
-
- /* verticalMargin 20 / 2 = 10 */
- .is-gs-enabled.is-gs-layout[data-gs-vm="10"] .box__content {
- left: 10px;
- right: 10px;
- }
-
- /* verticalMargin 30 / 2 = 15 */
- .is-gs-enabled.is-gs-layout[data-gs-vm="15"] .box__content {
- left: 15px;
- right: 15px;
- }
-
- /* verticalMargin 0 + noMargin being enabled. Admin UI requires absolute. */
- .gridstack.is-gs-nomargin > .box > .box__content,
- .gridstack.is-gs-nomargin > .box > .placeholder-content {
- left: 0;
- right: 0;
- }
-
- /* @todo re-check to use relative when having no margin. */
- /* Overrides default rules with over-specified. */
- .is-gs-disabled.is-gs-layout .box .box__content,
- .gridstack--gs.is-gs-nomargin .box__content {
- left: auto;
- position: relative;
- right: auto;
- width: 100%;
- }
-
- /** Destroyed. */
- .is-gs-destroyed > .gridstack__box.box {
- float: left;
- left: auto;
- position: relative;
- }
-
- .is-gs-destroyed > .box > .box__content,
- .gridstack--gs.is-gs-disabled .box__content {
- position: relative;
- }