Spaces:
Running
Running
File size: 1,070 Bytes
1afc4b6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
/* --------------------Insights Tabs Styling-------------------- */
.insights-tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.insights-tab-button {
flex: 1;
padding: 10px 15px;
background: linear-gradient(135deg, #00796B, #004D40);
border: none;
color: white;
font-size: 1em;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.insights-tab-button:hover:not(:disabled) {
background: linear-gradient(135deg, #005D56, #00332E);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.insights-tab-button.active {
background: linear-gradient(135deg, #004D40, #00332E);
cursor: default;
box-shadow: none;
}
.insights-tab-content .insights-content {
display: none;
}
.insights-tab-content .insights-content.active {
display: block;
}
/* Responsive Adjustments */
@media (max-width: 800px) {
.insights-tabs {
flex-direction: column;
}
.insights-tab-button {
flex: none;
width: 100%;
}
}
|