From 925cc648f5e6392eadb19d2032d24c1385820fb1 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Fri, 12 Jul 2024 11:41:10 +0400 Subject: [PATCH] Remove old files --- packages/common/package.json | 51 - packages/components/input-block/index.js | 244 -- packages/components/selected-item/index.js | 99 - packages/components/social-button/index.js | 70 - packages/components/tag/index.js | 208 -- packages/components/tags/index.js | 147 - packages/components/themes/base.js | 3222 -------------------- 7 files changed, 4041 deletions(-) delete mode 100644 packages/common/package.json delete mode 100644 packages/components/input-block/index.js delete mode 100644 packages/components/selected-item/index.js delete mode 100644 packages/components/social-button/index.js delete mode 100644 packages/components/tag/index.js delete mode 100644 packages/components/tags/index.js delete mode 100644 packages/components/themes/base.js diff --git a/packages/common/package.json b/packages/common/package.json deleted file mode 100644 index f02f5fd0e6..0000000000 --- a/packages/common/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "@docspace/common", - "version": "2.0.3", - "private": true, - "scripts": { - "build": "echo 'skip it'", - "clean": "echo 'skip it'", - "deploy": "echo 'skip it'", - "start": "echo 'skip it'", - "start-prod": "echo 'skip it'" - }, - "dependencies": { - "@babel/runtime": "^7.21.0", - "@loadable/component": "^5.15.3", - "axios": "^0.22.0", - "cross-fetch": "3.1.5", - "fast-deep-equal": "^3.1.3", - "global": "^4.4.0", - "i18next": "^20.6.1", - "mobx": "^6.8.0", - "mobx-react": "^7.6.0", - "moment": "^2.29.4", - "moment-timezone": "^0.5.43", - "prop-types": "^15.8.1", - "query-string": "7.1.3", - "re-resizable": "^6.9.9", - "react": "^18.2.0", - "react-autosize-textarea": "^7.1.0", - "react-content-loader": "^5.1.4", - "react-dom": "^18.2.0", - "react-hammerjs": "^1.0.1", - "react-i18next": "^13.2.1", - "react-player": "^1.15.3", - "react-router": "^6.10.0", - "react-router-dom": "^6.10.0", - "react-tooltip": "^5.23.0", - "react-viewer": "^3.2.2", - "react-virtualized-auto-sizer": "^1.0.7", - "react-window": "^1.8.8", - "react-window-infinite-loader": "^1.0.8", - "screenfull": "^5.2.0", - "sjcl": "^1.0.8", - "socket.io-client": "^4.6.1", - "styled-components": "^5.3.9", - "workbox-window": "^6.5.4" - }, - "devDependencies": { - "@types/crypto-js": "^4.2.1", - "@welldone-software/why-did-you-render": "^6.2.3" - } -} diff --git a/packages/components/input-block/index.js b/packages/components/input-block/index.js deleted file mode 100644 index 927bd127b9..0000000000 --- a/packages/components/input-block/index.js +++ /dev/null @@ -1,244 +0,0 @@ -import React from "react"; -import PropTypes from "prop-types"; - -import TextInput from "../text-input"; -import { Icons } from "../icons"; -import IconButton from "../icon-button"; -import { - StyledInputGroup, - StyledChildrenBlock, - StyledIconBlock, -} from "./styled-input-block"; - -//const iconNames = Object.keys(Icons); - -class InputBlock extends React.Component { - constructor(props) { - super(props); - } - onIconClick = (e) => { - if ( - typeof this.props.onIconClick === "function" /*&& !this.props.isDisabled*/ - ) - this.props.onIconClick(e); - }; - onChange = (e) => { - if (typeof this.props.onChange === "function") this.props.onChange(e); - }; - - render() { - let iconButtonSize = 0; - const { - hasError, - hasWarning, - isDisabled, - scale, - size, - className, - style, - children, - id, - name, - type, - value, - placeholder, - tabIndex, - maxLength, - onBlur, - onFocus, - onKeyDown, - isReadOnly, - isAutoFocussed, - autoComplete, - mask, - keepCharPositions, - iconName, - iconColor, - hoverColor, - isIconFill, - onIconClick, - iconSize, - theme, - forwardedRef, - onClick, - iconButtonClassName, - iconNode, - ...props - } = this.props; - - if (typeof iconSize == "number" && iconSize > 0) { - iconButtonSize = iconSize; - } else { - switch (size) { - case "base": - iconButtonSize = 16; - break; - case "middle": - iconButtonSize = 18; - break; - case "big": - iconButtonSize = 21; - break; - case "huge": - iconButtonSize = 24; - break; - } - } - return ( - -
- - {children} - -
- - {iconName && ( -
- - - -
- )} -
- ); - } -} - -InputBlock.propTypes = { - /** Used as HTML `id` property */ - id: PropTypes.string, - /** Forwarded ref */ - forwardedRef: PropTypes.object, - /** Used as HTML `name` property */ - name: PropTypes.string, - /** Supported type of the input fields. */ - type: PropTypes.oneOf(["text", "password"]), - /** Defines max length of value */ - maxLength: PropTypes.number, - /** Placeholder text for the input */ - placeholder: PropTypes.string, - /** Accepts css tab-index */ - tabIndex: PropTypes.number, - /** input text mask */ - mask: PropTypes.oneOfType([PropTypes.array, PropTypes.func]), - /** Allows to add or delete characters without changing the positions of the existing characters.*/ - keepCharPositions: PropTypes.bool, - /** Supported size of the input fields. */ - size: PropTypes.oneOf(["base", "middle", "big", "huge", "large"]), - /** Indicates that the input field has scale */ - scale: PropTypes.bool, - /** The callback function that is required when the input is not read only. The function is called with the new value. Parent should pass it back as `value` */ - onChange: PropTypes.func, - /** The callback function that is called when the field is blurred */ - onBlur: PropTypes.func, - /** The callback function that is called when the field is focused */ - onFocus: PropTypes.func, - /** Focuses on the input field on initial render */ - isAutoFocussed: PropTypes.bool, - /** Indicates that the field cannot be used (e.g not authorised, or changes not saved) */ - isDisabled: PropTypes.bool, - /** Indicates that the field is displaying read-only content */ - isReadOnly: PropTypes.bool, - /** Indicates the input field has an error */ - hasError: PropTypes.bool, - /** Indicates the input field has a warning */ - hasWarning: PropTypes.bool, - /** Used as HTML `autocomplete` */ - autoComplete: PropTypes.string, - /** Value of the input */ - value: PropTypes.string, - /** Path to icon */ - iconName: PropTypes.string, - /** Specifies the icon color */ - iconColor: PropTypes.string, - /** Icon color on hover action */ - hoverColor: PropTypes.string, - /** Size icon */ - iconSize: PropTypes.number, - /** Determines if icon fill is needed */ - isIconFill: PropTypes.bool, - /** The callback function that is triggered when the icon is clicked */ - onIconClick: PropTypes.func, - - children: PropTypes.oneOfType([ - PropTypes.arrayOf(PropTypes.node), - PropTypes.node, - ]), - /** Accepts class */ - className: PropTypes.string, - /** Accepts css style */ - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - /** Sets the classNaame of the icon button */ - iconButtonClassName: PropTypes.string, -}; - -InputBlock.defaultProps = { - type: "text", - maxLength: 255, - size: "base", - scale: false, - tabIndex: -1, - hasError: false, - hasWarning: false, - autoComplete: "off", - - value: "", - iconName: "", - isIconFill: false, - isDisabled: false, - keepCharPositions: false, - iconButtonClassName: "", -}; - -export default InputBlock; diff --git a/packages/components/selected-item/index.js b/packages/components/selected-item/index.js deleted file mode 100644 index b591c6f276..0000000000 --- a/packages/components/selected-item/index.js +++ /dev/null @@ -1,99 +0,0 @@ -import React from "react"; -import CrossReactSvgUrl from "PUBLIC_DIR/images/cross.react.svg?url"; -import { StyledSelectedItem, StyledLabel } from "./styled-selected-item"; -import PropTypes from "prop-types"; -import IconButton from "../icon-button"; - -const SelectedItem = (props) => { - const { - label, - onClose, - isDisabled, - onClick, - isInline, - className, - id, - propKey, - group, - forwardedRef, - classNameCloseButton, - hideCross, - } = props; - if (!label) return <>; - - const onCloseClick = (e) => { - !isDisabled && onClose && onClose(propKey, label, group, e); - }; - - const handleOnClick = (e) => { - !isDisabled && - onClick && - !e.target.classList.contains("selected-tag-removed") && - onClick(propKey, label, group, e); - }; - - return ( - - - {label} - - {!hideCross && ( - - )} - - ); -}; - -SelectedItem.propTypes = { - /** Selected item text */ - label: PropTypes.oneOfType([PropTypes.string, PropTypes.object]), - /** Sets the 'width: fit-content' property */ - isInline: PropTypes.bool, - /** Hide cross icon */ - hideCross: PropTypes.bool, - /** Sets a callback function that is triggered when the cross icon is clicked */ - onClose: PropTypes.func.isRequired, - /** Sets a callback function that is triggered when the selected item is clicked */ - onClick: PropTypes.func, - /** Sets the button to present a disabled state */ - isDisabled: PropTypes.bool, - /** Accepts class */ - className: PropTypes.string, - /** Accepts id */ - id: PropTypes.string, - /** Accepts css style */ - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - /** Accepts key to remove item */ - propKey: PropTypes.string, - /** Accepts group key to remove item */ - group: PropTypes.string, - /** Passes ref to component */ - forwardedRef: PropTypes.object, -}; - -SelectedItem.defaultProps = { - isInline: true, - hideCross: false, - isDisabled: false, -}; - -export default React.memo(SelectedItem); diff --git a/packages/components/social-button/index.js b/packages/components/social-button/index.js deleted file mode 100644 index c73809f62d..0000000000 --- a/packages/components/social-button/index.js +++ /dev/null @@ -1,70 +0,0 @@ -import React from "react"; -import PropTypes from "prop-types"; -import equal from "fast-deep-equal/react"; - -import Text from "../text"; -import StyledSocialButton from "./styled-social-button"; -import { ReactSVG } from "react-svg"; -// eslint-disable-next-line no-unused-vars - -class SocialButton extends React.Component { - shouldComponentUpdate(nextProps) { - return !equal(this.props, nextProps); - } - - render() { - const { label, iconName, IconComponent, image, isConnect, ...otherProps } = - this.props; - return ( - - {IconComponent ? ( - - ) : ( - - )} - {label && ( - - {label} - - )} - - ); - } -} - -SocialButton.propTypes = { - /** Button text */ - label: PropTypes.string, - /** Button icon */ - iconName: PropTypes.string, - /** Accepts tabindex prop */ - tabIndex: PropTypes.number, - /** Sets the button to present a disabled state */ - isDisabled: PropTypes.bool, - /** Accepts class */ - className: PropTypes.string, - /** Accepts id */ - id: PropTypes.string, - /** Accepts css style */ - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - /** Sets a callback function that is triggered when the button is clicked */ - onClick: PropTypes.func, - /** Accepts the icon options */ - $iconOptions: PropTypes.object, - /** Sets the image size. Contains the small and the basic size options */ - size: PropTypes.oneOf(["base", "small"]), - /** Changes the button style if the user is connected to the social network account */ - isConnect: PropTypes.bool, -}; - -SocialButton.defaultProps = { - label: "", - iconName: "SocialButtonGoogleIcon", - tabIndex: -1, - isDisabled: false, - $iconOptions: {}, - size: "base", - isConnect: false, -}; - -export default SocialButton; diff --git a/packages/components/tag/index.js b/packages/components/tag/index.js deleted file mode 100644 index 2023c1b4d1..0000000000 --- a/packages/components/tag/index.js +++ /dev/null @@ -1,208 +0,0 @@ -import React from "react"; -import PropTypes from "prop-types"; -import { ReactSVG } from "react-svg"; -import CrossIconReactSvgUrl from "PUBLIC_DIR/images/cross.react.svg?url"; -import TagIconReactSvgUrl from "PUBLIC_DIR/images/tag.react.svg?url"; -import DropDown from "../drop-down"; -import DropDownItem from "../drop-down-item"; -import IconButton from "../icon-button"; -import Text from "../text"; - -import { - StyledTag, - StyledDropdownIcon, - StyledDropdownText, -} from "./styled-tag"; - -const Tag = ({ - tag, - label, - isNewTag, - isDisabled, - isDefault, - isLast, - onDelete, - onClick, - advancedOptions, - tagMaxWidth, - id, - className, - style, - icon, - removeTagIcon, -}) => { - const [openDropdown, setOpenDropdown] = React.useState(false); - - const tagRef = React.useRef(null); - const isMountedRef = React.useRef(true); - const onClickOutside = React.useCallback((e) => { - if (e?.target?.className?.includes("advanced-tag") || !isMountedRef.current) - return; - - setOpenDropdown(false); - }, []); - - React.useEffect(() => { - if (openDropdown) { - return document.addEventListener("click", onClickOutside); - } - - document.removeEventListener("click", onClickOutside); - return () => { - document.removeEventListener("click", onClickOutside); - }; - }, [openDropdown, onClickOutside]); - - React.useEffect(() => { - return () => { - isMountedRef.current = false; - }; - }, []); - - const openDropdownAction = (e) => { - if (e?.target?.className?.includes("backdrop-active")) return; - - setOpenDropdown(true); - }; - - const onClickAction = React.useCallback( - (e) => { - if (onClick && !isDisabled) { - onClick(e.target.dataset.tag); - } - }, - [onClick, isDisabled] - ); - - const onDeleteAction = React.useCallback( - (e) => { - if (e.target != tagRef.current && onDelete) { - onDelete && onDelete(tag); - } - }, - [onDelete, tag, tagRef] - ); - - return ( - <> - {!!advancedOptions ? ( - <> - - - ... - - - - {advancedOptions.map((tag, index) => ( - - {!removeTagIcon && ( - - )} - - {tag} - - - ))} - - - ) : ( - - {icon ? ( - - ) : ( - <> - - {label} - - {isNewTag && ( - - )} - - )} - - )} - - ); -}; - -Tag.propTypes = { - /** Accepts the tag id */ - tag: PropTypes.string, - /** Accepts the tag label */ - label: PropTypes.string, - /** Accepts class */ - className: PropTypes.string, - /** Accepts id */ - id: PropTypes.string, - /** Accepts css style */ - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - /** Accepts the tag styles as new and adds the delete button */ - isNewTag: PropTypes.bool, - /** Accepts the tag styles as disabled and disables clicking */ - isDisabled: PropTypes.bool, - /** Accepts the function that is called when the tag is clicked */ - onClick: PropTypes.func, - /** Accepts the function that ist called when the tag delete button is clicked */ - onDelete: PropTypes.func, - /** Accepts the max width of the tag */ - tagMaxWidth: PropTypes.string, - /** Accepts the dropdown options */ - advancedOptions: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), -}; - -export default React.memo(Tag); diff --git a/packages/components/tags/index.js b/packages/components/tags/index.js deleted file mode 100644 index 4f4e05a5f1..0000000000 --- a/packages/components/tags/index.js +++ /dev/null @@ -1,147 +0,0 @@ -import React from "react"; -import PropTypes from "prop-types"; -import Tag from "../tag"; - -import StyledTags from "./StyledTags"; - -const Tags = ({ - id, - className, - style, - tags, - columnCount, - onSelectTag, - removeTagIcon, -}) => { - const [renderedTags, setRenderedTags] = React.useState(null); - - const tagsRef = React.useRef(null); - - const updateRenderedTags = React.useCallback(() => { - if (tags && tagsRef) { - if (!columnCount) return; - - const newTags = []; - const containerWidth = tagsRef.current.offsetWidth; - - if (tags.length === 1) { - if (tags[0]?.isDefault) { - const tag = { ...tags[0], maxWidth: `100%` }; - newTags.push(tag); - } else if (tags[0]?.isThirdParty) { - const tag = { ...tags[0], maxWidth: `36px` }; - newTags.push(tag); - } else { - const tag = { label: tags[0].label || tags[0], maxWidth: `100%` }; - newTags.push(tag); - } - - return setRenderedTags(newTags); - } - - if ( - columnCount >= tags.length || - (tags.length === 2 && tags[0]?.isThirdParty && tags[1]?.isDefault) - ) { - const thirdPartyTagCount = tags[0]?.isThirdParty ? 1 : 0; - - const currentTagMaxWidth = - (containerWidth - - thirdPartyTagCount * 40 - - (tags.length - thirdPartyTagCount) * 4) / - (tags.length - thirdPartyTagCount); - - const maxWidthPercent = Math.floor( - (currentTagMaxWidth / containerWidth) * 100 - ); - - for (let i = 0; i < tags.length; i++) { - if (tags[i]?.isThirdParty) { - const tag = { ...tags[i], maxWidth: `36px` }; - newTags.push(tag); - } else if (tags[i]?.isDefault) { - const tag = { ...tags[i], maxWidth: `${maxWidthPercent}%` }; - newTags.push(tag); - } else { - const tag = { label: tags[i], maxWidth: `${maxWidthPercent}%` }; - newTags.push(tag); - } - } - } else { - const tagWithDropdown = { - key: "selector", - advancedOptions: tags.slice(columnCount, tags.length), - }; - - const currentTagMaxWidth = - (containerWidth - columnCount * 4 - 35) / columnCount; - - const maxWidthPercent = Math.floor( - (currentTagMaxWidth / containerWidth) * 100 - ); - - if (columnCount !== 0) { - for (let i = 0; i < columnCount; i++) { - if (tags[i]?.isThirdParty) { - const tag = { ...tags[i], maxWidth: `36px` }; - newTags.push(tag); - } else if (tags[i]?.isDefault) { - const tag = { ...tags[i], maxWidth: `${maxWidthPercent}%` }; - newTags.push(tag); - } else { - const tag = { label: tags[i], maxWidth: `${maxWidthPercent}%` }; - newTags.push(tag); - } - } - } - - newTags.push(tagWithDropdown); - - newTags[newTags.length - 1].maxWidth = `35px`; - } - - setRenderedTags(newTags); - } - }, [tags, tagsRef, columnCount]); - - React.useEffect(() => { - updateRenderedTags(); - }, [tags, tagsRef, columnCount]); - - return ( - - {renderedTags?.length > 0 && - renderedTags.map((tag, index) => ( - - ))} - - ); -}; - -Tags.propTypes = { - /** Accepts the tags */ - tags: PropTypes.array, - /** Accepts the tag column count */ - columnCount: PropTypes.number, - /** Accepts class */ - className: PropTypes.string, - /** Accepts id */ - id: PropTypes.string, - /** Accepts css style */ - style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), - /** Accepts the function that is called when the tag is selected */ - onSelectTag: PropTypes.func, -}; - -export default Tags; diff --git a/packages/components/themes/base.js b/packages/components/themes/base.js deleted file mode 100644 index 026f5be2fb..0000000000 --- a/packages/components/themes/base.js +++ /dev/null @@ -1,3222 +0,0 @@ -import globalColors from "../utils/globalColors"; - -import AvatarBaseReactSvgUrl from "PUBLIC_DIR/images/avatar.base.react.svg?url"; -import { CommonTheme } from "./commonTheme"; - -const { - black, - white, - whiteSolitude, - grayLight, - grayLightMid, - grayMid, - graySilver, - gray, - grayMain, - shuttleGrey, - - blueMain, - blueHover, - blueActive, - blueDisabled, - blueCharcoal, - - blueDenim, - blueDenimTransparent, - blueMaya, - blueSky, - - orangeMain, - orangeHover, - orangePressed, - orangeDisabled, - - link, - errorColor, - warningColor, - red, - blueLightMid, - grayMaxLight, - cyanBlueDarkShade, - lightCumulus, - lightMediumGoldenrod, - activeSuccess, - activeError, - activeInfo, - activeWarning, - hoverSuccess, - hoverError, - hoverInfo, - hoverWarning, - darkBlack, - silver, - lightHover, - strongBlue, - lightGrayishStrongBlue, - darkRed, - - lightErrorStatus, -} = globalColors; - -const Base = { - ...CommonTheme, - - isBase: true, - color: black, - backgroundColor: white, - fontFamily: "Open Sans, sans-serif, Arial", - fontSize: "13px", - - text: { - color: black, - disableColor: gray, - emailColor: "#a3a9ae", - fontWeight: "normal", - fontWeightBold: "bold", - }, - - heading: { - fontSize: { - xlarge: "27px", - large: "23px", - medium: "21px", - small: "19px", - xsmall: "15px", - }, - - fontWeight: 600, - color: black, - }, - - backgroundAndSubstrateColor: "#F8F9F9", - - betaBadgeTooltip: { - boxShadowColor: "rgba(4, 15, 27, 0.12)", - }, - - button: { - fontWeight: "600", - margin: "0", - display: "inline-block", - textAlign: "center", - textDecoration: "none", - - topVerticalAlign: "text-top", - middleVerticalAlign: "middle", - bottomVerticalAlign: "text-bottom", - - borderRadius: "3px", - stroke: "none", - overflow: "hidden", - textOverflow: "ellipsis", - whiteSpace: "nowrap", - outline: "none", - boxSizing: "border-box", - - paddingRight: "4px", - - height: { - extraSmall: "24px", - small: "32px", - normal: "40px", - medium: "44px", - }, - - lineHeight: { - extraSmall: "15px", - small: "20px", - normal: "16px", - medium: "22px", - }, - - fontSize: { - extraSmall: "12px", - small: "13px", - normal: "14px", - medium: "16px", - }, - - padding: { - extraSmall: "0 11.5px", - small: "0 28px", - normal: "0 28px", - medium: "0 32px", - }, - - color: { - base: black, - baseHover: black, - baseActive: black, - baseDisabled: grayMid, - primary: white, - primaryHover: white, - primaryActive: white, - primaryDisabled: white, - }, - - backgroundColor: { - base: white, - baseHover: white, - baseActive: grayLightMid, - baseDisabled: grayLight, - - primary: blueDenim, - primaryHover: blueDenimTransparent, - primaryActive: blueMaya, - primaryDisabled: blueSky, - }, - - border: { - base: `1px solid ${globalColors.grayMid}`, - baseHover: `1px solid ${blueDenim}`, - baseActive: `1px solid ${globalColors.grayMid}`, - baseDisabled: `1px solid ${globalColors.grayLightMid}`, - - primary: `1px solid ${blueDenim}`, - primaryHover: `1px solid ${blueDenimTransparent}`, - primaryActive: `1px solid ${blueMaya}`, - primaryDisabled: `1px solid ${blueSky}`, - }, - - loader: { - base: blueDenim, - primary: white, - }, - }, - - helpButton: { - width: "100%", - backgroundColor: white, - maxWidth: "500px", - margin: "0", - lineHeight: "56px", - fontWeight: "700", - borderBottom: `1px solid ${globalColors.lightGrayishBlue}`, - padding: "0 16px 16px", - bodyPadding: "16px 0", - }, - - mainButtonMobile: { - textColor: grayMain, - - buttonColor: orangeMain, - iconFill: white, - - circleBackground: white, - - mobileProgressBarBackground: "rgb(48%, 58%, 69%, 0.4)", - - bar: { - errorBackground: orangePressed, - - icon: "#A3A9AE", - }, - - buttonWrapper: { - background: white, - uploadingBackground: grayLightMid, - }, - - buttonOptions: { - backgroundColor: blueLightMid, - color: white, - }, - - dropDown: { - position: "fixed", - right: "32px", - bottom: "32px", - - width: "400px", - - zIndex: "202", - - mobile: { - right: "24px", - bottom: "24px", - - marginLeft: "24px", - - width: "calc(100vw - 48px)", - }, - separatorBackground: white, - - buttonColor: white, - hoverButtonColor: "#3a6c9e", - - backgroundActionMobile: blueLightMid, - }, - - dropDownItem: { - padding: "10px", - }, - }, - - mainButton: { - backgroundColor: "#4781D1", - disableBackgroundColor: "rgba(71, 129, 209, 0.6)", - hoverBackgroundColor: "rgba(71, 129, 209, .85)", - clickBackgroundColor: "#4074BC", - - padding: "5px 14px 5px 12px", - borderRadius: "3px", - lineHeight: "22px", - fontSize: "16px", - fontWeight: 700, - textColor: white, - textColorDisabled: white, - - cornerRoundsTopRight: "0", - cornerRoundsBottomRight: "0", - - svg: { - margin: "auto", - height: "100%", - fill: white, - }, - - dropDown: { - top: "100%", - }, - - arrowDropdown: { - borderLeft: "4px solid transparent", - borderRight: "4px solid transparent", - borderTop: "5px solid white", - borderTopDisabled: `5px solid white`, - right: "14px", - top: "50%", - width: "0", - height: "0", - marginTop: " -1px", - }, - }, - - socialButton: { - fontWeight: "500", - textDecoration: "none", - padding: "0", - borderRadius: "2px", - height: "40px", - heightSmall: "32px", - textAlign: "left", - stroke: " none", - outline: "none", - width: "100%", - - background: white, - disableBackgroundColor: "#F8F9F9", - connectBackground: "#3B72A7", - hoverBackground: white, - hoverConnectBackground: "#265A8F", - activeBackground: "grayMaxLight", - hoverBorder: "#1877f2", - - boxShadow: - "0px 1px 1px rgba(0, 0, 0, 0.24),0px 0px 1px rgba(0, 0, 0, 0.12)", - hoverBoxShadow: "none", - - color: "rgba(0, 0, 0, 0.54)", - disableColor: "#333333", - disabledSvgColor: "none", - border: "none", - text: { - width: "100%", - height: "16px", - margin: "0 11px", - fontWeight: "500", - fontSize: "14px", - lineHeight: "16px", - letterSpacing: "0.21875px", - overflow: "hidden", - textOverflow: "ellipsis", - whiteSpace: "nowrap", - color: "#A3A9AE", - hoverColor: black, - connectColor: white, - }, - - svg: { - margin: "11px 16px", - width: "18px", - height: "18px", - minWidth: "18px", - minHeight: "18px", - fill: white, - }, - }, - - groupButton: { - fontSize: "14px", - lineHeight: "19px", - color: black, - disableColor: gray, - float: "left", - height: "19px", - overflow: "hidden", - padding: "0px", - - separator: { - border: `1px solid ${globalColors.grayLightMid}`, - width: "0px", - height: "24px", - margin: "16px 12px 0 12px", - }, - - checkbox: { - margin: "16px 0 16px 24px", - tabletMargin: "auto 0 auto 16px", - }, - }, - - groupButtonsMenu: { - top: "0", - background: white, - boxShadow: " 0px 10px 18px -8px rgba(0, 0, 0, 0.100306)", - height: "48px", - tabletHeight: "56px", - padding: "0 18px 19px 0", - width: "100%", - zIndex: "189", - marginTop: "1px", - - closeButton: { - right: "11px", - top: "6px", - tabletTop: "10px", - width: "20px", - height: "20px", - padding: "8px", - hoverBackgroundColor: cyanBlueDarkShade, - backgroundColor: grayMid, - }, - }, - - iconButton: { - color: gray, - hoverColor: grayMain, - }, - selectorAddButton: { - background: grayLightMid, - hoverBackground: lightGrayishStrongBlue, - activeBackground: grayMid, - - iconColor: grayMain, - iconColorHover: grayMain, - iconColorActive: grayMain, - - border: `none`, - boxSizing: "border-box", - borderRadius: "3px", - height: " 32px", - width: "32px", - padding: "10px", - color: grayMain, - hoverColor: black, - }, - - saveCancelButtons: { - bottom: "0", - width: "100%", - left: "0", - padding: "8px 24px 8px 16px", - marginRight: "8px", - - unsavedColor: gray, - }, - - selectedItem: { - background: grayLight, - border: `1px solid ${globalColors.grayLightMid}`, - borderRadius: "3px", - - textBox: { - padding: "0 8px", - height: "32px", - alignItems: "center", - borderRight: `1px solid ${globalColors.grayLightMid}`, - }, - - text: { - color: cyanBlueDarkShade, - disabledColor: grayMid, - }, - - closeButton: { - alignItems: "center", - padding: "0 8px", - color: "#979797", - colorHover: cyanBlueDarkShade, - backgroundColor: grayLightMid, - }, - }, - - checkbox: { - fillColor: white, - borderColor: grayMid, - arrowColor: black, - indeterminateColor: black, - - disableArrowColor: grayMid, - disableBorderColor: grayLightMid, - disableFillColor: grayLight, - disableIndeterminateColor: gray, - - hoverBorderColor: gray, - hoverIndeterminateColor: black, - - pressedBorderColor: grayMid, - pressedFillColor: grayLightMid, - - focusColor: gray, - - errorColor: "#F21C0E", - }, - - // slider: { - // sliderBarColorProgress: blueMain, - // sliderBarColorProgressDisabled: grayMid, - // sliderBarColor: grayLightMid, - // sliderBarDisableColor: grayLightMid, - - // sliderBarBorderActive: `1px solid ${globalColors.grayMid}`, - // sliderBarBorderDisable: `1px solid ${globalColors.grayMid}`, - - // thumbFillDisable: grayLightMid, - // thumbFillActive: grayLightMid, - - // thumbBorderColorActive: `1px solid ${globalColors.gray}`, - // thumbBorderColorDisable: `1px solid ${globalColors.grayMid}`, - - // sliderWidth: "202px", - - // arrowHover: blueMain, - // arrowColor: grayMid, - // }, - - viewSelector: { - fillColor: white, - checkedFillColor: gray, - fillColorDisabled: grayLight, - disabledFillColor: grayLightMid, - disabledFillColorInner: grayMid, - hoverBorderColor: gray, - borderColor: grayMid, - }, - - radioButton: { - textColor: black, - textDisableColor: gray, - - marginBeforeLabel: "8px", - - background: white, - disableBackground: grayLight, - - fillColor: black, - borderColor: grayMid, - - disableFillColor: grayMid, - disableBorderColor: grayLightMid, - - hoverBorderColor: gray, - }, - - requestLoader: { - backgroundColor: white, - border: `1px solid ${globalColors.veryLightGrey}`, - overflow: "hidden", - padding: "5px 10px", - lineHeight: "16px", - borderRadius: "5px", - boxShadow: "0 2px 8px rgba(0, 0, 0, 0.3)", - - marginRight: "10px", - top: "10px", - width: "100%", - }, - - row: { - minHeight: "47px", - width: "100%", - borderBottom: globalColors.grayLightMid, - backgroundColor: globalColors.lightHover, - minWidth: "160px", - overflow: "hidden", - textOverflow: "ellipsis", - - element: { - marginRight: "14px", - marginLeft: "2px", - }, - - optionButton: { - padding: "8px 0px 9px 7px", - }, - }, - - rowContent: { - icons: { - height: "19px", - }, - - margin: "0 6px", - fontSize: "12px", - fontStyle: "normal", - fontWeight: "600", - height: "56px", - maxWidth: " 100%", - - sideInfo: { - minWidth: "160px", - margin: "0 6px", - overflow: "hidden", - textOverflow: "ellipsis", - }, - - mainWrapper: { - minWidth: "140px", - marginRight: "8px", - marginTop: "8px", - width: "95%", - }, - }, - - rowContainer: { - borderColor: globalColors.grayLightMid, - }, - - badge: { - border: "1px solid transparent", - padding: "1px", - lineHeight: "0.8", - overflow: "hidden", - color: white, - backgroundColor: orangeMain, - disableBackgroundColor: "#A3A9AE", - }, - - scrollbar: { - bgColor: "rgba(6, 22, 38, 0.16)", - hoverBgColor: "rgba(6, 22, 38, 0.32)", - pressBgColor: "rgba(6, 22, 38, 0.5)", - }, - - modalDialog: { - backgroundColor: white, - textColor: black, - headerBorderColor: globalColors.grayLightMid, - footerBorderColor: globalColors.grayLightMid, - width: "auto", - maxwidth: "560px", - margin: " 0 auto", - minHeight: "100%", - - colorDisabledFileIcons: "#f3f4f4", - - content: { - backgroundColor: white, - modalPadding: "0 12px 12px", - modalBorderRadius: "6px", - asidePadding: "0 16px 16px", - heading: { - maxWidth: "calc(100% - 18px)", - margin: "0", - modalLineHeight: "40px", - asideLineHeight: "56px", - fontWeight: "700", - asideFontSize: "21px", - modalFontSize: "18px", - }, - }, - - header: { - borderBottom: `1px solid ${globalColors.lightGrayishBlue}`, - }, - - closeButton: { - //backgroundColor: "#9a9ea3", - fillColor: white, - }, - }, - - paging: { - button: { - marginRight: "8px", - maxWidth: "110px", - }, - - page: { - marginRight: "8px", - width: "110%", - }, - - comboBox: { - marginLeft: "auto", - marginRight: "0px", - }, - }, - - input: { - color: black, - disableColor: grayMid, - - backgroundColor: white, - disableBackgroundColor: grayLight, - - width: { - base: "173px", - middle: "300px", - big: "350px", - huge: "500px", - large: "550px", - }, - - borderRadius: "3px", - boxShadow: "none", - boxSizing: "border-box", - border: "solid 1px", - - borderColor: grayMid, - errorBorderColor: "#F21C0E", - warningBorderColor: warningColor, - disabledBorderColor: grayLightMid, - - hoverBorderColor: gray, - hoverErrorBorderColor: red, - hoverWarningBorderColor: warningColor, - hoverDisabledBorderColor: grayLightMid, - - focusBorderColor: blueMain, - focusErrorBorderColor: red, - focusWarningBorderColor: warningColor, - focusDisabledBorderColor: grayLightMid, - }, - - fileInput: { - width: { - base: "173px", - middle: "300px", - big: "350px", - huge: "500px", - large: "550px", - }, - - height: { - base: "32px", - middle: "38px", - big: "38px", - huge: "39px", - large: "44px", - }, - - paddingRight: { - base: "37px", - middle: "48px", - big: "53px", - huge: "58px", - large: "64px", - }, - - icon: { - background: white, - - border: "1px solid", - borderRadius: "0 3px 3px 0", - - width: { - base: "30px", - middle: "36px", - big: "37px", - huge: "38px", - large: "48px", - }, - - height: { - base: "30px", - middle: "36px", - big: "36px", - huge: "37px", - large: "42px", - }, - }, - - iconButton: { - width: { - base: "15px", - middle: "15px", - big: "16px", - huge: "16px", - large: "16px", - }, - }, - }, - - passwordInput: { - disableColor: grayMid, - color: gray, - - iconColor: grayMid, - hoverIconColor: gray, - - hoverColor: gray, - - lineHeight: "32px", - - tooltipTextColor: black, - - text: { - lineHeight: "14px", - marginTop: "-2px", - }, - - link: { - marginTop: "-6px", - - tablet: { - width: "100%", - marginLeft: "0px", - marginTop: "-1px", - }, - }, - - progress: { - borderRadius: "2px", - marginTop: "-2px", - }, - - newPassword: { - margin: "0 16px", - - svg: { - overflow: "hidden", - marginBottom: "4px", - }, - }, - }, - - searchInput: { - fontSize: "14px", - fontWeight: "600", - - iconColor: grayMid, - hoverIconColor: grayMid, - }, - - inputPhone: { - activeBorderColor: "#2da7db", - inactiveBorderColor: "#d0d5da", - errorBorderColor: "#f21c0e", - backgroundColor: "#fff", - color: "#33333", - scrollBackground: "#a3a9ae", - placeholderColor: "#a3a9ae", - dialCodeColor: "#a3a9ae", - width: "320px", - height: "44px", - }, - - textInput: { - fontWeight: "normal", - placeholderColor: gray, - disablePlaceholderColor: grayMid, - - transition: "all 0.2s ease 0s", - appearance: "none", - display: "flex", - flex: "1 1 0%", - outline: "none", - overflow: "hidden", - opacity: "1", - - lineHeight: { - base: "20px", - middle: "20px", - big: "20px", - huge: "21px", - large: "20px", - }, - - fontSize: { - base: "13px", - middle: "14px", - big: "16px", - huge: "18px", - large: "16px", - }, - - padding: { - base: "5px 6px", - middle: "8px 12px", - big: "8px 16px", - huge: "8px 20px", - large: "11px 12px", - }, - }, - - inputBlock: { - height: "100%", - paddingRight: "8px", - paddingLeft: "1px", - - display: "flex", - alignItems: "center", - padding: "2px 0px 2px 2px", - margin: "0", - - borderColor: blueMain, - - iconColor: grayMid, - hoverIconColor: grayMid, - }, - - textArea: { - disabledColor: grayLight, - - focusBorderColor: blueMain, - focusErrorBorderColor: red, - focusOutline: "none", - - scrollWidth: "100%", - scrollHeight: "91px", - - numerationColor: "#A3A9AE", - - copyIconFilter: - "invert(71%) sepia(1%) saturate(1597%) hue-rotate(166deg) brightness(100%) contrast(73%)", - }, - - link: { - color: black, - lineHeight: "calc(100% + 6px)", - opacity: "0.5", - textDecoration: "none", - cursor: "pointer", - display: "inline-block", - - hover: { - textDecoration: "underline dashed", - page: { textDecoration: "underline" }, - }, - }, - - linkWithDropdown: { - paddingRight: "20px", - semiTransparentOpacity: "0.5", - textDecoration: "none", - disableColor: gray, - - svg: { - opacity: "1", - semiTransparentOpacity: "0.5", - }, - - text: { maxWidth: "100%" }, - - span: { maxWidth: "300px" }, - - expander: { - iconColor: black, - }, - - color: { - default: "#A3A9AE", - hover: "#555F65", - active: "#333333", - focus: "#333333", - }, - - background: { - default: "transparent", - hover: "#ECEEF1", - active: "#D0D5DA", - focus: "#DFE2E3", - }, - - caret: { - width: "5px", - minWidth: "5px", - height: "4px", - minHeight: "4px", - marginLeft: "5px", - marginTop: "-4px", - right: "6px", - top: "0", - bottom: "0", - isOpenBottom: "-1px", - margin: "auto", - opacity: "0", - transform: "scale(1, -1)", - }, - }, - - tooltip: { - borderRadius: "6px", - boxShadow: "0px 10px 15px rgba(4, 15, 27, 0.12)", - opacity: "1", - padding: "8px 12px", - pointerEvents: "auto", - maxWidth: "340px", - color: white, - textColor: black, - - before: { - border: "none", - }, - after: { - border: "none", - }, - }, - - tabsContainer: { - scrollbar: { - width: "100%", - height: "44px", - }, - - label: { - height: " 32px", - borderRadius: "16px", - minWidth: "fit-content", - marginRight: "8px", - width: "fit-content", - - backgroundColor: blueLightMid, - hoverBackgroundColor: grayLight, - disableBackgroundColor: grayLightMid, - - title: { - margin: "7px 15px 7px 15px", - overflow: "hidden", - color: white, - hoverColor: black, - disableColor: grayMid, - }, - }, - }, - - fieldContainer: { - horizontal: { - margin: "0 0 16px 0", - - label: { - lineHeight: "32px", - margin: "0", - }, - - body: { - flexGrow: "1", - }, - - iconButton: { - marginTop: "10px", - marginLeft: "8px", - }, - }, - - vertical: { - margin: "0 0 16px 0", - - label: { - lineHeight: "20px", - height: "20px", - }, - - labelIcon: { - width: "100%", - margin: "0 0 4px 0", - }, - - body: { - width: "100%", - }, - - iconButton: { - margin: "0", - padding: "0px 8px", - width: "12px", - height: "12px", - }, - }, - - errorLabel: { - color: "#F21C0E", - }, - }, - - avatar: { - defaultImage: `url("${AvatarBaseReactSvgUrl}")`, - initialsContainer: { - color: white, - left: "50%", - top: "50%", - transform: "translate(-50%, -50%)", - fontWeight: "600", - - fontSize: { - min: "12px", - small: "12px", - base: "16px", - medium: "20px", - big: "34px", - max: "72px", - }, - }, - - roleWrapperContainer: { - right: { - min: "-5px", - small: "-2px", - base: "-2px", - medium: "-4px", - big: "3px", - max: "0px", - }, - - bottom: { - min: "-5px", - small: "3px", - base: "4px", - medium: "6px", - big: "3px", - max: "0px", - }, - - width: { - medium: "16px", - max: "24px", - }, - - height: { - medium: "16px", - max: "24px", - }, - }, - - imageContainer: { - backgroundImage: blueMain, - background: grayMid, - borderRadius: "50%", - height: "100%", - - svg: { - display: "block", - width: "50%", - height: "100%", - margin: "auto", - fill: white, - }, - }, - - administrator: { - fill: orangeMain, - stroke: darkBlack, - color: white, - }, - - guest: { - fill: "#3B72A7", - stroke: darkBlack, - color: white, - }, - - owner: { - fill: "#EDC409", - stroke: darkBlack, - color: white, - }, - - editContainer: { - right: "0px", - bottom: "0px", - fill: white, - backgroundColor: blueLightMid, - borderRadius: "50%", - height: "32px", - width: "32px", - }, - - image: { - width: "100%", - height: "100%", - borderRadius: "50%", - }, - - icon: { - background: "#ECEEF1", - color: "#A3A9AE", - }, - - width: { - min: "32px", - small: "36px", - base: "40px", - medium: "48px", - big: "80px", - max: "124px", - }, - - height: { - min: "32px", - small: "36px", - base: "40px", - medium: "48px", - big: "80px", - max: "124px", - }, - }, - - avatarEditor: { - minWidth: "208px", - maxWidth: "300px", - width: "max-content", - }, - - avatarEditorBody: { - maxWidth: "400px", - - selectLink: { - color: black, - linkColor: link, - }, - - slider: { - width: "100%", - margin: "24px 0", - backgroundColor: "transparent", - - runnableTrack: { - background: grayLightMid, - focusBackground: grayLightMid, - border: `1.4px solid ${grayLightMid}`, - borderRadius: "5.6px", - width: "100%", - height: "8px", - }, - - sliderThumb: { - marginTop: "-9.4px", - width: "24px", - height: "24px", - background: blueMain, - disabledBackground: "#A6DCF2", - borderWidth: "6px", - borderStyle: "solid", - borderColor: `${white}`, - borderRadius: "30px", - boxShadow: "0px 5px 20px rgba(4, 15, 27, 0.13)", - }, - - thumb: { - width: "24px", - height: "24px", - background: blueMain, - border: `6px solid ${white}`, - borderRadius: "30px", - marginTop: "0px", - boxShadow: "0px 5px 20px rgba(4, 15, 27, 0.13)", - }, - - rangeTrack: { - background: grayLightMid, - border: `1.4px solid ${grayLightMid}`, - borderRadius: "5.6px", - width: "100%", - height: "8px", - }, - - rangeThumb: { - width: "14px", - height: "14px", - background: blueMain, - border: `6px solid ${white}`, - borderRadius: "30px", - boxShadow: "0px 5px 20px rgba(4, 15, 27, 0.13)", - }, - - track: { - background: "transparent", - borderColor: "transparent", - borderWidth: "10.2px 0", - color: "transparent", - width: "100%", - height: "8px", - }, - - trackNumber: { - color: "#A3A9AE", - }, - - fillLower: { - background: grayLightMid, - focusBackground: grayLightMid, - border: `1.4px solid ${grayLightMid}`, - borderRadius: "11.2px", - }, - - fillUpper: { - background: grayLightMid, - focusBackground: grayLightMid, - border: `1.4px solid ${grayLightMid}`, - borderRadius: "11.2px", - }, - }, - - dropZone: { - border: `1px dashed ${silver}`, - }, - - container: { - miniPreview: { - width: "160px", - border: `1px solid ${grayLightMid}`, - borderRadius: "6px", - padding: "8px", - }, - - buttons: { - height: "32px", - background: gray, - - mobileWidth: "40px", - mobileHeight: "100%", - mobileBackground: "none", - }, - - button: { - background: gray, - fill: white, - hoverFill: white, - padding: "0 12px", - height: "40px", - borderRadius: "6px", - }, - - zoom: { - height: "56px", - - mobileHeight: "24px", - marginTop: "16px", - }, - }, - }, - - backdrop: { - backgroundColor: "rgba(6, 22, 38, 0.2)", - unsetBackgroundColor: "unset", - }, - - treeMenu: { - disabledColor: "#767676", - }, - - treeNode: { - background: "#f3f4f4", - disableColor: "#A3A9AE", - - dragging: { - draggable: { - background: lightCumulus, - hoverBackgroundColor: lightMediumGoldenrod, - borderRadius: "3px", - }, - - title: { - width: "85%", - }, - }, - icon: { - color: grayMain, - }, - - draggable: { - color: cyanBlueDarkShade, - dragOverBackgroundColor: strongBlue, - border: `1px ${strongBlue} solid`, - dragOverColor: white, - - gapTop: { - borderTop: `2px blue solid`, - }, - - gapBottom: { - borderBottom: `2px blue solid`, - }, - }, - - contentWrapper: { - color: darkRed, - }, - - title: { - color: cyanBlueDarkShade, - }, - - selected: { - background: lightGrayishStrongBlue, - hoverBackgroundColor: lightGrayishStrongBlue, - borderRadius: "3px", - }, - - checkbox: { - border: `2px solid ${white}`, - borderTop: 0, - borderLeft: 0, - }, - }, - - progressBar: { - backgroundColor: "#DADDDF", - - percent: { - background: "#4781D1", - }, - }, - - dropDown: { - fontWeight: "600", - fontSize: "13px", - zIndex: "400", - background: white, - borderRadius: "6px", - boxShadow: "0px 5px 20px rgba(0, 0, 0, 0.13)", - border: "none", - }, - - dropDownItem: { - color: black, - disableColor: gray, - backgroundColor: white, - hoverBackgroundColor: grayLight, - hoverDisabledBackgroundColor: white, - selectedBackgroundColor: lightHover, - fontWeight: "600", - fontSize: "13px", - width: "100%", - maxWidth: "500px", - border: "0px", - margin: "0px", - padding: "0px 12px", - tabletPadding: "0px 16px", - lineHeight: "32px", - tabletLineHeight: "36px", - - icon: { - width: "16px", - marginRight: "8px", - lineHeight: "10px", - - color: black, - disableColor: gray, - }, - - separator: { - padding: "0px 16px", - borderBottom: `1px solid ${globalColors.grayLightMid}`, - margin: " 4px 16px 4px", - lineHeight: "1px", - height: "1px", - width: "calc(100% - 32px)", - }, - }, - - toast: { - active: { - success: activeSuccess, - error: activeError, - info: activeInfo, - warning: activeWarning, - }, - hover: { - success: hoverSuccess, - error: hoverError, - info: hoverInfo, - warning: hoverWarning, - }, - border: { - success: "none", - error: "none", - info: "none", - warning: "none", - }, - - zIndex: "9999", - position: "fixed", - padding: "4px", - width: "320px", - color: white, - top: "16px", - right: "24px", - marginTop: "0px", - - closeButton: { - color: white, - fontWeight: "700", - fontSize: "14px", - background: "transparent", - padding: "0", - opacity: "0.7", - hoverOpacity: "1", - transition: "0.3s ease", - }, - - main: { - marginBottom: "1rem", - boxShadow: "0px 10px 16px -12px rgba(0, 0, 0, 0.3)", - maxHeight: "800px", - overflow: "hidden", - borderRadius: "6px", - color: darkBlack, - margin: "0 0 12px", - padding: "12px", - minHeight: "32px", - width: "100%", - right: "0", - transition: "0.3s", - }, - }, - - toastr: { - svg: { - width: "16px", - minWidth: "16px", - height: "16px", - minHeight: "16px", - color: { - success: black, - error: black, - info: black, - warning: black, - }, - }, - - text: { - lineHeight: " 1.3", - fontSize: "12px", - color: black, - }, - - title: { - fontWeight: "600", - margin: "0", - marginBottom: "5px", - lineHeight: "16px", - color: { - success: darkBlack, - error: darkBlack, - info: darkBlack, - warning: darkBlack, - }, - fontSize: "12px", - }, - - closeButtonColor: black, - }, - - loader: { - color: shuttleGrey, - size: "40px", - marginRight: "2px", - borderRadius: "50%", - }, - - rombsLoader: { - blue: { - colorStep_1: "#F2CBBF", - colorStep_2: "#fff", - colorStep_3: "#E6E4E4", - colorStep_4: "#D2D2D2", - }, - red: { - colorStep_1: "#BFE8F8", - colorStep_2: "#fff", - colorStep_3: "#EFEFEF", - }, - green: { - colorStep_1: "#CBE0AC", - colorStep_2: "#fff", - colorStep_3: "#EFEFEF", - colorStep_4: "#E6E4E4", - }, - }, - - dialogLoader: { - borderBottom: "1px solid rgb(222, 226, 230)", - }, - - // dropDownItem: { - // width: "100%", - // maxWidth: "240px", - // border: "none", - // cursor: "pointer", - // padding: "0px 16px", - // lineHeight: "32px", - // textAlign: "left", - // background: "none", - // textDecoration: "none", - // fontStyle: "normal", - // fontWeight: "600", - // fontSize: "13px", - - // whiteSpace: "nowrap", - // overflow: "hidden", - // textOverflow: "ellipsis", - - // outline: "none", - // color: black, - // textTransform: "none", - - // hoverBackgroundColor: grayLight, - // noHoverBackgroundColor: white, - - // header: { - // color: gray, - // hoverCursor: "default", - // hoverBackgroundColor: "white", - // textTransform: "uppercase", - // }, - - // disabled: { - // color: gray, - // hoverCursor: "default", - // hoverBackgroundColor: "white", - // }, - - // separator: { - // padding: "0px 16px", - // border: `0.5px solid ${grayLightMid}`, - // cursor: "default", - // margin: "6px 16px 6px", - // lineHeight: "1px", - // height: "1px", - // width: "calc(100% - 32px)", - // }, - - // tablet: { lineHeight: "36px" }, - - comboBox: { - padding: "6px 0px", - background: lightGrayishStrongBlue, - - width: { - base: "173px", - middle: "300px", - big: "350px", - huge: "500px", - }, - - arrow: { - width: "6px", - flex: "0 0 6px", - marginTopWithBorder: "5px", - marginTop: "12px", - marginRight: "8px", - marginLeft: "auto", - }, - - button: { - height: "18px", - heightWithBorder: "30px", - heightModernView: "28px", - - paddingLeft: "16px", - paddingRightNoArrow: "16px", - paddingRight: "8px", - - selectPaddingLeft: "8px", - selectPaddingRightNoArrow: "14px", - selectPaddingRight: "6px", - - color: black, - disabledColor: grayMid, - background: white, - backgroundWithBorder: "none", - backgroundModernView: "none", - - border: `1px solid ${grayMid}`, - borderRadius: "3px", - borderColor: blueMain, - openBorderColor: blueMain, - disabledBorderColor: grayLightMid, - disabledBackground: grayLight, - - hoverBorderColor: gray, - hoverBorderColorOpen: blueMain, - hoverDisabledBorderColor: grayLightMid, - - hoverBackgroundModernView: "#ECEEF1", - activeBackgroundModernView: "#D0D5DA", - focusBackgroundModernView: "#DFE2E3", - }, - - label: { - marginRightWithBorder: "8px", - marginRight: "4px", - - disabledColor: grayMid, - color: black, - selectedColor: black, - maxWidth: "175px", - - lineHeightWithoutBorder: "16px", - lineHeightTextDecoration: "underline dashed", - }, - - childrenButton: { - marginRight: "8px", - width: "16px", - height: "16px", - - defaultDisabledColor: grayMid, - defaultColor: gray, - disabledColor: grayMid, - color: black, - }, - }, - - toggleContent: { - headingHeight: "24px", - headingLineHeight: "26px", - hoverBorderBottom: "1px dashed", - contentPadding: "10px 0px 0px 0px", - arrowMargin: "4px 8px 4px 0px", - transform: "rotate(180deg)", - iconColor: black, - - childrenContent: { - color: black, - paddingTop: "6px", - }, - }, - - toggleButton: { - fillColorDefault: "#4781D1", - fillColorOff: "#D0D5DA", - hoverFillColorOff: "#A3A9AE", - fillCircleColor: white, - fillCircleColorOff: white, - }, - - contextMenuButton: { - content: { - width: "100%", - backgroundColor: white, - padding: "0 16px 16px", - }, - - headerContent: { - maxWidth: "500px", - margin: "0", - lineHeight: "56px", - fontWeight: "700", - borderBottom: `1px solid ${globalColors.lightGrayishBlue}`, - }, - - bodyContent: { - padding: "16px 0", - }, - }, - - calendar: { - color: "#333333", - disabledColor: "#DFE2E3", - pastColor: "#A3A9AE", - onHoverBackground: "#f3f4f4", - titleColor: "#555F65", - outlineColor: "#eceef1", - arrowColor: "#555f65", - disabledArrow: "#A3A9AE", - weekdayColor: "#A3A9AE", - accent: "#4781d1", - boxShadow: "0px 12px 40px rgba(4, 15, 27, 0.12)", - }, - - datePicker: { - width: "115px", - dropDownPadding: "16px 16px 16px 17px", - contentPadding: "0 16px 16px", - bodyPadding: "16px 0", - backgroundColor: white, - inputBorder: blueMain, - iconPadding: "8px 8px 7px 0px", - - contentMaxWidth: "500px", - contentLineHeight: "56px", - contentFontWeight: "700", - - borderBottom: `1px solid ${globalColors.lightGrayishBlue}`, - }, - - aside: { - backgroundColor: white, - height: "100%", - overflowX: "hidden", - overflowY: "auto", - position: "fixed", - right: "0", - top: "0", - bottom: "16px", - paddingBottom: "64px", - transition: "transform 0.3s ease-in-out", - }, - - dragAndDrop: { - height: "100%", - border: `1px solid ${globalColors.darkSilver}`, - transparentBorder: "1px solid transparent", - acceptBackground: lightMediumGoldenrod, - background: lightCumulus, - }, - - // phoneInput: { - // width: "304px", - // height: "44px", - // itemTextColor: black, - // itemBackgroundColor: white, - // itemHoverColor: grayLightMid, - // scrollBackground: "rgba(0, 0, 0, 0.1)", - // placeholderColor: gray, - // }, - - // squareButton: { - // height: "32px", - // width: "32px", - // color: gray, - // backgroundColor: white, - // border: `1px solid ${grayMid}`, - // borderRadius: "3px", - // outline: "none", - // hover: { - // backgroundColor: white, - // border: `1px solid ${gray}`, - // }, - // click: { - // backgroundColor: grayLightMid, - // border: `1px solid ${gray}`, - // }, - // disable: { - // backgroundColor: grayLight, - // border: `1px solid ${grayLightMid}`, - // }, - // crossShape: { - // color: graySilver, - // disable: { - // color: gray, - // }, - // }, - // }, - - // roundButton: { - // height: "40px", - // width: "40px", - // backgroundColor: grayLight, - // borderRadius: { - // plus: "112px", - // minus: "81px", - // }, - // borderStyle: "none", - // outline: "none", - // hover: { - // backgroundColor: grayLightMid, - // }, - // click: { - // backgroundColor: grayMid, - // }, - // disable: { - // backgroundColor: grayLight, - // }, - // plus: { - // color: grayMid, - // disable: { - // color: black, - // }, - // }, - // }, - - catalog: { - background: "#f8f9f9", - - header: { - borderBottom: "1px solid #eceef1", - iconFill: "#657077", - }, - control: { - background: "#9a9ea3", - fill: "#ffffff", - }, - - headerBurgerColor: "#657077", - - verticalLine: "1px solid #eceef1", - - profile: { - borderTop: "1px solid #eceef1", - background: "#f3f4f4", - }, - - paymentAlert: { - color: "#ed7309", - warningColor: "#F21C0E", - }, - - teamTrainingAlert: { - titleColor: "#388BDE", - borderColor: "#388BDE", - linkColor: "#5299E0", - }, - }, - - alertComponent: { - descriptionColor: "#555F65", - iconColor: "#657077", - }, - - catalogItem: { - container: { - width: "100%", - height: "36px", - padding: "0 12px", - marginBottom: "16px", - background: "#fff", - tablet: { - height: "44px", - padding: "0 12px", - marginBottom: "24px", - }, - }, - sibling: { - active: { - background: lightGrayishStrongBlue, - }, - hover: { - background: grayLightMid, - }, - }, - img: { - svg: { - width: "16px", - height: "16px", - - fill: "#657077", - isActiveFill: "#4781D1", - tablet: { - width: "20px", - height: "20px", - }, - }, - }, - text: { - width: "100%", - marginLeft: "8px", - lineHeight: "20px", - color: cyanBlueDarkShade, - isActiveColor: "#4781D1", - fontSize: "13px", - fontWeight: 600, - tablet: { - marginLeft: "12px", - lineHeight: "20px", - fontSize: "15px", - fontWeight: "600", - }, - }, - initialText: { - color: white, - width: "16px", - lineHeight: "11px", - fontSize: "11px", - fontWeight: "bold", - tablet: { - width: "20px", - lineHeight: "19px", - fontSize: "11px", - }, - }, - badgeWrapper: { - size: "16px", - marginLeft: "8px", - marginRight: "-2px", - tablet: { - width: "44px", - height: "44px", - marginRight: "-16px", - }, - }, - badgeWithoutText: { - backgroundColor: orangeMain, - - size: "8px", - position: "-4px", - }, - trashIconFill: "#A3A9AE", - }, - - navigation: { - expanderColor: black, - background: white, - rootFolderTitleColor: "#A3A9AE", - publicIcon: black, - boxShadow: " 0px 12px 40px 0px #040F1B1F", - - icon: { - fill: "#316DAA", - stroke: "#DFE2E3", - }, - }, - - nav: { - backgroundColor: "#0F4071", - }, - - navItem: { - baseColor: "#7A95B0", - activeColor: white, - separatorColor: "#3E668D", - - wrapper: { - hoverBackground: "#0d3760", - }, - }, - - header: { - backgroundColor: "#F8F9F9", - recoveryColor: "#657077", - linkColor: "#657077", - productColor: white, - }, - - menuContainer: { - background: "#F3F4F4", - color: black, - }, - - article: { - background: grayLight, - pinBorderColor: grayLightMid, - catalogItemHeader: "#A3A9AE", - catalogItemText: "#555F65", - catalogItemActiveBackground: "#DFE2E3", - catalogShowText: "#657077", - }, - - section: { - toggler: { - background: white, - fill: gray, - boxShadow: "0px 5px 20px rgba(0, 0, 0, 0.13)", - }, - - header: { - backgroundColor: white, - background: `linear-gradient(180deg,#ffffff 2.81%,rgba(255, 255, 255, 0.91) 63.03%,rgba(255, 255, 255, 0) 100%)`, - trashErasureLabelBackground: "#f8f9f9", - trashErasureLabelText: "#555f65", - }, - }, - - infoPanel: { - sectionHeaderToggleIcon: gray, - sectionHeaderToggleIconActive: "#3B72A7", - sectionHeaderToggleBg: "transparent", - sectionHeaderToggleBgActive: grayLight, - - backgroundColor: white, - blurColor: "rgba(6, 22, 38, 0.2)", - borderColor: grayLightMid, - thumbnailBorderColor: grayLightMid, - textColor: black, - - closeButtonWrapperPadding: "0px", - closeButtonIcon: white, - closeButtonSize: "17px", - closeButtonBg: "transparent", - - links: { - iconColor: "#3B72A7", - iconErrorColor: "rgba(242, 28, 14, 0.5)", //"#F21C0E", - primaryColor: "#555F65", - }, - - members: { - iconColor: "#A3A9AE", - iconHoverColor: "#657077", - isExpectName: "#A3A9AE", - subtitleColor: "#a3a9ae", - meLabelColor: "#a3a9ae", - roleSelectorColor: "#a3a9ae", - disabledRoleSelectorColor: "#a3a9ae", - roleSelectorArrowColor: "#a3a9ae", - }, - - history: { - subtitleColor: "#a3a9ae", - fileBlockBg: "#f8f9f9", - dateColor: "#A3A9AE", - fileExstColor: "#A3A9AE", - locationIconColor: "#A3A9AE", - folderLabelColor: "#A3A9AE", - }, - - details: { - customLogoBorderColor: grayLightMid, - commentEditorIconColor: "#333", - tagBackground: "#ECEEF1", - }, - - gallery: { - borderColor: "#d0d5da", - descriptionColor: "#657077", - }, - }, - - filesArticleBody: { - background: lightGrayishStrongBlue, - panelBackground: lightGrayishStrongBlue, - - fill: grayMain, - expanderColor: "dimgray", - downloadAppList: { - textColor: "#A3A9AE", - color: "#CDCFD1", - winHoverColor: "#3785D3", - macHoverColor: "#000", - linuxHoverColor: "#FFB800", - androidHoverColor: "#9BD71C", - iosHoverColor: "#000", - }, - thirdPartyList: { - color: "#818b91", - linkColor: cyanBlueDarkShade, - }, - devTools: { - border: "1px solid #DFE2E3", - color: "#A3A9AE", - }, - }, - - peopleArticleBody: { - iconColor: grayMain, - expanderColor: "dimgray", - }, - - peopleTableRow: { - fill: "#3b72a7", - - nameColor: black, - pendingNameColor: gray, - - sideInfoColor: gray, - pendingSideInfoColor: grayMid, - }, - - filterInput: { - button: { - border: "1px solid #d0d5da", - hoverBorder: "1px solid #a3a9ae", - - openBackground: "#a3a9ae", - - openFill: "#ffffff", - }, - - filter: { - background: "#ffffff", - border: "1px solid #eceef1", - color: "#a3a9ae", - - separatorColor: "#eceef1", - indicatorColor: "#ED7309", - - selectedItem: { - background: "#265a8f", - border: "#265a8f", - color: "#ffffff", - }, - }, - - sort: { - background: "#ffffff", - hoverBackground: "#f8f9f9", - selectedViewIcon: "#dfe2e3", - viewIcon: "#a3a9ae", - sortFill: "#657077", - - tileSortFill: black, - tileSortColor: black, - }, - - selectedItems: { - background: "#eceef1", - hoverBackground: "#F3F4F4", - }, - }, - - profileInfo: { - color: "#83888d", - iconButtonColor: black, - linkColor: gray, - - tooltipLinkColor: black, - iconColor: "#C96C27", - }, - - updateUserForm: { - tooltipTextColor: black, - borderTop: "1px solid #eceef1", - }, - - tableContainer: { - borderRight: `2px solid ${grayMid}`, - hoverBorderColor: grayMain, - tableCellBorder: `1px solid ${grayLightMid}`, - - groupMenu: { - background: white, - borderBottom: "1px solid transparent", - borderRight: `1px solid ${grayMid}`, - boxShadow: "0px 5px 20px rgba(4, 15, 27, 7%)", - }, - - header: { - background: white, - borderBottom: `1px solid ${grayLightMid}`, - textColor: gray, - activeTextColor: grayMain, - hoverTextColor: grayMain, - - iconColor: gray, - activeIconColor: grayMain, - hoverIconColor: grayMain, - - borderImageSource: `linear-gradient(to right,${white} 21px,${grayLightMid} 21px,${grayLightMid} calc(100% - 20px),${white} calc(100% - 20px))`, - borderHoverImageSource: `linear-gradient(to right,${white} 0px,${grayLightMid} 0px,${grayLightMid} 100% ,${white} 100%)`, - - lengthenBorderImageSource: `linear-gradient(to right, ${grayLightMid}, ${grayLightMid})`, - hotkeyBorderBottom: `1px solid ${globalColors.blueMain}`, - - settingsIconDisableColor: "#D0D5DA", - }, - - tableCell: { - border: `1px solid ${grayLightMid}`, - }, - }, - - filesSection: { - rowView: { - checkedBackground: "#f3f4f4", - - draggingBackground: lightCumulus, - draggingHoverBackground: lightMediumGoldenrod, - - shareButton: { - color: grayMain, - fill: grayMain, - }, - - sideColor: gray, - linkColor: black, - textColor: gray, - - editingIconColor: "#3b72a7", - shareHoverColor: "#3b72a7", - pinColor: "#3b72a7", - }, - - tableView: { - fileName: { - linkColor: black, - textColor: gray, - }, - - row: { - checkboxChecked: `linear-gradient(to right, #f3f4f4 24px, ${grayLightMid} 24px)`, - checkboxDragging: `linear-gradient(to right, ${lightCumulus} 24px, ${grayLightMid} 24px)`, - checkboxDraggingHover: `linear-gradient(to right,rgb(239, 239, 178) 24px, ${grayLightMid} 24px)`, - - contextMenuWrapperChecked: `linear-gradient(to left, #f3f4f4 24px, ${grayLightMid} 24px)`, - contextMenuWrapperDragging: `border-image-source: linear-gradient(to left, ${lightCumulus} 24px, ${grayLightMid} 24px)`, - contextMenuWrapperDraggingHover: `linear-gradient(to left,rgb(239, 239, 178) 24px,${grayLightMid} 24px)`, - - backgroundActive: `#F3F4F4`, - - borderImageCheckbox: `linear-gradient(to right, ${white} 24px, ${grayLightMid} 24px)`, - borderImageContextMenu: `linear-gradient(to left, ${white} 24px, ${grayLightMid} 24px)`, - - borderHover: gray, - sideColor: gray, - shareHoverColor: "#3b72a7", - - borderImageRight: - "linear-gradient(to right, #ffffff 25px,#eceef1 24px)", - borderImageLeft: "linear-gradient(to left, #ffffff 24px,#eceef1 24px)", - - borderColor: "#ECEEf1", - borderColorTransition: "#f3f4f4", - }, - }, - - tilesView: { - tile: { - draggingColor: lightCumulus, - draggingHoverColor: lightMediumGoldenrod, - checkedColor: "#f3f4f4", - roomsCheckedColor: "#f3f4f4", - border: `1px solid ${grayMid}`, - backgroundBadgeColor: white, - backgroundColor: white, - borderRadius: "6px", - roomsBorderRadius: "12px", - bottomBorderRadius: "0 0 6px 6px", - roomsBottomBorderRadius: "0 0 12px 12px", - upperBorderRadius: "6px 6px 0 0", - roomsUpperBorderRadius: "12px 12px 0 0", - backgroundColorTop: white, - }, - - sideColor: black, - color: black, - textColor: gray, - }, - - animationColor: "rgba(82, 153, 224, 0.16)", - }, - - advancedSelector: { - footerBorder: `1px solid ${grayLightMid}`, - - hoverBackgroundColor: grayLightMid, - selectedBackgroundColor: grayLightMid, - borderLeft: `1px solid ${grayLightMid}`, - - searcher: { - hoverBorderColor: grayMid, - focusBorderColor: blueMain, - placeholderColor: gray, - }, - }, - - selector: { - border: `1px solid ${grayLightMid}`, - - breadCrumbs: { - prevItemColor: "#A3A9AE", - arrowRightColor: "#A3A9AE", - }, - - bodyDescriptionText: "#A3A9AE", - - item: { - hoverBackground: grayLight, - selectedBackground: lightHover, - }, - - emptyScreen: { - descriptionColor: cyanBlueDarkShade, - }, - }, - - floatingButton: { - backgroundColor: "#3B72A7", - color: white, - boxShadow: "0px 5px 20px rgba(0, 0, 0, 0.13)", - fill: white, - - alert: { - fill: "", - path: "", - }, - }, - - mediaViewer: { - color: "#d1d1d1", - background: "rgba(17, 17, 17, 0.867)", - backgroundColor: "rgba(11, 11, 11, 0.7)", - fill: white, - titleColor: white, - iconColor: white, - - controlBtn: { - backgroundColor: "rgba(200, 200, 200, 0.2)", - }, - - imageViewer: { - backgroundColor: "rgba(200, 200, 200, 0.2)", - inactiveBackgroundColor: "rgba(11,11,11,0.7)", - fill: white, - }, - - progressBar: { - background: "#d1d1d1", - backgroundColor: "rgba(200, 200, 200, 0.2)", - }, - - scrollButton: { - backgroundColor: "rgba(11, 11, 11, 0.7)", - background: "rgba(200, 200, 200, 0.2)", - border: `solid ${white}`, - }, - - videoViewer: { - fill: white, - stroke: white, - color: "#d1d1d1", - colorError: white, - backgroundColorError: darkBlack, - backgroundColor: "rgba(11, 11, 11, 0.7)", - background: "rgba(200, 200, 200, 0.2)", - }, - }, - - connectCloud: { - connectBtnContent: black, - connectBtnTextBg: white, - connectBtnIconBg: white, - connectBtnTextBorder: grayMid, - connectBtnIconBorder: grayMid, - }, - - createEditRoomDialog: { - commonParam: { - descriptionColor: "#a3a9ae", - textColor: "#657077", - }, - - roomType: { - listItem: { - background: "none", - borderColor: "#ECEEF1", - descriptionText: "#A3A9AE", - }, - dropdownButton: { - background: "none", - borderColor: "#ECEEF1", - isOpenBorderColor: "#2DA7DB", - descriptionText: "#A3A9AE", - }, - dropdownItem: { - background: "#ffffff", - hoverBackground: "#f3f4f4", - descriptionText: "#A3A9AE", - }, - displayItem: { - background: "#f8f8f8", - borderColor: "#f8f8f8", - descriptionText: "#555F65", - }, - }, - - roomTypeDropdown: { - desktop: { - background: "#ffffff", - borderColor: "#d0d5da", - }, - mobile: { - background: "#ffffff", - }, - }, - - permanentSettings: { - background: "#f8f9f9", - isPrivateIcon: "#35ad17", - descriptionColor: "#555f65", - }, - - tagInput: { - tagBackground: "#ECEEF1", - tagHoverBackground: "#F3F4F4", - }, - - dropdown: { - background: "#ffffff", - borderColor: "#d0d5da", - item: { - hoverBackground: "#f3f4f4", - }, - }, - - isPrivate: { - limitations: { - background: "#f8f9f9", - iconColor: "#ed7309", - titleColor: "#ed7309", - descriptionColor: "#555f65", - linkColor: "#555f65", - }, - }, - - thirdpartyStorage: { - combobox: { - background: "#ffffff", - dropdownBorderColor: "#d0d5da", - hoverDropdownBorderColor: "#a3a9ae", - isOpenDropdownBorderColor: "#2DA7DB", - arrowFill: "#a3a9ae", - }, - folderInput: { - background: "#ffffff", - borderColor: "#d0d5da", - hoverBorderColor: "#a3a9ae", - focusBorderColor: "#35abd8", - rootLabelColor: "#a3a9ae", - iconFill: "#657177", - }, - }, - - iconCropper: { - gridColor: "#333333", - deleteButton: { - background: "#f8f9f9", - hoverBackground: "#f3f4f4", - borderColor: "#f8f9f9", - hoverBorderColor: "#f3f4f4", - color: "#555f65", - iconColor: "#657077", - }, - }, - - previewTile: { - background: "#ffffff", - borderColor: "#d0d5da", - iconBorderColor: "#eceef1", - }, - - dropzone: { - borderColor: "#eceef1", - linkMainColor: "#316daa", - linkSecondaryColor: "#333333", - exstsColor: "#a3a9ae", - }, - }, - - filesThirdPartyDialog: { - border: "1px solid #d1d1d1", - }, - - connectedClouds: { - color: "#657077", - borderBottom: `1px solid #eceef1`, - borderRight: `1px solid #d0d5da`, - }, - - filesModalDialog: { - border: `1px solid lightgray`, - }, - - filesDragTooltip: { - background: white, - boxShadow: "0px 5px 20px rgba(0, 0, 0, 0.13)", - color: gray, - }, - - filesEmptyContainer: { - linkColor: cyanBlueDarkShade, - privateRoom: { - linkColor: "#116d9d", - }, - }, - - emptyContent: { - header: { - color: "#333333", - }, - - description: { - color: cyanBlueDarkShade, - }, - button: { - colorLink: "#657077", - colorText: "#555F65", - }, - }, - - filesPanels: { - color: black, - - aside: { - backgroundColor: white, - }, - - addGroups: { - iconColor: gray, - arrowColor: darkBlack, - }, - - addUsers: { - iconColor: gray, - arrowColor: darkBlack, - }, - - changeOwner: { - iconColor: gray, - arrowColor: darkBlack, - }, - - embedding: { - textAreaColor: "#AEAEAE", - iconColor: black, - color: gray, - }, - - versionHistory: { - borderTop: `1px solid ${grayLightMid}`, - }, - - content: { - backgroundColor: white, - fill: gray, - disabledFill: grayMid, - }, - - body: { - backgroundColor: grayLightMid, - fill: black, - }, - - footer: { - backgroundColor: white, - borderTop: `1px solid ${grayLightMid}`, - }, - - linkRow: { - backgroundColor: grayLight, - fill: gray, - disabledFill: grayMid, - }, - - selectFolder: { - color: gray, - }, - - selectFile: { - color: gray, - background: grayLight, - borderBottom: `1px solid ${grayLightMid}`, - borderRight: `1px solid ${globalColors.lightGrayishBlue}`, - - buttonsBackground: white, - }, - - filesList: { - color: gray, - backgroundColor: grayLightMid, - borderBottom: `1px solid ${grayLightMid}`, - }, - - modalRow: { - backgroundColor: grayLightMid, - fill: gray, - disabledFill: grayMid, - }, - - sharing: { - color: gray, - fill: gray, - loadingFill: grayMid, - - borderBottom: "1px solid #eceef1", - borderTop: "1px solid #eceef1", - externalLinkBackground: "#f8f9f9", - externalLinkSvg: "#333333", - - internalLinkBorder: "1px dashed #333333", - - itemBorder: "1px dashed #333333", - - itemOwnerColor: "rgb(163, 169, 174)", - - backgroundButtons: "#FFFFFF", - - dropdownColor: black, - - loader: { - foregroundColor: grayLight, - backgroundColor: grayLight, - }, - }, - - upload: { - color: gray, - tooltipColor: lightCumulus, - - shareButton: { - color: gray, - sharedColor: grayMain, - }, - - loadingButton: { - color: blueMain, - background: white, - }, - }, - }, - - menuItem: { - iconWrapper: { - width: "16px", - height: "16px", - header: { - width: "auto", - height: "auto", - }, - }, - separator: { - borderBottom: `1px solid ${grayLightMid} !important`, - margin: "6px 16px 6px 16px !important", - height: "1px !important", - width: "calc(100% - 32px) !important", - }, - text: { - header: { - fontSize: "15px", - lineHeight: "20px", - }, - mobile: { - fontSize: "13px", - lineHeight: "36px", - }, - fontSize: "12px", - lineHeight: "30px", - fontWeight: "600", - margin: "0 0 0 8px", - color: black, - }, - hover: grayLight, - background: "none", - svgFill: black, - header: { - height: "49px", - borderBottom: `1px solid ${grayLightMid}`, - marginBottom: "6px", - }, - height: "30px", - borderBottom: "none", - marginBottom: "0", - padding: "0 12px", - mobile: { - height: "36px", - padding: "0 16px 6px", - }, - }, - newContextMenu: { - background: white, - borderRadius: "6px", - mobileBorderRadius: "6px 6px 0 0", - boxShadow: "0px 12px 40px rgba(4, 15, 27, 0.12)", - padding: "6px 0px", - border: "none", - devices: { - maxHeight: "calc(100vh - 64px)", - tabletWidth: "375px", - mobileWidth: "100vw", - left: 0, - right: 0, - bottom: 0, - margin: "0 auto", - }, - }, - filesSettings: { - color: cyanBlueDarkShade, - - linkColor: black, - }, - - filesBadges: { - iconColor: gray, - hoverIconColor: "#3B72A7", - - color: white, - backgroundColor: white, - - badgeColor: white, - badgeBackgroundColor: gray, - }, - - filesEditingWrapper: { - color: black, - border: `1px solid ${grayMid}`, - borderBottom: `1px solid ${grayLightMid}`, - - tile: { - background: globalColors.lightHover, - itemBackground: white, - itemBorder: grayMid, - itemActiveBorder: blueMain, - }, - - row: { - itemBackground: white, - }, - - fill: gray, - hoverFill: grayMain, - }, - - filesIcons: { - fill: "#3b72a7", - hoverFill: "#3b72a7", - }, - - filesQuickButtons: { - color: gray, - sharedColor: "#3b72a7", - hoverColor: "#3b72a7", - }, - - filesSharedButton: { - color: gray, - sharedColor: grayMain, - }, - - filesPrivateRoom: { - borderBottom: "1px solid #d3d3d3", - linkColor: "#116d9d", - textColor: "#83888D", - }, - - filesVersionHistory: { - row: { - color: gray, - fill: black, - }, - - badge: { - color: white, - stroke: gray, - fill: gray, - defaultFill: white, - badgeFill: orangeMain, - }, - - versionList: { - fill: grayMid, - stroke: grayMid, - color: grayMid, - }, - }, - - login: { - linkColor: link, - textColor: gray, - navBackground: "#F8F9F9", - headerColor: black, - helpButton: "#A3A9AE", - orLineColor: "#ECEEF1", - orTextColor: "#A3A9AE", - titleColor: black, - - register: { - backgroundColor: grayLight, - textColor: link, - }, - - container: { - backgroundColor: grayLightMid, - }, - - captcha: { - border: `1px solid ${lightErrorStatus}`, - color: lightErrorStatus, - }, - }, - - facebookButton: { - background: white, - border: "1px solid #1877f2", - color: "#1877f2", - }, - - peopleSelector: { - textColor: gray, - }, - - peopleWithContent: { - color: gray, - pendingColor: grayMid, - }, - - peopleDialogs: { - modal: { - border: `1px solid ${gray}`, - }, - - deleteUser: { - textColor: red, - }, - - deleteSelf: { - linkColor: link, - }, - - changePassword: { - linkColor: link, - }, - }, - - downloadDialog: { - background: "#f8f9f9", - }, - - client: { - about: { - linkColor: blueMain, - border: "1px solid lightgray", - logoColor: black, - }, - - comingSoon: { - linkColor: cyanBlueDarkShade, - linkIconColor: black, - backgroundColor: white, - foregroundColor: white, - }, - - confirm: { - activateUser: { - textColor: "#116d9d", - textColorError: red, - }, - change: { - titleColor: "#116d9d", - }, - }, - - home: { - logoColor: black, - textColorError: red, - }, - - payments: { - linkColor: link, - delayColor: "#F21C0E", - }, - - paymentsEnterprise: { - background: grayLight, - - buttonBackground: "#edf2f7", - - linkColor: link, - headerColor: orangePressed, - }, - - settings: { - iconFill: black, - trashIcon: "#A3A9AE", - article: { - titleColor: grayMain, - fillIcon: "dimgray", - expanderColor: "dimgray", - }, - - separatorBorder: `1px solid ${grayLightMid}`, - - security: { - arrowFill: black, - descriptionColor: cyanBlueDarkShade, - - admins: { - backgroundColor: black, - backgroundColorWrapper: blueMain, - roleColor: grayMid, - - color: link, - departmentColor: gray, - - tooltipColor: lightCumulus, - - nameColor: black, - pendingNameColor: gray, - - textColor: white, - iconColor: blueMain, - }, - - owner: { - backgroundColor: grayLight, - linkColor: link, - departmentColor: gray, - tooltipColor: lightCumulus, - }, - auditTrail: { - downloadReportDescriptionColor: gray, - }, - }, - - common: { - linkColor: gray, - linkColorHelp: link, - tooltipLinkColor: black, - arrowColor: black, - descriptionColor: grayMain, - brandingDescriptionColor: "#657077", - - whiteLabel: { - borderImg: "1px solid #d1d1d1", - - backgroundColorWhite: white, - backgroundColorLight: "#F8F9F9", - backgroundColorDark: "#282828", - greenBackgroundColor: "#40865C", - blueBackgroundColor: "#446995", - orangeBackgroundColor: "#AA5252", - - dataFontColor: white, - dataFontColorBlack: black, - }, - }, - - integration: { - separatorBorder: `1px solid ${grayMid}`, - linkColor: link, - - sso: { - toggleContentBackground: grayLight, - iconButton: black, - iconButtonDisabled: gray, - border: "1px solid #eceef1", - }, - - smtp: { - requirementColor: "#F21C0E", - }, - }, - - backup: { - rectangleBackgroundColor: "#f8f9f9", - separatorBorder: "1px solid #eceef1", - warningColor: "#f21c0e", - textColor: "#A3A9AE", - backupCheckedListItemBackground: "#F3F4F4", - }, - - payment: { - priceColor: "#555F65", - storageSizeTitle: "#A3A9AE", - - backgroundColor: "#f8f9f9", - linkColor: "#316DAA", - tariffText: "#555F65", - border: "1px solid #f8f9f9", - backgroundBenefitsColor: "#f8f9f9", - rectangleColor: "#f3f4f4", - - priceContainer: { - backgroundText: "#f3f4f4", - background: "transparent", - border: "1px solid #d0d5da", - featureTextColor: "#A3A9AE", - - disableColor: "#A3A9AE", - trackNumberColor: "#A3A9AE", - disablePriceColor: "#A3A9AE", - }, - - benefitsContainer: { - iconsColor: "#657077", - }, - - contactContainer: { - textColor: "#A3A9AE", - linkColor: "#657077", - }, - - warningColor: "#F21C0E", - color: "#F97A0B", - }, - }, - - wizard: { - linkColor: "#116d9d", - generatePasswordColor: "#657077", - }, - }, - - campaignsBanner: { - border: "1px solid #d1d1d1", - color: darkBlack, - - btnColor: white, - btnBackgroundActive: blueMain, - }, - - tileLoader: { - border: `1px solid ${grayMid}`, - - background: white, - }, - - errorContainer: { - background: white, - bodyText: "#A3A9AE", - }, - - editor: { - color: "#555f65", - background: white, - }, - - submenu: { - lineColor: "#eceef1", - backgroundColor: white, - textColor: "#657077", - activeTextColor: "#316DAA", - bottomLineColor: "#316DAA", - }, - - hotkeys: { - key: { - color: grayMain, - }, - }, - - tag: { - color: black, - background: "#f3f4f4", - hoverBackground: "#eceef1", - disabledBackground: "#f8f9f9", - defaultTagColor: black, - newTagBackground: "#eceef1", - }, - - profile: { - main: { - background: "#F8F9F9", - textColor: black, - - descriptionTextColor: "#A3A9AE", - pendingEmailTextColor: "#A3A9AE", - - mobileRowBackground: "#F8F9F9", - }, - themePreview: { - descriptionColor: "#A3A9AE", - border: "1px solid #eceef1", - }, - notifications: { - textDescriptionColor: "#A3A9AE", - }, - }, - - activeSessions: { - color: "#333", - borderColor: "#eceef1", - tickIconColor: "#35AD17", - removeIconColor: "#A3A9AE", - sortHeaderColor: "#d0d5da", - }, - - formWrapper: { - background: white, - boxShadow: "0px 5px 20px rgba(4, 15, 27, 0.07)", - }, - - preparationPortalProgress: { - backgroundColor: "#F3F4F4", - colorPercentSmall: "#333333", - colorPercentBig: "#FFFFFF", - errorTextColor: "#F21C0E", - descriptionTextColor: "#A3A9AE", - }, - - codeInput: { - background: white, - border: "1px solid #d0d5da", - color: black, - lineColor: "#C4C4C4", - disabledBackground: "#F8F9F9", - disabledBorder: "1px solid #ECEEF1", - disabledColor: "#A3A9AE", - }, - - accessRightSelect: { - descriptionColor: gray, - }, - - itemIcon: { - borderColor: grayLightMid, - }, - - invitePage: { - borderColor: "#eceef1", - }, - - portalUnavailable: { - textDescriptionColor: "#A3A9AE", - }, - - deepLink: { - navBackground: "#f8f9f9", - fileTileBackground: "#f3f4f4", - }, - - emailChips: { - borderColor: "#A3A9AE", - dashedBorder: "1px dashed #5299E0", - }, - - dialogs: { - disableText: "#A3A9AE", - }, - - editLink: { - text: { - color: "#A3A9AE", - errorColor: "#F21C0E", - }, - }, - - oformGallery: { - errorView: { - subHeaderTextColor: "#555F65", - }, - submitToGalleryTile: { - bodyText: "#555F65", - closeIconFill: "#657077", - }, - }, - - infoBlock: { - background: "#F8F9F9", - headerColor: "#333", - descriptionColor: "#555F65", - }, - - infoBar: { - background: "#f8f9f9", - title: black, - description: cyanBlueDarkShade, - }, - - roomIcon: { - backgroundArchive: "#A3A9AE", - opacityBackground: "1", - }, - - plugins: { - borderColor: "#D0D5DA", - pluginName: "#5C5C5C", - descriptionColor: "#657077", - }, - - oauth: { - previewDialog: { - border: "1px solid #eceef1", - }, - infoDialog: { - descLinkColor: "#657077", - blockHeaderColor: "#a3a9ae", - separatorColor: "#333333", - }, - list: { - descriptionColor: "#a3a9ae", - }, - clientForm: { - descriptionColor: "#a3a9ae", - headerBorder: "1px solid #d0d5da", - scopeDesc: "#a3a9ae", - }, - }, -}; - -export default Base;