Spaces:
Paused
Paused
File size: 3,639 Bytes
4279593 85a4a41 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
.showSetting {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.2);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
overflow: hidden;
}
.showSetting-inner {
position: relative;
border-radius: 12px;
padding: 32px;
width: 45%;
max-width: 100%;
background-color: #1e1e1e;
max-height: 80vh; /* Limits height to 80% of the viewport */
overflow-y: auto; /* Enables vertical scrolling when content overflows */
}
/* Dark Themed Scrollbar */
.showSetting-inner::-webkit-scrollbar {
width: 8px; /* Width of the scrollbar */
}
.showSetting-inner::-webkit-scrollbar-track {
background: #2a2a2a; /* Darker track background */
border-radius: 5px;
}
.showSetting-inner::-webkit-scrollbar-thumb {
background: #444; /* Darker scrollbar handle */
border-radius: 5px;
}
.showSetting-inner::-webkit-scrollbar-thumb:hover {
background: #555; /* Lighter on hover */
}
/* Setting inner container */
.showSetting-inner {
position: relative;
scrollbar-color: #444 #2a2a2a; /* Scrollbar thumb and track */
scrollbar-width: thin;
padding-top: 4.5rem;
}
/* Ensure the close button stays fixed */
.showSetting-inner .close-btn {
position: absolute;
top: 16px;
right: 16px;
background: none;
color: white;
padding: 7px;
border-radius: 5px;
cursor: pointer;
}
/* Close button hover effect */
.showSetting-inner .close-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
}
/* Ensure the title stays at the top */
.showSetting-inner .setting-size {
position: absolute;
font-weight: bold;
font-size: 1.5rem;
top: 16px;
left: 16px;
}
/* Form groups styling */
.form-group {
margin-bottom: 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.form-group label {
font-size: large;
margin-bottom: 5px;
}
.sliders-container {
display: flex;
justify-content: space-between;
gap: 30px;
width: 100%;
}
.slider-item {
flex: 1; /* Each slider item will take up equal available space */
width: 100%;
}
/* Container for password input and icon */
.password-wrapper {
position: relative;
width: 100%;
}
/* Style the input to have extra padding on the right so text doesn’t run under the icon */
.password-wrapper input {
width: 100%;
padding-right: 40px; /* Adjust based on the icon size */
}
.password-wrapper .password-toggle {
position: absolute !important;
color: #DDD;
top: 50% !important;
left: 95% !important;
transform: translateY(-50%) !important;
}
/* Slider styling */
.slider-item {
text-align: center;
}
input, select, textarea {
background: #1E1E1E;
color: #DDD;
border: 1px solid #444;
padding: 10px;
border-radius: 5px;
width: 100%;
font-size: 16px;
transition: border 0.3s ease, background 0.3s ease;
}
/* Text for re-applying settings snackbar*/
.re-applying-settings-text {
color: #DDD;
margin-top: -0.5rem;
}
/* Spinner styling */
.re-applying-settings-custom-spinner {
width: 1.2rem !important;
height: 1.2rem !important;
border: 2.5px solid #ececece1 !important; /* Main Spinner */
border-top: 2.5px solid #303030 !important; /* Rotating path */
border-radius: 50% !important;
margin-top: -0.5rem !important;
animation: spin 0.9s linear infinite !important;
}
/* Spinner animation */
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
.showSetting-inner {
width: 90%;
max-height: 75vh; /* Adjust height for smaller screens */
}
} |