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

View file

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