mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-15 04:42:23 +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: 4px 0;
|
|
width: 180px;
|
|
overflow: hidden;
|
|
@include fade-in-scale-up-transition(time-picker);
|
|
.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;
|
|
}
|
|
}
|
|
} |