debian-mirror-gitlab/app/assets/stylesheets/framework/images.scss

51 lines
875 B
SCSS
Raw Normal View History

2016-04-02 18:10:28 +05:30
.appearance-logo-preview {
max-width: 400px;
margin-bottom: 20px;
}
.appearance-light-logo-preview {
2017-08-17 22:00:37 +05:30
background-color: $gray-light;
2016-04-02 18:10:28 +05:30
max-width: 72px;
padding: 10px;
margin-bottom: 10px;
}
2018-03-17 18:26:18 +05:30
.svg-content {
text-align: center;
padding: $gl-padding;
svg,
img {
max-width: 425px;
width: 100%;
}
$image-widths: 250 306 394 430;
@each $width in $image-widths {
&.svg-#{$width} {
img,
svg {
width: #{$width + 'px'};
}
}
}
}
@mixin svg-size($size) {
width: $size;
height: $size;
}
svg {
fill: currentColor;
&.s8 { @include svg-size(8px); }
&.s12 { @include svg-size(12px); }
&.s16 { @include svg-size(16px); }
&.s18 { @include svg-size(18px); }
&.s24 { @include svg-size(24px); }
&.s32 { @include svg-size(32px); }
&.s48 { @include svg-size(48px); }
&.s72 { @include svg-size(72px); }
}