Template:Stakeholder count widget/styles.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* Layout stays the same */
/* Dashboard layout */
.stakeholder-count-widget {
.stakeholder-count-widget {
     display: flex;
     display: flex;
Line 7: Line 7:
}
}


/* Count styling stays the same */
/* Make the wiki links look like your buttons */
.stakeholder-count-widget .create-button a {
    display: inline-block;
    width: 220px;
    padding: 8px 0;
    text-align: center;
    border: 1.5px solid #000001;
    border-radius: 2px;
 
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.01em;
 
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.2s ease;
}
 
/* Hover: grey fill, crisp border, slight lift */
.stakeholder-count-widget .create-button a:hover {
    border-color: #000;
    background-color: #f2f2f2;
    transform: translateY(-1px);
}
 
/* Active: pressed look */
.stakeholder-count-widget .create-button a:active {
    transform: translateY(0);
}
 
/* Ensure counts look good */
.stakeholder-count-widget-tile .count {
.stakeholder-count-widget-tile .count {
     display: block;
     display: block;
Line 15: Line 49:
}
}


/* New: subtle "see ___" link */
/* "See ___" link styling */
.stakeholder-count-widget-tile .see-link {
.stakeholder-count-widget-tile .see-link {
     display: block;
     display: block;