mirror of
https://git.vectorsigma.ru/public/AdGuardHome.git
synced 2026-08-04 21:59:23 +00:00
Updates #5375 Squashed commit of the following: commit 40666b010697381e11b3a36d9c2ed1c1507f27ed Author: Arseny Lisin <a.lisin@adguard.com> Date: Tue Jan 31 18:34:06 2023 +0200 Review fix commit 44f3d6095bc9b426e8142f8c9d915a1441f3d791 Author: Arseny Lisin <a.lisin@adguard.com> Date: Tue Jan 31 17:02:38 2023 +0200 Clear commit 44274ba54c9ff2bd2caf5fa69bf06c587f8858e5 Author: Arseny Lisin <a.lisin@adguard.com> Date: Tue Jan 31 13:25:01 2023 +0200 Clear commit 8b48c523cbbe3f73160331a9c516388c7965a7a2 Author: Arseny Lisin <a.lisin@adguard.com> Date: Tue Jan 31 12:14:37 2023 +0200 Review fix commit 3b8cd94cdd8d3fc90cdc27053964489414055cc9 Author: Arseny Lisin <a.lisin@adguard.com> Date: Mon Jan 30 16:13:15 2023 +0200 Fix query log popup bg commit 14d4c87164200f7c918bac02c9cc5f1cffb83932 Author: Arseny Lisin <a.lisin@adguard.com> Date: Mon Jan 30 15:03:06 2023 +0200 revert icons commit 98b042726e1510f85c9cf5a4caba2d56885f120b Author: Arseny Lisin <a.lisin@adguard.com> Date: Mon Jan 30 14:45:35 2023 +0200 Fix dark theme bugs
86 lines
1.7 KiB
CSS
86 lines
1.7 KiB
CSS
.service {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding: 10px 15px;
|
|
border: 1px solid var(--card-border-color);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.service__text {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.services {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
.service {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
flex-basis: calc(99.9% * 4/12 - (30px - 30px * 4/12));
|
|
max-width: calc(99.9% * 4/12 - (30px - 30px * 4/12));
|
|
width: calc(99.9% * 4/12 - (30px - 30px * 4/12));
|
|
}
|
|
|
|
.service--global {
|
|
flex-basis: 1;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.service:nth-child(1n) {
|
|
margin-right: 30px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.service:nth-child(3n) {
|
|
margin-right: 0;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
.service__icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
margin-right: 10px;
|
|
color: #495057;
|
|
}
|
|
|
|
.service--global .service__icon {
|
|
display: none;
|
|
}
|
|
|
|
.service__icon--table {
|
|
margin-bottom: 3px;
|
|
color: #9aa0ac;
|
|
}
|
|
|
|
.service__switch {
|
|
margin-left: auto;
|
|
border: 1px solid rgba(150, 150, 150, 0.12);
|
|
}
|
|
|
|
.custom-switch-input:checked ~ .service__switch {
|
|
background-color: #cd201f;
|
|
}
|
|
|
|
.custom-switch-input:focus ~ .service__switch {
|
|
box-shadow: 0 0 0 2px #cd201f3b;
|
|
border-color: #ec4241;
|
|
}
|
|
|
|
.custom-switch-input:disabled ~ .service__switch,
|
|
.custom-switch-input:disabled ~ .service__text,
|
|
.custom-switch-input:disabled ~ .service__icon {
|
|
opacity: 0.5;
|
|
cursor: pointer;
|
|
}
|