web/SupportedServices: make the button more minimal

This commit is contained in:
wukko 2024-08-27 19:40:30 +06:00
parent 74a2758413
commit 2068bba4ee
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 30 additions and 4 deletions

View file

@ -101,11 +101,16 @@
flex-direction: row;
font-size: 13px;
font-weight: 500;
background: none;
}
#services-button:not(:focus-visible) {
box-shadow: none;
}
.expand-icon {
height: 21px;
width: 21px;
height: 22px;
width: 22px;
display: flex;
align-items: center;
justify-content: center;
@ -116,9 +121,15 @@
transition: transform 0.2s;
}
#services-button:active .expand-icon {
background: var(--button-elevated-hover);
}
@media (hover: hover) {
#services-button:hover .expand-icon {
background: var(--button-elevated-hover);
}
}
.expand-icon :global(svg) {
height: 18px;
@ -130,7 +141,6 @@
.expanded .expand-icon {
transform: rotate(45deg);
transition: transform 0.2s;
}
#services-container {
@ -152,4 +162,16 @@
#services-disclaimer {
padding: 0;
}
@media screen and (max-width: 535px) {
.expand-icon {
height: 21px;
width: 21px;
}
.expand-icon :global(svg) {
height: 16px;
width: 16px;
}
}
</style>

View file

@ -51,6 +51,10 @@
}
@media screen and (max-width: 535px) {
#cobalt-save-container {
padding-top: calc(var(--padding) / 2);
}
#terms-note {
font-size: 11px;
padding-bottom: 0;