| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- .heading-list {
- flex: 0 0 3rem;
- padding: 10px 0.625rem;
- display: grid;
- grid-template-columns: 1.75fr 6fr 3.75fr 2.25fr 5fr 3.25fr;
- text-align: center;
- font-weight: 700;
- box-shadow: var(--shadow-bottom);
- border-bottom: 1px solid var(--border-color);
- }
- .item-list {
- max-width: 100%;
- min-height: 60px;
- display: block;
- background: transparent;
- border-radius: 4px;
- overflow: hidden;
- }
- .item {
- margin: 15px 10px;
- color: rgba(0, 0, 0, 0.87);
- display: grid;
- grid-template-columns: 1.75fr 1px 6fr 1px 3.75fr 1px 2.25fr 1px 5fr 1px 3.25fr;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- cursor: move;
- background: var(--items);
- border-radius: 10px;
- font-size: 1rem;
- font-weight: 600;
- text-align: center;
- box-shadow:
- 0 5px 5px -3px rgba(0, 0, 0, 0.2),
- 0 8px 8px 1px rgba(0, 0, 0, 0.14),
- 0 3px 10px 2px rgba(0, 0, 0, 0.12);
- transition: background-color 0.2s ease-in-out;
- &:hover {
- background: var(--items-hover);
- }
- }
- .spell-box {
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- position: relative;
- }
- .table-content {
- flex: 0 0 calc(100% - 8rem);
- overflow-y: auto;
- }
- .bold {
- font-weight: bold;
- }
- .small {
- font-size: 0.625rem;
- }
- .large {
- font-size: 1.125rem;
- }
- .vertical-line {
- position: relative;
- width: 1px;
- height: 3.5rem;
- }
- .vertical-line::before {
- content: "";
- position: absolute;
- top: 15%;
- bottom: 15%;
- left: 0;
- border-left: 1px solid black;
- }
- .slide-button {
- position: absolute;
- height: 3rem;
- bottom: 1rem;
- right: 10%;
- width: 80%;
- font-size: 1.25rem;
- font-weight: 600;
- border-radius: 10px;
- background: var(--accept);
- transition: width 0.25s ease-in-out;
- box-shadow: var(--shadow);
- &:hover {
- background-color: var(--accept-hover);
- }
- }
- .cancel-button {
- width: 20%;
- background-color: var(--delete);
- &:hover {
- background-color: var(--delete-hover);
- }
- }
- .footer {
- height: 100%;
- width: 100%;
- border-radius: 0 0 10px 10px;
- box-shadow: var(--shadow-top);
- }
- .spellInput {
- position: absolute;
- height: 3rem;
- bottom: 1rem;
- right: 10%;
- width: 80%;
- border-radius: 10px;
- padding-left: 0.875rem;
- box-shadow: var(--shadow);
- }
- .hidden {
- box-shadow: none;
- }
- //// Drag and Drop
- .cdk-drag-preview {
- box-sizing: border-box;
- border-radius: 10px;
- box-shadow:
- 0 5px 5px -3px rgba(0, 0, 0, 0.2),
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
- }
- .cdk-drag-placeholder {
- opacity: 0;
- }
- .cdk-drag-animating {
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
- }
- .item-list.cdk-drop-list-dragging .item:not(.cdk-drag-placeholder) {
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
- }
|