summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/banner.scss
blob: 02f3896d5913f6aa635c45bc726d55ad8d031f72 (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
39
40
.banner-callout {
  display: flex;
  position: relative;
  align-items: start;

  .banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 1;

    .dismiss-icon {
      color: $gl-text-color;
      font-size: $gl-font-size;
    }
  }

  .banner-graphic {
    margin: 0 $gl-padding $gl-padding 0;
  }

  &.banner-non-empty-state {
    border-bottom: 1px solid $border-color;
  }

  @media (max-width: $screen-xs-max) {
    justify-content: center;
    flex-direction: column;
    align-items: center;

    .banner-title,
    .banner-buttons {
      text-align: center;
    }

    .banner-graphic {
      margin-left: $gl-padding;
    }
  }
}