Jump to content

MediaWiki:Gadget-templating.css: Difference between revisions

From National Library of Greece
No edit summary
mNo edit summary
Line 5: Line 5:
border: 1px solid rgb(234, 236, 240)
border: 1px solid rgb(234, 236, 240)
}
}
.wikibase-templating-section .mw-htmlform-submit-buttons {
margin-top:12px;
}
.wikibase-templating-section-title{
.wikibase-templating-section-title{
     display: inline-block;
     display: inline-block;

Revision as of 18:39, 15 March 2025

.wikibase-templating-section{
	padding: 10px;
	margin: 1rem 0;
	background: rgb(248, 249, 250);
	border: 1px solid rgb(234, 236, 240)
}

.wikibase-templating-section .mw-htmlform-submit-buttons {
	margin-top:12px;
}

.wikibase-templating-section-title{
    display: inline-block;
    margin-bottom: 8px;
    font-size: 1.14285714em;
    font-weight: 700;
}

.wikibase-templating-help{
	margin: 0.4em 0 0.5em 0;
}

.cdx-select {
  box-sizing: border-box;
  min-width: 256px;
  min-height: 2em;
  font-size: inherit;
  line-height: 1.4285714;
  appearance: none;
}
[dir] .cdx-select {
  border-width: 1px;
  border-style: solid;
  border-radius: 2px;
  padding-top: 4px;
  padding-bottom: 4px;
  background-repeat: no-repeat;
  background-size: max(0.75em, 12px);
}
[dir="ltr"] .cdx-select {
  padding-left: 12px;
  padding-right: calc(16px + 1.25em);
  background-position: center right 12px;
}
[dir="rtl"] .cdx-select {
  padding-right: 12px;
  padding-left: calc(16px + 1.25em);
  background-position: center left 12px;
}
.cdx-select:disabled {
  color: #72777d;
}
[dir] .cdx-select:disabled {
  background-color: #eaecf0;
  border-color: #c8ccd1;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="%2372777d"><path d="m17.5 4.75-7.5 7.5-7.5-7.5L1 6.25l9 9 9-9z"/></svg>');
}
.cdx-select:enabled {
  color: #202122;
}
[dir] .cdx-select:enabled {
  background-color: #f8f9fa;
  border-color: #a2a9b1;
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0.1s;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="%23202122"><path d="m17.5 4.75-7.5 7.5-7.5-7.5L1 6.25l9 9 9-9z"/></svg>');
}
.cdx-select:enabled:hover {
  color: #404244;
}
[dir] .cdx-select:enabled:hover {
  background-color: #fff;
  border-color: #a2a9b1;
  cursor: pointer;
}