mirror of
https://github.com/Gabi-Zar/Images-Scrapper-JS.git
synced 2026-04-17 05:36:06 +02:00
Add settings
This commit is contained in:
127
public/style.css
127
public/style.css
@@ -55,7 +55,7 @@ body {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.content h2 {
|
||||
.sub-title {
|
||||
font-size: 32px;
|
||||
color: var(--text-color);
|
||||
position: absolute;
|
||||
@@ -63,7 +63,8 @@ body {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.content button {
|
||||
.content button,
|
||||
.fake-button {
|
||||
width: 200px;
|
||||
height: 50px;
|
||||
background: var(--transparent-white);
|
||||
@@ -75,9 +76,11 @@ body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.content button:hover {
|
||||
.content button:hover,
|
||||
.fake-button:hover {
|
||||
border-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
@@ -85,6 +88,10 @@ body {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.longer-button {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.content button img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -203,7 +210,6 @@ body {
|
||||
|
||||
.loader-div {
|
||||
display: none;
|
||||
margin-top: 50px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
@@ -213,3 +219,116 @@ body {
|
||||
.loader-div.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.list-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background: var(--transparent-white);
|
||||
border: 1px solid var(--primary-color);
|
||||
border-radius: 12px;
|
||||
z-index: 10;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.list-menu.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.list-menu li {
|
||||
padding: 6px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
border-radius: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.list-menu li:hover {
|
||||
background: var(--secondary-color);
|
||||
}
|
||||
|
||||
.list-menu li.selected {
|
||||
background: var(--secondary-color);
|
||||
}
|
||||
|
||||
.icons {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.setting-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 400px;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.setting-control {
|
||||
width: 400px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.setting-description {
|
||||
grid-column: 1 / span 2;
|
||||
font-size: 14px;
|
||||
color: var(--secondary-color);
|
||||
margin-top: -5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.checkbox-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
padding-left: 36px;
|
||||
color: var(--text-color);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.checkbox-container input {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.checkbox-container .checkmark {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
background: var(--transparent-white);
|
||||
border: 1px solid var(--secondary-color);
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.checkbox-container:hover .checkmark {
|
||||
background: var(--transparent-white);
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.checkbox-container input:checked ~ .checkmark {
|
||||
background: var(--secondary-color);
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.checkbox-container .checkmark:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.checkbox-container input:checked ~ .checkmark:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.checkbox-container .checkmark:after {
|
||||
left: 8px;
|
||||
width: 10px;
|
||||
height: 20px;
|
||||
border: solid var(--text-color);
|
||||
border-width: 0 2px 2px 0;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user