|
@@ -48,18 +48,24 @@ export const SeekTypeSelectorWrapper = styled.div`
|
|
|
|
|
|
export const OffsetSelector = styled(Input)`
|
|
export const OffsetSelector = styled(Input)`
|
|
border-radius: 0 4px 4px 0 !important;
|
|
border-radius: 0 4px 4px 0 !important;
|
|
- border-left: none;
|
|
|
|
|
|
+ &::placeholder {
|
|
|
|
+ color: ${({ theme }) => theme.input.color.normal};
|
|
|
|
+ }
|
|
`;
|
|
`;
|
|
|
|
|
|
export const DatePickerInput = styled(DatePicker)`
|
|
export const DatePickerInput = styled(DatePicker)`
|
|
height: 32px;
|
|
height: 32px;
|
|
- border: 1px ${(props) => props.theme.select.borderColor.normal} solid;
|
|
|
|
|
|
+ border: 1px ${({ theme }) => theme.select.borderColor.normal} solid;
|
|
border-left: none;
|
|
border-left: none;
|
|
border-radius: 0 4px 4px 0;
|
|
border-radius: 0 4px 4px 0;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
width: 100%;
|
|
width: 100%;
|
|
padding-left: 12px;
|
|
padding-left: 12px;
|
|
- color: ${(props) => props.theme.select.color.normal};
|
|
|
|
|
|
+ background-color: ${({ theme }) => theme.input.backgroundColor.normal};
|
|
|
|
+ color: ${({ theme }) => theme.input.color.normal};
|
|
|
|
+ &::placeholder {
|
|
|
|
+ color: ${({ theme }) => theme.input.color.normal};
|
|
|
|
+ }
|
|
|
|
|
|
background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
|
|
background-image: url('data:image/svg+xml,%3Csvg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 5L9 1" stroke="%23454F54"/%3E%3C/svg%3E%0A') !important;
|
|
background-repeat: no-repeat !important;
|
|
background-repeat: no-repeat !important;
|
|
@@ -83,7 +89,10 @@ export const FiltersMetrics = styled.div`
|
|
padding-top: 16px;
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
padding-bottom: 16px;
|
|
`;
|
|
`;
|
|
-
|
|
|
|
|
|
+export const Message = styled.div`
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ color: ${({ theme }) => theme.metrics.filters.color.normal};
|
|
|
|
+`;
|
|
export const Metric = styled.div`
|
|
export const Metric = styled.div`
|
|
color: ${({ theme }) => theme.metrics.filters.color.normal};
|
|
color: ${({ theme }) => theme.metrics.filters.color.normal};
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
@@ -168,6 +177,7 @@ export const FilterTitle = styled.h3`
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
|
+ color: ${({ theme }) => theme.modal.color};
|
|
&:after {
|
|
&:after {
|
|
content: '';
|
|
content: '';
|
|
width: calc(100% + 32px);
|
|
width: calc(100% + 32px);
|
|
@@ -176,7 +186,7 @@ export const FilterTitle = styled.h3`
|
|
top: 40px;
|
|
top: 40px;
|
|
left: -16px;
|
|
left: -16px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- background-color: #f1f2f3;
|
|
|
|
|
|
+ background-color: ${({ theme }) => theme.modal.border.top};
|
|
}
|
|
}
|
|
`;
|
|
`;
|
|
|
|
|
|
@@ -184,9 +194,12 @@ export const CreatedFilter = styled.p`
|
|
margin: 25px 0 10px;
|
|
margin: 25px 0 10px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
- color: ${({ theme }) => theme.list.meta.color};
|
|
|
|
|
|
+ color: ${({ theme }) => theme.savedFilter.color};
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
+export const NoSavedFilter = styled.p`
|
|
|
|
+ color: ${({ theme }) => theme.savedFilter.color};
|
|
|
|
+`;
|
|
export const SavedFiltersContainer = styled.div`
|
|
export const SavedFiltersContainer = styled.div`
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
height: 195px;
|
|
height: 195px;
|
|
@@ -197,6 +210,7 @@ export const SavedFiltersContainer = styled.div`
|
|
export const SavedFilterName = styled.div`
|
|
export const SavedFilterName = styled.div`
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
|
|
+ color: ${({ theme }) => theme.savedFilter.filterName};
|
|
`;
|
|
`;
|
|
|
|
|
|
export const FilterButtonWrapper = styled.div`
|
|
export const FilterButtonWrapper = styled.div`
|
|
@@ -214,7 +228,7 @@ export const FilterButtonWrapper = styled.div`
|
|
top: 0;
|
|
top: 0;
|
|
left: -16px;
|
|
left: -16px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- background-color: #f1f2f3;
|
|
|
|
|
|
+ background-color: ${({ theme }) => theme.modal.border.bottom};
|
|
}
|
|
}
|
|
`;
|
|
`;
|
|
|
|
|
|
@@ -242,7 +256,7 @@ export const FilterOptions = styled.div`
|
|
display: none;
|
|
display: none;
|
|
width: 50px;
|
|
width: 50px;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- color: ${({ theme }) => theme.editFilterText.color};
|
|
|
|
|
|
+ color: ${({ theme }) => theme.editFilter.textColor};
|
|
`;
|
|
`;
|
|
|
|
|
|
export const SavedFilter = styled.div.attrs({
|
|
export const SavedFilter = styled.div.attrs({
|
|
@@ -254,28 +268,28 @@ export const SavedFilter = styled.div.attrs({
|
|
height: 32px;
|
|
height: 32px;
|
|
align-items: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- border-top: 1px solid #f1f2f3;
|
|
|
|
|
|
+ border-top: 1px solid ${({ theme }) => theme.panelColor.borderTop};
|
|
&:hover ${FilterOptions} {
|
|
&:hover ${FilterOptions} {
|
|
display: flex;
|
|
display: flex;
|
|
}
|
|
}
|
|
&:hover {
|
|
&:hover {
|
|
background: ${({ theme }) => theme.layout.stuffColor};
|
|
background: ${({ theme }) => theme.layout.stuffColor};
|
|
}
|
|
}
|
|
- background: ${(props) =>
|
|
|
|
- props.selected ? props.theme.layout.stuffColor : props.theme.panelColor};
|
|
|
|
|
|
+ background: ${({ selected, theme }) =>
|
|
|
|
+ selected ? theme.layout.stuffColor : theme.modal.backgroundColor};
|
|
`;
|
|
`;
|
|
|
|
|
|
export const ActiveSmartFilter = styled.div`
|
|
export const ActiveSmartFilter = styled.div`
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
min-width: 115px;
|
|
min-width: 115px;
|
|
height: 24px;
|
|
height: 24px;
|
|
- background: ${({ theme }) => theme.layout.stuffColor};
|
|
|
|
|
|
+ background: ${({ theme }) => theme.savedFilter.backgroundColor};
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- color: ${({ theme }) => theme.input.label.color};
|
|
|
|
|
|
+ color: ${({ theme }) => theme.savedFilter.color};
|
|
padding: 16px 8px;
|
|
padding: 16px 8px;
|
|
`;
|
|
`;
|
|
|
|
|
|
@@ -294,7 +308,7 @@ export const MessageLoading = styled.div.attrs({
|
|
})<MessageLoadingProps>`
|
|
})<MessageLoadingProps>`
|
|
color: ${({ theme }) => theme.heading.h3.color};
|
|
color: ${({ theme }) => theme.heading.h3.color};
|
|
font-size: ${({ theme }) => theme.heading.h3.fontSize};
|
|
font-size: ${({ theme }) => theme.heading.h3.fontSize};
|
|
- display: ${(props) => (props.isLive ? 'flex' : 'none')};
|
|
|
|
|
|
+ display: ${({ isLive }) => (isLive ? 'flex' : 'none')};
|
|
justify-content: space-around;
|
|
justify-content: space-around;
|
|
width: 250px;
|
|
width: 250px;
|
|
`;
|
|
`;
|
|
@@ -306,7 +320,7 @@ export const StopLoading = styled.div`
|
|
`;
|
|
`;
|
|
|
|
|
|
export const MessageLoadingSpinner = styled.div<MessageLoadingSpinnerProps>`
|
|
export const MessageLoadingSpinner = styled.div<MessageLoadingSpinnerProps>`
|
|
- display: ${(props) => (props.isFetching ? 'block' : 'none')};
|
|
|
|
|
|
+ display: ${({ isFetching }) => (isFetching ? 'block' : 'none')};
|
|
border: 3px solid ${({ theme }) => theme.pageLoader.borderColor};
|
|
border: 3px solid ${({ theme }) => theme.pageLoader.borderColor};
|
|
border-bottom: 3px solid ${({ theme }) => theme.pageLoader.borderBottomColor};
|
|
border-bottom: 3px solid ${({ theme }) => theme.pageLoader.borderBottomColor};
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
@@ -335,7 +349,7 @@ export const SavedFiltersTextContainer = styled.div.attrs({
|
|
|
|
|
|
const textStyle = css`
|
|
const textStyle = css`
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- color: ${({ theme }) => theme.editFilterText.color};
|
|
|
|
|
|
+ color: ${({ theme }) => theme.editFilter.textColor};
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
`;
|
|
`;
|
|
|
|
|
|
@@ -354,3 +368,9 @@ export const SeekTypeSelect = styled(Select)`
|
|
border-bottom-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
user-select: none;
|
|
user-select: none;
|
|
`;
|
|
`;
|
|
|
|
+
|
|
|
|
+export const Serdes = styled.div`
|
|
|
|
+ display: flex;
|
|
|
|
+ gap: 24px;
|
|
|
|
+ padding: 8px 0;
|
|
|
|
+`;
|