Sha256: 03de1e8e5b664af6aebc360f2f613718571212e6fce9c0ee6ca2beffeb21b251

Contents?: true

Size: 1.21 KB

Versions: 11

Compression:

Stored size: 1.21 KB

Contents

@for $i from 0 through 100 {
    @include size-rules(".width-#{$i * 5}-px"){
        width: #{$i * 5 + "px"};
    }
    .min-width-#{$i * 5}-px     { min-width: #{$i * 5 + "px"}; }
    .max-width-#{$i * 5}-px     { max-width: #{$i * 5 + "px"}; }
    
    .height-#{$i * 5}-px        { height: #{$i * 5 + "px"}; }
    .max-height-#{$i * 5}-px    { max-height: #{$i * 5 + "px"}; }
    .min-height-#{$i * 5}-px    { min-height: #{$i * 5 + "px"}; }
}
@for $i from 0 through 20 {
    @include size-rules(".width-#{$i * 5}-p"){
        width: #{$i * 5 + "%"};
    }
    .width-#{$i * 5}-vw         { width: #{$i * 5 +"vw"}; }
    
    .min-width-#{$i * 5}-vh     { min-width: #{$i * 5 +"vh"}; }
    .min-width-#{$i * 5}-p      { min-width: #{$i * 5 +"%"}; }
    
    .max-width-#{$i * 5}-vh     { max-width: #{$i * 5 +"vh"}; }
    .max-width-#{$i * 5}-p      { max-width: #{$i * 5 +"%"}; }
    
    @include size-rules(".height-#{$i * 5}-vh"){
        height: #{$i * 5 + "vh"};
    }
    .height-#{$i * 5}-p         { height: #{$i * 5 +"%"}; }
    
    .min-height-#{$i * 5}-vh    { min-height: #{$i * 5 +"vh"}; }
    .min-height-#{$i * 5}-p     { min-height: #{$i * 5 +"%"}; }
}

.height-auto{
    height: auto;
}
.width-auto{
    width:auto;
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
uniform-ui-2.4.1 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.4.0 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.8 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.7 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.6 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.5 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.4 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.3 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.3.2 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.2.2 lib/assets/stylesheets/uniform/helpers/sizes.scss
uniform-ui-2.2.1 lib/assets/stylesheets/uniform/helpers/sizes.scss