| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881 |
- body {
- margin: 0;
- font: 12px arial, sans-serif;
- /* Firefox: fill the entire page for drag'n'drop to work */
- display: flex;
- height: 100%;
- }
- a {
- color: #000;
- transition: color .5s;
- text-decoration-skip: ink;
- }
- a:hover {
- color: #666;
- }
- select {
- font-size: 12px;
- }
- .nowrap {
- white-space: nowrap;
- }
- .nowrap > * {
- white-space: nowrap;
- overflow-x: hidden;
- text-overflow: ellipsis;
- }
- #header {
- width: 280px;
- height: 100vh;
- position: fixed;
- top: 0;
- padding: 15px;
- border-right: 1px dashed #AAA;
- -webkit-box-shadow: 0 0 50px -18px black;
- overflow: auto;
- box-sizing: border-box;
- z-index: 9;
- }
- #check-all-updates {
- max-width: 220px;
- }
- #header h1 {
- margin-top: 0;
- }
- #header a[href^="edit"] {
- text-decoration: none;
- }
- #add-style-label {
- margin-right: .25em;
- margin-bottom: .25em;
- }
- #newStyleAsUsercss-wrapper:not(:hover) input:not(:checked) ~ a svg {
- fill: #aaa;
- }
- .nobreak {
- white-space: nowrap;
- }
- label.nobreak input {
- vertical-align: middle;
- margin: 0;
- }
- .firefox .chromium-only {
- display: none;
- }
- #installed {
- position: relative;
- padding-left: 280px;
- box-sizing: border-box;
- width: 100%;
- }
- .entry {
- margin: 0;
- padding: 1.25em 2em;
- border-top: 1px solid #ddd;
- }
- .entry:first-child {
- border-top: none;
- }
- .svg-icon {
- cursor: pointer;
- vertical-align: middle;
- transition: fill .5s;
- width: 20px;
- height: 20px;
- }
- .svg-icon:hover {
- fill: #000;
- }
- .svg-icon {
- fill: #666;
- }
- .svg-icon.info {
- width: 14px;
- height: 16px;
- margin-left: .5ex;
- }
- .homepage {
- margin-left: 0.1em;
- margin-right: 0.1em;
- }
- .homepage[href=""] {
- display: none;
- }
- .homepage .svg-icon {
- margin-top: -4px;
- margin-left: .5ex;
- }
- .style-name {
- margin-top: .25em;
- overflow-wrap: break-word;
- }
- .style-name a, .style-edit-link {
- text-decoration: none;
- }
- .style-name-link:hover {
- text-decoration: underline;
- color: #000;
- }
- .applies-to {
- overflow-wrap: break-word;
- }
- .applies-to,
- .actions {
- padding-left: 15px;
- margin-bottom: 0;
- }
- .actions {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- }
- .actions > * {
- margin-bottom: .25rem;
- }
- .actions > *:not(:last-child) {
- margin-right: .25rem;
- }
- .applies-to label {
- margin-right: .5ex;
- }
- .applies-to .target:hover {
- background-color: rgba(128, 128, 128, .15);
- }
- .applies-to-extra:not([open]) {
- display: inline;
- margin-left: 1ex;
- }
- summary {
- font-weight: bold;
- cursor: pointer;
- outline: none;
- }
- .applies-to-extra summary {
- list-style-type: none; /* for FF, allegedly */
- }
- .applies-to-extra summary::-webkit-details-marker {
- display: none;
- }
- .disabled h2::after {
- font-weight: normal;
- font-size: 11px;
- text-transform: lowercase;
- background: rgba(128, 128, 128, .2);
- padding: 2px 5px 3px;
- border-radius: 4px;
- margin-left: 1ex;
- }
- .disabled {
- opacity: 0.5;
- }
- .disabled .disable {
- display: none;
- }
- .enabled .enable {
- display: none;
- }
- /* compact layout */
- .newUI #installed {
- display: table;
- margin-top: .75rem;
- margin-bottom: .75rem;
- }
- .newUI .disabled {
- opacity: 1;
- }
- .newUI .disabled .style-name,
- .newUI .disabled .applies-to {
- opacity: .5;
- }
- .newUI .entry {
- display: table-row;
- }
- .newUI .entry:nth-child(2n) {
- background-color: rgba(128, 128, 128, 0.05);
- }
- .newUI .entry > * {
- padding: .9rem 0 1rem;
- margin: 0;
- display: table-cell;
- vertical-align: middle;
- }
- .newUI .checker {
- position: relative;
- top: 1px;
- margin-right: 1ex;
- }
- .newUI .style-name {
- font-size: 14px;
- font-family: sans-serif;
- text-indent: -2em;
- padding-left: 3em;
- padding-right: 40px;
- }
- .newUI .homepage .svg-icon {
- position: absolute;
- margin-top: 0;
- margin-left: -28px;
- }
- .newUI .actions {
- width: 75px;
- height: 20px;
- white-space: nowrap;
- }
- .newUI .actions > * {
- margin: 0;
- }
- .newUI .actions .svg-icon {
- margin-right: 8px;
- }
- .newUI .updater-icons > * {
- transition: opacity 1s;
- display: none;
- }
- .newUI .entry .svg-icon {
- fill: #999;
- }
- .newUI .entry:hover .svg-icon {
- fill: #666;
- }
- .newUI .entry:hover .svg-icon:hover {
- fill: #000;
- }
- .newUI .checking-update .check-update {
- opacity: 0;
- display: inline;
- pointer-events: none;
- }
- .newUI .can-update .update,
- .newUI .no-update:not(.update-problem):not(.update-done) .up-to-date,
- .newUI .no-update.update-problem .check-update,
- .newUI .update-done .updated {
- display: inline;
- }
- .newUI .update-done .updated svg {
- top: -4px;
- position: relative;
- /* unprefixed since Chrome 53 */
- -webkit-filter: drop-shadow(0 4px 0 currentColor);
- filter: drop-shadow(0 5px 0 currentColor);
- }
- .newUI .can-update .update,
- .newUI .no-update.update-problem .check-update {
- cursor: pointer;
- }
- .newUI .can-update[data-details$="locally edited"] .update svg,
- .newUI .update-problem .check-update svg {
- fill: #ef6969;
- }
- .newUI .can-update[data-details$="locally edited"]:hover .update svg,
- .newUI .entry.update-problem:hover .check-update svg {
- fill: #fd4040;
- }
- .newUI .can-update[data-details$="locally edited"]:hover .update svg:hover,
- .newUI .entry.update-problem:hover .check-update svg:hover {
- fill: red;
- }
- .newUI .updater-icons > :not(.check-update):after {
- content: attr(title);
- position: absolute;
- margin-top: 18px;
- margin-left: -36px;
- padding: 1ex 1.5ex;
- border: 1px solid #ded597;
- background-color: #fffbd6;
- border-radius: 4px;
- box-shadow: 2px 3px 10px rgba(0,0,0,.25);
- font-size: 90%;
- animation: fadeout 10s;
- animation-fill-mode: both;
- z-index: 999;
- }
- .newUI .update-problem .check-update:after {
- background-color: red;
- border: 1px solid #d40000;
- color: white;
- animation: none;
- }
- .newUI .can-update .update:after {
- animation: none;
- }
- .newUI .can-update:not([data-details$="locally edited"]) .update:after {
- background-color: #c0fff0;
- border: 1px solid #89cac9;
- }
- .newUI .applies-to {
- padding-top: .25rem;
- padding-bottom: .25rem;
- }
- .newUI .targets {
- overflow: hidden;
- }
- .newUI .applies-to.expanded .targets {
- max-height: none;
- }
- .newUI .target {
- display: block;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- max-width: calc(100vw - 280px - 60px - 25vw - 3rem);
- box-sizing: border-box;
- padding-right: 1rem;
- line-height: 18px;
- }
- .newUI .applies-to .expander {
- margin: 0;
- cursor: pointer;
- font-size: 3ex;
- line-height: .5ex;
- vertical-align: super;
- letter-spacing: .1ex;
- }
- .newUI .applies-to:not(.has-more) .expander {
- display: none;
- }
- .newUI .has-favicons .applies-to .expander {
- padding-left: 20px;
- }
- .newUI .target:hover {
- background-color: inherit;
- }
- .newUI .target img {
- width: 16px;
- height: 16px;
- vertical-align: sub;
- margin-left: -20px;
- margin-right: 4px;
- transition: opacity .5s, filter .5s;
- /* unprefixed since Chrome 53 */
- -webkit-filter: grayscale(1);
- filter: grayscale(1);
- /* workaround for the buggy CSS filter: images in the hidden overflow are shown on Mac */
- backface-visibility: hidden;
- opacity: .25;
- display: none;
- }
- .newUI .has-favicons .target {
- padding-left: 20px;
- }
- .newUI .has-favicons .target img[src] {
- display: inline;
- }
- .newUI .entry:hover .target img {
- opacity: 1;
- /* unprefixed since Chrome 53 */
- -webkit-filter: grayscale(0);
- filter: grayscale(0);
- }
- #newUIoptions {
- display: none;
- }
- .newUI #newUIoptions {
- display: initial;
- }
- #newUIoptions > * {
- display: flex;
- align-items: center;
- margin-bottom: auto;
- flex-wrap: wrap;
- }
- #newUIoptions input[type="number"] {
- width: 3em;
- margin-right: .5em;
- }
- input[id^="manage.newUI"] {
- margin-left: 0;
- }
- #faviconsHelp {
- overflow-y: auto;
- font-size: 90%;
- padding: 1ex 0 2ex 16px;
- }
- #faviconsHelp div {
- display: flex;
- align-items: center;
- margin-top: 1ex;
- }
- /* Default, no update buttons */
- .update,
- .check-update {
- display: none;
- }
- /* Check update button for things that can*/
- .updatable .check-update {
- display: inline;
- }
- /* Update check in progress */
- .checking-update .check-update {
- display: none;
- }
- /* Updates available */
- .can-update .update {
- display: inline;
- }
- .can-update[data-details$="locally edited"] button.update:after {
- content: "*";
- }
- .can-update .check-update {
- display: none;
- }
- /* Updates not available */
- .no-update:not(.update-problem) .check-update {
- display: none;
- }
- /* Updates done */
- .update-done .check-update {
- display: none;
- }
- #apply-all-updates:after {
- content: " (" attr(data-value) ")";
- }
- .update-in-progress #check-all-updates {
- position: relative;
- }
- .update-in-progress #update-progress {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- background-color: currentColor;
- content: "";
- opacity: .35;
- }
- #check-all-updates-force {
- margin-top: 1ex;
- }
- /* highlight updated/added styles */
- .highlight {
- animation: highlight 10s cubic-bezier(0,.82,.47,.98);
- }
- @keyframes highlight {
- from {
- background-color: rgba(128, 128, 128, .5);
- }
- to {
- background-color: none;
- }
- }
- .hidden {
- display: none !important;
- }
- fieldset {
- border-width: 1px;
- border-radius: 6px;
- margin: 1em 0;
- min-width: 0;
- max-width: 250px;
- }
- fieldset > *:not(legend) {
- display: flex;
- align-items: center;
- }
- #filters {
- border: 1px solid transparent;
- }
- #filters.active {
- background-color: darkcyan;
- border-color: darkcyan;
- color: white;
- }
- #filters:not(.active) #filters-stats {
- display: none;
- }
- #filters-stats::before {
- content: ": ";
- }
- fieldset select {
- border: none;
- max-width: calc(100% - 2em);
- background-color: transparent;
- }
- #search {
- width: calc(100% - 4px);
- margin: 0.25rem 4px 0;
- border-radius: 0.25rem;
- padding-left: 0.25rem;
- border-width: 1px;
- }
- #import ul {
- margin-left: 0;
- padding-left: 0;
- list-style: none;
- }
- #import li {
- margin-bottom: .5em;
- }
- #import pre {
- background: #eee;
- overflow: auto;
- margin: 0 0 .5em 0;
- }
- /* drag-n-drop on import button */
- .dropzone:after {
- background-color: rgba(0, 0, 0, 0.7);
- color: white;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- z-index: 1000;
- position: fixed;
- padding: calc(50vh - 3em) calc(50vw - 5em);
- content: attr(dragndrop-hint);
- text-shadow: 1px 1px 10px black;
- font-size: xx-large;
- text-align: center;
- animation: fadein 1s cubic-bezier(.03, .67, .08, .94);
- animation-fill-mode: both;
- }
- .fadeout.dropzone:after {
- animation: fadeout .25s ease-in-out;
- animation-fill-mode: both;
- }
- /* post-import report */
- #message-box details:not([data-id="invalid"]) div:hover {
- background-color: rgba(128, 128, 128, .3);
- }
- #message-box details:not(:last-child) {
- margin-bottom: 1em;
- }
- #message-box details small div {
- margin-left: 1.5em;
- }
- .update-history-log {
- font-size: 11px;
- white-space: pre;
- overflow-x: hidden;
- text-overflow: ellipsis;
- }
- /* config dialog */
- .config-dialog .config-heading {
- float: right;
- margin: -1.25rem 0 0 0;
- font-size: 0.9em;
- }
- .config-dialog label {
- display: flex;
- padding: .75em 0;
- align-items: center;
- }
- .config-dialog label:first-child {
- padding-top: 0;
- }
- .config-dialog label:last-child {
- padding-bottom: 0;
- }
- .config-dialog label:not(:first-child) {
- border-top: 1px dotted #ccc;
- }
- .config-dialog label > :first-child {
- margin-right: 8px;
- flex-grow: 1;
- }
- .config-dialog label:not([disabled]) > :first-child {
- cursor: default;
- }
- .config-dialog label:not([disabled]):hover > :first-child {
- text-shadow: 0 0 0.01px rgba(0, 0, 0, .25);
- cursor: pointer;
- }
- .config-dialog input,
- .config-dialog select,
- .config-dialog .onoffswitch {
- width: 60px;
- margin: 0;
- height: 2em;
- box-sizing: border-box;
- vertical-align: middle;
- }
- .config-dialog select {
- width: auto;
- min-width: 60px;
- max-width: 124px;
- }
- .config-dialog .onoffswitch {
- height: auto;
- margin: calc((2em - 12px) / 2) 0;
- }
- .config-dialog input[type="text"] {
- padding-left: 0.25em;
- }
- .config-dialog label > :last-child {
- box-sizing: border-box;
- flex-shrink: 0;
- }
- .config-dialog label > :last-child:not(.onoffswitch) > :not(:last-child) {
- margin-right: 4px;
- }
- @keyframes fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- @keyframes fadeout {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
- }
- @keyframes fadein-25pct {
- from {
- opacity: 0;
- }
- to {
- opacity: .25;
- }
- }
- @media (max-width: 675px) {
- #installed {
- position: static;
- padding-left: 0;
- overflow: visible;
- }
- #header p,
- #header fieldset div,
- #backup {
- display: inline-block;
- }
- #find-editor-styles {
- display: inline-block;
- }
- #backup {
- margin-right: 1em;
- }
- #backup p,
- #header fieldset {
- margin: 0;
- }
- .entry {
- margin: 0;
- }
- }
- @media (max-width: 800px) {
- body {
- flex-direction: column;
- }
- #header {
- height: auto;
- position: static;
- width: auto;
- border-right: none;
- border-bottom: 1px dashed #AAA;
- overflow: visible;
- -webkit-column-count: 2;
- -moz-column-count: 2;
- column-count: 2;
- }
- #installed {
- padding-left: 0;
- }
- fieldset {
- max-width: none;
- margin-top: 0;
- margin-right: 2em;
- }
- #header h1,
- #header h2,
- #header h3,
- #backup-message {
- display: none;
- }
- .newUI .entry {
- margin: 0;
- }
- .newUI .style-name {
- width: 50%;
- }
- .newUI .target {
- max-width: calc(50vw - 60px);
- }
- }
- @media (max-width: 500px) {
- #header {
- -webkit-column-count: 1;
- -moz-column-count: 1;
- column-count: 1;
- }
- .newUI #header > *:not(h1),
- .newUI #newUIoptions,
- #newUIoptions > *,
- fieldset label {
- display: inline;
- }
- fieldset {
- border: none;
- margin: 0;
- padding: 0 0 1em;
- }
- fieldset legend {
- display: none;
- }
- #header label {
- white-space: nowrap;
- }
- .newUI .style-name {
- word-break: break-all;
- }
- }
|