Sha256: 2f979cf0e9f74158b141c734a8a1af1ba53121cf0f7fb5319a38c5ff2bd0fdf0

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

@charset "utf-8";

$block-list-separator: 0.25rem !default;

.block-list {
    list-style: none;

    li {
        padding: ($gap / 2);
        background: $light;
        margin-bottom: $block-list-separator;
    }

    &.is-left {
        li {
            text-align: left;
        }
    }


    &.is-centered {
        li {
            text-align: center;
        }
    }

    &.is-right {
        li {
            text-align: right;
        }
    }

    &.is-small {
        li {
            font-size: $small-font-size;
            padding: ($gap / 3);
        }
    }
    
    &.is-normal {
        li {
            font-size: $body-font-size;
        }
    }

    &.is-large {
        li {
            font-size: $size-large;
        }
    }

    @each $name, $pair in $colors {

        $color: nth($pair, 1);
        $color-invert: nth($pair, 2);

        &.is-#{$name} {
            li {
                background: $color;
                color: $color-invert;
            }

            &.is-outlined {
                li {
                    background: transparent;
                    color: $color;
                    border: 1px solid $color;
                }
            }

            &.has-radius {
                li {
                    border-radius: $radius;
                }
            }
        }
    }

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bulma-clean-theme-0.7.1 node_modules/bulma-block-list/src/block-list.scss
bulma-clean-theme-0.7 node_modules/bulma-block-list/src/block-list.scss
bulma-clean-theme-0.6.5 node_modules/bulma-block-list/src/block-list.scss
bulma-clean-theme-0.6.4 _sass/_block-list.scss