polestar-ui-kit
Version:
## Install
90 lines (86 loc) • 2.44 kB
text/less
/**
* Polestar CSS
*/
@import '../../themes/default/index';
@import '../../mixins/index';
@import '../button/index';
@btn-prefix-cls: ~'@{ant-prefix}-btn';
@window-prefix-cls: ~"@{polestar-prefix}-window";
.@{window-prefix-cls} {
position: fixed;
top: 0px;
right: 0px;
left: 0px;
background: @white;
// z-index: 1001;
z-index: 900;
border-radius: @border-radius-base;
box-shadow: 0 0 20px 0 @gray-9;
&-header {
overflow: auto;
cursor: move;
padding: 6px 10px;
background: @modal-header-bg;
border-bottom: @modal-border-width-base @modal-border-style-base @modal-border-color;
border-top: 3px @border-style-base @primary-6;
border-radius: @border-radius-base @border-radius-base 0 0;
height: unset;
.@{ps-button-prefix-cls}-container {
.@{btn-prefix-cls} {
background: unset;
border: unset
}
}
}
&-title {
float: left;
margin: 0;
font-size: @font-size-lg;
line-height: 30px;
font-weight: 500;
color: @heading-color;
.polestar-icon {
margin: 0 5px 0 0;
}
}
&-action-items {
float: right;
}
&-custom-buttons {
display: inline-block;
}
&-content {
padding: 10px;
overflow-y: auto;
}
&-footer {
padding: 10px;
border-bottom: 3px @border-style-base @primary-6;
border-radius: 0 0 @border-radius-base @border-radius-base;
button + button {
margin-left: 8px;
margin-bottom: 0;
}
.@{ps-button-prefix-cls}-container + .@{ps-button-prefix-cls}-container {
margin-left: 8px;
margin-bottom: 0;
}
}
&-footer-action-items {
text-align: right;
}
&-mask {
position: fixed;
top: 0px;
right: 0px;
left: 0px;
bottom: 0px;
background-color: rgba(0, 0, 0, 0.65);
height: 100%;
z-index: 1000;
}
.react-resizable-handle {
// padding: 0 3px 5px 0;
padding-bottom: 5px;
}
}