summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/views/_message-panel.scss
blob: 4a0a7a6b9eafc7f68c9abb9b772fb07c33121b34 (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
.message-panel {
  width: 100%;
  margin: 10px auto;
  position: fixed;
  z-index: 10000;
  text-align: center;

  &__growl {
    padding: 5px 60px;

    &--success {
      background: $warning;
      color: darken($warning, 50%);
      border: 1px solid darken($warning, 10%);
      @include box-shadow(1px 1px 3px darken($warning, 60%));
    }

    &--error {
      font-weight: bold;
      color: white;
      background: $error;
      border: 1px solid darken($error, 10%);
      @include box-shadow(1px 1px 3px darken($error, 60%));
    }
  }
}