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;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > div:not(#installed) {
|
|
|
|
margin-left: 0.75em;
|
|
|
|
margin-right: 0.75em;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
input[type=checkbox] {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
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-01-11 11:55:38 +00:00
|
|
|
#no-styles {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-02-24 11:04:43 +00:00
|
|
|
#popup-shortcuts-button {
|
2017-02-28 23:57:03 +00:00
|
|
|
margin-left: 3px;
|
2017-02-24 11:04:43 +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-01-11 11:55:38 +00:00
|
|
|
.style-name {
|
|
|
|
cursor: default;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
a,
|
|
|
|
a:visited {
|
2017-01-11 11:55:38 +00:00
|
|
|
color: black;
|
2017-03-21 01:32:38 +00:00
|
|
|
text-decoration-skip: ink;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-gutter {
|
|
|
|
display: table-cell;
|
|
|
|
width: 16px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
.left-gutter input {
|
2017-03-09 12:53:00 +00:00
|
|
|
margin-bottom: 1px;
|
2017-01-11 11:55:38 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
.main-controls {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
2017-03-14 13:07:08 +00:00
|
|
|
#unavailable,
|
|
|
|
#installed {
|
2017-01-11 11:55:38 +00:00
|
|
|
border-bottom: 1px solid black;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
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-03-20 09:58:38 +00:00
|
|
|
padding-top: 2px;
|
2017-03-21 01:32:38 +00:00
|
|
|
max-height: 434px;
|
2017-03-20 09:58:38 +00:00
|
|
|
overflow-y: auto;
|
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-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;
|
|
|
|
padding: 5px 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry:nth-child(even) {
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
.entry .main-controls {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .main-controls label {
|
|
|
|
flex: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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: darkorange;
|
|
|
|
}
|
|
|
|
|
|
|
|
.regexp-problem-indicator {
|
|
|
|
background-color: darkorange;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
line-height: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 4px;
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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-03-09 12:53:00 +00:00
|
|
|
}
|
2017-03-30 23:49:03 +00:00
|
|
|
a:hover .svg-icon {
|
|
|
|
fill: #000000;
|
2017-03-11 10:15:03 +00:00
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
body > .actions {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
.actions > div:not(:last-child):not(#disable-all-wrapper),
|
|
|
|
.actions > .main-controls > div:not(:last-child),
|
|
|
|
#unavailable:not(:last-child),
|
|
|
|
#unavailable + .actions {
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#unavailable {
|
|
|
|
border: none;
|
2017-03-30 23:18:41 +00:00
|
|
|
display: none;
|
|
|
|
margin-top: 0.75em;
|
2017-03-06 20:17:32 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-01-30 19:18:34 +00:00
|
|
|
font-size: 14px;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
body.blocked #installed,
|
|
|
|
body.blocked #find-styles,
|
|
|
|
body.blocked #write-style,
|
|
|
|
body:not(.blocked) #unavailable {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-03-21 01:32:38 +00:00
|
|
|
body.blocked #unavailable {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
|
|
#write-style-for {
|
|
|
|
margin-right: .6ex
|
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link {
|
|
|
|
margin-left: .6ex
|
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link::before,
|
|
|
|
.write-style-link::after {
|
|
|
|
font-size: 12px
|
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link::before {
|
|
|
|
content: "\00ad"; /* "soft" hyphen */
|
|
|
|
}
|
|
|
|
|
|
|
|
#match {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
/* use just the subdomain name instead of the full domain name */
|
|
|
|
.breadcrumbs > .write-style-link[subdomain]:not(:nth-last-child(2)) {
|
|
|
|
font-size: 0
|
|
|
|
}
|
2017-01-11 11:55:38 +00:00
|
|
|
|
|
|
|
.breadcrumbs > .write-style-link[subdomain]:not(:nth-last-child(2))::before {
|
|
|
|
content: attr(subdomain);
|
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
/* "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;
|
|
|
|
justify-content: space-around;
|
|
|
|
padding: 1.2em 0;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-06 13:54:56 +00:00
|
|
|
#popup-options button {
|
|
|
|
margin: 0 2px;
|
|
|
|
width: 33%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
/* confirm */
|
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
#confirm,
|
2017-03-30 23:18:41 +00:00
|
|
|
#confirm > div > span {
|
2017-03-25 19:50:37 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
#confirm {
|
|
|
|
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
|
|
|
|
|
|
|
#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%;
|
|
|
|
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);
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
#confirm > div > span {
|
2017-03-25 19:50:37 +00:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
#confirm > div > b {
|
2017-03-25 19:50:37 +00:00
|
|
|
padding: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
#confirm > div > div {
|
2017-03-25 19:50:37 +00:00
|
|
|
padding: 10px;
|
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-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;
|
|
|
|
}
|
|
|
|
}
|