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-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.6.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.5.0.pre.alpha.filter1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.5.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.4.0.pre.alpha.map1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.4.0.pre.alpha.devdocstest1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.4.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.3.1.pre.alpha.phone1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.3.1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.3.0.pre.alpha.patchtest1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.3.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.2.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.1.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-12.0.0 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/utilities/_display.scss
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/utilities/_display.scss