Files
tangente-bloques-en-transicion/bloques-transicion/assets/css/admin.css
T

278 lines
4.8 KiB
CSS
Raw Normal View History

2026-02-13 13:13:06 +01:00
/**
* Estilos del panel de administración - Bloques en Transición
*/
/* === DASHBOARD === */
.bloques-dashboard {
max-width: 1200px;
}
.bloques-dashboard h1 {
display: flex;
align-items: center;
gap: 10px;
color: #1E6B52;
}
.bloques-dashboard h1 .dashicons {
font-size: 32px;
width: 32px;
height: 32px;
}
.bloques-dashboard-welcome {
background: linear-gradient(135deg, #1E6B52 0%, #2A9D8F 100%);
color: white;
padding: 30px;
border-radius: 8px;
margin: 20px 0;
}
.bloques-dashboard-welcome h2 {
color: white;
margin-top: 0;
}
.bloques-dashboard-welcome p {
font-size: 16px;
opacity: 0.9;
}
/* === STATS CARDS === */
.bloques-dashboard-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 30px 0;
}
.bloques-stat-card {
background: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.bloques-stat-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.bloques-stat-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, #1E6B52 0%, #2A9D8F 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
}
.bloques-stat-icon .dashicons {
font-size: 28px;
width: 28px;
height: 28px;
color: white;
}
.bloques-stat-content {
margin-bottom: 10px;
}
.bloques-stat-number {
display: block;
font-size: 36px;
font-weight: 700;
color: #1E6B52;
line-height: 1;
}
.bloques-stat-label {
display: block;
font-size: 14px;
color: #666;
margin-top: 5px;
}
.bloques-stat-link {
font-size: 13px;
text-decoration: none;
color: #2A9D8F;
}
.bloques-stat-link:hover {
color: #1E6B52;
}
/* === TAXONOMIES === */
.bloques-dashboard-taxonomies {
margin: 30px 0;
}
.bloques-dashboard-taxonomies h3 {
color: #1E6B52;
border-bottom: 2px solid #1E6B52;
padding-bottom: 10px;
}
.bloques-tax-cards {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.bloques-tax-card {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
min-width: 200px;
display: flex;
flex-direction: column;
gap: 10px;
}
.bloques-tax-count {
font-size: 24px;
font-weight: 700;
color: #1E6B52;
}
/* === SHORTCUTS === */
.bloques-dashboard-shortcuts {
margin: 30px 0;
}
.bloques-dashboard-shortcuts h3 {
color: #1E6B52;
border-bottom: 2px solid #1E6B52;
padding-bottom: 10px;
}
.bloques-shortcuts {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.bloques-shortcuts .button-primary {
background: #1E6B52;
border-color: #1E6B52;
display: flex;
align-items: center;
gap: 5px;
}
.bloques-shortcuts .button-primary:hover {
background: #2A9D8F;
border-color: #2A9D8F;
}
/* === SHORTCODES TABLE === */
.bloques-dashboard-shortcodes {
margin: 30px 0;
}
.bloques-dashboard-shortcodes h3 {
color: #1E6B52;
border-bottom: 2px solid #1E6B52;
padding-bottom: 10px;
}
.bloques-dashboard-shortcodes code {
background: #f0f0f0;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
}
/* === SEEDER PAGE === */
.bloques-seeder {
max-width: 800px;
}
.bloques-seeder h1 {
display: flex;
align-items: center;
gap: 10px;
color: #1E6B52;
}
.bloques-seeder-info {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
margin: 20px 0;
}
.bloques-seeder-section {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}
.bloques-seeder-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.bloques-seeder-section h3 {
color: #1E6B52;
margin-top: 0;
}
.bloques-seeder-section ul {
margin: 0;
padding-left: 20px;
}
.bloques-seeder-section li {
margin-bottom: 8px;
}
.bloques-seeder-actions {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
margin: 20px 0;
}
.bloques-seeder-actions .button-hero {
display: flex;
align-items: center;
gap: 10px;
background: #1E6B52;
border-color: #1E6B52;
}
.bloques-seeder-actions .button-hero:hover {
background: #2A9D8F;
border-color: #2A9D8F;
}
.bloques-seeder-status {
margin-top: 30px;
}
.bloques-seeder-status h3 {
color: #1E6B52;
}
/* === ADMIN MENU STYLING === */
#adminmenu .toplevel_page_bloques-dashboard .wp-menu-image:before {
content: "\f512";
}
#adminmenu .toplevel_page_bloques-dashboard.current,
#adminmenu .toplevel_page_bloques-dashboard:hover {
background: #1E6B52;
}