Difference between revisions of "MediaWiki:Common.css"
From Diversity Workbench
(.booktable & .booktabledotted) |
(.template_concept-scheme_form-create-or-edit { display:none; }) |
||
Line 571: | Line 571: | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
+ | |||
+ | .template_concept-scheme_form-create-or-edit { display:none; } |
Latest revision as of 23:13, 24 October 2016
/* CSS placed here will be applied to all skins */
/* Prevent floating boxes from overlapping any category listings,
file histories, edit previews, and edit [Show changes] views */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
clear: both;
}
#wikiPreview {
overflow-y:auto;
max-height:400px;
border:1px dotted gray;
padding:4px;
}
/* icon talk */
#ca-talk a {
background-attachment: scroll;
background-color: transparent;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAdElEQVR4Xn3QTQqAIBAFYC8fRNeKAjdlxxD/wf3UTGoo2sBbyPuQUbbtK8zLNAz2zzCG4GcQ11BKWUUp1YVYULTWlBDCEBIwxoC1dggxBJxz/R3FJfIho+rVnPMXok6woFMc4L2HGCOhAtt/a1GB6RYqRrkBKEFJ6m9q5RIAAAAASUVORK5CYII=");
background-position: 95% 65%;
background-repeat: no-repeat;
padding-right: 20px !important;
text-transform: none;
}
#ca-talk.new a {
background-image:none;
padding-right:0px !important;
}
/* For template documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 5px;
}
/* Start jQuery plugin iviewer */
.iviewer_zoom_in, .iviewer_zoom_out, .iviewer_zoom_zero, .iviewer_zoom_fit{
background-attachment: scroll;
background-color: transparent;
background-position: 0% 0%;
background-repeat: no-repeat;
position:absolute;
top:0px;
cursor:pointer;
height: 15px;
width: 15px;
}
.iviewer_zoom_in {
/* http://www.species-id.net/o/media/f/f7/Iviewer.zoom_in.gif */
background-image: url('data:image/gif;base64,R0lGODlhDwAPAKECAAAAAMzMzP///////yH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAsAAAAAA8ADwAAAiCUj6nLAcGQg9HMal8LfHZqAOJIAtL3fI2GXS1budiMFQA7');
left: 4px;
}
.iviewer_zoom_out {
/* http://www.species-id.net/o/media/5/5c/Iviewer.zoom_out.gif */
background-image: url('data:image/gif;base64,R0lGODlhDwAPAKEDAAAAAMzMzP39/f///yH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAsAAAAAA8ADwAAAhecj6nLzeKiTKHaGxDYvAOEhdNIlqZZAAA7');
left: 24px;
}
.iviewer_zoom_zero {
/* http://www.species-id.net/o/media/d/db/Iviewer.zoom_zero.gif */
background-image: url('data:image/gif;base64,R0lGODlhDwAPAOMIAAAAABgYGCUlJUVFRbm5udLS0uPj4/39/f///////////////////////////////yH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAsAAAAAA8ADwAABCUQyUmrvTjjg0243kQIgDWW0lCgCKqyEkzJ8kRj95W3s+b/QEQEADs=');
left: 44px;
}
.iviewer_zoom_fit {
/* http://www.species-id.net/o/media/5/5d/Iviewer.zoom_fit.gif */
background-image: url('data:image/gif;base64,R0lGODlhDwAPAKECAAAAALKysv///////yH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAsAAAAAA8ADwAAAjCUjynALLEaMPOEi2p9HNKPeIfGGSK0iaVpXe7rWuH8nTJJj2C34iamizQ4ko3iWAAAOw==');
left: 64px;
}
/* remain this order */
.iviewer_common {
position: absolute;
top: 2px;
border: 1px solid #000000;
z-index: 5000;
}
.iviewer_zoom_status {
cursor:auto;
background-color: #ffffff;
color: #000000;
font-family: "Sans";
font-size: 1em;
font-style: normal;
font-variant: normal;
font-weight: 400;
left: 84px;
line-height: 15px;
text-align: center;
width: 40px;
}
/* End jQuery plugin iviewer */
/* Start jQuery popup image */
#modal-fg img:hover{
cursor:move;
}
#modal-fg div img:hover, #modal-fg div img:active{
cursor:auto;
}
#modal-fg {
font-size:0.8em;
}
/* End jQuery popup image */
.border-round { /* optional */
-moz-border-radius:0.5em;
-webkit-border-radius:0.5em;
-o-border-radius:0.5em;
-khtml-border-radius:0.5em;
border-radius:0.5em;
}
/* for toggle position in Template:Hidden */
div.mw-collapsible.force-toggle-float-left span.mw-collapsible-toggle {
clear:right; float:left;margin-right:0.2em;
}
/* wrap long lines syntaxhighlight */
pre.javascript.source-javascript
, pre.css.source-css {
white-space: pre-wrap;
}
/* inline definitions */
.definition-inline dt { float:left; padding-right:0.5em; margin-bottom: 0px}
.definition-inline dd { margin-bottom: 0px}
/* use full sized images but set the width in the outer wrapped <div> */
.restrict-img-to-div-width * img {
height: auto;
width: 100% !important;
}
/*slideshow*/
.slide-actions { text-align:center; }
.slide-prev {
margin-right:30px;
width:24px;
height:24px;
display:inline-block;
background: url( //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Gtk-media-rewind-ltr.svg/24px-Gtk-media-rewind-ltr.svg.png ) left no-repeat;
}
.slide-next {
margin-left:30px;
width:24px;
height:24px;
display:inline-block;
background: url( //upload.wikimedia.org/wikipedia/commons/thumb/2/24/Gtk-media-forward-ltr.svg/24px-Gtk-media-forward-ltr.svg.png ) right no-repeat;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #aaa; /* Default "notice" gray */
background: #f9f9f9;
}
table.ombox-notice {
border: 1px solid #aaa; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ombox-delete {
border: 2px solid #b22222; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #f4c430; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #bba; /* Gray-gold */
}
/* ombox & Co end */
/*----------------------------------------------------------------------------------------------*/
/* FORM-STYLING - TO BE REVISED */
/*----------------------------------------------------------------------------------------------*/
/* OLD FORM STYLING, TO BE REVISED: */
/* custom class formtable */
table.formtable {
border-collapse:collapse;
}
table.formtable td{
vertical-align:top;
text-align:left;
padding:2px;
}
table.formtable th{
vertical-align:top;
font-weight: bold;
padding:2px;
}
table.formtable textarea.textarea-default
, textarea.textarea-fullwidth {
width:100%;
}
table.formtable textarea {
background-color: #FFFFFF!important;
}
/* inputs, textarea:focus */
table.formtable select.mandatoryField:focus
, table.formtable input.mandatoryField:focus
, table.formtable textarea.mandatoryField:focus{
border:2px inset #fcaf3e;
margin:0px;
}
table.formtable select:focus
, table.formtable input:focus
, table.formtable textarea:focus{
border:2px inset #d3d7cf; /* light gray*/
margin:0px;
}
/* inputs, textarea */
table.formtable select.mandatoryField
, table.formtable input.mandatoryField{
border:1px solid transparent;
border-bottom:1px solid #fcaf3e;
margin:1px;
}
table.formtable textarea.mandatoryField{
border-top: 1px solid #fcaf3e;
border-bottom:1px solid #fcaf3e;
border-left: 1px dotted #fcaf3e;
border-right: 1px dotted #fcaf3e;
margin:1px;
}
table.formtable select
, table.formtable input {
border-left:1px solid transparent;
border-top:1px solid transparent;
border-right:1px solid transparent;
border-bottom:1px solid #d3d7cf; /* light gray*/
margin:1px;
}
table.formtable input[type=checkbox] {
border:1px solid #d3d7cf; /* light gray*/
margin:1px;
}
table.formtable textarea{
border-left:1px dotted #d3d7cf; /* light gray*/
border-right:1px dotted #d3d7cf; /* light gray*/
border-bottom:1px solid #d3d7cf; /* light gray*/
border-top:1px solid #d3d7cf; /* light gray*/
margin:1px;
}
/* formtable Fonts*/
.formtable input, .formtable textarea{
font-family:monospace;
font-size:100%;
}
/* formtable minimize borders when elements are narrow together */
table.formtable td.minimal-visible-borders span.inputSpan ,
table.formtable td.minimal-visible-borders div.multipleTemplateInstance {
margin:0px;
border:0px;
padding:0px;
}
/* formtable floatable dl*/
table.formtable td.dl-float-left dl{
float:left;
margin-left:2px;
margin-right:2px;
}
table.formtable td.dl-float-left dl:first-child{
margin-left:0px;
}
table.formtable td.dl-inline dl dt, td.dl-inline dl dd{
display: inline;
}
.formtable dd {
margin-left: 0em;
}
/* formtable with multiple values */
table.formtable .multipleTemplate * td {
background-color:#CCCCCC; /* CCCCCC → dark gray */
}
table.formtable .multipleTemplate * table
, table.formtable .multipleTemplate table{
border-spacing:0px;
}
/* formtable floating box */
table.formtable div.floating-form-parts {
float:left; margin-right: 0.75em;
}
/* formtable select option box: Fix for FF gray → ??? */
.formtable select {
background-color: #FFFFFF;
}
/* hidden fields */
.formtable * .collapsebox .indicateHiddenInputs {
border-left:2px #aaaaaa solid;
border-bottom:1px #aaaaaa solid;
}
/* NEW SEMANTIC FORM STYLING: */
#sfForm {
margin:10px auto;
/* max-width: 800px; */
padding:0px 5px 10px 5px;
font-size: 11px;
}
#sfForm label{
margin:0 0 3px 0;
padding:0px;
display:block;
font-weight: bold;
}
#sfForm input[type=text], #sfForm input[type=date], #sfForm input[type=datetime],
#sfForm input[type=number], #sfForm input[type=search], #sfForm input[type=time],
#sfForm input[type=url], #sfForm input, #sfForm input[type=email], textarea, select{
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
border:1px solid #BEBEBE;
padding:4px;
margin:0px;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
}
#sfForm input[type=text]:focus, #sfForm input[type=date]:focus, #sfForm input[type=datetime]:focus,
#sfForm input[type=number]:focus, #sfForm input[type=search]:focus, #sfForm input[type=time]:focus,
#sfForm input[type=url]:focus, #sfForm input[type=email]:focus, #sfForm input:focus, #sfForm textarea:focus, #sfForm select:focus{
-moz-box-shadow: 0 0 8px #88D5E9;
-webkit-box-shadow: 0 0 8px #88D5E9;
box-shadow: 0 0 8px #88D5E9;
border: 1px solid #88D5E9;
}
/* NOT USED:
#sfForm .field-divided{width: 49%;}
#sfForm .field-long{width: 100%;}
#sfForm select{width: 100%;}
#sfForm .field-textarea{height: 100px;}
END NOT USED */
#sfForm input[type=submit], #sfForm input[type=button]{
padding: 8px 15px 8px 15px;
margin-right: 10px;
border: none;
}
#sfForm input[type=submit]:hover, .form-style-1 input[type=button]:hover{
background: #4691A4;
box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
}
/* SemanticForms reduzierte Rahmenlinien */
#sfForm input.createboxInput, form input.formInput,
#sfForm input.yearInput, #sfForm input.dayInput,
#sfForm input.hoursInput, #sfForm input.minutesInput,
#sfForm input.secondsInput, #sfForm input[type=text] {
border:1px solid transparent;
border-bottom:1px dotted #ccc;
background-color: #fff;
}
#sfForm textarea, #sfForm textarea.createboxInput {
border:1px dotted #ccc;
background-color: #fff;
}
/* hover */
#sfForm textarea:hover, form input.formInput:hover,
#sfForm input.yearInput:hover, #sfForm input.dayInput:hover,
#sfForm input.hoursInput:hover, #sfForm input.minutesInput:hover,
#sfForm input.secondsInput:hover,
#sfForm input.createboxInput:hover,
#sfForm input[type=text]:hover {
border:1px solid #cccccc;
}
/* focus */
#sfForm textarea:focus, form input.formInput:focus,
#sfForm input.yearInput:focus, #sfForm input.dayInput:focus,
#sfForm input.hoursInput:focus, #sfForm input.minutesInput:focus,
#sfForm input.secondsInput:focus,
#sfForm input.createboxInput:focus,
#sfForm input[type=text]:focus,
/* active */
#sfForm textarea:active, form input.formInput:active,
#sfForm input.yearInput:active, #sfForm input.dayInput:active,
#sfForm input.hoursInput:active, #sfForm input.minutesInput:active,
#sfForm input.secondsInput:active,
#sfForm input.createboxInput:active,
#sfForm input[type=text]:active {
border:1px solid #8e8e8e;
}
#sfForm .mandatoryField, #sfForm .createboxInput.mandatoryField {
border-bottom-color:orange;
}
#sfForm .mandatoryField:hover,
#sfForm .createboxInput.mandatoryField:hover,
#sfForm .mandatoryField:focus,
#sfForm .createboxInput.mandatoryField:focus,
#sfForm .mandatoryField:active,
#sfForm .createboxInput.mandatoryField:active {
border-color:orange;
}
/* minimize multiple form-boxes div box must be outside of form definition */
.minimized-margin-padding * p {
margin:0px; padding:0px;
}
.minimized-margin-padding .multipleTemplateInstance{
margin:0px;
padding:2px 2px;
border:0px none;
}
/* End Form */
/* comments*/
.comment-gray,.comment-grey{
color:#828282;
}
span.rdflink a:hover, div.rdflink a:hover {
/* "http://terms.tdwg.org/w/extensions/SemanticMediaWiki/res/images/rdf_flyer.18.gif" */
background: url('data:image/gif;base64,R0lGODlhEQASAIQeAIWjzhpTo0h1tvH0+SpeqUh1tWeMwjlqr+Hp89Ld7cLR5rPG4RpSo8PS53aYyDhpr5Wv1FiBvO/z+KS62uDo8ileqWaMwXWXx7LF4KO62pSu1FeAu9Hc7P///wtHnQtHnSH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh+QQBAAAfACwAAAAAEQASAAAFU+AnjuQneKhQriclpSvJSC/qxaNX2/hn/6pY6udRAX03k82Y6dROJKjI01H8VknfDoXNbbmkougEBC+DZDES1aHAcChKZ9nzza89HbGefvfSDh8hADs=') 100% 50% no-repeat transparent !important;
color: #0000ff!important;
margin-right: 0px!important;
padding-right: 20px!important;
text-decoration: none!important;
}
span.rdflink a, div.rdflink a {
/* "http://terms.tdwg.org/w/extensions/SemanticMediaWiki/res/images/rdf_flyer.18.gif" */
background: url('data:image/gif;base64,R0lGODlhEQASAIQeAIWjzhpTo0h1tvH0+SpeqUh1tWeMwjlqr+Hp89Ld7cLR5rPG4RpSo8PS53aYyDhpr5Wv1FiBvO/z+KS62uDo8ileqWaMwXWXx7LF4KO62pSu1FeAu9Hc7P///wtHnQtHnSH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh+QQBAAAfACwAAAAAEQASAAAFU+AnjuQneKhQriclpSvJSC/qxaNX2/hn/6pY6udRAX03k82Y6dROJKjI01H8VknfDoXNbbmkougEBC+DZDES1aHAcChKZ9nzza89HbGefvfSDh8hADs=') 100% 50% no-repeat transparent !important;
color: #888888!important;
padding-right: 20px!important;
}
/* for toggle position */
div.mw-collapsible.force-toggle-float-left span.mw-collapsible-toggle {
clear:right; float:left;margin-right:0.2em;
}
.hover-explain:hover {/* do not use default explain class it cannot be overriden */
background-color:#fff7d0;
border-bottom: 0px mone !important;
cursor:help;
}
.hover-explain:target{
background-color: #FFF7D0;
}
table.vertical-align-top * td,table.vertical-align-top * th {
vertical-align:top;
}
/* make forms inline */
div.display-inline form, div.display-inline p{
display:inline;
}
div.display-inline {
display:inline;
}
div.force-display-inline * {
display: inline;
}
/* emulate buttons a.autoedit-trigger is from semantic forms */
div.autoedit a.autoedit-trigger, span.linkbtn, a.linkbtn, a.small-linkbtn { /* span to emulate buttons */
background-color:#EEF0F0;
font-weight:bold;
padding:1.5px 6px; /* check span.leadout followed by span.leadon, the two a.linkbtn can overlap. */
text-align:center;
vertical-align:middle;
display: inline-block;
border: 1px outset #cccccc;
border-radius:4px;
white-space:nowrap;
}
div.autoedit a.autoedit-trigger:visited, a.linkbtn:visited, a.linkbtn:hover { color:#444444; text-decoration:none; }
div.autoedit a.autoedit-trigger:hover, a.linkbtn:hover, a.small-linkbtn:hover { background-color:#DFDFDF; }
td.concept-relation-list li {/* wrapping on info box on a concept page */
max-width:300px;
overflow-wrap:break-all; word-wrap:break-all; word-wrap:break-word;
-ms-word-break:break-all;
}
/* break words for too long sourc codes */
div.mw-geshi * {
overflow-wrap:break-all;
word-wrap:break-all;
word-wrap:break-word;
-ms-word-break:break-all;
}
div.mw-geshi.mw-code {/* fix in MW 1.20.2 */
border:0px none;
padding:0px;
}
.white-space-normal * {
white-space: normal;
}
/* booktable as in (scientific) books/journals */
table.booktable, table.booktabledotted {
margin: 1em 1em 1em 0;
background: #ffffff;
border-top: 2px #656463 solid;
border-bottom: 2px #656463 solid;
border-collapse: collapse;
}
.booktabledotted td {
border-bottom: 1px dotted gray;
padding:0.2em;
}
.booktable td {
border: 0px none !important;
padding:0.2em;
}
.booktable tr.line-t td, .booktable tr td.line-t{
border-top: 1px #656463 solid !important;
}
.booktable tr.line-b td, .booktable tr td.line-b{
border-bottom: 1px #656463 solid !important;
}
.booktable tr.line-tb td, .booktable tr td.line-tb{
border-bottom: 1px #656463 solid !important;
border-top: 1px #656463 solid !important;
}
.booktabledotted th, .booktable th {
vertical-align:bottom;
border-bottom:1px solid #656463;
border-top: 1px solid #656463;
border-left:0px;
border-right:0px;
padding: 0.2em;
}
.booktabledotted th, .booktable th {
background: #ffffff;
text-align: center;
}
.booktable caption, .booktabledotted caption {
font-weight: normal;
}
.template_concept-scheme_form-create-or-edit { display:none; }