2023-04-02 18:28:07 +00:00
|
|
|
@import "../styles/animation.scss";
|
|
|
|
|
2023-03-11 17:14:07 +00:00
|
|
|
.card {
|
|
|
|
background-color: var(--white);
|
|
|
|
border-radius: 10px;
|
|
|
|
box-shadow: var(--card-shadow);
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover {
|
|
|
|
position: relative;
|
2023-04-08 04:19:14 +00:00
|
|
|
z-index: 2;
|
2023-03-11 17:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-content {
|
|
|
|
position: absolute;
|
|
|
|
animation: slide-in 0.3s ease;
|
|
|
|
right: 0;
|
|
|
|
top: calc(100% + 10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-mask {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-item {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 40px;
|
|
|
|
border-bottom: var(--border-in-light);
|
|
|
|
padding: 10px 20px;
|
2023-03-12 19:06:21 +00:00
|
|
|
animation: slide-in ease 0.6s;
|
2023-04-22 17:27:15 +00:00
|
|
|
|
2023-04-24 16:49:27 +00:00
|
|
|
.list-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.list-icon {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-item-title {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
2023-04-22 17:27:15 +00:00
|
|
|
|
2023-04-24 16:49:27 +00:00
|
|
|
.list-item-sub-title {
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2023-04-22 17:27:15 +00:00
|
|
|
}
|
2023-03-11 17:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.list {
|
|
|
|
border: var(--border-in-light);
|
|
|
|
border-radius: 10px;
|
|
|
|
box-shadow: var(--card-shadow);
|
|
|
|
margin-bottom: 20px;
|
2023-03-12 19:06:21 +00:00
|
|
|
animation: slide-in ease 0.3s;
|
2023-07-05 18:03:31 +00:00
|
|
|
background: var(--white);
|
2023-03-11 17:14:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.list .list-item:last-child {
|
|
|
|
border: 0;
|
|
|
|
}
|
2023-03-15 17:24:03 +00:00
|
|
|
|
|
|
|
.modal-container {
|
|
|
|
box-shadow: var(--card-shadow);
|
|
|
|
background-color: var(--white);
|
|
|
|
border-radius: 12px;
|
2023-07-04 14:08:41 +00:00
|
|
|
width: 80vw;
|
|
|
|
max-width: 900px;
|
|
|
|
min-width: 300px;
|
2023-03-21 14:56:27 +00:00
|
|
|
animation: slide-in ease 0.3s;
|
2023-03-15 17:24:03 +00:00
|
|
|
|
|
|
|
--modal-padding: 20px;
|
|
|
|
|
2023-07-05 17:11:50 +00:00
|
|
|
&-max {
|
|
|
|
width: 95vw;
|
|
|
|
max-width: unset;
|
|
|
|
height: 95vh;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
max-height: unset !important;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-15 17:24:03 +00:00
|
|
|
.modal-header {
|
|
|
|
padding: var(--modal-padding);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
border-bottom: var(--border-in-light);
|
|
|
|
|
|
|
|
.modal-title {
|
|
|
|
font-weight: bolder;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2023-07-05 17:11:50 +00:00
|
|
|
.modal-header-actions {
|
|
|
|
display: flex;
|
2023-03-15 17:24:03 +00:00
|
|
|
|
2023-07-05 17:11:50 +00:00
|
|
|
.modal-header-action {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
filter: brightness(1.2);
|
|
|
|
}
|
2023-03-15 17:24:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-content {
|
2023-03-19 15:13:10 +00:00
|
|
|
max-height: 40vh;
|
2023-03-15 17:24:03 +00:00
|
|
|
padding: var(--modal-padding);
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
padding: var(--modal-padding);
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2023-04-22 17:27:15 +00:00
|
|
|
border-top: var(--border-in-light);
|
|
|
|
box-shadow: var(--shadow);
|
2023-03-15 17:24:03 +00:00
|
|
|
|
|
|
|
.modal-actions {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.modal-action {
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-08 14:49:51 +00:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
.modal-container {
|
|
|
|
width: 100vw;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
max-height: 50vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-21 14:56:27 +00:00
|
|
|
.show {
|
|
|
|
opacity: 1;
|
|
|
|
transition: all ease 0.3s;
|
|
|
|
transform: translateY(0);
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
animation: slide-in ease 0.6s;
|
|
|
|
z-index: 99999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide {
|
|
|
|
opacity: 0;
|
|
|
|
transition: all ease 0.3s;
|
|
|
|
transform: translateY(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toast-container {
|
|
|
|
position: fixed;
|
2023-04-26 18:12:09 +00:00
|
|
|
bottom: 5vh;
|
2023-03-21 14:56:27 +00:00
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2023-04-09 15:41:16 +00:00
|
|
|
pointer-events: none;
|
2023-03-21 14:56:27 +00:00
|
|
|
|
|
|
|
.toast-content {
|
2023-04-02 19:14:53 +00:00
|
|
|
max-width: 80vw;
|
|
|
|
word-break: break-all;
|
2023-03-21 14:56:27 +00:00
|
|
|
font-size: 14px;
|
|
|
|
background-color: var(--white);
|
|
|
|
box-shadow: var(--card-shadow);
|
|
|
|
border: var(--border-in-light);
|
|
|
|
color: var(--black);
|
2023-04-06 16:14:27 +00:00
|
|
|
padding: 10px 20px;
|
2023-03-21 14:56:27 +00:00
|
|
|
border-radius: 50px;
|
|
|
|
margin-bottom: 20px;
|
2023-04-06 16:14:27 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-04-09 15:41:16 +00:00
|
|
|
pointer-events: all;
|
2023-04-06 16:14:27 +00:00
|
|
|
|
|
|
|
.toast-action {
|
|
|
|
padding-left: 20px;
|
|
|
|
color: var(--primary);
|
|
|
|
opacity: 0.8;
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2023-03-21 14:56:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-05 18:05:44 +00:00
|
|
|
.input {
|
|
|
|
border: var(--border-in-light);
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
background-color: var(--white);
|
|
|
|
color: var(--black);
|
|
|
|
resize: none;
|
2023-04-06 10:16:49 +00:00
|
|
|
min-width: 50px;
|
2023-04-05 18:05:44 +00:00
|
|
|
}
|
2023-05-10 07:14:49 +00:00
|
|
|
|
|
|
|
.select-with-icon {
|
|
|
|
position: relative;
|
|
|
|
max-width: fit-content;
|
2023-06-26 04:16:06 +00:00
|
|
|
|
2023-05-10 07:14:49 +00:00
|
|
|
.select-with-icon-select {
|
2023-05-10 14:09:30 +00:00
|
|
|
height: 100%;
|
2023-05-10 07:14:49 +00:00
|
|
|
border: var(--border-in-light);
|
2023-11-09 18:43:30 +00:00
|
|
|
padding: 10px 35px 10px 10px;
|
2023-05-10 07:14:49 +00:00
|
|
|
border-radius: 10px;
|
|
|
|
appearance: none;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--white);
|
|
|
|
color: var(--black);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-with-icon-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
right: 10px;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-06-26 04:16:06 +00:00
|
|
|
}
|
2023-06-28 16:09:56 +00:00
|
|
|
|
|
|
|
.modal-input {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: var(--border-in-light);
|
|
|
|
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.03);
|
|
|
|
background-color: var(--white);
|
|
|
|
color: var(--black);
|
|
|
|
font-family: inherit;
|
2023-06-28 17:40:54 +00:00
|
|
|
padding: 10px;
|
2023-06-28 16:09:56 +00:00
|
|
|
resize: none;
|
|
|
|
outline: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2023-07-05 18:03:31 +00:00
|
|
|
|
|
|
|
.selector {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-07-06 19:15:05 +00:00
|
|
|
z-index: 999;
|
2023-07-05 18:03:31 +00:00
|
|
|
|
|
|
|
&-content {
|
|
|
|
.list {
|
2023-07-09 14:01:04 +00:00
|
|
|
max-height: 90vh;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2023-07-05 18:03:31 +00:00
|
|
|
|
|
|
|
.list-item {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--white);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
filter: brightness(0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
filter: brightness(0.9);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|