/
githubmirror
/
pocketbase
Обзор
Документация
Войти
/
githubmirror
/
pocketbase
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ui/src/css/providers.css
95 строк
2 KB
Gani Georgiev
updated js-sdk and replaced missing handlers
24 май 2026, 16:09
24 май 2026, 16:09
5bea84b
Код
Авторство
О чём код?
.provider-logo { --size: 40px; display: flex; flex-shrink: 0; align-items: center; text-align: center; justify-content: center; width: var(--size); height: var(--size); padding: 8px; line-height: 1; font-size: var(--fontSize); color: var(--surfaceTxtDisabledColor); background: var(--surfaceAlt2Color); border-radius: var(--borderRadius); transition: background var(--animationSpeed); &:empty { &::before { content: "\f452"; font-family: var(--iconFontFamily); } } img { width: 100%; height: auto; } .handle:hover &, .handle:focus-visible & { background: var(--surfaceAlt3Color); } .handle.active &, .handle:active & { transition-duration: var(--activeAnimationSpeed); background: var(--surfaceAlt4Color); } } .provider-card { display: flex; width: 100%; gap: 10px; align-items: center; padding: 5px; min-height: var(--lgBtnHeight); border-radius: var(--borderRadius); border: 1px solid var(--surfaceAlt2Color); .content { flex-grow: 1; word-break: break-word; font-size: var(--fontSize); line-height: 1.1; p { margin: 5px 0; &:first-child { margin-top: 0; } &:last-child { margin-bottom: 0; } } .primary-txt, .secondary-txt { display: block; } .secondary-txt { color: var(--surfaceTxtHintColor); font-size: var(--smFontSize); margin: 2px 0; } } &.handle { outline: 0; cursor: pointer; user-select: none; text-decoration: none; transition: background var(--animationSpeed); &:hover, &:focus-visible { background: var(--surfaceAlt1Color); } } &.error { border-color: var(--dangerColor); background: var(--surfaceDangerColor); } } .btn.add-provider-btn { font-size: var(--fontSize); line-height: var(--lineHeight); height: 100%; }