Files
front-Censo/src/components/pregunta2.scss
T
2025-11-12 11:11:08 -06:00

165 lines
2.7 KiB
SCSS

.dashboardContainer {
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
min-height: 100vh;
background-color: #f4f4f4;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
background-color: #ffffff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 10;
h2 {
margin: 0;
font-size: 1.5rem;
color: #0056b3;
}
}
.scanView {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 20px;
width: 100%;
height: 100%;
.container {
width: 100%;
height: 500px;
max-width: 900px;
background: #fff;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
border: 1px solid #ddd;
}
.header {
padding: 16px 20px;
background: #f7f7f7;
border-bottom: 1px solid #e0e0e0;
font-size: 15px;
color: #0056b3;
text-align: center;
font-weight: 500;
display: block;
box-shadow: none;
position: static;
}
.main-content {
display: flex;
min-height: 420px;
}
.tabs {
height: 100%;
width: 230px;
background-color: #fafafa;
display: flex;
flex-direction: column;
}
.tab {
padding: 5%;
cursor: pointer;
color: #555;
transition: all 0.3s ease;
border-left: 4px solid transparent;
font-size: 15px;
font-weight: 500;
}
.tab:hover {
background-color: #f0f0f0;
color: #000;
}
.tab.active {
background-color: #fff;
border-left: 4px solid #0056b3;
border-right: none;
border-bottom: 1px solid #0056b3;
color: #0056b3;
font-weight: 600;
}
.data-table-wrapper {
flex: 1;
padding: 20px;
}
.data-table {
width: 100%;
}
.data-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: #f9f9f9;
transition: background 0.2s ease;
}
.data-row:hover {
background: #f1f1f1;
}
.os-name {
flex: 1;
font-size: 15px;
color: #333;
}
.count-box {
background: #ffffff;
border: 1px solid #0056b3;
padding: 6px 14px;
font-weight: 600;
font-size: 15px;
text-align: center;
min-width: 70px;
}
.total-row {
background: #eaf4ff;
font-weight: bold;
.count-box {
color:#0056b3;
}
}
}
/* ======== RESPONSIVE ======== */
@media (max-width: 700px) {
.scanView .main-content {
flex-direction: column;
}
.scanView .tabs {
flex-direction: row;
width: 100%;
}
.scanView .tab {
flex: 1;
text-align: center;
font-size: 13px;
}
}