.table { display: table; empty-cells: show; } .table-header { display: table-header-group; font-weight: bold; } .table-body { display: table-row-group; } .table-row { display: table-row; } .table-cell { display: table-cell; } .colspanned { position: relative; } .colspanned .table-cell:first-child { position: absolute; left: 0; right: 0; } .dialog { display: inline-block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; } .dialog .container { display: flex; flex-direction: column; height: 100%; text-align: left; white-space: normal; background-color: var(--color-bg-dialog); } .dialog form { margin: auto 0; padding: 1em; overflow: auto; } .titled-input { display: flex; flex-direction: column; row-gap: .7em; } .titled-input > label { display: flex; flex-direction: column; row-gap: .2em; } .dialog-buttons { display: flex; flex-flow: column; justify-content: center; gap: 1em; margin: 1em 0 0 0; } @media screen and (min-width:35em) { .dialog { position: static; } .dialog .container { border: solid 0.1rem #888; } .titled-input { display: table; margin: -.5em 0; border-spacing: 1em .5em; } .titled-input > label { display: table-row; } .titled-input > label > * { display: table-cell; vertical-align: middle; } .titled-input select { width: 100%; } fieldset.titled-input { margin-bottom: 0; } .dialog-buttons { flex-flow: row wrap; } } .dialog-overlay { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.3); align-items: center; justify-content: center; white-space: nowrap; z-index: 100; } .dialog .title { display: flex; align-items: center; justify-content: center; min-height: 2em; background-color: var(--color-bg-title); white-space: nowrap; } .dialog .title-text { display: flex; margin: auto; padding-left: 0.7em; } .dialog .close-btn { display: flex; margin-right: 0.1em; color: var(--color-fg-default); font-size: 1.2rem; font-weight: 700; opacity: 0.5; text-shadow: 0 1px 0 #fff; cursor: pointer; border: 0; background-color: transparent; } .dialog-buttons button { min-width: 7em; } .table-cell.sortable { cursor: pointer; } .sortable.arrows::before, .sortable.arrows::after { content: ''; border-style: solid; border-width: 0.4em 0.3em; border-color: transparent; height: 0; position: absolute; right: 0.6em; width: 0; } .sortable.arrows::before { border-bottom-color: #bbb; top: 0; } .sortable.arrows::after { border-top-color: #bbb; bottom: 0; } .sortable.arrows.sorted-asc::before { border-bottom-color: #777; } .sortable.arrows.sorted-des::after { border-top-color: #777; }