body { width: 252px; font-size: 12px; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; margin: 0; } .firefox body { background-color: #fff; } .firefox .chromium-only { display: none; } input[type=checkbox] { outline: none; } #no-styles { font-style: italic; } .checker { display: inline; } .style-name { height: 100%; line-height: 26px; cursor: pointer; font-weight: bold; flex: 1; overflow: hidden; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; padding-right: 5px; } a { color: #000; transition: color .5s; text-decoration-skip: ink; } a:hover { color: #666; } .left-gutter { display: table-cell; width: 16px; vertical-align: top; } .left-gutter input { margin-bottom: 1px; margin-top: 0; margin-left: 0; } .main-controls { display: table-cell; } body > DIV:last-of-type, body.blocked > DIV { border-bottom: none; } #installed { border-bottom: 1px solid black; padding-bottom: 2px; padding-top: 2px; max-height: 445px; overflow-y: auto; } #installed .disabled .style-name, #installed.disabled .style-name { text-decoration: line-through; } #installed .actions { display: flex; cursor: default; } #installed .actions a { display: inline-flex; height: 24px; width: 23px; justify-content: center; align-items: center; cursor: pointer; text-decoration: none; } #installed .actions a.delete { width: 18px; } /* entry */ .entry { display: flex; align-items: center; padding: 0 0.75em; height: 26px; } .entry:nth-child(even) { background-color: rgba(0, 0, 0, 0.05); } .entry .main-controls { display: flex; width: 100%; height: 100%; align-items: center; } .not-applied .checker, .not-applied .style-name, .not-applied .actions > * { opacity: .2; transition: opacity .5s ease-in-out .25s, color .5s ease-in-out .25s; } .not-applied:hover .checker, .not-applied:hover .style-name, .not-applied:hover .actions > * { opacity: 1; } .not-applied:hover .style-name { color: darkred; } .regexp-problem-indicator { background-color: #d00; width: 14px; height: 14px; line-height: 15px; border-radius: 8px; margin-right: 6px; margin-left: 6px; text-align: center; color: white; font-weight: bold; box-sizing: border-box; cursor: pointer; font-size: 90%; } .regexp-partial .actions, .regexp-invalid .actions { order: 2; } #regexp-explanation { position: fixed; background-color: white; left: 0; right: 0; padding: .5rem; font-size: 90%; border-top: 2px solid black; border-bottom: 2px solid black; box-shadow: 0 0 100px black; display: flex; flex-direction: column; z-index: 999999; } #regexp-explanation > div { display: none; list-style-type: none; padding: 0; margin: 0; } .regexp-partial #regexp-partial, .regexp-invalid #regexp-invalid { display: block; } #regexp-explanation > div:not(:last-child) { margin-bottom: .5rem; } .svg-icon { pointer-events: none; transition: fill .5s; fill: #666; } a:hover .svg-icon.remove { fill: #666; } .svg-icon.remove { fill: #999; } .svg-icon.style-enabled, .svg-icon.style-disabled { width: 23px; height: 20px; } #installed .actions a.enable .svg-icon { transform: matrix(-1, 0, 0, 1, 0, 0); } #installed .actions a.enable, #installed .actions a.disable { position: relative; } #installed .actions a.enable:before, #installed .actions a.disable:before { content: ''; height: 12px; width: 21px; position: absolute; top: 6px; left: 1px; border-radius: 10px; transition: background-color .5s; z-index: -1; } #installed .actions a.enable:before { background-color: hsl(0, 0%, 88%); } #installed .actions a.disable:before { background-color: hsl(0, 0%, 100%); } a:hover .svg-icon.style-enabled, .svg-icon.style-enabled { fill: hsl(0, 0%, 60%); } a:hover .svg-icon.style-disabled, .svg-icon.style-disabled { fill: hsl(0, 0%, 44%); } .svg-icon.remove { width: 18px; height: 18px; } .svg-icon.write-style { fill: #000; width: 20px; height: 20px; } .svg-icon.open-manager { width: 23px; height: 23px; } .svg-icon.open-options { width: 20px; height: 20px; } .svg-icon.find-styles { width: 24px; height: 24px; } .svg-icon.open-shortcuts { width: 24px; height: 24px; } #disableAll-label { cursor: pointer; } #disableAll-label .svg-icon.disable-all { height: 22px; width: 22px; transition: transform .3s, fill .5s; } #disable-all-wrapper input[type="checkbox"]:checked + .main-controls .svg-icon.disable-all { fill: #999; transform: rotate(180deg); } #disable-all-wrapper input[type="checkbox"]:checked + .main-controls #disableAll-label:hover .svg-icon.disable-all { fill: #666; } #installed .actions a.enable, #installed .actions a.disable { margin: 0 4px; } a:hover .svg-icon, #disableAll-label:hover .svg-icon { fill: #999; } .style-name:hover { color: #000; text-decoration: underline; } body > .actions { display: flex; flex-direction: column; margin-top: 0.75em; } body > .actions > .actions-inner { display: flex; flex-direction: row; padding-left: 6px; } body > .actions > .actions-inner > div[id] { margin-right: 14px; height: 24px; width: 24px; } #manage { order: 1; } #find-styles { order: 2; } #options { order: 3; } #shortcuts { order: 4; } #disable-all-wrapper { order: 5; } body > .actions > .actions-inner #disableAll-label, body > .actions > .actions-inner a { display: inline-flex; cursor: pointer; height: 24px; width: 24px; justify-content: center; align-items: center; } .actions > div { margin-bottom: 0.75em; } .actions input, .actions label { vertical-align: middle; } body.blocked #installed > *, body.blocked .actions > .main-controls, body.blocked .actions > .left-gutter { display: none; } /* Never shown, but can be enabled with a style */ #installed .enabled .actions a.enable, #installed .disabled .actions a.disable, #installed .left-gutter, #disable-all-wrapper .left-gutter input[type="checkbox"] { display: none; } .actions .left-gutter { width: 0; } /* 'New style' links */ #write-style { display: flex; flex-direction: row; flex-wrap: wrap; } #write-style-for { margin: 0 4px 0 10px; } .write-style-link { margin-left: .6ex } .write-style-link::before { content: "\00ad"; /* "soft" hyphen */ } #match { overflow-wrap: break-word; display: block; flex-grow: 9; min-width: 200px; line-height: 20px; } /* "breadcrumbs" 'new style' links */ .breadcrumbs > .write-style-link { margin-left: 0 } .breadcrumbs:hover a { color: #bbb; text-decoration: none } /* "dot" after each subdomain name */ .breadcrumbs > .write-style-link[subdomain]::after { content: "." } /* no "dot" after top-level domain */ .breadcrumbs > .write-style-link:nth-last-child(2)::after { content: none } /* "forward slash" before path ("this URL") */ .breadcrumbs > .write-style-link:last-child::before { content: "\200b/" } .breadcrumbs > .write-style-link:last-child:first-child::before, .breadcrumbs > .write-style-link[subdomain=""] + .write-style-link::before { content: none } /* suppress TLD-only link */ .breadcrumbs > .write-style-link[subdomain=""] { display: none } /* :hover style */ .breadcrumbs.url\(\) > .write-style-link, /* :hover or :focus on "this URL" sets class="url()" */ .breadcrumbs > .write-style-link:hover, .breadcrumbs > .write-style-link:focus, .breadcrumbs > .write-style-link:hover ~ .write-style-link[subdomain], .breadcrumbs > .write-style-link:focus ~ .write-style-link[subdomain] { color: inherit; text-decoration: underline; text-decoration-skip: ink; } .firefox #popup-options button { width: 49%; } /* confirm */ #confirm, #confirm > div > span { align-items: center; justify-content: center; } #confirm { z-index: 2147483647; display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0 !important; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.4); animation: lights-off .5s cubic-bezier(.03, .67, .08, .94); animation-fill-mode: both; } #confirm.lights-on { animation: lights-on .25s ease-in-out; animation-fill-mode: both; } #confirm.lights-on > div { display: none; } #confirm[data-display=true] { display: flex; } #confirm > div { width: 80%; height: 100px; max-height: 80%; min-height: 8em; background-color: #fff; display: flex; flex-direction: column; border: solid 2px rgba(0, 0, 0, 0.5); } #confirm > div > span { display: flex; flex: 1; padding: 0 10px; } #confirm > div > b { padding: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #confirm > div > div { padding: 10px; text-align: center; } .non-windows #confirm > div > div { direction: rtl; text-align: right; } .unreachable .entry { opacity: .25; } .blocked:before, .unreachable:before { padding: 5px 0.75em; display: block; font-weight: bold; } .blocked #installed:before, .unreachable #installed:before { padding: 1px 0.75em 9px; display: block; font-size: 90%; margin-bottom: 5px; } .blocked:before { content: "__MSG_stylusUnavailableForURL__"; } .blocked #installed:before { content: "__MSG_stylusUnavailableForURLdetails__"; } .unreachable:before { content: "__MSG_unreachableContentScript__"; } .unreachable #installed:before { content: "__MSG_unreachableFileHint__"; border-bottom: 1px solid black; } @keyframes lights-off { from { background-color: transparent; } to { background-color: rgba(0, 0, 0, 0.4); } } @keyframes lights-on { from { background-color: rgba(0, 0, 0, 0.4); } to { background-color: transparent; } } /* Popup adjustments for common zoom levels */ @media (-webkit-min-device-pixel-ratio: 1.05) { #installed { max-height: 420px; } } @media (-webkit-min-device-pixel-ratio: 1.1) { #installed { max-height: 393px; } } @media (-webkit-min-device-pixel-ratio: 1.15) { #installed { max-height: 371px; } } @media (-webkit-min-device-pixel-ratio: 1.2) { #installed { max-height: 348px; } } @media (-webkit-min-device-pixel-ratio: 1.25) { #installed { max-height: 326px; } } @media (-webkit-min-device-pixel-ratio: 1.30) { #installed { max-height: 306px; } } @media (-webkit-min-device-pixel-ratio: 1.35) { #installed { max-height: 288px; } } @media (-webkit-min-device-pixel-ratio: 1.4) { #installed { max-height: 271px; } } @media (-webkit-min-device-pixel-ratio: 1.45) { #installed { max-height: 256px; } } @media (-webkit-min-device-pixel-ratio: 1.5) { #installed { max-height: 244px; } } @media (-webkit-min-device-pixel-ratio: 1.55) { #installed { max-height: 199px; } } @media (-webkit-min-device-pixel-ratio: 1.75) { #installed { max-height: 144px; } }