|
| 1 | +.button { |
| 2 | + background: var(--accent-color); |
| 3 | + color: var(--primary-text-color); |
| 4 | + border-radius: 6px; |
| 5 | + padding: 8px 40px; |
| 6 | + transition: all ease-in-out 200ms; |
| 7 | + font-size: 16px; |
| 8 | + border: 1px solid var(--border-color); |
| 9 | + font-weight: 500; |
| 10 | + font-family: 'Poppins', sans-serif; |
| 11 | + position: relative; |
| 12 | + margin: 0; |
| 13 | +} |
| 14 | + |
| 15 | +.button:hover { |
| 16 | + background: var(--hover-accent-color); |
| 17 | +} |
| 18 | + |
| 19 | +.button:disabled { |
| 20 | + background-color: #c0c0c0; |
| 21 | + color: #5f5e5e; |
| 22 | + border-color: #c0c0c0; |
| 23 | +} |
| 24 | + |
| 25 | +.button:disabled:hover { |
| 26 | + background-color: #c0c0c0; |
| 27 | +} |
| 28 | + |
| 29 | +.outlined { |
| 30 | + background-color: var(--secondary-bg-color); |
| 31 | +} |
| 32 | + |
| 33 | +body[data-theme='dark'] .default { |
| 34 | + color: var(--primary-bg-color); |
| 35 | + border-color: var(--primary-bg-color); |
| 36 | +} |
| 37 | + |
| 38 | +.delete { |
| 39 | + background-color: var(--primary-bg-color); |
| 40 | + color: rgb(219, 37, 37); |
| 41 | + font-weight: 700; |
| 42 | + border-color: rgb(219, 37, 37); |
| 43 | +} |
| 44 | + |
| 45 | +.delete:hover { |
| 46 | + background-color: rgb(219, 37, 37); |
| 47 | + color: var(--primary-text-color); |
| 48 | +} |
| 49 | + |
| 50 | +.loading { |
| 51 | + color: transparent !important; |
| 52 | +} |
| 53 | + |
| 54 | +.small { |
| 55 | + padding: 4px 26px; |
| 56 | + background-color: var(--secondary-bg-color); |
| 57 | +} |
| 58 | + |
| 59 | +.xs { |
| 60 | + padding: 4px 10px; |
| 61 | + background-color: var(--secondary-bg-color); |
| 62 | +} |
| 63 | + |
| 64 | +.ml { |
| 65 | + margin-left: 10px; |
| 66 | +} |
| 67 | + |
| 68 | +.small_delete { |
| 69 | + margin-top: 10px; |
| 70 | + background-color: var(--primary-bg-color); |
| 71 | + color: rgb(219, 37, 37); |
| 72 | + font-weight: 700; |
| 73 | + border-color: rgb(219, 37, 37); |
| 74 | +} |
| 75 | + |
| 76 | +.small_delete:hover { |
| 77 | + background-color: rgb(219, 37, 37); |
| 78 | + color: var(--primary-text-color); |
| 79 | +} |
| 80 | + |
| 81 | +.lg { |
| 82 | + padding: 15px 40px; |
| 83 | +} |
| 84 | + |
| 85 | +/**************************** Loading Spinner *************************/ |
| 86 | + |
| 87 | +.loading_spinner_ctn { |
| 88 | + width: 100%; |
| 89 | + height: 100%; |
| 90 | + position: absolute; |
| 91 | + top: 0; |
| 92 | + left: 0; |
| 93 | + display: flex; |
| 94 | + align-items: center; |
| 95 | + justify-content: center; |
| 96 | + border-radius: 6px; |
| 97 | + z-index: 5; |
| 98 | +} |
| 99 | + |
| 100 | +.loading_spinner { |
| 101 | + display: inline-block; |
| 102 | + width: 24px; |
| 103 | + height: 24px; |
| 104 | + border: 3px solid rgba(255, 255, 255, 0.3); |
| 105 | + border-radius: 50%; |
| 106 | + border-top-color: var(--primary-text-color); |
| 107 | + animation: spin 1s ease-in-out infinite; |
| 108 | +} |
| 109 | + |
| 110 | +@keyframes spin { |
| 111 | + to { |
| 112 | + transform: rotate(360deg); |
| 113 | + } |
| 114 | +} |
0 commit comments