geoportal-data-viewer-app/src/main/webapp/GeoportalDataViewer.css

904 lines
14 KiB
CSS

/** Add css rules here for your application. */
/** Most GWT widgets already have a style name defined */
body {
padding-top: 0px !important;
}
.gwt-DialogBox {
width: 400px;
}
.dialogVPanel {
margin: 5px;
}
.serverResponseLabelError {
color: red;
}
/** Set ids using widget.getElement().setId("idOfElement") */
#closeButton {
margin: 15px 6px 6px;
}
.ol-popup {
position: absolute;
background-color: white;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
padding: 10px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
min-width: 280px;
max-width: 500px;
visibility: hidden;
padding-top: 20px;
opacity: 0.9;
}
.ol-popup #pop-img {
max-height: 130px;
overflow-y: scroll;
}
.ol-popup img {
width: 100%;
}
.ol-popup:after, .ol-popup:before {
top: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
overflow: hidden;
}
.ol-popup:after {
border-top-color: white;
border-width: 10px;
left: 48px;
margin-left: -10px;
}
.ol-popup:before {
border-top-color: #cccccc;
border-width: 11px;
left: 48px;
margin-left: -11px;
}
.ol-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
font-size: 12px;
}
.ol-popup-closer:after {
content: "✖";
}
.go-top-right {
float: right;
margin-right: 20px;
top: -35px;
position: relative;
font-size: 18px;
}
.go-top-right:visited {
color: #08c !important;
}
.data-click-img {
max-width: 395px;
}
.popup-table div:first-child {
font-weight: bold;
}
.popup-table table {
font-size: 12px;
}
.popup-table table tr:nth-child(2) {
font-weight: bold;
}
.page-view-details {
margin: 10px;
text-rendering: optimizelegibility;
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}
.page-view-details .page-header {
margin-bottom: 22px;
padding-top: 5px;
}
.page-view-details p {
font-size: 14px;
padding: 10px;
color: #333;
text-align: justify;
}
.functionalities-style {
margin-bottom: 10px;
position: sticky;
top: 0;
background-color: #f9f9f9 !important;
opacity: 0.9;
border-radius: 5px;
z-index: 2000;
border: 1px #eee solid;
}
.ol-mouse-position {
top: 8px !important;
right: 60px !important;
position: absolute !important;
border: 2px solid #eee;
color: #eee;
font-size: 12px;
text-align: center;
margin: 1px;
will-change: contents, width;
transition: all .25s;
background: rgba(0, 60, 136, .5);
border-radius: 2px;
padding-left: 2px;
padding-right: 2px;
padding-bottom: 1px;
padding-top: 1px;
}
.preset-location ul a {
margin: 5px !important;
}
.my-control-group .controls {
margin-left: 70px !important;
}
.my-control-group .control-label {
width: 100px !important;
text-align: left !important;
padding-left: 10px !important;
}
.my-control-group .add-on {
width: 20px !important;
}
.my-control-group .gwt-TextBox {
width: 305px !important;
}
.my-control-group .gwt-TextBox:hover {
cursor: text !important;
}
.sharelabel {
font-size: 14px !important;
padding-top: 4px !important;
margin-bottom: 5px;
}
.details-panel {
position: absolute;
top: 0;
right: 0px;
background: #FFF;
width: 725px;
/*margin-top: 30px;*/
overflow-y: auto;
transition: width 0.5s;
z-index: 999;
}
.overlay {
z-index: 1000;
opacity: 0.9;
}
.inner-toolbar {
position: absolute;
z-index: 500;
top: 8px;
left: 50px;
}
.inner-toolbar .btn-group {
margin-left: 2px !important;
}
.inner-toolbar .btn-link {
border: 1px solid #eee;
background-color: #fcfcfc;
text-align: center;
margin: 1px;
}
.inner-toolbar .btn-link:hover, .inner-toolbar .btn-link:focus {
background-color: #f3f3f3 !important;
text-decoration: none;
}
.style-layer {
display: inline-block;
border: 1px solid #ddd;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
/*padding-right: 10px;*/
margin-bottom: 10px;
width: 98%;
}
.style-layer table {
width: 98%;
}
.info-interaction {
padding: 10px;
margin-right: 10px;
}
.info-interaction .gwt-Label {
font-weight: bold;
padding-bottom: 5px;
}
/** NanoGallery2 **/
.nGY2Viewer {
background: rgba(4, 4, 4, .8) !important;
}
.nGY2Viewer .toolbarBackground {
background: rgba(4, 4, 4, .8) !important;
}
.nGY2 .toolbar .ngbt {
font-size: 1em !important;
padding: 12px 12px !important;
}
.nGY2 .toolbar .label .title {
font-size: .9em !important;
margin-bottom: 5px !important
}
.nGY2 .nGY2GThumbnailIcon {
Text-Shadow: none !important;
color: #696969 !important;
}
.nGY2 .nGY2GThumbnailAlbumTitle, .nGY2 .nGY2GThumbnailImageTitle {
Text-Shadow: none !important;
color: #696969 !important;
font-family: arial !important;
}
.table-feature {
border: 1px solid #ddd;
text-align: left;
border-collapse: collapse;
width: 100%;
margin-bottom:10px;
}
.table-feature td {
border: 1px solid #ddd;
text-align: left;
padding: 5px;
}
.table-feature tr:first-child {
font-weight: bold;
}
.dropping-over {
background-color: #fcfcfc;
opacity: 0.4;
}
.droppable:not(:hover), .droppable:not(:active) {
border: 0px !important;
box-shadow: none !important;
}
.dropping-leave {
border: 0px !important;
box-shadow: 0px !important;
}
.droppable:hover, .droppable:active {
padding-left: 15px;
cursor: move; /* fallback if grab cursor is unsupported */
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 8px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: #04AA6D;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 12px;
height: 12px;
border-radius: 50%;
background: #04AA6D;
cursor: pointer;
}
.myOverlayLayerManager{
border-radius: 20px;
}
.layer-panel {
margin-top: 43px;
background-color: white;
opacity: 90%;
padding: 10px;
width: 410px;
z-index: 500;
overflow-y: scroll;
position: absolute;
left: 52px;
}
.dand-layer {
width: 400px;
border: 1px solid #ccc !important;
padding: 5px 0px;
border-radius: 5px;
}
.range-slider {
width: 300px;
}
.range-slider input {
width: 280px;
}
.map-credits {
width: 100%;
max-height: 25px;
}
.map-credits-container {
bottom: 0;
right: 0;
position: absolute;
display: block;
margin: 0px 0px;
padding: 2px 4px;
background: white;
border-radius: 4px 0 0;
}
.map-internal-credits {
width: 100%;
max-height: 25px;
position: relative;
}
.map-internal-credits-container {
bottom: 0;
right: 0;
position: absolute;
display: block;
padding: 2px 4px;
background: white;
border-radius: 4px 0 0;
}
.map-layers-radio {
margin-left: 5px;
}
.map-layers-radio input {
margin-top: 0 !important;
margin-left: 5px;
}
.map-layers-radio label {
margin-left: 5px;
padding-top: 5px;
font-weight: bold;
}
/************ INTERNAL MAP***************/
.internal-map {
height: 280px;
display: inline-block;
margin: 0 auto;
/*float: right;*/
}
.map-style {
width: 100%;
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
}
.base-internal-layers-maplink {
width: 100%;
text-align: left;
left: 45px;
top: 40px;
z-index: 10;
}
.base-internal-layers-maplink .btn-link {
/*border: 1px solid #eee;*/
border: 2px solid rgba(255,255,255,.4);
/*background-color: #fcfcfc;*/
margin: 1px;
}
.base-internal-layers-maplink .btn-link:hover, .inner-toolbar .btn-link:focus {
background-color: #f3f3f3 !important;
text-decoration: none;
}
.loader-gna-app {
z-index: 50;
position: absolute;
top: 50%;
left: 50%;
}
/*******************************************/
.search-facility {
width: 750px;
max-height: 700px;
max-width: 850px;
}
.search-textbox {
padding: 4px 14px !important;
margin-bottom: 0 !important;
margin-left: 2px !important;
margin-right: 2px !important;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
font-size: 13px !important;
font-weight: normal !important;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px !important;
width: 250px !important;
}
.search-field {
margin: 5px;
background-color: #f9f9f9;
padding: 5px;
}
.search-field div {
margin-left: 5px;
}
.search-field select {
margin-left: 8px;
width: 505px !important;
margin-bottom: 0px;
}
.table-results {
table-layout: fixed;
/*width: 600px;*/
}
.table-results td {
padding: 5px;
/* For Firefox */
white-space: pre-wrap;
/*word-break: break-all;*/
/* For Chrome and IE */
word-wrap: break-word;
}
.table-results tr:nth-child(1) {
font-weight: bolder;
color: #333;
font-style: italic
}
.table-results tr {
border-bottom: 1px solid #ccc;
}
.table-results td:nth-child(1) {
}
.highlight-button {
border: 2px solid #08c;
border-radius: 4px;
box-shadow: 2px 2px #08c;
}
.layer-visibility-st {
padding-left: 7px;
padding-right: 5px;
cursor: pointer;
}
.my-html-table {
padding: 5px;
margin-left: 10px;
margin-bottom: 10px;
margin-right: 5px;
font-size: 13px;
max-width: 95%;
word-break: break-word;
}
.my-html-table td {
padding: 5px 0;
}
.my-html-table td:first-child {
color: gray;
padding-right: 15px;
width: 120px;
}
.my-html-table td:last-child {
text-align: justify;
}
.search_result_msg {
font-size: 12px;
color: gray;
font-style: italic;
}
/**
VIS TIMELINE CSS
**/
.vis.timeline .item {
border-color: #acacac;
background-color: #efefef;
box-shadow: 2px 2px 5px rgba(128, 128, 128, 0.3);
}
.vis-item-content table {
font-size: 12px;
background: white;
}
.vis-item-content table code {
color: red;
}
.vis-item-content table span {
color: blue;
font-weight: bold;
font-size: 10px;
background: white;
padding: 3px;
text-align: left !important;
border-radius: 5px;
font-style: italic;
}
.vis-item-content table img {
max-width: 100px;
max-height: 100px;
}
#timeline-data {
width: 800px;
position: absolute;
bottom: 2px;
z-index: 1000;
background: white;
opacity: 0.9;
margin: 0;
left: 50%;
transform: translate(-50%);
margin-bottom: 2px;
}
.timeline-popup {
}
.timeline-popup-header {
padding-top: 5px;
padding-left: 5px;
background-color: rgba(0, 60, 136, 0.7);
color: white;
}
.timeline-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
}
.timeline-popup-closer:after {
content: "⚊";
font-size: 16px;
color: white;
}
.timeline-popup-closer a:active {
content: "⚊";
font-size: 16px;
color: white;
}
.timeline-popup-content {
padding: 5px;
max-height: 400px;
}
.app-notifier {
top: 0;
width: 100%;
text-align: center;
}
.display-date {
color: red;
background-color: #f7f7f9;
padding: 2px;
border-radius: 2px;
}
/******************************
Table Of Contents (TOC)
*******************************/
.toc_container {
background: #f9f9f9 none repeat scroll 0 0;
border: 1px solid #eee;
display: table;
font-size: 13px;
padding: 5px 15px;
min-width: 120px;
}
.toc_title {
font-weight: 700;
}
.toc_list_container {
display: inline-block;
}
.toc_list_container ul {
margin-left: 35px;
}
.toc_list_container ul li {
list-style: outside none none !important;
}
.toc_list_container ul li a:visited {
color: #08c !important;
}
.toc_container_reduce_button {
float: left;
padding: 0px 10px !important;
}
.anchor-target {
top: -35px;
position: relative;
display: block;
visibility: hidden;
}
.general_error {
height: auto;
text-align: center;
font-size: 20px;
margin: 0;
position: absolute;
top: 50%;
width: 100%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.general_error div {
padding: 20px;
}
.general_warning {
text-align: center;
font-size: 20px;
}
.general_warning div {
padding: 20px;
}
/******************************
RESPONSIVE
*******************************/
@media all and (max-width: 2350px) {
#timeline-data {
width: 700px;
left: 550px;
}
}
@media all and (max-width: 2048px) {
#timeline-data {
width: 600px;
left: 310px;
bottom: 50px
}
.details-panel {
width: 600px;
}
}
@media all and (max-width: 1024px) {
#timeline-data {
width: 260px;
left: 140px;
bottom: 50px
}
.details-panel {
width: 400px;
}
.search-facility {
width: 250px;
max-width: 300px;
}
.inner-toolbar {
width: 100px;
}
}
@media all and (max-height: 900px) {
.ol-popup{
min-width: 150px;
max-width: 150px;
max-height: 150px;
overflow-y: scroll;
}
.ol-popup img {
width: 100%;
max-width: 150px;
}
}
/* OPEN COLLECTION UI */
.open-collection-style {
padding-left: 10px;
padding-right: 10px;
}
.open-collection-style > div {
border: 1px solid #ccc !important;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
margin-top: 5px;
}
.layer-style-panel {
margin-left: 25px;
font-size: 13px;
color: gray;
}
.layer-style-panel-table-legend table td {
padding-left: 5px;
}
/* CUSTOM OVERLAY UI */
.overlay-panel-style {
padding-left: 10px;
padding-right: 10px;
max-width: 350px;
}
.overlay-panel-style-description {
border: none !important;
white-space: pre-line;
padding: 10px 0px;
font-style: italic;
}
.overlay-panel-style > div {
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
margin-top: 5px;
}
/* FILTER PANEL UI */
.filter-panel-style {
padding-left: 10px;
padding-right: 10px;
max-width: 350px;
}
.filter-panel-style .control-group {
margin-bottom: 5px !important;
}
.filter-panel-style select {
min-width: 310px;
}
.filter-panel-style-description {
border: none !important;
white-space: pre-line;
padding: 10px 0px;
font-style: italic;
}
.filter-panel-style > div {
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
margin-top: 5px;
}
.filter-panel-style a {
float: right;
}
.filter-panel-style label {
font-weight: bold;
}
/* END CUSTOM OVERLAY UI */
.opacity-09 {
opacity: 0.9;
}