Blame view

bower_components/Materialize/sass/components/_toast.scss 1011 Bytes
74249687   Luigi Serra   Cross browser con...
1
2
3
4
5
6
7
8
9
10
  #toast-container {
    display:block;
    position: fixed;
    z-index: 10000;
  
    @media #{$small-and-down} {
      min-width: 100%;
      bottom: 0%;
    }
    @media #{$medium-only} {
c5169e0e   Renato De Donato   a new hope
11
      min-width: 30%;
74249687   Luigi Serra   Cross browser con...
12
13
      left: 5%;
      bottom: 7%;
74249687   Luigi Serra   Cross browser con...
14
15
    }
    @media #{$large-and-up} {
c5169e0e   Renato De Donato   a new hope
16
      min-width: 8%;
74249687   Luigi Serra   Cross browser con...
17
18
      top: 10%;
      right: 7%;
74249687   Luigi Serra   Cross browser con...
19
20
21
22
23
24
25
26
27
28
29
30
    }
  }
  
  .toast {
    @extend .z-depth-1;
    border-radius: 2px;
    top: 0;
    width: auto;
    clear: both;
    margin-top: 10px;
    position: relative;
    max-width:100%;
c5169e0e   Renato De Donato   a new hope
31
32
    height: $toast-height;
    line-height: $toast-height;
74249687   Luigi Serra   Cross browser con...
33
    background-color: $toast-color;
c5169e0e   Renato De Donato   a new hope
34
    padding: 0 25px;
74249687   Luigi Serra   Cross browser con...
35
36
37
38
    font-size: 1.1rem;
    font-weight: 300;
    color: $toast-text-color;
  
c5169e0e   Renato De Donato   a new hope
39
40
41
    @include flexbox();
    @include align(center);
    @include justify-content(space-between);
74249687   Luigi Serra   Cross browser con...
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  
    .btn, .btn-flat {
      margin: 0;
      margin-left: 3rem;
    }
  
    &.rounded{
      border-radius: 24px;
    }
  
    @media #{$small-and-down} {
      width:100%;
      border-radius: 0;
    }
    @media #{$medium-only} {
      float: left;
    }
    @media #{$large-and-up} {
      float: right;
    }
  
  }