Vorlage:Button/styles.css: Unterschied zwischen den Versionen

Aus Ardapedia
Alboin (Diskussion | Beiträge)
KKeine Bearbeitungszusammenfassung
Alboin (Diskussion | Beiträge)
K tg zu ardapedia
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Important is needed because of weird external link rules */
/* Important is needed because of weird external link rules */
.tg-button > a {
.ardapedia-button > a {
     border: 1px solid transparent;
     border: 1px solid transparent;
     border-radius: 4px;
     border-radius: 4px;
Zeile 16: Zeile 16:
}
}


.tg-button > a:hover {
.ardapedia-button > a:hover {
     background-color: var(--background-color-button-quiet--hover) !important;
     background-color: rgba(0, 0, 0, 0.07) !important;
}
}


.tg-button > a:active {
.ardapedia-button > a:active {
     background-color: var(--background-color-button-quiet--active) !important;
     background-color: rgba(0, 0, 0, 0.09) !important;
}
}


.tg-button.tg-button--framed > a {
.ardapedia-button.ardapedia-button--framed > a {
     border-color: rgba(0, 0, 0, 0.11) !important;
     border-color: rgba(0, 0, 0, 0.11) !important;
}
}


.tg-button.tg-button--icon > a {
.ardapedia-button.ardapedia-button--icon > a {
     padding-left: 0.5rem !important;
     padding-left: 0.5rem !important;
     padding-right: 0.5rem !important;
     padding-right: 0.5rem !important;
Zeile 35: Zeile 35:
}
}


.tg-button.tg-button--primary > a {
.ardapedia-button.ardapedia-button--primary > a {
     color: #fff !important;
     color: #fff !important;
     background-color: #507b07 !important;
     background-color: #8E4A25 !important;
}
}


.tg-button.tg-button--primary > a:hover {
.ardapedia-button.ardapedia-button--primary > a:hover {
     background-color: #588418 !important;
     background-color: #8E4A25 !important;
}
}


.tg-button.tg-button--primary > a:active {
.ardapedia-button.ardapedia-button--primary > a:active {
     background-color: #4a710a !important;
     background-color: #8E4A25 !important;
}
}


.tg-button.tg-button--secondary > a {
.ardapedia-button.ardapedia-button--secondary > a {
     border-color: #507b07 !important;
     border-color: #8E4A25 !important;
     color: #507b07 !important;
     color: #8E4A25 !important;
}
}


.tg-button.tg-button--secondary > a:hover {
.ardapedia-button.ardapedia-button--secondary > a:hover {
     border-color: #588418 !important;
     border-color: #8E4A25 !important;
     background-color: #588418 !important;
     background-color: #8E4A25 !important;
     color: #fff !important;
     color: #fff !important;
}
}


.tg-button.tg-button--secondary > a:active {
.ardapedia-button.ardapedia-button--secondary > a:active {
     border-color: #4a710a !important;
     border-color: #8E4A25 !important;
     background-color: #4a710a !important;
     background-color: #8E4A25 !important;
     color: #fff !important;
     color: #fff !important;
}
}

Aktuelle Version vom 6. Dezember 2025, 15:13 Uhr

/* Important is needed because of weird external link rules */
.ardapedia-button > a {
    border: 1px solid transparent;
    border-radius: 4px;
    height: 36px;
    padding: 0 1rem !important;
    color: #1a1f15 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.ardapedia-button > a:hover {
    background-color: rgba(0, 0, 0, 0.07) !important;
}

.ardapedia-button > a:active {
    background-color: rgba(0, 0, 0, 0.09) !important;
}

.ardapedia-button.ardapedia-button--framed > a {
    border-color: rgba(0, 0, 0, 0.11) !important;
}

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

.ardapedia-button.ardapedia-button--primary > a {
    color: #fff !important;
    background-color: #8E4A25 !important;
}

.ardapedia-button.ardapedia-button--primary > a:hover {
    background-color: #8E4A25 !important;
}

.ardapedia-button.ardapedia-button--primary > a:active {
    background-color: #8E4A25 !important;
}

.ardapedia-button.ardapedia-button--secondary > a {
    border-color: #8E4A25 !important;
    color: #8E4A25 !important;
}

.ardapedia-button.ardapedia-button--secondary > a:hover {
    border-color: #8E4A25 !important;
    background-color: #8E4A25 !important;
    color: #fff !important;
}

.ardapedia-button.ardapedia-button--secondary > a:active {
    border-color: #8E4A25 !important;
    background-color: #8E4A25 !important;
    color: #fff !important;
}