summaryrefslogtreecommitdiff
path: root/_sass/components/_extensions.scss
blob: 7c83f75596b7e6a86871dd9f3e2e32d0a147bcab (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
.extensions {
  margin: map-get($spacers, 3) 0;
  @extend .d-print-none;
}

.extensions--video, .extensions--slide, .extensions--demo {
  position: relative;
  width: 100%;
  padding: 0;
  & > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.extensions--video {
  padding-top: percentage(315 / 560);
}

.extensions--slide {
  padding-top: percentage(487 / 599);
}

.extensions--demo {
  min-height: 340px;
  padding-top: percentage(315 / 560);
}

.extensions--audio {
  display: block;
  max-width: 100% !important;
}