ckanext-d4science_theme/ckanext/d4science_theme/fanstatic/d4science_theme.css

844 lines
17 KiB
CSS

/* =====================================================
The "account masthead" bar across the top of the site
===================================================== */
.account-masthead {
background-color: #ccc;
}
/* The "bubble" containing the number of new notifications. */
.account-masthead .account .notifications a span {
background-color: #9fa0a2;
}
/* The text and icons in the user account info. */
.account-masthead .account ul li a {
color: rgba(255, 255, 255, 0.6);
}
/* The user account info text and icons, when the user's pointer is hovering
over them. */
.account-masthead .account ul li a:hover {
color: rgba(255, 255, 255, 0.7);
/* background-color: black;*/
}
/* ========================================================================
The main masthead bar that contains the site logo, nav links, and search
======================================================================== */
.masthead {
background: #eee url("/bg-noise.png") repeat scroll 0 0;
border-top: 1px solid #555;
padding-top: 5px;
padding-bottom: 15px !important;
border-bottom: 1px solid #999;
/* background-image: url("/bg-pattern.min.svg") !important; */
}
.masthead .navigation .nav-pills li a{
color: #187794;
}
a.logo > img{
margin-bottom: 5px;
}
/* The "navigation pills" in the masthead (the links to Datasets,
Organizations, etc) when the user's pointer hovers over them. */
.masthead .navigation .nav-pills li a:hover {
/* background-color: rgb(48, 48, 48);*/
color: white;
}
/* The "active" navigation pill (for example, when you're on the /dataset page
the "Datasets" link is active). */
.masthead .navigation .nav-pills li.active a {
background-color: #d2d2d5;
}
/* The "box shadow" effect that appears around the search box when it
has the keyboard cursor's focus. */
.masthead input[type="text"]:focus {
-webkit-box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
}
/* ===========================================
The content in the middle of the front page
=========================================== */
/* Remove the "box shadow" effect around various boxes on the page. */
.box {
box-shadow: none;
}
.hero {
background: #FEFEFE repeat scroll 0 0 !important;
}
/* Remove the borders around the "Welcome to CKAN" and "Search Your Data"
boxes. */
.hero .box {
/*border: none;*/
margin-top: 10px !important;
}
/* Change the colors of the "Search Your Data" box. */
.homepage .module-search .module-content {
color: rgb(68, 68, 68);
background-color: white;
}
/* Change the background color of the "Popular Tags" box. */
.homepage .module-search .tags {
background-color: #fcfcfc;
}
.homepage-title{
font-size: 20px;
font-weight: bold;
color: #202020;
margin-bottom: 20px;
}
/* Change the background color of the "Popular Tags" box. */
.homepage .module-search h3{
color: #444;
}
/* Remove some padding. This makes the bottom edges of the "Welcome to CKAN"
and "Search Your Data" boxes line up. */
.module-content:last-child {
/*padding-bottom: 0px;*/
}
.homepage .module-search {
padding: 0px;
}
/* Add a border line between the top and bottom halves of the front page. */
.homepage [role="main"] {
border-bottom: 1px solid #bbb;
padding: 10px 0;
}
.homepage .stats ul li a b{
font-size: 30px !important;
}
[role="main"], .main {
/* background: #f5f6fa url("/bg-pattern.min.svg") repeat; scroll 0 0;*/
/*background: #fafafa url("/bg-pattern.svg") repeat; scroll 0 0;*/
background: #fdfdfd none repeat scroll 0 0;
min-height: 0px !important;
}
.media-item-homepage {
background-color: white;
border-radius: 3px;
float: left;
margin: 15px 0 0 15px;
overflow: hidden;
padding-left: 10px;
padding-right: 10px;
position: relative;
text-align: center;
width: 150px;
}
.media-heading-homepage {
font-size: 16px;
hyphens: auto;
line-height: 1.3;
margin: 5px 0;
}
.media-grid-homepage {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
/* background: #fbfbfb url("../../../base/images/bg.png") repeat scroll 0 0;
border-color: #dddddd;
border-image: none;
border-style: solid;
border-width: 1px 0;*/
list-style: outside none none;
margin: 0 -10px;
padding-bottom: 15px;
}
.media-grid-homepage::before, .media-grid::after {
content: "";
display: table;
line-height: 0;
}
.media-grid-homepage::after {
clear: both;
}
.background-circle{
padding: 10px 10px;
display: inline-block !important;
-webkit-border-radius: 90px;
-moz-border-radius: 90px;
border-radius: 90px;
background-color: #4679b2;
text-decoration: none !important;
}
.color-white{
color: white !important;
}
.badge-circle {
border-radius: 50% 50% 50% 50% !important;
height: 60px;
text-align: center;
vertical-align: middle;
width: 65px;
background-color: #4679b2;
display: inline-block !important;
padding-top: 5px;
text-decoration: none !important;
}
/* ====================================
The footer at the bottom of the site
==================================== */
.site-footer, body {
background-color: #bbb;
font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
}
/* The text in the footer. */
.site-footer,
.site-footer label,
.site-footer small {
color: rgba(255, 255, 255, 0.6);
}
/* The link texts in the footer. */
.site-footer a {
color: rgba(255, 255, 255, 0.6);
}
.site-footer-internal{
min-height: 10px;
padding: 2px 0;
font-size: 12px;
}
.site-footer-internal {
/*background-color: rgba(255, 255, 255, 0.6);*/
text-align: center;
/*display: inline-block;*/
}
.site-footer-internal,
.site-footer-internal label,
.site-footer-internal small {
}
.site-footer-internal a {
display: inline-block;
}
.d4s-hide-text {
background-color: transparent;
border: 0 none;
color: transparent;
font: 0px/0 a;
text-shadow: none;
}
.d4science-footer-logo {
background: url("/gCube_70.png") no-repeat scroll left top rgba(0, 0, 0, 0);
height: 32px;
margin-top: 2px;
text-indent: -900em;
width: 75px;
}
.d4s-ckan-footer-logo {
background: rgba(0, 0, 0, 0) url("/ckan-logo-footer.png") no-repeat scroll left top;
height: 21px;
margin-top: 2px;
text-indent: -900em;
width: 69px;
}
.site-footer-d4science {
font-size: 14px;
color: #f5f5f5;
text-align: center;
height: 25px;
padding-top: 5px;
background-color: #7F7F7F;
}
.site-footer-d4science a {
font-weight: bold;
text-decoration: none;
color: white;
}
/* ====================================
Base elements of the site
==================================== */
div .principaltitle {
color: inherit;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1.2;
margin: 15px 0;
text-rendering: optimizelegibility;
word-break: break-all;
padding-bottom: 10px;
padding-top: 5px;
border-bottom: 1px solid #eee;
}
div .notes {
color: #444444;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.3;
text-align: justify;
word-break: break-all;
}
div .infotitle {
font-size: 15px;
hyphens: auto;
line-height: 1.3;
word-break: break-all;
font-weight: bold;
}
.toolbar .breadcrumb{
font-size: 16px !important;
}
.box{
border: 0px !important;
}
div .sectiontitle{
color: #9F9F9F;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 17px;
font-weight: bold;
margin: 20px 0;
margin-top: 20px;
margin-bottom: 10px;
text-rendering: optimizelegibility;
}
section .well {
background-color: #fdfdfd !important;
border: 1px solid #e3e3e3;
border-radius: 4px;
box-shadow: none !important;
margin-bottom: 20px;
min-height: 20px;
}
.page-heading {
font-size: 18px;
line-height: 1.2;
margin-top: 20px;
margin-bottom: 0px;
}
#dataset-resources .resource-list{
background-color: #fdfdfd !important;
border: 1px solid #e3e3e3;
border-radius: 4px;
box-shadow: none !important;
margin: -1px 0 !important;
}
.wrapper{
border: 1px solid #d0d0d0;
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
border-radius: 3px
}
.home-popular{
padding-top: 25px;
}
.logo-homepage{
max-height: 60px;
}
.statistics-show{
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
color: #444444;
text-decoration: none;
}
.d4s-center-cropped{
text-align: center;
background-color: #eee;
border: 1px solid #ddd;
padding-bottom: 10px;
padding-top: 10px;
}
.tag-list {
font-size: 14px;
}
/* ====================================
Acquired Dataset
==================================== */
.label-acquired {
background-color: #55a1ce;
}
.label-owner {
background-color: #e0051e;
}
.divider {
margin-left:10px;
height:auto;
display:inline-block;
}
/* ====================================
List Dataset
==================================== */
/*LEFT
.show_meatadatatype {
color: white;
display: inline-block; // Inline elements with width and height. TL;DR they make the icon buttons stack from left-to-right instead of top-to-bottom
position: relative; // All 'absolute'ly positioned elements are relative to this one
margin-bottom: 20px;
margin-left: 25px;
}
*/
/*RIGHT*/
.show_meatadatatype {
color: white;
display: inline-block;
float: right;
margin-right: 2px;
margin-top: -20px;
position: relative;
}
/* LEFT
* Position the badge within the relatively positioned button
.button__badge {
background-color: #fa3e3e;
border-radius: 2px;
color: white;
padding: 1px 6px;
font-size: 10px;
position: absolute;
top: 0;
right: 0;
}*/
/* RIGTH */
.button__badge {
color: #808080;
padding: 0px 2px;
font-size: 10px;
top: 0;
right: 0;
font-family: sans-serif, times, georgia;
}
/* ====================================
Modal Popup
==================================== */
/* Popup container - can be anything you want */
/* The Modal (background) */
.d4s_modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 10001; /* Sit on top (NB. At 1000 there is the zoom in/out of the Map Widget)*/
/*padding-top: 100px;*/ /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.d4s_modal-content {
background-color: #fefefe;
/*margin: auto;*/
padding: 20px;
border: 1px solid #888;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
position: absolute;
left: 50%;
margin-left: -225px;
width: 450px;
}
/* The Close Button */
.d4s_close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
padding-left: 20px;
}
.d4s_close:hover,
.d4s_close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.d4s_div_clickable{
cursor: pointer;
}
/*====================================
D4S POPUP
======================================*/
/* Popup container - can be anything you want */
.popupD4SNoArrow {
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* The actual popup */
.popupD4SNoArrow .popuptext {
visibility: hidden;
width: 300px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -150px;
}
/* Toggle this class - hide and show the popup */
.popupD4SNoArrow .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}
/* Popup container - can be anything you want */
.popupD4S {
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* The actual popup */
.popupD4S .popuptext {
visibility: hidden;
width: 300px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -150px;
}
/* Popup arrow */
.popupD4S .popuptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
/* Toggle this class - hide and show the popup */
.popupD4S .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
/*====================================
D4S PACKAGE
======================================*/
.graphic-preview-style {
text-align: center;
border-top: 1px dotted #DDD;
padding-top: 10px;
padding-bottom: 0px;
margin-top: 15px;
}
.graphic-preview-style a{
font-size: 13px;
}
.graphic-preview-style img{
max-width: 100% !important;
height: auto;
}
.graphic-preview-style #graphic-title{
font-size: 13px;
}
.nav-item{
word-wrap:break-word;
}
/*====================================
RESOURCE_LIST RESOURCE_ITEM INTO PACKAGE
======================================*/
.required-access {
font-style: italic;
font-weight: bold;
padding: 5px;
}
/*====================================
LINK TO RESOURCES FROM PACKAGE LIST
======================================*/
.dataset-resources li a {
background-color: #187794;
}
.label[data-format="csw"], .label[data-format*="csw"] {
background-color: #e6b800;
}
/*====================================
CSS APPLIED TO Similar GRSF Records
======================================*/
.my-grsf-table{
word-break: break-all;
}
.my-grsf-table tr td{
width: inherit;
}
.my-grsf-table tr td:first-child{
width: 82px !important;
}
/*====================================
CSS APPLIED in base.html
======================================*/
#ckan-page-loading {
display: none;
position: fixed;
top: 50%;
left: 50%;
margin-top: -130px;
margin-left: -130px;
width: 260px;
height: 260px;
z-index: 100000;
background-image: url("/pageloading.gif");
background-repeat: no-repeat;
background-position: center;
}
/*====================================
CSS APPLIED in search_for_location.html
======================================*/
div#search-for-location {
}
div#search-for-location #dataset-map {
position: relative !important;
top: +0px !important;
}
div#search-for-location #dataset-map-container {
height: 300px;
}
div#search-for-location .module-heading {
display: none;
}
div#search-for-extent{
padding-top: 10px;
}
/*====================================
CSS APPLIED in additional_info.html
======================================*/
.qr-code-table {
width: 100%;
}
.qr-code-table td {
width: 85%;
border: 1px solid #e3e3e3;
}
.qr-code-table td:first-child {
padding-left: 10px;
border-right-style: none;
}
.qr-code-table td:last-child {
width: 105px;
text-align: center;
border-left-style: none;
}
/* MAX-WITH APPIED TO QR_CODE */
.qr-code-table img {
max-width: 100px;
height: auto;
}
/*====================================
CSS APPLIED FROM JSON TO HTML TABLE
======================================*/
.json-to-html-table-column{
word-break: break-all;
}
.json-to-html-table-column tr td{
width: inherit;
}
.json-to-html-table-column tr td:first-child{
font-weight: bold;
color: #5a5a5a;
}
/*====================================
CSS APPLIED into custom_form_fields
======================================*/
.disabled-div{
pointer-events: none;
opacity: 0.5;
}
.disabled-div input[type="text"]{
background: #f1f1f1;
}
/*====================================
CSS APPLIED into extra_table.html
======================================*/
.read-more-state {
display: none;
}
.read-more-target {
opacity: 0;
max-height: 0;
font-size: 0;
transition: .25s ease;
}
.read-more-state:checked ~ .read-more-wrap .read-more-target {
opacity: 1;
font-size: inherit;
max-height: 999em;
content: "";
}
.read-more-state ~ .read-more-trigger:before {
content: 'Show more';
}
.read-more-state:checked ~ .read-more-trigger:before {
content: 'Show less';
}
.read-more-state:checked ~ .read-more-wrap::after {
content: "";
}
.read-more-trigger {
cursor: pointer;
display: inline-block;
padding: 0 .5em;
color: #187794;
font-size: .9em;
line-height: 2;
border: 1px solid #ddd;
border-radius: .25em;
font-weight: normal;
}
.read-more-trigger::after {
content: "";
}
.read-more-wrap {
margin-bottom: 2px;
}
.read-more-wrap::after{
content: " ...";
}