Sha256: f0640850778d61289c56116d36eae75d975fa119dee1840134e343246cb8e6c5

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

@charset "utf-8";
@import "../node_modules/bulma/sass/utilities/_all.sass";
@import "../node_modules/bulma/sass/base/_all.sass";

$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

1 entries across 1 versions & 1 rubygems

Version Path
bulma-clean-theme-0.6.3 _sass/_block-list.scss