Upload
This commit is contained in:
153
css/settings.css
Normal file
153
css/settings.css
Normal file
@ -0,0 +1,153 @@
|
||||
/* Konténer, ami összefogja a beállításokat */
|
||||
.settings-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
padding: 10px; /* Belépő margó hozzáadása */
|
||||
}
|
||||
|
||||
|
||||
/* Kártyák stílusa */
|
||||
.settings-card {
|
||||
flex: 1;
|
||||
min-width: 300px;
|
||||
max-width: 48%;
|
||||
margin: 10px;
|
||||
padding: 20px;
|
||||
background-color: var(--color-white);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
/* Telefonos nézet */
|
||||
@media (max-width: 768px) {
|
||||
.settings-card {
|
||||
max-width: 100%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-card h2 {
|
||||
margin-bottom: 20px;
|
||||
color:var(--color-black);
|
||||
}
|
||||
#video-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.settings-card input[type="text"] {
|
||||
width: 100%;
|
||||
color:black;
|
||||
margin-bottom: 15px;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#video-container {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.loop-switch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.loop-switch input[type="checkbox"] {
|
||||
margin-right: 10px;
|
||||
width: 30px;
|
||||
height: 16px;
|
||||
appearance: none;
|
||||
background-color: #ddd;
|
||||
border-radius: 20px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.loop-switch input[type="checkbox"]:checked {
|
||||
background-color: #4CAF50;
|
||||
}
|
||||
|
||||
.loop-switch input[type="checkbox"]::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.loop-switch input[type="checkbox"]:checked::before {
|
||||
transform: translateX(14px);
|
||||
}
|
||||
|
||||
.button-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px; /* A gombok közötti távolság */
|
||||
margin-top: 15px;
|
||||
flex-wrap: wrap; /* Törés kisebb képernyőn */
|
||||
}
|
||||
|
||||
#save-music, #reset-music {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Alapárnyék */
|
||||
width: auto; /* Automatikus szélesség a tartalom alapján */
|
||||
max-width: 200px; /* Maximális szélesség */
|
||||
flex: 1; /* Fele-fele arányban oszlik meg a gomb szélessége */
|
||||
}
|
||||
|
||||
#save-music:hover, #reset-music:hover {
|
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Hover esetén erősebb árnyék */
|
||||
transform: translateY(-4px); /* Enyhe felemelkedés */
|
||||
}
|
||||
|
||||
#save-music:active, #reset-music:active {
|
||||
transform: translateY(0); /* Vissza az eredeti helyzetbe */
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Alapállapot */
|
||||
}
|
||||
|
||||
#save-music {
|
||||
background-color: #007bff;
|
||||
}
|
||||
|
||||
#reset-music {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
#save-music:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
#reset-music:hover {
|
||||
background-color: rgb(171, 0, 0);
|
||||
}
|
||||
|
||||
/* Reszponzív beállítások kisebb képernyőkre */
|
||||
@media (max-width: 768px) {
|
||||
#save-music, #reset-music {
|
||||
max-width: 100%; /* Mobilnézetben a gombok teljes szélességet elfoglalnak */
|
||||
}
|
||||
}
|
||||
|
||||
.mini-label{
|
||||
color:var(--color-black);
|
||||
}
|
||||
.button-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px; /* A gombok közötti távolság */
|
||||
margin-top: 15px;
|
||||
}
|
Reference in New Issue
Block a user