MediaWiki:Common.css

From Tuflow
Jump to navigation Jump to search

Note: After publishing, 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* CPU benchmark search controls */

.benchmark-table-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 900px;
    margin: 1rem 0 0.35rem;
}

.benchmark-search-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 1rem 0.65rem 2.7rem;
    border: 1px solid #7896bd;
    border-radius: 8px;
    background-color: #fff;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23345d88' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.85rem center;
    color: #202122;
    font: inherit;
}

.benchmark-search-input::placeholder {
    color: #72777d;
}

.benchmark-search-input:hover {
    border-color: #466f9d;
}

.benchmark-search-input:focus {
    border-color: #36c;
    box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.16);
    outline: none;
}

.benchmark-search-clear {
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    background: #f8f9fa;
    color: #202122;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.benchmark-search-clear:hover {
    border-color: #72777d;
    background: #fff;
}

.benchmark-result-count {
    max-width: 900px;
    min-height: 1.4rem;
    margin: 0 0 0.5rem;
    color: #54595d;
    font-size: 0.875rem;
}

.benchmark-results-table tr[hidden] {
    display: none;
}

@media screen and (max-width: 720px) {
    .benchmark-table-search {
        flex-direction: column;
        align-items: stretch;
    }

    .benchmark-search-clear {
        align-self: flex-end;
    }
}