| .settings_box { |
| background: var(--bg-color); |
| border-radius: 20px; |
| width: 100%; |
| max-width: 450px; |
| max-height: 900px; |
| display: flex; |
| height: 100vh; |
| flex-direction: column; |
| box-shadow: 0 8px 16px var(--shadow-color); |
| } |
|
|
| .settings-options { |
| flex: 1; |
| background-color: var(--bg-color); |
| margin-top: 1px; |
| overflow-y: auto; |
| } |
|
|
| .section-title { |
| padding: 15px 15px 15px 14px; |
| font-size: 24px; |
| color: var(--text-color); |
| font-weight: bold; |
| } |
|
|
| .settings-option { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding: 14px; |
| border-bottom: 1px solid var(--shadow-color); |
| cursor: pointer; |
| transition: background-color 0.3s ease; |
| } |
|
|
| .settings-option:hover { |
| background-color: var(--menu-bg); |
| } |
|
|
| .settings-option label { |
| color: var(--text-color); |
| font-size: 16px; |
| } |
|
|
| .settings-option input { |
| margin-right: 10px; |
| } |
|
|
| .setting-options .switch { |
| position: relative; |
| display: inline-block; |
| width: 47px; |
| height: 28px; |
| } |
|
|
| .setting-options .switch input { |
| opacity: 0; |
| width: 0; |
| height: 0; |
| } |
|
|
| .setting-options .slider { |
| position: absolute; |
| cursor: pointer; |
| top: 0; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| background-color: var(--switch-slider); |
| transition: 0.4s; |
| border-radius: 34px; |
| } |
|
|
| .setting-options .slider:before { |
| position: absolute; |
| content: ""; |
| height: 20px; |
| width: 20px; |
| border-radius: 50%; |
| left: 4px; |
| bottom: 4px; |
| background-color: var(--switch-slider-before); |
| transition: 0.4s; |
| } |
|
|
| .setting-options input:checked+.slider { |
| background-color: var(--switch-slider-checked); |
| } |
|
|
| .setting-options input:checked+.slider:before { |
| background-color: var(--switch-slider-before); |
| transform: translateX(20px); |
| } |
|
|
| .settings-option select { |
| background-color: var(--bg-color); |
| color: var(--text-color); |
| border: 1px solid var(--highlight-color); |
| padding: 10px; |
| font-size: 16px; |
| border-radius: 5px; |
| outline: none; |
| transition: background-color 0.3s ease, color 0.3s ease; |
| } |
|
|
| .settings-option select:focus { |
| background-color: var(--menu-bg); |
| color: var(--highlight-color); |
| } |
|
|
| .settings-option option { |
| background-color: var(--bg-color); |
| color: var(--text-color); |
| } |
|
|
| .settings-option select:hover { |
| cursor: pointer; |
| border-color: var(--highlight-color); |
| } |
|
|
| .btn { |
| background: var(--btn-bg-danger); |
| color: var(--btn-text-color); |
| padding: 6px 15px; |
| border: none; |
| border-radius: 20px; |
| cursor: pointer; |
| font-size: 14px; |
| transition: background 0.3s ease, transform 0.2s ease; |
| } |
|
|
| .btn:hover { |
| background: var(--btn-bg-danger-hover); |
| transform: scale(1.02); |
| } |