adjustment
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
$headerLineHeight: 24px;
|
||||
$buttonHeight: 28px;
|
||||
|
||||
.popup-mask {
|
||||
.ui-popup-mask {
|
||||
position: fixed;
|
||||
@include inset(0, 0, 0, 0);
|
||||
background-color: rgba(0 0 0 /20%);
|
||||
@ -20,27 +20,29 @@ $buttonHeight: 28px;
|
||||
--loading-border-radius: 10px;
|
||||
}
|
||||
|
||||
&.popup-active .popup-container {
|
||||
&.ui-popup-active .ui-popup-container {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
&.popup-transparent {
|
||||
&.ui-popup-transparent {
|
||||
right: unset;
|
||||
bottom: unset;
|
||||
}
|
||||
|
||||
.popup-container {
|
||||
.ui-popup-container {
|
||||
min-width: 400px;
|
||||
max-width: 800px;
|
||||
background-color: var(--bg-color);
|
||||
border-radius: var(--corner-radius);
|
||||
box-shadow: 0 2px 8px rgba(0 0 0 /11%);
|
||||
box-shadow: 0 2px 8px var(--shadow-color);
|
||||
transition: opacity .12s ease, transform .12s ease;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.popup-header {
|
||||
@include outline();
|
||||
|
||||
.ui-popup-header {
|
||||
flex: 0 0 auto;
|
||||
padding: 10px 12px 6px;
|
||||
border-radius: var(--corner-radius) var(--corner-radius) 0 0;
|
||||
@ -56,7 +58,7 @@ $buttonHeight: 28px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
>.popup-header-title {
|
||||
>.ui-popup-header-title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@ -86,14 +88,14 @@ $buttonHeight: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.popup-body {
|
||||
.ui-popup-body {
|
||||
margin: 6px 10px;
|
||||
flex: 1 1 auto;
|
||||
line-height: $headerLineHeight;
|
||||
position: relative;
|
||||
min-height: 100px;
|
||||
|
||||
>.popup-loading {
|
||||
>.ui-popup-loading {
|
||||
position: absolute;
|
||||
@include inset(0, 0, -46px, 0);
|
||||
visibility: hidden;
|
||||
@ -168,7 +170,7 @@ $buttonHeight: 28px;
|
||||
text-indent: var(--text-indent);
|
||||
}
|
||||
|
||||
+.checkbox-wrapper {
|
||||
+.ui-check-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@ -176,21 +178,21 @@ $buttonHeight: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.popup-footer {
|
||||
.ui-popup-footer {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding: 4px 10px 16px 2px;
|
||||
|
||||
.popup-button {
|
||||
.ui-popup-button {
|
||||
margin-left: 12px;
|
||||
border: none;
|
||||
height: $buttonHeight;
|
||||
// height: $buttonHeight;
|
||||
line-height: $buttonHeight;
|
||||
color: var(--title-color);
|
||||
border-radius: var(--corner-radius);
|
||||
padding: 0 16px;
|
||||
padding: 4px 16px;
|
||||
box-sizing: border-box;
|
||||
min-width: 70px;
|
||||
text-align: center;
|
||||
@ -208,75 +210,75 @@ $buttonHeight: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.popup-border {
|
||||
.ui-popup-border {
|
||||
position: absolute;
|
||||
|
||||
&.popup-border-left,
|
||||
&.popup-border-right {
|
||||
&.ui-popup-border-left,
|
||||
&.ui-popup-border-right {
|
||||
width: 6px;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
cursor: ew-resize;
|
||||
}
|
||||
|
||||
&.popup-border-top,
|
||||
&.popup-border-bottom {
|
||||
&.ui-popup-border-top,
|
||||
&.ui-popup-border-bottom {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
left: 0;
|
||||
cursor: ns-resize;
|
||||
}
|
||||
|
||||
&.popup-border-top-left,
|
||||
&.popup-border-top-right,
|
||||
&.popup-border-bottom-right,
|
||||
&.popup-border-bottom-left {
|
||||
&.ui-popup-border-top-left,
|
||||
&.ui-popup-border-top-right,
|
||||
&.ui-popup-border-bottom-right,
|
||||
&.ui-popup-border-bottom-left {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
&.popup-border-top-left,
|
||||
&.popup-border-bottom-right {
|
||||
&.ui-popup-border-top-left,
|
||||
&.ui-popup-border-bottom-right {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
|
||||
&.popup-border-top-right,
|
||||
&.popup-border-bottom-left {
|
||||
&.ui-popup-border-top-right,
|
||||
&.ui-popup-border-bottom-left {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
|
||||
&.popup-border-left,
|
||||
&.popup-border-top-left,
|
||||
&.popup-border-bottom-left {
|
||||
&.ui-popup-border-left,
|
||||
&.ui-popup-border-top-left,
|
||||
&.ui-popup-border-bottom-left {
|
||||
left: -4px;
|
||||
}
|
||||
|
||||
&.popup-border-right,
|
||||
&.popup-border-top-right,
|
||||
&.popup-border-bottom-right {
|
||||
&.ui-popup-border-right,
|
||||
&.ui-popup-border-top-right,
|
||||
&.ui-popup-border-bottom-right {
|
||||
right: -4px;
|
||||
}
|
||||
|
||||
&.popup-border-top,
|
||||
&.popup-border-top-left,
|
||||
&.popup-border-top-right {
|
||||
&.ui-popup-border-top,
|
||||
&.ui-popup-border-top-left,
|
||||
&.ui-popup-border-top-right {
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
&.popup-border-bottom,
|
||||
&.popup-border-bottom-right,
|
||||
&.popup-border-bottom-left {
|
||||
&.ui-popup-border-bottom,
|
||||
&.ui-popup-border-bottom-right,
|
||||
&.ui-popup-border-bottom-left {
|
||||
bottom: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
&.popup-collapse {
|
||||
&.ui-popup-collapse {
|
||||
min-height: 40px;
|
||||
min-width: 160px;
|
||||
|
||||
.popup-body,
|
||||
.popup-footer,
|
||||
.popup-border {
|
||||
.ui-popup-body,
|
||||
.ui-popup-footer,
|
||||
.ui-popup-border {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user