## Description This PR fixes: - When creating google sheets datasource with specific sheets modality, the file picker is being shown on blank page, but before we see file picker, we see appsmith page for a bit and then see the blank page, this creates the illusion that file picker is being opened outside of appsmith. https://github.com/appsmithorg/appsmith/assets/30018882/616fd98f-7193-47ce-b09a-00cf4a690ae1 - Issue fixed looks like below: https://github.com/appsmithorg/appsmith/assets/30018882/515f8ba3-997f-4f7c-9f3b-b3c16bbff086 #### PR fixes following issue(s) Fixes #24046 > if no issue exists, please create an issue and ask the maintainers about this first > > #### Media > A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video > > #### Type of change - Bug fix (non-breaking change which fixes an issue) > > > ## Testing > #### How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. > Delete anything that is not relevant - [x] Manual - [ ] Jest - [ ] Cypress > > #### Test Plan 1) Check on the scope of the permission 2) Check on the file picker is appearing 3) Check if the header of app smith is visible when the file picker is displayed to the user #### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) > > > ## Checklist: #### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag #### QA activity: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [x] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed --------- Co-authored-by: “sneha122” <“sneha@appsmith.com”>
251 lines
5.1 KiB
CSS
Executable File
251 lines
5.1 KiB
CSS
Executable File
@import "~normalize.css";
|
|
@import "~@blueprintjs/core/lib/css/blueprint.css";
|
|
@import "~@blueprintjs/icons/lib/css/blueprint-icons.css";
|
|
@import "~design-system-old/build/css/design-system-old.css";
|
|
@import "~design-system/build/css/design-system.css";
|
|
@import "theme/colors.css";
|
|
@import "theme/defaultTheme.css";
|
|
@import "theme/wds.css";
|
|
@import "assets/fonts/custom/index.css";
|
|
@import "assets/fonts/google/index.css";
|
|
|
|
:root {
|
|
/* TODO: This needs to be fixed! This oveerride is to mainatain branding changes. */
|
|
--ads-color-background-secondary: var(--ads-v2-color-bg-subtle);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: #fff !important;
|
|
color: var(--ads-v2-color-fg);
|
|
}
|
|
|
|
body.dragging * {
|
|
cursor: grabbing !important;
|
|
}
|
|
|
|
/**
|
|
Disable outline completely from all components
|
|
*/
|
|
:focus,
|
|
:focus-visible {
|
|
outline: none !important;
|
|
outline-offset: 0 !important;
|
|
}
|
|
|
|
/**
|
|
Disable outline for adsv2 select component
|
|
*/
|
|
.ads-v2-select.rc-select-focused {
|
|
outline: none !important;
|
|
outline-offset: 0 !important;
|
|
}
|
|
|
|
#root.overlay {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
|
|
monospace;
|
|
}
|
|
|
|
div.bp3-select-popover .bp3-popover-content {
|
|
padding: 0;
|
|
}
|
|
|
|
span.bp3-popover-target {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
span.bp3-popover-target > * {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.bp3-popover,
|
|
.bp3-popover2 {
|
|
box-shadow: var(--ads-v2-shadow-popovers) !important;
|
|
}
|
|
|
|
.bp3-popover2-content {
|
|
border-radius: var(--ads-v2-border-radius) !important;
|
|
}
|
|
|
|
.action-selector-popup {
|
|
background-color: var(--ads-v2-color-bg);
|
|
border-radius: var(--ads-v2-border-radius) !important;
|
|
border: 1px solid var(--ads-v2-color-border-muted) !important;
|
|
}
|
|
|
|
.action-selector-popup span.bp3-popover-target > * {
|
|
max-width: 100%;
|
|
}
|
|
|
|
add-action.disabled span {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.action-selector-popup .bp3-button-text {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
}
|
|
|
|
/**
|
|
action selector block styles
|
|
**/
|
|
.bp3-submenu.bp3-popover > .bp3-popover-content {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.action-card-border {
|
|
border-color: var(--ads-v2-color-border);
|
|
}
|
|
|
|
.action-card-next-selected {
|
|
border-bottom: 1px solid var(--ads-v2-color-border-emphasis-plus);
|
|
}
|
|
|
|
.action-card-border-selected {
|
|
border-color: var(--ads-v2-color-border-emphasis-plus) !important;
|
|
}
|
|
|
|
.action-card-last-block {
|
|
border-radius: 0px 0px var(--ads-v2-border-radius) var(--ads-v2-border-radius);
|
|
}
|
|
|
|
.main-block-radius {
|
|
border-radius: var(--ads-v2-border-radius);
|
|
}
|
|
|
|
.main-block-radius-selected {
|
|
border-radius: var(--ads-v2-border-radius) var(--ads-v2-border-radius) 0px 0px;
|
|
}
|
|
|
|
.bp3-popover.bp3-minimal.bp3-submenu {
|
|
padding-right: 0px;
|
|
}
|
|
|
|
div.bp3-popover-arrow {
|
|
display: none;
|
|
}
|
|
|
|
.bp3-button.bp3-loading {
|
|
cursor: default !important;
|
|
}
|
|
|
|
.display-none {
|
|
display: none;
|
|
}
|
|
|
|
.t--editor-appname-menu-portal {
|
|
z-index: 9 !important;
|
|
}
|
|
|
|
.bp3-popover .bp3-input {
|
|
outline: 0;
|
|
box-shadow: none;
|
|
border: 1px solid var(--ads-v2-color-border);
|
|
border-radius: var(--ads-v2-border-radius) !important;
|
|
}
|
|
|
|
.bp3-popover .bp3-input:focus {
|
|
border-color: var(--ads-v2-color-border-emphasis);
|
|
outline: 0;
|
|
}
|
|
|
|
.bp3-popover.bp3-minimal {
|
|
margin-top: 8px !important;
|
|
}
|
|
|
|
.bp3-popover.bp3-minimal.action-selector-dropdown {
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.layout-control.bp3-popover.bp3-minimal {
|
|
margin-top: 8px !important;
|
|
}
|
|
|
|
.bp3-popover.none-shadow-popover {
|
|
box-shadow: none;
|
|
border: 0px;
|
|
}
|
|
|
|
.bp3-datepicker {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* making both the Modal layer and the Dropdown layer */
|
|
.bp3-modal-widget,
|
|
.appsmith_widget_0 > .bp3-portal {
|
|
z-index: 2 !important;
|
|
}
|
|
|
|
/* Portals on the Modal widget */
|
|
.bp3-modal-widget .bp3-portal {
|
|
z-index: 21 !important;
|
|
}
|
|
|
|
.bp3-popover2-content {
|
|
background-color: var(--ads-v2-color-bg) !important;
|
|
border-radius: var(--ads-v2-border-radius) !important;
|
|
}
|
|
.bp3-overlay-backdrop {
|
|
background-color: rgba(16, 22, 26, 0.7) !important;
|
|
}
|
|
|
|
.bp3-overlay-zindex {
|
|
z-index: 20 !important;
|
|
}
|
|
|
|
/** color picker input control */
|
|
.color-picker-input,
|
|
.color-picker-input > .bp3-popover-content {
|
|
border-radius: var(--ads-v2-border-radius) !important;
|
|
}
|
|
|
|
.color-picker-input {
|
|
box-shadow: var(--ads-v2-shadow-popovers) !important;
|
|
}
|
|
|
|
.icon-select-popover,
|
|
.icon-select-popover > .bp3-popover-content {
|
|
border-radius: var(--ads-v2-border-radius) !important;
|
|
}
|
|
|
|
.icon-select-popover {
|
|
box-shadow: var(--ads-v2-shadow-popovers) !important;
|
|
}
|
|
|
|
.error-menuitem {
|
|
color: var(--ads-v2-color-fg-error) !important;
|
|
}
|
|
.error-menuitem > .ads-v2-menu__menu-item-children {
|
|
color: var(--ads-v2-color-fg-error) !important;
|
|
}
|
|
|
|
.error-menuitem:hover:not([data-disabled]),
|
|
.error-menuitem:focus-visible {
|
|
background-color: var(--ads-v2-color-red-50) !important;
|
|
}
|
|
.error-menuitem:active:not([data-disabled]) {
|
|
background-color: var(--ads-v2-color-red-100) !important;
|
|
}
|
|
.menuitem-nohover:hover {
|
|
background-color: transparent !important;
|
|
cursor: default !important;
|
|
}
|
|
|
|
.react-datepicker__children-container {
|
|
margin-top: -10px !important;
|
|
}
|
|
|
|
.reconnect-datasource-modal {
|
|
z-index: 9 !important;
|
|
}
|