@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
256 lines (215 loc) • 3.88 kB
CSS
/* SPDX-License-Identifier: Apache-2.0 */
#panel {
height: 100%;
overflow: auto;
min-width: 25rem;
}
#content {
background: var(--bkg-color);
padding: 1.5rem;
margin: 0;
}
#content .message {
text-align: center;
width: 100%;
}
#content .message * {
margin: 0.25rem;
}
#content div.option {
margin-top: 0.5rem;
display: flex;
justify-content: space-between;
}
h3,
.text-label {
color: var(--text-color);
}
/* Tables */
.scrollable-table-container {
width: 100%;
max-height: 200px;
overflow-y: auto;
display: block;
}
.scrollable-table {
width: 100%;
border-collapse: collapse;
}
.scrollable-table td {
color: var(--text-color);
}
.table-cell {
border: none;
padding: 4px 2px;
}
.sticky-header {
position: sticky;
top: 0;
z-index: 1;
background-color: #f1f1f1;
padding: 5px 2px;
border: none;
}
.cell {
flex: 1 1 100px;
min-width: 100px;
max-width: 100%;
}
input {
background-color: var(--bkg-color);
color: var(--text-color);
border-radius: 3px;
outline: 0;
border: solid 1px var(--text-color);
}
/* Buttons */
.btn-group {
margin: 5px 0;
}
.btn-group-flex {
display: flex;
flex-direction: row;
gap: 0.5rem;
margin: 0.5rem auto;
margin-top: 0.5rem;
}
.btn-group-flex > button,
.btn-group-flex > select,
.btn-group-flex > input {
width: 50%;
}
.btn-group-flex input.gg-checkbox {
width: auto;
flex-grow: 0;
}
.btn-group-flex > label {
width: 50%;
text-align: right;
}
.btn-group-flex label:after {
content: ' :';
}
.btn-group-inline {
display: inline;
gap: 5px;
margin: 10px auto;
}
.btn-group-grid {
display: grid;
gap: 5px;
margin: 10px auto;
}
.reset-btn {
width: 22px;
background-color: var(--bkg-color);
color: var(--text-color);
border: none;
border-radius: 50%;
padding: 0px;
margin: 2px;
display: flex;
justify-content: center;
align-items: center;
}
.reset-btn img {
object-fit: contain;
}
.reset-btn:hover {
background-color: var(--bkg-color-grad1);
cursor: pointer;
}
.action-btn {
color: white;
background-color: none;
border-radius: 50%;
padding: 2px;
margin: 2px;
}
.action-btn:hover {
background-color: var(--bkg-color-grad1);
border-radius: 50%;
cursor: pointer;
}
.dataset-row {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.25rem 0;
border-bottom: 1px solid #eee;
font-size: 0.875rem;
line-height: 1.2;
width: 100%;
box-sizing: border-box;
}
.dataset-row:last-child {
border-bottom: none;
}
.dataset-row > * {
flex-shrink: 0;
}
.dataset-name {
min-width: 6rem;
flex: 1 1 auto;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--text-color);
}
.icon-wrapper {
width: 1.25rem;
height: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
margin-right: 0.5rem;
}
/* Points displayed bar */
.loader-progress {
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.progress-wrapper {
position: relative;
width: 100%;
}
.gg-progress {
appearance: none;
-webkit-appearance: none; /* Chrome, Safari, Opera */
-moz-appearance: none; /* Firefox */
width: 100%;
height: 1.95rem;
background-color: #eee;
}
/* Progress bar background color */
/* WebKit/Blink */
.gg-progress::-webkit-progress-bar {
background-color: #eee;
border-radius: 0em;
}
/* Progress bar foreground color */
/* WebKit/Blink */
.gg-progress::-webkit-progress-value {
background-color: #929292;
border-radius: 0em;
}
/* Firefox */
.gg-progress::-moz-progress-bar {
background-color: #929292;
border-radius: 0em;
}
.progress-label {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.875rem;
}
.progress-icon {
position: absolute;
left: 0.5em;
pointer-events: none;
mix-blend-mode: difference;
}