SPACEBROWSER_INTERFACE/interface_072825/master_styles/COMPONENT SCSS/AddFieldsMenu.scss

168 lines
3.2 KiB
SCSS

@import '../../../styles/abstracts/variables.scss';
.add-field-menu {
margin-top: 12px;
.ant-card-body {
padding: 20px 24px;
height: 72px;
}
&__btn {
background-color: $blue;
border-radius: 4rem;
width: 204px;
height: 4rem;
}
&__menu {
border-radius: 16px;
border-right: none;
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
-webkit-box-shadow: $boxShadow2;
-moz-box-shadow: $boxShadow2;
box-shadow: $boxShadow2;
.ant-list-item {
width: 285px;
height: 56px;
padding: 16px 20px;
cursor: pointer;
&:hover {
background-color: rgba(37, 127, 252, 0.05);
}
&:first-child:hover {
border-radius: 16px 16px 0 0;
}
&:last-child:hover {
border-radius: 0 0 16px 16px;
}
}
}
}
.ant-popover-inner {
border-radius: 16px;
}
.ant-popover-inner-content {
padding: 0;
}
.add-field-menu__dropdown {
.ant-dropdown-menu {
padding: 8px 0;
margin: 9px 0;
border-radius: 16px;
background: $grey;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
width: 285px !important;
.ant-dropdown-menu-submenu,
.ant-dropdown-menu-item {
padding: 12px 16px;
font-weight: $semi-bold;
font-size: $medium1;
line-height: 24px;
background: $white;
border-radius: 8px;
margin: 8px;
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
&.active {
background: rgba(9, 11, 15, 0.05);
}
&:hover {
background: rgba(37, 127, 252, 0.05);
}
&.ant-dropdown-menu-submenu-active {
background: rgba(37, 127, 252, 0.05);
}
.ant-dropdown-menu-submenu-expand-icon {
width: 24px;
height: 24px;
display: flex;
top: 12px;
right: 20px;
margin-top: 0;
align-items: center;
.ant-dropdown-menu-submenu-arrow-icon {
width: 24px;
height: 24px;
background: url('#{$icons-url}/dark/arrow-right.svg') no-repeat;
svg {
display: none;
}
}
}
.ant-dropdown-menu-submenu-title {
display: flex;
flex-direction: row;
padding: 0;
font-weight: $semi-bold;
font-size: $medium1;
line-height: 24px;
background: transparent !important;
}
}
}
}
.add-field-menu__sub-menu {
.ant-dropdown-menu {
margin-left: 16px;
margin-top: -28px;
overflow-x: hidden;
border-radius: 16px;
background: $grey;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
padding: 8px 0;
.ant-dropdown-menu-item {
width: 285px;
padding: 12px 16px;
border-bottom: 1px solid $gray5;
font-weight: $semi-bold;
font-size: $medium1;
line-height: 24px;
background: $white;
border-radius: 8px;
margin: 8px;
&.active {
background: rgba(37, 127, 252, 0.05);
}
&.ant-dropdown-menu-submenu-active {
background: rgba(37, 127, 252, 0.05);
}
&:hover {
background: rgba(37, 127, 252, 0.05);
}
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
}
}