2022-05-05 05:37:50 +00:00
|
|
|
import styled from "styled-components";
|
2022-06-08 13:18:15 +00:00
|
|
|
import { Classes } from "@blueprintjs/core";
|
2024-08-09 14:20:29 +00:00
|
|
|
import { Link, Text } from "@appsmith/ads";
|
2024-09-09 10:55:50 +00:00
|
|
|
import { IDE_HEADER_HEIGHT } from "IDE";
|
2022-05-05 05:37:50 +00:00
|
|
|
|
|
|
|
|
export const Wrapper = styled.div`
|
|
|
|
|
flex-basis: calc(100% - ${(props) => props.theme.homePage.leftPane.width}px);
|
2023-05-19 18:37:06 +00:00
|
|
|
padding: var(--ads-v2-spaces-7);
|
|
|
|
|
|
|
|
|
|
/* 84px is the height of save bottom bar */
|
|
|
|
|
height: calc(100vh - ${(props) => props.theme.homePage.header}px - 84px);
|
|
|
|
|
overflow: auto;
|
2022-05-05 05:37:50 +00:00
|
|
|
`;
|
|
|
|
|
|
2022-05-18 04:53:08 +00:00
|
|
|
export const HeaderWrapper = styled.div<{ margin?: string }>`
|
|
|
|
|
margin-bottom: ${(props) => props.margin ?? `16px`};
|
2022-05-05 05:37:50 +00:00
|
|
|
`;
|
|
|
|
|
|
2023-05-19 18:37:06 +00:00
|
|
|
export const SettingsHeader = styled(Text)`
|
2022-05-05 05:37:50 +00:00
|
|
|
margin-bottom: 0px;
|
|
|
|
|
`;
|
|
|
|
|
|
2023-05-19 18:37:06 +00:00
|
|
|
export const SettingsSubHeader = styled(Text)``;
|
2022-05-05 05:37:50 +00:00
|
|
|
|
|
|
|
|
export const SettingsFormWrapper = styled.div`
|
2023-05-29 05:40:41 +00:00
|
|
|
max-width: 40rem;
|
2022-06-08 13:18:15 +00:00
|
|
|
.openid_tag {
|
|
|
|
|
.${Classes.TAG_REMOVE} {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-05-05 05:37:50 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
export const BottomSpace = styled.div`
|
|
|
|
|
height: ${(props) => props.theme.settings.footerHeight + 20}px;
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
export const ContentWrapper = styled.div``;
|
2022-09-01 00:37:20 +00:00
|
|
|
|
|
|
|
|
export const LoaderContainer = styled.div`
|
2024-09-09 10:55:50 +00:00
|
|
|
height: calc(100vh - ${IDE_HEADER_HEIGHT}px);
|
2022-09-01 00:37:20 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 100%;
|
2023-05-19 18:37:06 +00:00
|
|
|
align-items: center;
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
export const ContentBox = styled.div`
|
|
|
|
|
border-radius: var(--ads-v2-border-radius);
|
|
|
|
|
border-color: var(--ads-v2-color-border);
|
|
|
|
|
|
|
|
|
|
.business-tag {
|
|
|
|
|
width: fit-content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hover-state {
|
|
|
|
|
border-radius: var(--ads-v2-border-radius);
|
|
|
|
|
background-color: var(--ads-v2-color-bg-subtle);
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
export const HelperText = styled(Text)`
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: var(--ads-v2-color-fg-muted);
|
2022-09-01 00:37:20 +00:00
|
|
|
`;
|
2023-09-14 10:44:23 +00:00
|
|
|
|
|
|
|
|
export const NoUnderLineLink = styled(Link)`
|
|
|
|
|
text-decoration: none !important;
|
|
|
|
|
`;
|