style(Picker): update action button color (#6214)

* style(Picker): update action button color

* test: update snapshot
This commit is contained in:
neverland
2020-05-05 09:34:28 +08:00
committed by GitHub
parent 7effb7cf6c
commit 5b0dff9dae
14 changed files with 157 additions and 212 deletions
+12 -4
View File
@@ -16,21 +16,29 @@
&__confirm {
height: 100%;
padding: @picker-action-padding;
color: @picker-action-text-color;
font-size: @picker-action-font-size;
background-color: transparent;
border: none;
cursor: pointer;
&:active {
background-color: @picker-action-active-color;
opacity: @active-opacity;
}
}
&__confirm {
color: @picker-confirm-action-color;
}
&__cancel {
color: @picker-cancel-action-color;
}
&__title {
max-width: 50%;
font-weight: @font-weight-bold;
font-size: @picker-title-font-size;
line-height: @picker-title-line-height;
text-align: center;
}
@@ -57,9 +65,9 @@
&__frame {
position: absolute;
top: 50%;
left: 0;
right: @padding-md;
left: @padding-md;
z-index: 3;
width: 100%;
transform: translateY(-50%);
pointer-events: none;
}