mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
49 lines
1.3 KiB
SCSS
49 lines
1.3 KiB
SCSS
@import "./mixins/mixins.scss";
|
|
@import "./theme/default.scss";
|
|
|
|
@include b(time-picker-selector) {
|
|
background-color: rgba(97, 104, 132, 1);
|
|
box-shadow:0px 2px 20px 0px rgba(0,0,0,0.16);
|
|
font-size: 12px;
|
|
border-radius: 6px;
|
|
margin-top: 4px;
|
|
width: 180px;
|
|
overflow: hidden;
|
|
@include fade-in-scale-up-transition(time-picker, top left);
|
|
.n-time-picker__selection-wrapper {
|
|
position: relative;
|
|
height: 244px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, .07);
|
|
display: flex;
|
|
}
|
|
.n-time-picker__hour, .n-time-picker__minute, .n-time-picker__second {
|
|
width: 60px;
|
|
height: 244px;
|
|
flex-direction: column;
|
|
.n-time-picker__item {
|
|
cursor: pointer;
|
|
height: 35px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color .2s $default-cubic-bezier, color .2s $default-cubic-bezier;
|
|
background: transparent;
|
|
&:hover {
|
|
background-color: rgba(99,226,183,0.12);
|
|
}
|
|
&.n-time-picker__item--active {
|
|
background-color: rgba(99,226,183,0.12);
|
|
color: rgba(99, 226, 183, 1);
|
|
}
|
|
}
|
|
}
|
|
.n-time-picker__actions {
|
|
// margin will boom! I don't know why
|
|
padding: 10px 15px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
.n-button {
|
|
margin: 0;
|
|
}
|
|
}
|
|
} |