summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/images.scss
blob: 6819fd88b7f38cf578ab8765d1f99c3f6a04da42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.appearance-logo-preview {
  max-width: 400px;
  margin-bottom: 20px;
}

.appearance-light-logo-preview {
  background-color: $gray-light;
  max-width: 72px;
  padding: 10px;
  margin-bottom: 10px;
}

.svg-content {
  text-align: center;
  padding: $gl-padding;

  svg,
  img {
    max-width: 425px;
    width: 100%;
  }
}

@mixin svg-size($size) {
  width: $size;
  height: $size;
}

svg {
  &.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); }
}