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

75 lines
1.4 KiB
SCSS
Raw Normal View History

@use '../../partials/dir';
2021-07-28 22:15:52 +09:00
.pw-model {
--modal-height: 656px;
max-height: var(--modal-height) !important;
height: 100%;
}
.pw {
width: 100%;
height: 100%;
background-color: var(--bg-surface);
display: flex;
&__drawer {
width: var(--popup-window-drawer-width);
background-color: var(--bg-surface-low);
@include dir.side(border, none, 1px solid var(--bg-surface-border));
2021-07-28 22:15:52 +09:00
}
&__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 21:15:33 +09:00
padding-left: var(--sp-tight);
@include dir.side(padding, var(--sp-tight), var(--sp-tight));
2021-07-31 21:15:33 +09:00
& .header__title-wrapper {
@include dir.side(margin, var(--sp-ultra-tight), var(--sp-extra-tight));
2021-07-28 22:15:52 +09:00
}
}
}
.pw-content-selector {
2021-07-31 21:15:33 +09:00
margin: 0 var(--sp-extra-tight);
border-radius: var(--bo-radius);
2021-07-28 22:15:52 +09:00
&--selected {
2021-07-31 23:24:43 +09:00
box-shadow: var(--bs-surface-border);
2021-07-28 22:15:52 +09:00
background-color: var(--bg-surface);
& .context-menu__item > button {
&:hover {
background-color: transparent;
}
}
}
& .context-menu__item > button {
2021-07-31 21:15:33 +09:00
border-radius: var(--bo-radius);
2021-07-28 22:15:52 +09:00
& .ic-raw {
@include dir.side(margin, 0, var(--sp-tight));
2021-07-28 22:15:52 +09:00
}
}
}