blob: e754520b6db85c8577f987f0ec0478740d9c35a8 [file] [log] [blame]
Yoshie Muranaka56ee7692020-05-28 13:28:29 -07001.table {
Yoshie Muranaka183c2752020-02-12 11:30:49 -08002 position: relative;
3 z-index: $zindex-dropdown;
Yoshie Muranaka56ee7692020-05-28 13:28:29 -07004
5 td {
Yoshie Muranaka01da8182020-07-08 15:46:43 -07006 border-top: 1px solid gray("300");
7 border-bottom: 1px solid gray("300");
Yoshie Muranaka56ee7692020-05-28 13:28:29 -07008 &:first-of-type {
Yoshie Muranaka01da8182020-07-08 15:46:43 -07009 border-left: 1px solid gray("300");
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070010 }
11 &:last-of-type {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070012 border-right: 1px solid gray("300");
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070013 }
14 }
15
16 // thead-light added for specificiy
17 .thead-light th {
18 border: none;
Yoshie Muranaka01da8182020-07-08 15:46:43 -070019 color: theme-color("dark");
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070020 }
21
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070022 .status-icon svg {
23 width: 1rem;
24 height: auto;
25 }
Yoshie Muranaka183c2752020-02-12 11:30:49 -080026
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070027 .b-table-has-details {
28 td {
29 border-bottom: none;
30 }
31 .table-row-expand svg {
32 transform: rotate(180deg);
33 }
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080034 }
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080035
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070036 .b-table-details {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070037 background-color: theme-color("light");
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070038 td {
39 padding-left: calc(50px + (#{$table-cell-padding} * 2));
40 }
41 dl {
42 margin: 0;
43 }
44 dt {
45 display: inline-block;
46 margin-right: $spacer / 2;
47 }
48 dd {
49 display: inline-block;
50 }
51 }
52
53 .table-row-expand {
54 width: 50px;
55 .btn {
56 padding: 0;
57 width: 50px;
58 }
59 svg {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070060 fill: theme-color("dark");
Yoshie Muranaka56ee7692020-05-28 13:28:29 -070061 }
Yoshie Muranaka4b0fc1d2020-01-06 07:36:16 -080062 }
Mateusz Gapski1d2da292020-09-10 12:07:45 +020063}
64
65.b-table-sticky-header td {
66 border-top: none;
67}
68