MediaWiki:Chameleon.css

From EngageWiki
Revision as of 21:17, 3 December 2021 by WikiVisor (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
:root {
	--blue: #205b73;
	--primary: #2f85a8;
}

.bg-blue {
	background: var(--blue);
}
.bg-primary {
	background: var(--primary);
}
.engage-light {
    background: var(--primary);
    color: white;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Fira Sans'; }

h2, .h2, h3, .h3 {
	color: var(--blue);
}

#p-logo {
	overflow: hidden;
	max-height: 125px;
}
#p-logo img {
    max-width: 290px;
}
#mw-navigation {
    background: #fff;
    border-bottom: 3px solid var(--primary);
}
.p-navbar .navbar-nav.right {
	margin-top: 0 !important;
}
.navbar-toggler {
	padding: 8px 14px 7px !important;
}
.navbar-light .navbar-nav .nav-link, 
.p-navbar .navbar-nav .nav-link, 
.p-navbar .navbar-nav .p-navbar .navbar-tool > a, 
.p-navbar .p-navbar .navbar-nav .navbar-tool > a, 
.navbar-light .navbar-nav .p-navbar .navbar-tool > a, 
.p-navbar .navbar-light .navbar-nav .navbar-tool > a {
    color: var(--primary);
}
.dropdown-menu {
	border-radius: 0;
}
#sitename-collapsed {
	display: none;
	font-weight: 600;
    color: #1a3763;
    font-size: 21px;
    height: 38px;
    white-space: nowrap;
    padding-top: 4px;
}
@media screen and ( max-width: 960px ) {
.navbar-tools.navbar-nav:nth-of-type(3) {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 1rem;
}
#sitename-collapsed {
	display: inline-block;
}
}
#p-search {
	position: sticky;
    margin: auto;
    z-index: 900;
    top: 42px;
    width: 100%;
}
#searchform {
	border-bottom: 1px solid #f0f0f0;
}
#searchInput {
	border: none;
	box-shadow: none;
	border-radius: 0;
	background: rgb(249, 249, 249);
	padding-left: 2rem;
}
#searchGoButton {
    border: 0;
    border-radius: 0 !important;
    background: rgb(249, 249, 249);
    border-bottom: 2px solid rgb(249,249,249);
    box-shadow: none;
    color: var(--primary);
    padding: 0.375rem 0.7rem !important;
}
#back-to-top {
	position: fixed;
	bottom: 95px;
	right: 0;
	display: none;
	width: 42px;
	height: 42px;
    background: var(--primary);
    border: 0;
	z-index: 100;
	opacity: 0.65;
	color: #fff;
}
#back-to-top:hover {
	opacity: .95;
}
#back-to-top:focus {
	outline: none !important;
	opacity: .25;
}
:target {
  padding-top: 84px; 
  margin-top: -84px !important;
}
.ns-0 h2,.ns-0 .h2,.ns-0 h3,.ns-0 .h3,.ns-0 h4,.ns-0 .h4 {
  padding-top: 84px; 
  margin-top: -64px !important;
}
ol.references li:target, sup.reference:target {
    background-color: transparent !important;
    border-bottom: 3px solid var(--primary);
}
ol.references {
    color: #444;
}
.MathJax span {
    font-size: 1.2rem;
    color: #800f00;
}
.dropdown-item.active, 
.p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child.active, 
.dropdown-item:active, 
.p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child:active {
    background: var(--primary);
}
@media screen and ( max-width: 640px ) {
	#footer-info div:last-of-type {
		display: none;
	}
}

.pageblocks {
	display: flex;
	flex-direction: row;
	flex-flow: column;
	justify-content: space-between;
	padding: 0;
}
.pageblock {
    flex: 1;
    min-width: 210px;
    border: 1px solid #c6e3ef;
    padding: 2px 2px 1.1rem;
  /*  box-shadow: 0 2px 2px rgba(0,0,0,0.1); */
    border-radius: 0.25rem;
}
.pageblock-header, .pageblock-header {
	padding: .5rem 1rem .3rem;
	border-radius: 2px;
	font-weight: bold;
	font-size: 1.1rem;
	font-family: 'Fira Sans';
}
.pageblock-text {
    padding: 1rem 1rem 0;
}
@media screen and (min-width: 960px) {
	.pageblocks {
		display: block;
		columns: 2;
	}
	.pageblock {
		display: inline-block;
		width: 100%;
	}
}
.mw-ui-button {
	background-color: #e9ecef;
	border: 1px solid #c6e3ef;
}
#toc,
.toc {
	margin: 0.5em 0;
	color: #333;
	-moz-text-shadow: 1px 1px 0px #FFF;
	background-color: #FEFEFE;
	border: 0;
	padding: 0;
	font-size: 1rem;
}
#toc .toctitle,
.toc .toctitle {
	padding: 0.5em 2rem 0 0;
	text-align: left;
}
#toc .toctitle h2,
.toc .toctitle h2,
#toc .toctitle a,
.toc .toctitle a {
	font-size: 1rem;
}
#toc > ul,
.toc > ul {
 border: none;
 padding: 0.5rem;
 margin: 0;
 line-height: 1.5rem;
}
#toc ul ul,
.toc ul ul {
 border-left:1px dotted #cccccc;
 padding-left:0.5em;
 margin-left: .8rem;
 line-height: 1.5rem;
}
#toc li, .toc li {
	margin-bottom: 0.2rem;
}
#toc li a, .toc li a {
	display: table-row;
}
.toctoggle {
 padding-left:0.2em
}
.tocnumber {
	display:none
}
.toclimit-2 #toc .toclevel-2,
.toclimit-3 #toc .toclevel-3,
.toclimit-4 #toc .toclevel-4,
.toclimit-5 #toc .toclevel-5,
.toclimit-6 #toc .toclevel-6,
.toclimit-7 #toc .toclevel-7 {
 display:none
}

