Blame view

bower_components/Materialize/sass/components/_slider.scss 1.43 KB
74249687   Luigi Serra   Cross browser con...
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  .slider {
    position: relative;
    height: 400px;
    width: 100%;
  
    // Fullscreen slider
    &.fullscreen {
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
  
      ul.slides {
        height: 100%;
      }
  
      ul.indicators {
        z-index: 2;
        bottom: 30px;
      }
    }
  
    .slides {
      background-color: $slider-bg-color;
      margin: 0;
      height: 400px;
  
      li {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: inherit;
        overflow: hidden;
  
        img {
          height: 100%;
          width: 100%;
          background-size: cover;
          background-position: center;
        }
  
        .caption {
          color: #fff;
          position: absolute;
          top: 15%;
          left: 15%;
          width: 70%;
          opacity: 0;
  
          p { color: $slider-bg-color-light; }
        }
  
        &.active {
          z-index: 2;
        }
      }
    }
  
  
    .indicators {
      position: absolute;
      text-align: center;
      left: 0;
      right: 0;
      bottom: 0;
      margin: 0;
  
      .indicator-item {
        display: inline-block;
        position: relative;
        cursor: pointer;
        height: 16px;
        width: 16px;
        margin: 0 12px;
        background-color: $slider-bg-color-light;
  
c5169e0e   Renato De Donato   a new hope
83
        @include transition(background-color .3s);
74249687   Luigi Serra   Cross browser con...
84
85
86
87
88
89
90
91
92
        border-radius: 50%;
  
        &.active {
          background-color: $slider-indicator-color;
        }
      }
    }
  
  }