2017-11-08 03:47:55 +00:00
|
|
|
html, body {
|
|
|
|
height: min-content;
|
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
body {
|
2017-03-08 13:11:26 +00:00
|
|
|
width: 252px;
|
2017-03-06 13:54:56 +00:00
|
|
|
font-size: 12px;
|
2017-03-30 23:18:41 +00:00
|
|
|
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-11-08 03:47:55 +00:00
|
|
|
|
2017-05-14 11:26:51 +00:00
|
|
|
.firefox body {
|
|
|
|
background-color: #fff;
|
2017-10-28 07:41:48 +00:00
|
|
|
color: #000;
|
2017-05-14 11:26:51 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
body > div:not(#installed) {
|
2017-12-02 23:55:23 +00:00
|
|
|
margin-left: 9px;
|
|
|
|
margin-right: 9px;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-09 06:43:51 +00:00
|
|
|
.firefox .chromium-only {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-12-03 23:40:22 +00:00
|
|
|
/************ checkbox ************/
|
2017-04-09 06:43:51 +00:00
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
.style-name:hover input[type="checkbox"]:checked {
|
2017-12-02 23:55:23 +00:00
|
|
|
border-color: hsl(0, 0%, 32%);
|
|
|
|
background-color: hsl(0, 0%, 82%);
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
.style-name:hover input[type="checkbox"] {
|
2017-12-02 23:55:23 +00:00
|
|
|
border-color: hsl(0, 0%, 32%);
|
|
|
|
background-color: hsl(0, 0%, 82%);
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#disable-all-wrapper input[type="checkbox"]:not(.slider):checked + .svg-icon.checked {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#installed.disabled + .actions #disableAll:checked + .svg-icon.checked {
|
2017-12-02 23:55:23 +00:00
|
|
|
fill: hsl(0, 68%, 42%);
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#installed.disabled + .actions #disableAll:checked {
|
2017-12-02 23:55:23 +00:00
|
|
|
border-color: hsl(0, 68%, 50%);
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#installed.disabled + .actions #disableAll:checked:hover + .svg-icon.checked {
|
2017-12-02 23:55:23 +00:00
|
|
|
fill: #fff;
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#disableAll:hover {
|
2017-12-02 23:55:23 +00:00
|
|
|
border-color: hsl(0, 68%, 50%);
|
|
|
|
background-color: hsl(20, 70%, 75%);
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#disableAll-label:hover {
|
2017-12-02 23:55:23 +00:00
|
|
|
color: hsl(0, 68%, 42%);
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#installed.disabled + .actions #disableAll:checked:hover {
|
2017-12-02 23:55:23 +00:00
|
|
|
border-color: hsl(0, 50%, 56%);
|
|
|
|
background-color: hsl(0, 50%, 56%);
|
|
|
|
}
|
|
|
|
|
2017-12-04 16:14:04 +00:00
|
|
|
#installed .style-name .checker,
|
|
|
|
#installed .style-name .svg-icon.checked {
|
2017-12-02 23:55:23 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
left: 9px;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2017-02-28 23:57:03 +00:00
|
|
|
#disable-all-wrapper {
|
2017-03-09 23:33:32 +00:00
|
|
|
padding: 0.3em 0 0.6em;
|
2017-02-28 23:57:03 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-12-02 23:55:23 +00:00
|
|
|
#disable-all-wrapper .main-controls {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disable-all-wrapper .main-controls label {
|
2017-12-03 23:40:22 +00:00
|
|
|
padding-left: 16px;
|
|
|
|
position: relative;
|
|
|
|
transition: color .25s;
|
2017-12-02 23:55:23 +00:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
#no-styles {
|
2017-12-03 23:40:22 +00:00
|
|
|
font-style: italic;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
.checker {
|
|
|
|
display: inline;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
a {
|
|
|
|
color: #000;
|
|
|
|
transition: color .5s;
|
2017-03-21 01:32:38 +00:00
|
|
|
text-decoration-skip: ink;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
a:hover {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2017-12-02 23:55:23 +00:00
|
|
|
.actions > .main-controls {
|
|
|
|
padding-left: 16px;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
.main-controls {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > DIV:last-of-type,
|
|
|
|
body.blocked > DIV {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
#installed {
|
2017-08-07 21:15:19 +00:00
|
|
|
border-bottom: 1px solid black;
|
|
|
|
padding-bottom: 2px;
|
2017-03-20 09:58:38 +00:00
|
|
|
padding-top: 2px;
|
2017-08-07 21:15:19 +00:00
|
|
|
max-height: 445px;
|
2017-03-20 09:58:38 +00:00
|
|
|
overflow-y: auto;
|
2017-11-28 22:46:42 +00:00
|
|
|
counter-reset: style-number;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-12 22:18:09 +00:00
|
|
|
#installed.disabled .style-name {
|
2017-01-11 11:55:38 +00:00
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-11-13 17:42:35 +00:00
|
|
|
#installed.disabled + .actions #disableAll-label {
|
|
|
|
font-weight: bold;
|
|
|
|
color: firebrick;
|
|
|
|
}
|
|
|
|
|
2017-03-11 10:15:03 +00:00
|
|
|
#installed .actions {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
#installed .actions a {
|
2017-03-11 10:15:03 +00:00
|
|
|
cursor: pointer;
|
2017-03-09 12:53:00 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
/* entry */
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-12-02 23:55:23 +00:00
|
|
|
height: 26px;
|
|
|
|
padding: 0 14px 0 0;
|
2017-12-01 21:49:59 +00:00
|
|
|
position: relative;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
2017-12-02 23:55:23 +00:00
|
|
|
html[style] .entry {
|
|
|
|
padding: 0 16px 0 0;
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
#no-styles.entry {
|
|
|
|
padding: 0 14px;
|
|
|
|
}
|
|
|
|
|
2017-12-02 23:55:23 +00:00
|
|
|
html[style] .entry:nth-child(-n+10):before,
|
|
|
|
html[style] .entry:nth-child(10):before {
|
|
|
|
right: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .actions {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.style-name {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
line-height: 28px;
|
|
|
|
cursor: default;
|
|
|
|
font-weight: bold;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-left: 26px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .main-controls {
|
|
|
|
height: 100%;
|
|
|
|
display: inline-flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
align-items: center;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
.entry:nth-child(even) {
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
|
2017-12-01 21:49:59 +00:00
|
|
|
.entry:nth-child(-n+10):before,
|
|
|
|
.entry:nth-child(10):before {
|
2017-11-28 22:46:42 +00:00
|
|
|
counter-increment: style-number;
|
|
|
|
content: counter(style-number);
|
|
|
|
position: absolute;
|
2017-12-01 21:49:59 +00:00
|
|
|
top: .9ex;
|
2017-11-28 22:46:42 +00:00
|
|
|
right: 5px;
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
|
2017-12-01 21:49:59 +00:00
|
|
|
.entry:nth-child(10):before {
|
|
|
|
content: "0";
|
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
.entry .style-edit-link {
|
2017-03-11 10:15:03 +00:00
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
.entry .style-edit-link,
|
|
|
|
.entry .delete {
|
2017-03-11 10:15:03 +00:00
|
|
|
display: inline-block;
|
2017-03-30 23:49:03 +00:00
|
|
|
padding: 0 1px 0;
|
2017-03-09 12:53:00 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
.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 {
|
2017-04-02 06:38:06 +00:00
|
|
|
color: darkred;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.regexp-problem-indicator {
|
2017-04-02 06:38:06 +00:00
|
|
|
background-color: #d00;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
line-height: 15px;
|
2017-03-30 23:18:41 +00:00
|
|
|
border-radius: 8px;
|
2017-04-02 06:38:06 +00:00
|
|
|
margin-right: 6px;
|
|
|
|
margin-left: 6px;
|
2017-03-30 23:18:41 +00:00
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
2017-04-02 06:38:06 +00:00
|
|
|
font-size: 90%;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2017-04-02 06:38:06 +00:00
|
|
|
z-index: 999999;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2017-03-09 12:53:00 +00:00
|
|
|
.svg-icon {
|
|
|
|
pointer-events: none;
|
2017-03-30 23:49:03 +00:00
|
|
|
transition: fill .5s;
|
2017-04-01 04:37:25 +00:00
|
|
|
width: 14px;
|
|
|
|
height: 16px;
|
|
|
|
fill: #666;
|
2017-03-09 12:53:00 +00:00
|
|
|
}
|
2017-04-01 04:37:25 +00:00
|
|
|
|
2017-03-30 23:49:03 +00:00
|
|
|
a:hover .svg-icon {
|
2017-04-01 04:37:25 +00:00
|
|
|
fill: #000;
|
2017-03-11 10:15:03 +00:00
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
body > .actions {
|
|
|
|
margin-top: 0.5em;
|
2017-12-01 21:49:59 +00:00
|
|
|
/* raise the actions above the hotkey-info */
|
|
|
|
position: relative;
|
|
|
|
z-index: 4;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
.actions > div:not(:last-child):not(#disable-all-wrapper),
|
2017-04-12 13:56:41 +00:00
|
|
|
.actions > .main-controls > div:not(:last-child) {
|
2017-01-11 11:55:38 +00:00
|
|
|
margin-bottom: 0.75em;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
.actions input,
|
|
|
|
.actions label {
|
2017-01-11 11:55:38 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-04-12 13:56:41 +00:00
|
|
|
body.blocked #installed > *,
|
2017-12-02 23:55:23 +00:00
|
|
|
body.blocked .actions > .main-controls {
|
2017-03-30 23:18:41 +00:00
|
|
|
display: none;
|
2017-03-21 01:32:38 +00:00
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
/* Never shown, but can be enabled with a style */
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
.enable,
|
|
|
|
.disable {
|
2017-01-11 11:55:38 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 'New style' links */
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
#write-style {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
#write-style-for {
|
|
|
|
margin-right: .6ex
|
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link {
|
|
|
|
margin-left: .6ex
|
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link::before {
|
|
|
|
content: "\00ad"; /* "soft" hyphen */
|
|
|
|
}
|
|
|
|
|
|
|
|
#match {
|
|
|
|
overflow-wrap: break-word;
|
2017-04-01 04:37:25 +00:00
|
|
|
display: block;
|
|
|
|
flex-grow: 9;
|
|
|
|
min-width: 200px;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
2017-01-11 11:55:38 +00:00
|
|
|
|
|
|
|
/* "breadcrumbs" 'new style' links */
|
2017-03-30 23:18:41 +00:00
|
|
|
.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/"
|
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
.breadcrumbs > .write-style-link:last-child:first-child::before,
|
2017-03-30 23:18:41 +00:00
|
|
|
.breadcrumbs > .write-style-link[subdomain=""] + .write-style-link::before {
|
|
|
|
content: none
|
|
|
|
}
|
2017-01-11 11:55:38 +00:00
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
/* suppress TLD-only link */
|
|
|
|
.breadcrumbs > .write-style-link[subdomain=""] {
|
|
|
|
display: none
|
|
|
|
}
|
2017-01-11 11:55:38 +00:00
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
/* :hover style */
|
|
|
|
.breadcrumbs.url\(\) > .write-style-link,
|
|
|
|
|
|
|
|
/* :hover or :focus on "this URL" sets class="url()" */
|
2017-01-11 11:55:38 +00:00
|
|
|
.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;
|
2017-03-21 01:32:38 +00:00
|
|
|
text-decoration-skip: ink;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-06 13:54:56 +00:00
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
/* action buttons */
|
|
|
|
|
2017-03-06 13:54:56 +00:00
|
|
|
#popup-options {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2017-08-07 22:25:01 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
padding: 1.2em 1px;
|
2017-03-06 13:54:56 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-06 13:54:56 +00:00
|
|
|
#popup-options button {
|
2017-08-07 22:25:01 +00:00
|
|
|
width: 32%;
|
2017-03-06 13:54:56 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2017-06-08 22:46:25 +00:00
|
|
|
.firefox #popup-options button {
|
2017-08-07 22:25:01 +00:00
|
|
|
width: 49%;
|
2017-06-08 22:46:25 +00:00
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
/* confirm */
|
|
|
|
|
2017-08-31 10:11:34 +00:00
|
|
|
#confirm {
|
2017-03-25 19:50:37 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
z-index: 2147483647;
|
2017-03-30 23:18:41 +00:00
|
|
|
display: none;
|
2017-03-25 19:50:37 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-03-30 23:18:41 +00:00
|
|
|
margin: 0 !important;
|
2017-03-25 19:50:37 +00:00
|
|
|
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;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
#confirm.lights-on {
|
|
|
|
animation: lights-on .25s ease-in-out;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-08-31 10:11:34 +00:00
|
|
|
#confirm.lights-on,
|
2017-03-30 23:18:41 +00:00
|
|
|
#confirm.lights-on > div {
|
2017-03-25 19:50:37 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
#confirm[data-display=true] {
|
|
|
|
display: flex;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
#confirm > div {
|
2017-03-25 19:50:37 +00:00
|
|
|
width: 80%;
|
|
|
|
max-height: 80%;
|
2017-08-31 10:11:34 +00:00
|
|
|
min-height: 6em;
|
|
|
|
padding: 1em;
|
2017-03-25 19:50:37 +00:00
|
|
|
background-color: #fff;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border: solid 2px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-08-31 10:11:34 +00:00
|
|
|
#confirm > div > *:not(:last-child) {
|
|
|
|
padding-bottom: .5em;
|
2017-03-25 19:50:37 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
#confirm > div > div {
|
2017-03-25 20:39:21 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
.non-windows #confirm > div > div {
|
2017-03-25 19:50:37 +00:00
|
|
|
direction: rtl;
|
2017-03-25 20:39:21 +00:00
|
|
|
text-align: right;
|
2017-03-25 19:50:37 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-08-31 10:11:34 +00:00
|
|
|
#confirm > button {
|
|
|
|
/* add a gap between buttons both for horizontal
|
|
|
|
or vertical (when the label is wide) layout */
|
|
|
|
margin: 0 .25em .25em 0;
|
|
|
|
}
|
|
|
|
|
2017-04-12 09:57:40 +00:00
|
|
|
.unreachable .entry {
|
|
|
|
opacity: .25;
|
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
.unreachable .blocked-info {
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:54 +00:00
|
|
|
.blocked-info {
|
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
.blocked-info label {
|
|
|
|
padding: 5px 0;
|
2017-04-12 09:57:40 +00:00
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
.blocked-info p {
|
|
|
|
padding: 1px 0 9px;
|
2017-04-12 09:57:40 +00:00
|
|
|
display: block;
|
|
|
|
font-size: 90%;
|
2017-08-27 09:56:09 +00:00
|
|
|
margin: 0;
|
2017-04-12 13:56:41 +00:00
|
|
|
}
|
|
|
|
|
2017-12-01 21:49:59 +00:00
|
|
|
/******************************************/
|
|
|
|
|
|
|
|
#hotkey-info {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 16px;
|
|
|
|
cursor: help;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
z-index: 1;
|
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info:not([data-active]) > * {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info[data-active] {
|
|
|
|
left: 6ex;
|
|
|
|
width: auto;
|
|
|
|
cursor: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-left: 2px solid white;
|
|
|
|
box-shadow: 0 0 90px rgba(0, 0, 0, .5);
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info div:first-child {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0 1em;
|
|
|
|
font-size: 11px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info div {
|
|
|
|
padding: 1em;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info div:last-child {
|
|
|
|
box-shadow: 0 0 90px rgba(0, 0, 0, .25);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info p {
|
|
|
|
text-indent: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info mark {
|
|
|
|
display: inline-block;
|
|
|
|
background: linear-gradient(#ccc, #fff);
|
|
|
|
padding: 1px 6px 0;
|
|
|
|
margin: 2px;
|
|
|
|
border: 1px solid white;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 1px 1px 4px rgba(0, 0, 0, .3);
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************/
|
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
@keyframes lights-off {
|
|
|
|
from {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
@keyframes lights-on {
|
|
|
|
from {
|
|
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2017-08-07 21:15:19 +00:00
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
}
|