Sha256: f6bfce1991b28512d5c5f20be25ff77d85e5f10df5c0e92015c3a9c1e130312c

Contents?: true

Size: 896 Bytes

Versions: 1039

Compression:

Stored size: 896 Bytes

Contents

@import "../tokens/display";

.display_block {
    display: block;
}

.display_inline_block {
    display: inline-block;
}

.display_inline {
    display: inline;
}

.display_flex {
    display: flex;
}

.display_inline_flex {
    display: inline-flex;
}

.display_none {
    display: none;
}

$display_values: (
    none: $display_none,
    flex: $display_flex,
    inline: $display_inline,
    inline_block: $display_inline_block,
    inline_flex: $display_inline_flex,
    block: $display_block
);

// using a grid here
@each $size, $size_value in $breakpoints_grid {
    @each $display, $display_value in $display_values {
        $min_size: map-get($size_value, "min");
        $max_size: map-get($size_value, "max");
        .display_#{$size}_#{$display} {
          @include break_on($min_size, $max_size) {
            display: #{$display_value} !important;
          }
        }
    }
}

Version data entries

1,039 entries across 1,039 versions & 1 rubygems

Version Path
playbook_ui-11.20.0.pre.alpha.focus1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.20.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.19.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.18.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.17.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.16.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.15.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.14.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.13.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/utilities/_display.scss