123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- @import "../styles/animation.scss";
- .card {
- background-color: var(--white);
- border-radius: 10px;
- box-shadow: var(--card-shadow);
- padding: 10px;
- }
- .popover {
- position: relative;
- z-index: 2;
- }
- .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;
- animation: slide-in ease 0.6s;
- .list-header {
- display: flex;
- align-items: center;
- .list-icon {
- margin-right: 10px;
- }
- .list-item-title {
- font-size: 14px;
- font-weight: bolder;
- }
- .list-item-sub-title {
- font-size: 12px;
- font-weight: normal;
- }
- }
- }
- .list {
- border: var(--border-in-light);
- border-radius: 10px;
- box-shadow: var(--card-shadow);
- margin-bottom: 20px;
- animation: slide-in ease 0.3s;
- }
- .list .list-item:last-child {
- border: 0;
- }
- .modal-container {
- box-shadow: var(--card-shadow);
- background-color: var(--white);
- border-radius: 12px;
- width: 60vw;
- animation: slide-in ease 0.3s;
- --modal-padding: 20px;
- .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;
- }
- .modal-close-btn {
- cursor: pointer;
- &:hover {
- filter: brightness(1.2);
- }
- }
- }
- .modal-content {
- max-height: 40vh;
- padding: var(--modal-padding);
- overflow: auto;
- }
- .modal-footer {
- padding: var(--modal-padding);
- display: flex;
- justify-content: flex-end;
- border-top: var(--border-in-light);
- box-shadow: var(--shadow);
- .modal-actions {
- display: flex;
- align-items: center;
- .modal-action {
- &:not(:last-child) {
- margin-right: 20px;
- }
- }
- }
- }
- }
- @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;
- }
- }
- }
- .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;
- bottom: 5vh;
- left: 0;
- width: 100vw;
- display: flex;
- justify-content: center;
- pointer-events: none;
- .toast-content {
- max-width: 80vw;
- word-break: break-all;
- font-size: 14px;
- background-color: var(--white);
- box-shadow: var(--card-shadow);
- border: var(--border-in-light);
- color: var(--black);
- padding: 10px 20px;
- border-radius: 50px;
- margin-bottom: 20px;
- display: flex;
- align-items: center;
- pointer-events: all;
- .toast-action {
- padding-left: 20px;
- color: var(--primary);
- opacity: 0.8;
- border: 0;
- background: none;
- cursor: pointer;
- font-family: inherit;
- &:hover {
- opacity: 1;
- }
- }
- }
- }
- .input {
- border: var(--border-in-light);
- border-radius: 10px;
- padding: 10px;
- font-family: inherit;
- background-color: var(--white);
- color: var(--black);
- resize: none;
- min-width: 50px;
- }
- .select-with-icon {
- position: relative;
- max-width: fit-content;
-
- .select-with-icon-select {
- height: 100%;
- border: var(--border-in-light);
- padding: 10px 25px 10px 10px;
- 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;
- }
- }
|