MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
Line 1:
/* CSS placed here will be applied to all skins */
/*
.benchmark-table-block {
Line 13:
display: flex;
flex-direction: column;
align-items:
float:
max-width: 440px;
margin: 0.75rem 0 0.5rem auto;
}
Line 33 ⟶ 35:
box-sizing: border-box;
width: 100%;
height:
min-height:
padding: 0 0.75rem 0 2.25rem;
border: 1px solid #a2b6cc;
Line 47 ⟶ 49:
font: inherit;
font-size: 0.95rem;
text-align: left;
}
Line 64 ⟶ 67:
.benchmark-search-clear {
min-height: 30px;
padding: 0 0.75rem;
border: 1px solid #a2a9b1;
Line 92 ⟶ 96:
text-align: left;
}
/* Hardware benchmark tables */
.benchmark-results-table {
Line 101 ⟶ 107:
display: none;
}
/* Example Model Catalogue table */
.example-model-results-table {
clear: both;
width: 100%;
margin-top: 0 !important;
}
.example-model-results-table tr[hidden] {
display: none;
}
/* Prevent the Example Model Catalogue shrinking when no rows match */
.example-model-table-block {
display: block !important;
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
/* Keep the Example Model Catalogue search visible on desktop */
.example-model-table-block .benchmark-table-controls {
display: flex !important;
float: none !important;
clear: both;
box-sizing: border-box;
width: 100% !important;
min-width: 0;
max-width: 440px;
margin: 0.75rem 0 0.5rem auto !important;
align-items: stretch;
}
.example-model-table-block .benchmark-table-search {
display: flex !important;
width: 100%;
}
.example-model-table-block .benchmark-search-input {
display: block !important;
width: 100%;
min-width: 0;
}
.example-model-table-block .benchmark-result-count {
display: block !important;
width: 100%;
}
.example-model-table-block .example-model-results-table {
box-sizing: border-box;
width: 100% !important;
min-width: 100% !important;
}
/* Compact height for all shared search bars */
.benchmark-search-input {
line-height: 30px;
}
.benchmark-search-clear {
padding-top: 0;
padding-bottom: 0;
line-height: 28px;
}
/* Responsive layout */
@media screen and (max-width: 900px) {
Line 123 ⟶ 201:
min-width: 0;
max-width: none;
}
.example-model-table-block .benchmark-table-controls {
width: 100%;
min-width: 0;
max-width: none;
margin: 0 0 0.35rem !important;
}
}
Line 137 ⟶ 222:
}
/*
.
display:
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right:
}
.qgis-plugin-table-block .qgis-plugin-results-table {
margin-top: 0 !important;
}
.qgis-plugin-results-table tr[hidden] {
display:
}
mark.
color: #202122;
}
mark.search-highlight.search-highlight-1 {
background-color: #
}
mark.
}
mark.
}
mark.
background-color: #bbf6f3 !important;
}
mark.
}
@media screen and (max-width: 900px) {
.qgis-plugin-table-block .benchmark-table-controls {
max-width:
}
}
/* Make the Example Model Catalogue accessible on narrow screens */
.example-model-table-wrapper {
display: block;
box-sizing: border-box;
width: 100%;
overflow-x: auto;
overflow-y: visible;
-webkit-overflow-scrolling: touch;
}
.example-model-table-wrapper .example-model-results-table
width: 100% !important;
min-width: 100% !important;
margin-bottom: 0;
}
.example-model-table-wrapper .example-model-results-table th,
overflow-wrap: break-word;
}
/* Mobile Example Model Catalogue layout */
@media screen and (max-width: 768px) {
.example-model-table-wrapper {
box-sizing: border-box;
width: 100%;
overflow-x: hidden;
}
.example-model-table-
width: 100% !important;
min-width: 0 !important;
max-width: 100% !important;
table-layout: fixed;
}
.example-model-table-
.example-model-
min-width: 0;
white-space: normal !important;
overflow-wrap: anywhere;
word-break: normal;
hyphens: none;
font-size: 0.76rem;
line-height: 1.22;
}
/* Slightly larger column headings */
.example-model-table-
}
.example-model-table-wrapper .example-model-results-table th:last-child,
.example-model-table-wrapper .example-model-results-table td:last-child {
min-width: 0;
white-space: normal !important;
overflow-wrap: anywhere;
word-break: normal;
font-size: 0.7rem;
line-height: 1.18;
}
/* Reduce the catalogue title slightly */
.example-model-table-wrapper .example-model-results-table tr:first-child th {
font-size: 0.86rem;
padding: 0.45em 0.25em;
}
}
/* Hide mobile last-edited bar */
.last-modified-bar,
.minerva-footer-last-modified,
footer .last-modified,
footer [class*="last-modified"] {
}
/* -------------------------------------------------------------------------
* Final compact sizing for all searchable table controls
* ------------------------------------------------------------------------- */
.benchmark-table-controls {
float: none !important;
clear: both !important;
box-sizing: border-box !important;
width: 100% !important;
max-width: 400px !important;
margin: 0.5rem 0 0.4rem auto !important;
align-items: stretch !important;
}
input.benchmark-search-input {
box-sizing: border-box !important;
width: 100% !important;
height:
min-height:
max-height:
padding:
border-radius: 4px !important;
background-
background-
font-size: 0.84rem !important;
}
height: 28px !important;
min-height: 28px !important;
max-height: 28px !important;
padding: 0 0.65rem !important;
font-size: 0.84rem !important;
line-height: 26px !important;
}
.benchmark-result-count {
margin-top: 0.1rem !important;
font-size: 0.78rem !important;
line-height: 1rem !important;
}
/* Keep all search controls full width on mobile */
@media screen and (max-width: 900px) {
width: 100% !important;
max-width: none !important;
margin: 0 0 0.4rem !important;
}
}
| |||