_dashboard.scss
1 year ago
_elements.scss
1 year ago
_framework.scss
1 year ago
_notice.scss
1 year ago
_theme_builder.scss
1 year ago
_theme_builder.scss
194 lines
| 1 | #spel_theme_builder_modal { |
| 2 | display: none; |
| 3 | position: fixed; |
| 4 | top: 0; |
| 5 | left: 0; |
| 6 | width: 100%; |
| 7 | height: 100%; |
| 8 | background: rgba(0, 0, 0, 0.5); |
| 9 | backdrop-filter: blur(5px); |
| 10 | z-index: 9999; |
| 11 | opacity: 0; |
| 12 | visibility: hidden; |
| 13 | transition: opacity 0.3s ease, visibility 0.3s ease; |
| 14 | |
| 15 | &.show-popup { |
| 16 | opacity: 1; |
| 17 | visibility: visible; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | .spel_theme_builder_wrapper { |
| 22 | &.spel-modal { |
| 23 | &.spel-fade { |
| 24 | transition: opacity 0.15s linear; |
| 25 | } |
| 26 | |
| 27 | .modal-dialog { |
| 28 | width: 500px; |
| 29 | margin: 0 auto; |
| 30 | position: absolute; |
| 31 | top: 50%; |
| 32 | left: 50%; |
| 33 | transform: translate(-50%, -50%); |
| 34 | display: flex; |
| 35 | align-items: center; |
| 36 | transition: all 0.3s ease; |
| 37 | |
| 38 | &.modal-dialog-centered { |
| 39 | display: flex; |
| 40 | align-items: center; |
| 41 | min-height: calc(100% - 1rem); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | form { |
| 46 | width: 100%; |
| 47 | |
| 48 | .modal-content { |
| 49 | position: relative; |
| 50 | background-color: #fff; |
| 51 | border: 1px solid #ccc; |
| 52 | border-radius: 0.3rem; |
| 53 | box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); |
| 54 | |
| 55 | &.show-popup { |
| 56 | opacity: 1; |
| 57 | transform: scale(1); |
| 58 | } |
| 59 | .modal-title { |
| 60 | margin: 0; |
| 61 | line-height: 1.5; |
| 62 | } |
| 63 | |
| 64 | .modal-close { |
| 65 | background: transparent; |
| 66 | border: none; |
| 67 | font-size: 20px; |
| 68 | cursor: pointer; |
| 69 | |
| 70 | &:hover { |
| 71 | color: red; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | .modal-header, |
| 76 | .modal-footer { |
| 77 | display: flex; |
| 78 | justify-content: space-between; |
| 79 | align-items: center; |
| 80 | padding: 15px; |
| 81 | border-bottom: 1px solid #e9ecef; |
| 82 | } |
| 83 | |
| 84 | .modal-footer { |
| 85 | border-top: 1px solid #e9ecef; |
| 86 | } |
| 87 | |
| 88 | .modal-body { |
| 89 | position: relative; |
| 90 | flex: 1 1 auto; |
| 91 | padding: 1rem; |
| 92 | |
| 93 | .input-group { |
| 94 | margin-bottom: 1rem; |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | .form-control { |
| 99 | display: block; |
| 100 | width: 100%; |
| 101 | padding: 0.375rem 0.75rem; |
| 102 | font-size: 1rem; |
| 103 | line-height: 1.5; |
| 104 | color: #495057; |
| 105 | background-color: #fff; |
| 106 | background-clip: padding-box; |
| 107 | border: 1px solid #ced4da; |
| 108 | border-radius: 0.25rem; |
| 109 | transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; |
| 110 | } |
| 111 | |
| 112 | .btn { |
| 113 | &.btn-default { |
| 114 | color: #333; |
| 115 | background-color: #fff; |
| 116 | border-color: #ccc; |
| 117 | |
| 118 | &:hover { |
| 119 | color: #333; |
| 120 | background-color: #e6e6e6; |
| 121 | border-color: #adadad; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | &.btn-primary { |
| 126 | color: #fff; |
| 127 | background-color: #007bff; |
| 128 | border-color: #007bff; |
| 129 | |
| 130 | &:hover { |
| 131 | color: #fff; |
| 132 | background-color: #0056b3; |
| 133 | border-color: #004085; |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | .switch-group { |
| 139 | display: flex; |
| 140 | align-items: center; |
| 141 | |
| 142 | .admin-input-switch { |
| 143 | position: relative; |
| 144 | display: inline-block; |
| 145 | width: 50px; |
| 146 | height: 25px; |
| 147 | |
| 148 | input { |
| 149 | opacity: 0; |
| 150 | width: 0; |
| 151 | height: 0; |
| 152 | } |
| 153 | |
| 154 | .admin-control-label { |
| 155 | position: absolute; |
| 156 | cursor: pointer; |
| 157 | top: 0; |
| 158 | left: 0; |
| 159 | right: 0; |
| 160 | bottom: 0; |
| 161 | background-color: #ccc; |
| 162 | transition: 0.4s; |
| 163 | border-radius: 25px; |
| 164 | |
| 165 | &:before { |
| 166 | position: absolute; |
| 167 | content: ""; |
| 168 | height: 21px; |
| 169 | width: 21px; |
| 170 | left: 2px; |
| 171 | bottom: 2px; |
| 172 | background-color: white; |
| 173 | transition: 0.4s; |
| 174 | border-radius: 50%; |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | input:checked + .admin-control-label { |
| 179 | background-color: #2196F3; |
| 180 | |
| 181 | &:before { |
| 182 | transform: translateX(25px); |
| 183 | } |
| 184 | } |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | } |
| 189 | |
| 190 | } |
| 191 | |
| 192 | |
| 193 | } |
| 194 | } |