mirror of
https://github.com/SigNoz/signoz.git
synced 2026-04-25 13:20:24 +01:00
Some checks are pending
build-staging / prepare (push) Waiting to run
build-staging / js-build (push) Blocked by required conditions
build-staging / go-build (push) Blocked by required conditions
build-staging / staging (push) Blocked by required conditions
Release Drafter / update_release_draft (push) Waiting to run
* refactor: remove light mode styles from various components and update color variables * fix: remove hardcoded background in celery
132 lines
2.2 KiB
SCSS
132 lines
2.2 KiB
SCSS
// Variables
|
|
$font-family: 'Inter';
|
|
$item-spacing: 8px;
|
|
|
|
:root {
|
|
--border-color: var(--l1-border);
|
|
}
|
|
|
|
// Mixins
|
|
@mixin text-style-base {
|
|
font-family: $font-family;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
}
|
|
|
|
@mixin flex-center {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.timezone-picker {
|
|
width: 532px;
|
|
color: var(--l2-foreground);
|
|
font-family: $font-family;
|
|
|
|
&__search {
|
|
@include flex-center;
|
|
justify-content: space-between;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
&__input-container {
|
|
@include flex-center;
|
|
gap: 6px;
|
|
width: -webkit-fill-available;
|
|
}
|
|
|
|
&__input {
|
|
@include text-style-base;
|
|
width: 100%;
|
|
background: transparent;
|
|
border: none;
|
|
outline: none;
|
|
color: var(--l1-foreground);
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
letter-spacing: -0.07px;
|
|
padding: 0;
|
|
&.ant-input:focus {
|
|
box-shadow: none;
|
|
}
|
|
|
|
&::placeholder {
|
|
color: var(--l2-foreground);
|
|
}
|
|
}
|
|
|
|
&__esc-key {
|
|
@include text-style-base;
|
|
font-size: 8px;
|
|
color: var(--l2-foreground);
|
|
letter-spacing: -0.04px;
|
|
border-radius: 2.286px;
|
|
border: 1.143px solid var(--l1-border);
|
|
border-bottom-width: 2.286px;
|
|
background: var(--l2-background);
|
|
padding: 0 1px;
|
|
}
|
|
|
|
&__list {
|
|
max-height: 310px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
&__item {
|
|
@include flex-center;
|
|
justify-content: space-between;
|
|
padding: 7.5px 6px 7.5px $item-spacing;
|
|
margin: 4px $item-spacing;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
border: none;
|
|
width: -webkit-fill-available;
|
|
color: var(--l2-foreground);
|
|
font-family: $font-family;
|
|
|
|
&:hover,
|
|
&.selected {
|
|
border-radius: 2px;
|
|
background: color-mix(in srgb, var(--bg-robin-200) 4%, transparent);
|
|
color: var(--l1-foreground);
|
|
}
|
|
|
|
&.has-divider {
|
|
position: relative;
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: -$item-spacing;
|
|
right: -$item-spacing;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
&__name {
|
|
@include text-style-base;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
letter-spacing: -0.07px;
|
|
}
|
|
|
|
&__offset {
|
|
color: var(--l1-foreground);
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
letter-spacing: -0.06px;
|
|
}
|
|
}
|
|
|
|
.timezone-name-wrapper {
|
|
@include flex-center;
|
|
gap: 6px;
|
|
|
|
&__selected-icon {
|
|
height: 15px;
|
|
width: 15px;
|
|
}
|
|
}
|