Toggle menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.

Template:Button/styles.css

Template page
/* Important is needed because of weird externa link rules */
.tg-button > a {
    border: 1px solid transparent;
    border-radius: var(--tg-border-radius-small);
    height: 36px;
    padding: 0 1rem !important;
    color: var(--tg-color-emphasized) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
    font-size: var(--tg-font-size-small);
    font-weight: var(--tg-font-weight-medium);
    text-decoration: none;
}

.tg-button > a:hover {
    background-color: var(--background-color-button-quiet--hover) !important;
}

.tg-button > a:active {
    background-color: var(--background-color-button-quiet--active) !important;
}

.tg-button.tg-button--framed > a {
    border-color: var(--tg-border-color-interactive);
}

.tg-button.tg-button--icon > a {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    font-size: 0;
    gap: 0;
}

.tg-button.tg-button--primary > a {
    color: var(--tg-color-inverted-progressive) !important;
    background-color: var(--tg-color-progressive) !important;
}

.tg-button.tg-button--primary > a:hover {
    background-color: var(--tg-color-progressive--hover) !important;
}

.tg-button.tg-button--primary > a:active {
    background-color: var(--tg-color-progressive--active) !important;
}

.tg-button.tg-button--secondary > a {
    border-color: var(--tg-color-progressive) !important;
    color: var(--tg-color-progressive) !important;
}

.tg-button.tg-button--secondary > a:hover {
    border-color: var(--tg-color-progressive--hover) !important;
    background-color: var(--tg-color-progressive--hover) !important;
    color: var(--tg-color-inverted-progressive) !important;
}

.tg-button.tg-button--secondary > a:active {
    border-color: var(--tg-color-progressive--active) !important;
    background-color: var(--tg-color-progressive--active) !important;
    color: var(--tg-color-inverted-progressive) !important;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.