mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
refactor(base-suffix): disabled arrow color
This commit is contained in:
parent
7f3d1dcf55
commit
9295ae1269
@ -37,13 +37,13 @@ export default c([
|
||||
return [
|
||||
cTB('base-suffix', {
|
||||
raw: `
|
||||
user-select: none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
vertical-align: bottom;
|
||||
`
|
||||
user-select: none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
vertical-align: bottom;
|
||||
`
|
||||
}, [
|
||||
fadeInScaleUpTransition(),
|
||||
cB('base-suffix-spin', {
|
||||
@ -123,7 +123,12 @@ export default c([
|
||||
]),
|
||||
cM('disabled', {
|
||||
cursor: 'not-allowed'
|
||||
})
|
||||
}, [
|
||||
c('&::after', {
|
||||
borderLeft: `1px solid ${pallete.disabledArrowColor}`,
|
||||
borderBottom: `1px solid ${pallete.disabledArrowColor}`
|
||||
})
|
||||
])
|
||||
])
|
||||
]),
|
||||
styleInsideFormItem('warning', props.$local.warning),
|
||||
|
@ -11,7 +11,8 @@ export default create({
|
||||
activeCrossColor: derived.primaryActiveColor,
|
||||
arrowColor: derived.quaternaryTextOverlayColor,
|
||||
hoverArrowColor: derived.primaryHoverColor,
|
||||
activeArrowColor: derived.primaryHoverColor
|
||||
activeArrowColor: derived.primaryHoverColor,
|
||||
disabledArrowColor: derived.quinaryTextOverlayColor
|
||||
},
|
||||
warning: {
|
||||
crossColor: derived.warningColor,
|
||||
@ -19,7 +20,8 @@ export default create({
|
||||
activeCrossColor: derived.warningActiveColor,
|
||||
arrowColor: derived.warningColor,
|
||||
hoverArrowColor: derived.warningHoverColor,
|
||||
activeArrowColor: derived.warningHoverColor
|
||||
activeArrowColor: derived.warningHoverColor,
|
||||
disabledArrowColor: derived.quinaryTextOverlayColor
|
||||
},
|
||||
error: {
|
||||
crossColor: derived.errorColor,
|
||||
@ -27,7 +29,8 @@ export default create({
|
||||
activeCrossColor: derived.errorActiveColor,
|
||||
arrowColor: derived.errorColor,
|
||||
hoverArrowColor: derived.errorHoverColor,
|
||||
activeArrowColor: derived.errorHoverColor
|
||||
activeArrowColor: derived.errorHoverColor,
|
||||
disabledArrowColor: derived.quinaryTextOverlayColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,8 @@ export default create({
|
||||
activeCrossColor: derived.primaryActiveColor,
|
||||
arrowColor: derived.quaternaryTextOverlayColor,
|
||||
hoverArrowColor: derived.primaryHoverColor,
|
||||
activeArrowColor: derived.primaryHoverColor
|
||||
activeArrowColor: derived.primaryHoverColor,
|
||||
disabledArrowColor: derived.quinaryTextColor
|
||||
},
|
||||
warning: {
|
||||
crossColor: derived.warningColor,
|
||||
@ -19,7 +20,8 @@ export default create({
|
||||
activeCrossColor: derived.warningActiveColor,
|
||||
arrowColor: derived.warningColor,
|
||||
hoverArrowColor: derived.warningHoverColor,
|
||||
activeArrowColor: derived.warningHoverColor
|
||||
activeArrowColor: derived.warningHoverColor,
|
||||
disabledArrowColor: derived.quinaryTextColor
|
||||
},
|
||||
error: {
|
||||
crossColor: derived.errorColor,
|
||||
@ -27,7 +29,8 @@ export default create({
|
||||
activeCrossColor: derived.errorActiveColor,
|
||||
arrowColor: derived.errorColor,
|
||||
hoverArrowColor: derived.errorHoverColor,
|
||||
activeArrowColor: derived.errorHoverColor
|
||||
activeArrowColor: derived.errorHoverColor,
|
||||
disabledArrowColor: derived.quinaryTextColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user