cinny/src/app/molecules/popup-window/PopupWindow.scss

91 lines
1.6 KiB
SCSS
Raw Normal View History

2021-07-28 13:15:52 +00:00
.pw-model {
--modal-height: 656px;
max-height: var(--modal-height) !important;
height: 100%;
}
.pw {
2021-07-31 12:25:15 +00:00
--popup-window-drawer-width: 280px;
2021-07-28 13:15:52 +00:00
width: 100%;
height: 100%;
background-color: var(--bg-surface);
display: flex;
&__drawer {
width: var(--popup-window-drawer-width);
background-color: var(--bg-surface-low);
border-right: 1px solid var(--bg-surface-border);
[dir=rtl] & {
border: {
right: none;
left: 1px solid var(--bg-surface-border);
}
}
}
&__content {
flex: 1;
min-width: 0;
}
&__drawer,
&__content {
display: flex;
flex-direction: column;
}
}
.pw__drawer__content,
.pw__content-container {
padding-top: var(--sp-extra-tight);
padding-bottom: var(--sp-extra-loose);
}
.pw__drawer__content__wrapper,
.pw__content__wrapper {
flex: 1;
min-height: 0;
}
.pw__drawer {
& .header {
2021-07-31 12:15:33 +00:00
padding-left: var(--sp-tight);
& .header__title-wrapper {
margin: 0 var(--sp-extra-tight);
2021-07-28 13:15:52 +00:00
}
[dir=rtl] & {
2021-07-31 12:15:33 +00:00
padding-right: var(--sp-tight);
2021-07-28 13:15:52 +00:00
}
}
}
.pw-content-selector {
2021-07-31 12:15:33 +00:00
margin: 0 var(--sp-extra-tight);
border-radius: var(--bo-radius);
2021-07-28 13:15:52 +00:00
&--selected {
2021-07-31 14:24:43 +00:00
box-shadow: var(--bs-surface-border);
2021-07-28 13:15:52 +00:00
background-color: var(--bg-surface);
& .context-menu__item > button {
&:hover {
background-color: transparent;
}
}
}
& .context-menu__item > button {
2021-07-31 12:15:33 +00:00
border-radius: var(--bo-radius);
2021-07-28 13:15:52 +00:00
& .text {
color: var(--tc-surface-normal);
}
& .ic-raw {
margin-right: var(--sp-tight);
2021-07-31 12:15:33 +00:00
[dir=rtl] & {
2021-07-28 13:15:52 +00:00
margin-right: 0;
margin-left: var(--sp-tight);
}
}
}
}