-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove 3000 css conditionals (#20234)
- Loading branch information
Showing
68 changed files
with
265 additions
and
585 deletions.
There are no files selected for viewing
Binary file modified
BIN
+136 Bytes
(100%)
frontend/__snapshots__/components-command-bar--actions--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+201 Bytes
(100%)
frontend/__snapshots__/components-command-bar--actions--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+207 Bytes
(100%)
frontend/__snapshots__/components-command-bar--search--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+292 Bytes
(100%)
frontend/__snapshots__/components-command-bar--search--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+138 Bytes
(110%)
frontend/__snapshots__/lemon-ui-lemon-checkbox--disabled--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+138 Bytes
(110%)
frontend/__snapshots__/lemon-ui-lemon-checkbox--disabled-with-reason--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+64 Bytes
(130%)
frontend/__snapshots__/lemon-ui-lemon-checkbox--no-label--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+73 Bytes
(130%)
frontend/__snapshots__/lemon-ui-lemon-checkbox--no-label--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+101 Bytes
(100%)
frontend/__snapshots__/scenes-app-feature-flags--new-feature-flag--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+865 Bytes
(100%)
frontend/__snapshots__/scenes-app-feature-flags--new-feature-flag--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+515 Bytes
(100%)
frontend/__snapshots__/scenes-app-insights--trends-line--light--webkit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+301 Bytes
(100%)
frontend/__snapshots__/scenes-app-pipeline--pipeline-destinations-page--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.31 KB
(100%)
frontend/__snapshots__/scenes-app-pipeline--pipeline-destinations-page--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-530 Bytes
(100%)
...tend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+590 Bytes
(100%)
...end/__snapshots__/scenes-app-pipeline--pipeline-transformations-page--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-530 Bytes
(100%)
..._snapshots__/scenes-app-pipeline--pipeline-transformations-page-empty--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+589 Bytes
(100%)
...snapshots__/scenes-app-pipeline--pipeline-transformations-page-empty--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+17 Bytes
(100%)
...s__/scenes-other-billing-v2--billing-unsubscribe-modal-data-pipelines--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+24 Bytes
(100%)
...__/scenes-other-billing-v2--billing-unsubscribe-modal-data-pipelines--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,130 +1,101 @@ | ||
.ant-picker { | ||
color: var(--default); | ||
background: var(--lemon-button-bg-color); | ||
border-color: var(--secondary-3000-button-border); | ||
box-shadow: none !important; | ||
} | ||
|
||
.posthog-3000 { | ||
.ant-picker { | ||
.ant-picker-suffix { | ||
color: var(--default); | ||
background: var(--lemon-button-bg-color); | ||
border-color: var(--secondary-3000-button-border); | ||
|
||
.ant-picker-suffix { | ||
color: var(--default); | ||
} | ||
} | ||
|
||
.ant-picker:hover { | ||
&:hover { | ||
border-color: var(--secondary-3000-button-border-hover); | ||
} | ||
} | ||
|
||
.ant-picker-panel-container { | ||
color: var(--default); | ||
background: var(--bg-3000); | ||
border: 1px solid var(--border); | ||
.ant-picker-panel-container { | ||
color: var(--default); | ||
background: var(--bg-3000); | ||
border: 1px solid var(--border); | ||
|
||
* { | ||
border-color: var(--border); | ||
} | ||
* { | ||
border-color: var(--border); | ||
} | ||
} | ||
|
||
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner { | ||
background: var(--primary-highlight); | ||
} | ||
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner { | ||
background: var(--primary-highlight); | ||
|
||
.ant-picker-time-panel .ant-picker-time-panel-column:nth-child(3)::after { | ||
// :HACKY: fix to keep the whole am/pm section in view | ||
display: none; | ||
[theme='dark'] & { | ||
background: rgba(#f7a503, 0.4); | ||
} | ||
} | ||
|
||
.ant-picker-cell .ant-picker-cell-inner { | ||
border-radius: var(--radius); | ||
} | ||
.ant-picker-time-panel .ant-picker-time-panel-column:nth-child(3)::after { | ||
// :HACKY: fix to keep the whole am/pm section in view | ||
display: none; | ||
} | ||
|
||
.ant-picker-cell.ant-picker-cell-selected .ant-picker-cell-inner { | ||
color: var(--default); | ||
background: var(--primary-highlight); | ||
} | ||
.ant-picker-cell .ant-picker-cell-inner { | ||
border-radius: var(--radius); | ||
} | ||
|
||
.ant-picker-cell.ant-picker-cell-today .ant-picker-cell-inner::before { | ||
background: none; | ||
border-color: var(--text-secondary-3000); | ||
} | ||
.ant-picker-cell.ant-picker-cell-selected .ant-picker-cell-inner { | ||
color: var(--default); | ||
background: var(--primary-highlight); | ||
|
||
.ant-picker-cell:hover:not( | ||
.ant-picker-cell-selected, | ||
.ant-picker-cell-range-start, | ||
.ant-picker-cell-range-end, | ||
.ant-picker-cell-range-hover-start, | ||
.ant-picker-cell-range-hover-end | ||
) | ||
.ant-picker-cell-inner { | ||
background: var(--secondary-3000); | ||
[theme='dark'] & { | ||
color: var(--default); | ||
background: rgba(#f7a503, 0.4); | ||
} | ||
} | ||
|
||
.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner, | ||
.ant-picker-cell:hover:not( | ||
.ant-picker-cell-today, | ||
.ant-picker-cell-selected, | ||
.ant-picker-cell-range-start, | ||
.ant-picker-cell-range-end, | ||
.ant-picker-cell-range-hover-start, | ||
.ant-picker-cell-range-hover-end | ||
) | ||
.ant-picker-cell-inner, | ||
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover { | ||
background: var(--secondary-3000); | ||
} | ||
.ant-picker-cell.ant-picker-cell-today .ant-picker-cell-inner::before { | ||
background: none; | ||
border-color: var(--text-secondary-3000); | ||
|
||
.ant-picker-footer .ant-btn-primary { | ||
color: var(--primary); | ||
text-shadow: none; | ||
[theme='dark'] & { | ||
background: none; | ||
border-color: var(--primary); | ||
border-radius: 0.25rem; | ||
box-shadow: none; | ||
} | ||
|
||
.ant-picker-footer .ant-btn-primary:not(:disabled):hover { | ||
color: #fff; | ||
background: var(--primary); | ||
} | ||
|
||
.ant-picker-footer .ant-picker-now-btn:hover { | ||
color: var(--primary); | ||
} | ||
|
||
.ant-picker-ok .ant-btn-primary span { | ||
text-transform: uppercase; | ||
border-color: var(--text-secondary-3000); | ||
} | ||
} | ||
|
||
.posthog-3000[theme='dark'] { | ||
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner { | ||
background: rgba(#f7a503, 0.4); | ||
} | ||
|
||
.ant-picker-cell:hover:not( | ||
.ant-picker-cell-selected, | ||
.ant-picker-cell-range-start, | ||
.ant-picker-cell-range-end, | ||
.ant-picker-cell-range-hover-start, | ||
.ant-picker-cell-range-hover-end | ||
) | ||
.ant-picker-cell-inner { | ||
.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner, | ||
.ant-picker-cell:hover:not( | ||
.ant-picker-cell-today, | ||
.ant-picker-cell-selected, | ||
.ant-picker-cell-range-start, | ||
.ant-picker-cell-range-end, | ||
.ant-picker-cell-range-hover-start, | ||
.ant-picker-cell-range-hover-end | ||
) | ||
.ant-picker-cell-inner, | ||
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover { | ||
background: var(--secondary-3000); | ||
|
||
[theme='dark'] & { | ||
background: var(--muted-3000-dark); | ||
} | ||
} | ||
|
||
.ant-picker-cell.ant-picker-cell-selected .ant-picker-cell-inner { | ||
color: var(--default); | ||
background: rgba(#f7a503, 0.4); | ||
} | ||
.ant-picker-footer .ant-btn-primary { | ||
color: var(--primary); | ||
text-shadow: none; | ||
background: none; | ||
border-color: var(--primary); | ||
border-radius: 0.25rem; | ||
box-shadow: none; | ||
} | ||
|
||
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover { | ||
background: var(--muted-3000-dark); | ||
} | ||
.ant-picker-footer .ant-btn-primary:not(:disabled):hover { | ||
color: #fff; | ||
background: var(--primary); | ||
} | ||
|
||
.ant-picker-cell.ant-picker-cell-today .ant-picker-cell-inner::before { | ||
background: none; | ||
border-color: var(--text-secondary-3000); | ||
} | ||
.ant-picker-footer .ant-picker-now-btn:hover { | ||
color: var(--primary); | ||
} | ||
|
||
.ant-picker-ok .ant-btn-primary span { | ||
text-transform: uppercase; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.