.pf-select2-dropdown .select2-results .select2-highlighted {
    background-color: var(--primary);
}
.select2-container-multi .select2-choices {
    border: 1px solid transparent;
    background-color: #fff;
    background-image: none !important;
}
.select2-container {
	display: block;
}
.pf-select2-container {
    margin-bottom: 0 !important;
}
.pfTokens {
    min-width: calc(100% - 20px) !important;
    width: 100% !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
    padding: 6px 8px 9px 16px;
    border: 1px solid #98d1e8;
    border-radius: 0;
    background-image: none;
    background: #e0edff;
}
.dataTable th, .dataTable thead td, .dataTable tr:first-of-type, .smwtable-clean tr:first-of-type, .smwtable-clean tr:first-of-type td, .smw-datatable table.dataTable thead th, .smw-datatable table.dataTable thead td, .smw-datatable table.data.smw-datatable table.compact thead th, .smw-datatable table.data.smw-datatable table.compact thead td {
	border-top: 0 !important;
}
.dataTable th, .dataTable thead td, .smw-datatable table.dataTable thead th, .smw-datatable table.dataTable thead td, .smw-datatable table.data.smw-datatable table.compact thead th, .smw-datatable table.data.smw-datatable table.compact thead td, .smw-datatable table.data.smw-datatable table.no-footer {
    border-bottom: 3px solid #2f85a8;
}
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, 
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    top: 12px;
    left: -15px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 16px;
    background-color: #2f85a8;
}    
ul.pagination * {
	border: none;
}
.page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting {
    padding-right: 30px !important;
}
.filtered {
	display: block;
}
.filtered .filtered-filters {
	min-width: min-content;
}
.filtered .filtered-filters, .filtered .filtered-views {
	margin: 0 !important;
	border: none;
	flex: auto;
}
.filtered-filter-container {
    min-width: 260px;
}
.filtered-filters .filtered-value .filtered-value-option {
    width: 100%;
}
@media screen and ( min-width: 768px ) {
	.filtered {
		display: flex;
		flex-flow: row;
	}
}

/* Tokens options selected */

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2f85a8;
}

/* mw-ui-button */

.mw-ui-button.mw-ui-progressive:focus {
    box-shadow: inset 0 0 0 1px #ffffff, inset 0 0 0 2px #ffffff;
}
.mw-ui-button.mw-ui-progressive:hover {
    background-color: #2f85a8;
    border-color: #2f85a8;
}
.mw-ui-button.mw-ui-progressive {
    background-color: #205c74;
    color: #fff;
    border: 1px solid #205c74;
}
.buttons-html5 {
    height: 36px;
}
.item_wrapper:nth-child(even) {
	background: #e2e2e2;
}
.item-counter {
    font-size: 38px;
    color: #24ace4;
    width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: #e1dfdf;
	text-align: center;
	line-height: 70px;
}
.dew-button-heading a {
    color: #004e66 !important;
}

/* SMW */
#mw-indicator-smw-entity-examiner {
	display: none !important;
}

/* EDU FORM */
.page-Special_Contact_education #firstHeading { display: none !important; }
#contactpage-education { visibility: hidden; }

/* PAPERS */
.page-EngageWiki_Research_repository_Papers #contentSub,
.page-EngageWiki_Research_repository_Papers .subpages { display: none !important; }
.page-EngageWiki_Research_repository .btn-group a,
.page-EngageWiki_Research_repository .btn-group a:hover,
.page-EngageWiki_Research_repository_Papers .btn-group a,
.page-EngageWiki_Research_repository_Papers .btn-group a:hover { text-decoration: none !important; }
.page-EngageWiki_Research_repository .btn-primary,
.page-EngageWiki_Research_repository_Papers .btn-primary { background-color: var(--primary); }

/* IMAP CALLS */
.imap-call {
	padding: 0.25rem .5rem;
	margin: .125rem;
	border-radius: 3px;
	display: inline-block;
	background-color: #f7f7f7;
}
.imap-call.active {
	background-color: #2f85a8;
	color: white
}
.imap-call:hover {
	background-image: linear-gradient(rgba(0, 0, 0, 0.4) 0 0);
}

This project has received funding from the SESAR Joint Undertaking under the European Union’s Horizon 2020 research and innovation programme under grant agreement No 783287.