MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
(4 intermediate revisions by the same user not shown)
Line 13:
display: flex;
flex-direction: column;
align-items: flex-endstretch;
float: rightnone;
widthclear: 32%both;
minbox-widthsizing: 360pxborder-box;
max-width: 500px100%;
marginmin-width: -2.35rem 0 0.25rem 1rem;
max-width: 440px;
margin: 0.75rem 0 0.35rem5rem auto !important;
}
 
Line 33 ⟶ 35:
box-sizing: border-box;
width: 100%;
height: 34px30px;
min-height: 34px30px;
padding: 0 0.75rem 0 2.25rem;
border: 1px solid #a2b6cc;
Line 65 ⟶ 67:
 
.benchmark-search-clear {
heightbox-sizing: 34pxborder-box;
min-height: 34px30px;
min-height: 30px;
padding: 0 0.75rem;
border: 1px solid #a2a9b1;
Line 132 ⟶ 135:
display: flex !important;
float: none !important;
widthclear: 32%both;
minbox-widthsizing: 360pxborder-box;
max-width: 500px100% !important;
min-width: 0;
margin: 0 0 0.35rem auto !important;
max-width: 440px;
margin: 0.75rem 0 0.5rem auto !important;
align-items: stretch;
}
Line 159 ⟶ 164:
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;
}
 
Line 228 ⟶ 245:
 
mark.search-highlight {
background-color: #ffeb3b;
color: #202122;
padding: 0 0.05em;
border-radius: 2px;
}
 
mark.search-highlight.search-highlight-1 {
background-color: #ffeb3b !important;
}
 
mark.search-highlight.search-highlight-2 {
background-color: #fdb9c9 !important;
}
 
mark.search-highlight.search-highlight-3 {
background-color: #ffdcbe !important;
}
 
mark.search-highlight.search-highlight-4 {
background-color: #bbf6f3 !important;
}
 
mark.search-highlight.search-highlight-5 {
background-color: #a7e0f4 !important;
}
 
Line 328 ⟶ 364:
footer [class*="last-modified"] {
display: none !important;
}
 
/* -------------------------------------------------------------------------
* 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;
min-width: 0 !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: 28px !important;
min-height: 28px !important;
max-height: 28px !important;
padding: 2px 0.65rem 2px 2rem !important;
border-radius: 4px !important;
background-position: 0.55rem center !important;
background-size: 14px 14px !important;
font-size: 0.84rem !important;
line-height: 22px !important;
appearance: none !important;
-webkit-appearance: none !important;
}
 
button.benchmark-search-clear {
box-sizing: border-box !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 {
min-height: 1rem !important;
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) {
.benchmark-table-controls {
width: 100% !important;
max-width: none !important;
margin: 0 0 0.4rem !important;
}
}