]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/styles/bootstrap-extends.scss
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / styles / bootstrap-extends.scss
CommitLineData
e306af50
TL
1/*
2 * Include here all styles from components that extend from bootstrap.
3 * This removes the need to @import bootstrap into those componenet,
4 * thus reducing the final css size.
5*/
6
7cd-info-card {
8 .card {
9 @extend .pb-2;
10
11 .card-body {
12 .card-text {
13 @extend .pt-2;
14 }
15 }
16 }
17}
18
19.btn-toolbar cd-table-actions.btn-group {
20 @extend .mr-2;
21}
22
23cd-table {
24 .cd-datatable {
25 .datatable-footer {
26 @extend .p-2;
27
28 .datatable-pager {
29 ul {
30 @extend .pagination;
31
32 li {
33 @extend .page-item;
34
35 a {
36 @extend .page-link;
37 }
38 }
39 }
40 }
41 }
42 }
43}
44
45cd-health {
46 cd-info-card {
47 @extend .d-flex;
48 @extend .flex-column;
49 @extend .mb-4;
50
51 @extend .col-12;
52 @extend .col-sm-12;
53 @extend .col-md-6;
54 @extend .col-lg-4;
55
56 &.cd-status-card {
57 @extend .col-xl-3;
58 }
59
60 &.cd-performance-card,
61 &.cd-capacity-card {
62 @extend .col-xl;
63 }
64 }
65}
66
67cd-logs {
68 label {
69 @extend .mr-2;
70 }
71
72 .form-inline > .form-group {
73 @extend .mr-3;
74 @extend .mb-3;
75 }
76}
77
78cd-about {
79 dl {
80 @extend .row;
81 }
82 dt {
83 @extend .col-4;
84 @extend .font-weight-bold;
85 }
86 dd {
87 @extend .col-8;
88 }
89}