1 | .card {
|
---|
2 | margin-bottom: 1.875rem;
|
---|
3 | position: relative;
|
---|
4 | background-color: white;
|
---|
5 | border-radius: $default-border-radius;
|
---|
6 | border: none;
|
---|
7 | box-shadow: 0 4px 25px 0 rgba(0,0,0,.1);
|
---|
8 |
|
---|
9 | &.bg-primary .card-header, &.bg-secondary .card-header, &.bg-success .card-header, &.bg-danger .card-header, &.bg-warning .card-header, &.bg-info .card-header, &.bg-dark .card-header {
|
---|
10 | border-bottom: 1px solid rgba(235, 235, 235, 0.40);
|
---|
11 | }
|
---|
12 |
|
---|
13 | .card-header, .card-footer {
|
---|
14 | border: none;
|
---|
15 | background: none;
|
---|
16 | font-size: $default-font-size - 1;
|
---|
17 | font-weight: 600;
|
---|
18 | padding: 10px 20px;
|
---|
19 | }
|
---|
20 |
|
---|
21 | .card-header {
|
---|
22 | margin-bottom: 0;
|
---|
23 | border-bottom: $border-style;
|
---|
24 | }
|
---|
25 |
|
---|
26 | .card-footer {
|
---|
27 | border-top: 1px solid #ebebeb;
|
---|
28 | }
|
---|
29 |
|
---|
30 | .card-body {
|
---|
31 | padding: 1.5rem;
|
---|
32 |
|
---|
33 | h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.card-title {
|
---|
34 | margin-bottom: 2rem;
|
---|
35 | font-size: 1rem;
|
---|
36 | font-weight: 600;
|
---|
37 |
|
---|
38 | .dropdown {
|
---|
39 | & * {
|
---|
40 | letter-spacing: normal;
|
---|
41 | text-transform: none;
|
---|
42 | }
|
---|
43 | }
|
---|
44 | }
|
---|
45 | }
|
---|
46 |
|
---|
47 | .card-scroll {
|
---|
48 | height: 300px;
|
---|
49 | overflow: auto;
|
---|
50 | }
|
---|
51 |
|
---|
52 | &.purple {
|
---|
53 | height: 120px;
|
---|
54 | background: linear-gradient(200deg, #8a8ded, #9c9dc6);
|
---|
55 | }
|
---|
56 |
|
---|
57 | &.blue {
|
---|
58 | height: 120px;
|
---|
59 | background: linear-gradient(200deg, #6bc5e7, #bcd7ff);
|
---|
60 | }
|
---|
61 |
|
---|
62 | &.green {
|
---|
63 | height: 120px;
|
---|
64 | background: linear-gradient(200deg, #77df75, #b5e7a0);
|
---|
65 | }
|
---|
66 |
|
---|
67 | &.orange {
|
---|
68 | height: 120px;
|
---|
69 | background: linear-gradient(200deg, #ffc033, #ffc49d);
|
---|
70 | }
|
---|
71 |
|
---|
72 | & > .table-responsive .table td, & > .table-responsive .table th {
|
---|
73 | padding: .75rem 1.5rem;
|
---|
74 | }
|
---|
75 | }
|
---|
76 |
|
---|
77 | .card-group, .card-columns {
|
---|
78 | margin-bottom: 30px;
|
---|
79 | }
|
---|