Files
govoplan-committee/webui/src/styles/committee.css
T

281 lines
5.1 KiB
CSS

.committee-page {
height: 100%;
min-height: 0;
overflow: hidden;
}
.committee-search {
flex: 1 1 460px;
margin-right: auto;
}
.committee-alert {
margin: 10px 16px 0;
}
.committee-shell > .action-blocker-hint {
margin: 10px 16px 0;
}
.committee-workspace {
display: grid;
grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 0.9fr) minmax(420px, 2fr);
flex: 1;
min-height: 0;
}
.committee-panel,
.committee-detail {
display: flex;
min-width: 0;
min-height: 0;
flex-direction: column;
border-right: 1px solid var(--border);
}
.committee-detail {
border-right: 0;
}
.committee-panel-heading,
.committee-detail-heading,
.committee-workspace-section > div:first-child {
display: flex;
align-items: center;
gap: 10px;
}
.committee-panel-heading {
min-height: 48px;
padding: 8px 13px;
border-bottom: 1px solid var(--border);
}
.committee-panel-heading h2,
.committee-workspace-section h2 {
margin: 0;
font-size: 0.92rem;
letter-spacing: 0;
}
.committee-panel-heading span {
margin-left: auto;
color: var(--text-soft);
font-size: 0.78rem;
}
.committee-panel-scroll,
.committee-detail-scroll {
flex: 1;
min-height: 0;
}
.committee-record-list {
display: flex;
flex-direction: column;
}
.committee-record-list > button {
display: flex;
min-height: 58px;
flex-direction: column;
gap: 3px;
padding: 9px 13px;
border: 0;
border-bottom: 1px solid var(--border);
background: transparent;
color: inherit;
text-align: left;
cursor: pointer;
}
.committee-record-list > button:hover,
.committee-record-list > button.is-selected,
.committee-agenda-list > div:hover,
.committee-agenda-list > div.is-selected {
background: var(--hover-bg);
}
.committee-record-list span,
.committee-agenda-list small,
.committee-record-rows small,
.committee-detail-heading span {
color: var(--text-soft);
font-size: 0.77rem;
}
.committee-panel-actions {
display: flex;
justify-content: flex-end;
gap: 7px;
padding: 9px;
border-top: 1px solid var(--border);
}
.committee-detail-heading {
min-height: 70px;
padding: 10px 16px;
border-bottom: 1px solid var(--border);
}
.committee-detail-heading > div:first-child {
min-width: 0;
margin-right: auto;
}
.committee-detail-heading h1 {
overflow: hidden;
margin: 3px 0 0;
font-size: 1.08rem;
letter-spacing: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
.committee-workspace-section {
padding: 16px;
border-bottom: 1px solid var(--border);
}
.committee-workspace-section > div:first-child {
min-height: 36px;
margin-bottom: 8px;
}
.committee-workspace-section > div:first-child .btn {
margin-left: auto;
}
.committee-agenda-list,
.committee-record-rows {
border-top: 1px solid var(--border);
}
.committee-agenda-list > div {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
width: 100%;
min-height: 52px;
border-bottom: 1px solid var(--border);
}
.committee-agenda-list > div > button:first-child {
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
align-items: center;
gap: 8px;
min-width: 0;
min-height: 51px;
padding: 6px 8px;
border: 0;
background: transparent;
color: inherit;
text-align: left;
cursor: pointer;
}
.committee-agenda-list > div > button:first-child > span:nth-child(2),
.committee-record-rows > div > span {
display: flex;
min-width: 0;
flex-direction: column;
gap: 2px;
}
.committee-agenda-position {
color: var(--text-soft);
font-size: 0.82rem;
text-align: center;
}
.committee-record-rows > div {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: center;
gap: 10px;
min-height: 52px;
padding: 6px 0;
border-bottom: 1px solid var(--border);
}
.committee-row-actions {
display: flex;
flex-direction: row !important;
align-items: center;
gap: 4px !important;
}
.committee-record-dialog {
width: min(820px, calc(100vw - 32px));
max-height: min(820px, calc(100vh - 32px));
}
.committee-ballot-dialog {
width: min(620px, calc(100vw - 32px));
}
.committee-dialog-note {
margin: 0;
color: var(--text-soft);
line-height: 1.45;
}
.committee-record-form {
display: flex;
flex-direction: column;
gap: 13px;
}
.committee-dialog-help {
display: flex;
justify-content: flex-end;
}
.committee-count-grid {
display: grid;
gap: 10px;
}
.committee-count-grid {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.committee-vote-result-fields {
display: flex;
flex-direction: column;
gap: 10px;
padding-top: 4px;
border-top: 1px solid var(--border);
}
@media (max-width: 1100px) {
.committee-workspace {
grid-template-columns: minmax(190px, 0.7fr) minmax(220px, 0.9fr) minmax(360px, 1.6fr);
}
}
@media (max-width: 760px) {
.committee-workspace {
grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.8fr);
grid-template-rows: repeat(2, minmax(0, 1fr));
}
.committee-body-panel {
grid-column: 1;
grid-row: 1;
border-bottom: 1px solid var(--border);
}
.committee-meeting-panel {
grid-column: 1;
grid-row: 2;
}
.committee-detail {
grid-column: 2;
grid-row: 1 / span 2;
}
}