aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/examples/playground/playground.css
blob: 6bdf8668a14b8d4f9e7b5c6de1ecd069c9ddb889 (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
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
83
84
85
86
/* stylelint-disable declaration-no-important */

body > div {
  max-width: 40rem;
}

.btn-group {
  /* margin-bottom: -50%; */
}

.btn-group > .btn {
  flex: 0;
}

.btn-outline-primary:not(:hover) {
  background-color: #fff;
}


.carousel-indicators {
  position: static;
}

.carousel-indicators li {
  width: .5rem;
  height: .5rem;
  background-color: currentColor;
  border-radius: 50%;
}

.carousel-indicators li:last-child {
  margin-right: 0;
}


.modal-sheet {
  position: absolute;
  /* display: block; */
  overflow: hidden;
}

.modal-sheet .modal-dialog {
  position: absolute;
  right: .5rem;
  bottom: -100%;
  left: .5rem;
  margin-bottom: .5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  transition: bottom .75s ease-in-out;
}

.modal-sheet.show .modal-dialog {
  bottom: 0;
}


.modal-sheet .modal-content {
  border-radius: 1rem;
}

.modal-sheet .modal-footer {
  padding-bottom: 2rem;
}

/* Hack for now */
.modal-backdrop { display: none !important; }


.button-group {
  display: flex;
  padding: .1em;
  background-color: rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 4rem;
}
.button-group-item {
  flex: 1 1 0;
  padding: .375rem .75rem;
  background: none;
  border: 0;
}
.button-group-item.active {
  background-color: #fff;
  border-radius: 3.9rem;
  box-shadow: 0 .1em .2em rgba(0, 0, 0, .1);
}