2016-10-21 15:57:33 +00:00
|
|
|
.query-side-panel {
|
2021-09-10 19:06:37 +00:00
|
|
|
position: relative;
|
|
|
|
|
overflow: unset !important; // was unnecessary and broke close button positioning
|
|
|
|
|
|
|
|
|
|
&__close-button {
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
border: 1px solid $ui-fleet-black-25;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
background-color: $core-white;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 40px;
|
2023-08-28 17:09:21 +00:00
|
|
|
left: -13px;
|
2021-09-10 19:06:37 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
2021-11-10 16:24:44 +00:00
|
|
|
z-index: 2;
|
2021-09-10 19:06:37 +00:00
|
|
|
|
2022-08-22 16:10:18 +00:00
|
|
|
&:focus {
|
2024-10-16 15:24:08 +00:00
|
|
|
border: 1px solid $core-vibrant-blue;
|
2022-08-22 16:10:18 +00:00
|
|
|
outline: none;
|
2024-10-16 15:24:08 +00:00
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
path {
|
|
|
|
|
stroke: $core-vibrant-blue;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-08-22 16:10:18 +00:00
|
|
|
}
|
2023-08-28 17:09:21 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
svg {
|
|
|
|
|
path {
|
2024-10-16 15:24:08 +00:00
|
|
|
stroke: $core-vibrant-blue-over;
|
2023-08-28 17:09:21 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-09-10 19:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
2016-12-16 16:07:35 +00:00
|
|
|
&__choose-table {
|
2022-10-14 16:45:57 +00:00
|
|
|
margin: 0 0 $pad-large;
|
2020-12-07 23:08:59 +00:00
|
|
|
|
|
|
|
|
.form-field {
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-bottom: $pad-medium;
|
2020-12-07 23:08:59 +00:00
|
|
|
}
|
2016-10-21 15:57:33 +00:00
|
|
|
}
|
|
|
|
|
|
2022-10-14 16:45:57 +00:00
|
|
|
&__header {
|
|
|
|
|
margin: 0 0 $pad-medium;
|
|
|
|
|
font-size: $small;
|
|
|
|
|
font-weight: $bold;
|
2019-01-03 20:46:55 +00:00
|
|
|
display: flex;
|
2022-10-14 16:45:57 +00:00
|
|
|
align-items: center;
|
2016-10-21 15:57:33 +00:00
|
|
|
}
|
|
|
|
|
|
2022-10-14 16:45:57 +00:00
|
|
|
&__table-count {
|
|
|
|
|
line-height: normal;
|
|
|
|
|
margin-left: $pad-small;
|
2023-01-05 15:23:27 +00:00
|
|
|
background-color: $ui-fleet-black-10;
|
2022-10-14 16:45:57 +00:00
|
|
|
padding: $pad-xsmall $pad-small;
|
|
|
|
|
border-radius: 8px;
|
2021-04-10 00:30:42 +00:00
|
|
|
font-size: $x-small;
|
2016-10-21 15:57:33 +00:00
|
|
|
}
|
|
|
|
|
|
2022-11-10 11:00:06 +00:00
|
|
|
&__table-select {
|
2022-11-14 17:20:58 +00:00
|
|
|
// TODO: Remove these overrides when we do a style update for the core
|
|
|
|
|
// dropdown component.
|
|
|
|
|
&.Select {
|
|
|
|
|
// fixes up some padding issues with the scroll bar for the dropdown.
|
|
|
|
|
.Select-menu-outer {
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
.Select-menu {
|
2023-03-30 18:22:41 +00:00
|
|
|
padding: $pad-xsmall;
|
2022-11-14 17:20:58 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// use to truncate selected long table names in the dropdown
|
2023-03-30 18:22:41 +00:00
|
|
|
&.has-value.Select--single > .Select-control {
|
2022-11-14 17:20:58 +00:00
|
|
|
.Select-value .Select-value-label {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
width: 220px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-11-29 18:02:51 +00:00
|
|
|
|
|
|
|
|
// styles to truncate table names in the dropdown options
|
|
|
|
|
.Select-option .dropdown__option {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
display: block;
|
2023-12-01 12:14:47 +00:00
|
|
|
// this width makes the dropdown option truncation consistant regardless
|
|
|
|
|
// if the scrollbar is showing or not.
|
|
|
|
|
width: 225px;
|
2023-11-29 18:02:51 +00:00
|
|
|
}
|
2022-11-10 11:00:06 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-16 16:07:35 +00:00
|
|
|
&__description {
|
2020-12-07 23:08:59 +00:00
|
|
|
font-size: $x-small;
|
2022-10-14 16:45:57 +00:00
|
|
|
overflow-wrap: break-word;
|
2016-12-16 16:07:35 +00:00
|
|
|
}
|
2023-03-30 18:22:41 +00:00
|
|
|
|
|
|
|
|
&__mdm-required {
|
|
|
|
|
background-color: $core-vibrant-blue;
|
|
|
|
|
color: $core-white;
|
|
|
|
|
font-size: $x-small;
|
2023-05-23 21:24:01 +00:00
|
|
|
font-weight: $bold;
|
2023-03-30 18:22:41 +00:00
|
|
|
padding: 2px 4px;
|
2025-01-22 15:22:59 +00:00
|
|
|
border-radius: $border-radius;
|
2023-03-30 18:22:41 +00:00
|
|
|
position: relative;
|
|
|
|
|
top: -2px;
|
|
|
|
|
min-width: 95px;
|
|
|
|
|
max-height: 19px;
|
|
|
|
|
}
|
2016-12-16 16:07:35 +00:00
|
|
|
}
|