2022-12-06 20:58:32 +00:00
|
|
|
$shadow-width: 40px;
|
|
|
|
|
$shadow-transition-width: 10px;
|
|
|
|
|
|
2022-04-07 19:12:38 +00:00
|
|
|
.data-table-block {
|
2021-02-25 12:05:08 +00:00
|
|
|
position: relative;
|
2021-10-18 17:42:54 +00:00
|
|
|
display: inline-block;
|
|
|
|
|
width: 100%;
|
2016-11-21 16:26:58 +00:00
|
|
|
|
2021-03-15 11:26:18 +00:00
|
|
|
.data-table {
|
2021-02-25 12:05:08 +00:00
|
|
|
&__wrapper {
|
2021-05-13 14:30:42 +00:00
|
|
|
position: relative;
|
2023-01-05 15:23:27 +00:00
|
|
|
border: 1px solid $ui-fleet-black-10;
|
2021-02-25 12:05:08 +00:00
|
|
|
border-radius: 6px;
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-top: $pad-small;
|
2021-10-18 17:42:54 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
|
width: 100%;
|
2022-12-06 20:58:32 +00:00
|
|
|
|
|
|
|
|
// Shadow
|
2023-01-05 15:23:27 +00:00
|
|
|
background-image:
|
2022-12-06 20:58:32 +00:00
|
|
|
/* Shadows */ linear-gradient(
|
|
|
|
|
to right,
|
|
|
|
|
white,
|
|
|
|
|
$transparent
|
|
|
|
|
),
|
|
|
|
|
linear-gradient(to left, white, $transparent),
|
|
|
|
|
/* Shadow covers */
|
|
|
|
|
linear-gradient(to right, $ui-shadow, white $shadow-transition-width),
|
|
|
|
|
linear-gradient(to left, $ui-shadow, white $shadow-transition-width);
|
|
|
|
|
|
|
|
|
|
background-position: left center, right center, left center, right center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-color: white;
|
|
|
|
|
background-size: $shadow-width 100%, $shadow-width 100%, 50% 100%,
|
|
|
|
|
50% 100%;
|
|
|
|
|
|
|
|
|
|
/* Opera doesn't support this in the shorthand */
|
|
|
|
|
background-attachment: local, local, scroll, scroll;
|
|
|
|
|
// End shadow
|
2021-02-25 12:05:08 +00:00
|
|
|
}
|
2020-11-24 16:59:03 +00:00
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
&__table {
|
2021-05-13 14:30:42 +00:00
|
|
|
position: relative;
|
2021-02-25 12:05:08 +00:00
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-black;
|
2021-02-25 12:05:08 +00:00
|
|
|
font-size: $x-small;
|
2022-11-30 14:20:16 +00:00
|
|
|
}
|
2022-11-28 14:56:34 +00:00
|
|
|
|
2022-11-30 14:20:16 +00:00
|
|
|
tbody {
|
2022-11-28 14:56:34 +00:00
|
|
|
.component__tooltip-wrapper {
|
|
|
|
|
margin: 10px 0; // vertical padding multiline text with tooltip
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.component__tooltip-wrapper__element {
|
|
|
|
|
white-space: initial; // wraps long text with tooltip
|
|
|
|
|
}
|
2022-12-06 20:58:32 +00:00
|
|
|
|
2023-01-25 16:10:15 +00:00
|
|
|
tr,
|
|
|
|
|
.single-row {
|
2023-01-04 16:06:30 +00:00
|
|
|
transition: background-color 150ms ease-out;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: $ui-off-white-opaque; // opaque needed for horizontal scroll shadow
|
|
|
|
|
}
|
2022-12-06 20:58:32 +00:00
|
|
|
}
|
|
|
|
|
|
2023-01-04 16:06:30 +00:00
|
|
|
.single-row {
|
|
|
|
|
&:hover {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
&:active {
|
|
|
|
|
background-color: $ui-vibrant-blue-10-opaque; // opaque needed for horizontal scroll shadow
|
|
|
|
|
}
|
2022-12-06 20:58:32 +00:00
|
|
|
}
|
2020-11-24 16:59:03 +00:00
|
|
|
}
|
|
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
tr {
|
2023-01-05 15:23:27 +00:00
|
|
|
border-bottom: 1px solid $ui-fleet-black-10;
|
2016-11-21 16:26:58 +00:00
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
&:last-child {
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
2021-05-13 14:30:42 +00:00
|
|
|
|
|
|
|
|
// override styles of checkbox data cells
|
|
|
|
|
.form-field--checkbox {
|
2022-04-07 19:12:38 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
2021-05-13 14:30:42 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
2021-08-10 18:25:34 +00:00
|
|
|
.fleet-checkbox__label {
|
2021-05-13 14:30:42 +00:00
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-21 16:26:58 +00:00
|
|
|
}
|
|
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
thead {
|
2022-12-06 20:58:32 +00:00
|
|
|
background-color: $ui-off-white-opaque; // opaque needed for horizontal scroll shadow
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-black;
|
2021-02-25 12:05:08 +00:00
|
|
|
text-align: left;
|
2023-01-05 15:23:27 +00:00
|
|
|
border-bottom: 1px solid $ui-fleet-black-10;
|
2016-11-21 16:26:58 +00:00
|
|
|
|
2021-11-17 18:08:00 +00:00
|
|
|
// resize header icons
|
2021-11-03 17:13:58 +00:00
|
|
|
img {
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
2022-02-15 16:19:01 +00:00
|
|
|
vertical-align: top;
|
2021-11-03 17:13:58 +00:00
|
|
|
}
|
|
|
|
|
|
2021-11-17 18:08:00 +00:00
|
|
|
// do not resize button icons inside headers
|
|
|
|
|
.button {
|
|
|
|
|
img {
|
|
|
|
|
width: initial;
|
|
|
|
|
height: initial;
|
|
|
|
|
vertical-align: initial;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
th {
|
2022-04-07 19:12:38 +00:00
|
|
|
padding: $pad-medium $pad-large;
|
2021-02-25 12:05:08 +00:00
|
|
|
white-space: nowrap;
|
2023-01-05 15:23:27 +00:00
|
|
|
border-right: 1px solid $ui-fleet-black-10;
|
2023-05-23 21:24:01 +00:00
|
|
|
font-weight: $bold;
|
2016-11-21 16:26:58 +00:00
|
|
|
|
2021-08-03 20:09:01 +00:00
|
|
|
&:first-child {
|
|
|
|
|
border-top-left-radius: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-06 16:55:57 +00:00
|
|
|
&.selection__header {
|
2022-05-12 14:23:06 +00:00
|
|
|
width: 22px;
|
2022-04-07 19:12:38 +00:00
|
|
|
padding: $pad-medium;
|
2021-08-03 20:09:01 +00:00
|
|
|
}
|
2021-08-10 18:25:34 +00:00
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
&:last-child {
|
|
|
|
|
border-right: none;
|
2021-08-03 20:09:01 +00:00
|
|
|
border-top-right-radius: 6px;
|
2021-02-25 12:05:08 +00:00
|
|
|
}
|
2023-04-27 15:53:30 +00:00
|
|
|
|
|
|
|
|
.column-header {
|
|
|
|
|
span {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 3px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-02-25 12:05:08 +00:00
|
|
|
}
|
2021-11-12 21:51:47 +00:00
|
|
|
|
2022-03-31 21:10:11 +00:00
|
|
|
&.active-selection {
|
|
|
|
|
background: none;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
th {
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
2021-11-12 21:51:47 +00:00
|
|
|
.fleet-checkbox {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
2022-03-31 21:10:11 +00:00
|
|
|
.active-selection__container {
|
|
|
|
|
background-color: $ui-off-white;
|
|
|
|
|
width: 100% !important; // Too much specificity currently at page-level styling. Revisit after data table CSS update to remove !important.
|
|
|
|
|
.active-selection__inner {
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-11-12 21:51:47 +00:00
|
|
|
}
|
2021-02-25 12:05:08 +00:00
|
|
|
}
|
2016-11-21 16:26:58 +00:00
|
|
|
|
2021-05-13 14:30:42 +00:00
|
|
|
.active-selection {
|
|
|
|
|
position: absolute;
|
2021-07-26 18:41:36 +00:00
|
|
|
top: 0px;
|
2021-05-13 14:30:42 +00:00
|
|
|
width: 100%;
|
|
|
|
|
border: 0;
|
2021-07-29 19:47:04 +00:00
|
|
|
border-radius: 6px;
|
2021-05-13 14:30:42 +00:00
|
|
|
|
2022-04-07 19:12:38 +00:00
|
|
|
&__checkbox {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
width: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-13 14:30:42 +00:00
|
|
|
&__container {
|
2022-04-07 19:12:38 +00:00
|
|
|
padding: 0 24px;
|
2021-05-13 14:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__inner {
|
|
|
|
|
display: flex;
|
2021-07-10 17:29:27 +00:00
|
|
|
justify-content: space-between;
|
2021-05-13 14:30:42 +00:00
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 0 $pad-medium 0 0;
|
|
|
|
|
font-weight: $regular;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
font-weight: $bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
margin-right: $pad-medium;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-07-15 17:02:58 +00:00
|
|
|
|
2021-07-10 17:29:27 +00:00
|
|
|
&__inner-left,
|
|
|
|
|
&__inner-right {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2021-05-13 14:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
2021-02-25 12:05:08 +00:00
|
|
|
tbody {
|
|
|
|
|
td {
|
2021-07-05 19:26:38 +00:00
|
|
|
height: 40px;
|
2022-04-07 19:12:38 +00:00
|
|
|
padding: 0 $pad-large;
|
2021-04-09 10:44:57 +00:00
|
|
|
|
2022-04-07 19:12:38 +00:00
|
|
|
&.selection__cell {
|
|
|
|
|
width: 0px;
|
|
|
|
|
padding: 0 $pad-medium;
|
2021-10-27 21:19:23 +00:00
|
|
|
}
|
2022-04-07 19:12:38 +00:00
|
|
|
.link-cell,
|
|
|
|
|
.text-cell {
|
|
|
|
|
display: block;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
2021-04-09 10:44:57 +00:00
|
|
|
margin: 0;
|
|
|
|
|
}
|
2022-04-07 19:12:38 +00:00
|
|
|
.w400 {
|
|
|
|
|
max-width: calc(400px - 48px);
|
2022-07-25 20:26:52 +00:00
|
|
|
min-width: 100%;
|
|
|
|
|
text-align: left;
|
2022-04-07 19:12:38 +00:00
|
|
|
}
|
|
|
|
|
.w250 {
|
|
|
|
|
max-width: calc(250px - 48px);
|
2022-07-25 20:26:52 +00:00
|
|
|
min-width: 100%;
|
|
|
|
|
text-align: left;
|
2021-04-09 10:44:57 +00:00
|
|
|
}
|
2022-08-15 22:47:07 +00:00
|
|
|
.grey-cell {
|
|
|
|
|
color: $ui-fleet-black-50;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
2020-12-19 01:36:39 +00:00
|
|
|
}
|
2022-12-06 20:58:32 +00:00
|
|
|
|
2022-11-02 18:18:08 +00:00
|
|
|
.disable-highlight:hover {
|
|
|
|
|
background-color: initial;
|
|
|
|
|
}
|
2021-10-22 20:05:49 +00:00
|
|
|
}
|
2021-10-18 17:42:54 +00:00
|
|
|
}
|
2022-04-07 19:12:38 +00:00
|
|
|
|
2021-10-18 17:42:54 +00:00
|
|
|
.loading-overlay {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
|
|
|
z-index: 1;
|
2016-11-21 16:26:58 +00:00
|
|
|
}
|
2021-10-18 19:14:24 +00:00
|
|
|
|
|
|
|
|
&__pagination {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
margin-top: $pad-small;
|
|
|
|
|
margin-bottom: $pad-small;
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
color: $core-vibrant-blue;
|
|
|
|
|
padding: 6px;
|
2022-10-19 22:24:42 +00:00
|
|
|
font-weight: $bold;
|
2021-10-18 19:14:24 +00:00
|
|
|
|
|
|
|
|
.fleeticon-chevronleft {
|
|
|
|
|
margin-right: $pad-small;
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
font-weight: $bold;
|
|
|
|
|
position: relative;
|
|
|
|
|
top: -2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fleeticon-chevronright {
|
|
|
|
|
margin-left: $pad-small;
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
font-size: 0.6rem;
|
|
|
|
|
font-weight: $bold;
|
|
|
|
|
position: relative;
|
|
|
|
|
top: -2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-03-28 21:31:36 +00:00
|
|
|
button:hover,
|
|
|
|
|
button:focus {
|
2021-10-18 19:14:24 +00:00
|
|
|
background-color: $ui-vibrant-blue-10;
|
|
|
|
|
}
|
|
|
|
|
|
2022-03-28 21:31:36 +00:00
|
|
|
.button--disabled:hover,
|
|
|
|
|
.button--disabled:focus {
|
2021-10-18 19:14:24 +00:00
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:last-child {
|
|
|
|
|
margin-left: $pad-large;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-01-31 22:24:20 +00:00
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__footer-text {
|
|
|
|
|
font-size: $x-small;
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2016-11-21 16:26:58 +00:00
|
|
|
}
|