2017-12-05 21:14:21 +00:00
|
|
|
:root {
|
|
|
|
--header-width: 280px;
|
|
|
|
--checkbox-width: 24px;
|
|
|
|
--name-padding-left: 40px;
|
|
|
|
--name-padding-right: 40px;
|
|
|
|
--actions-width: 75px;
|
|
|
|
--onoffswitch-width: 60px;
|
2017-12-29 17:27:10 +00:00
|
|
|
--outer-padding: 9px;
|
2018-10-12 20:31:59 +00:00
|
|
|
--popup-zebra-alpha-bg: hsla(0, 0%, 50%, .1);
|
|
|
|
--all-disabled-checkbox-hover: hsl(0, 50%, 40%);
|
|
|
|
--stylename-popup-hover-text: hsl(180, 100%, 20%);
|
|
|
|
--stylename-hover-garadient-left: hsla(180, 50%, 30%, 0.2);
|
|
|
|
--stylename-hover-garadient-middle: hsla(180, 20%, 10%, 0.05);
|
2017-12-05 21:14:21 +00:00
|
|
|
}
|
|
|
|
|
2018-03-12 21:14:59 +00:00
|
|
|
html {
|
|
|
|
/* Chrome 66-?? adds a gap equal to the scrollbar width,
|
|
|
|
which looks like a bug, see https://crbug.com/821143 */
|
|
|
|
overflow: overlay;
|
|
|
|
}
|
|
|
|
|
2017-11-08 03:47:55 +00:00
|
|
|
html, body {
|
|
|
|
height: min-content;
|
2017-12-12 14:04:58 +00:00
|
|
|
max-height: 600px;
|
2017-11-08 03:47:55 +00:00
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
body {
|
2018-10-18 20:35:48 +00:00
|
|
|
background-color: var(--truegray-alpha-15);
|
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;
|
2018-10-12 20:31:59 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
2017-11-08 03:47:55 +00:00
|
|
|
|
2017-05-14 11:26:51 +00:00
|
|
|
.firefox body {
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--black);
|
|
|
|
background-color: var(--main-bg);
|
2017-05-14 11:26:51 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#confirm {
|
2017-12-29 17:27:10 +00:00
|
|
|
margin-left: var(--outer-padding);
|
|
|
|
margin-right: var(--outer-padding);
|
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"] {
|
2018-10-12 20:31:59 +00:00
|
|
|
border-color: var(--black);
|
|
|
|
background-color: transparent;
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled #disableAll:checked + .svg-icon.checked {
|
|
|
|
fill: var(--darker-red);
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled #disableAll:checked:hover + .svg-icon.checked {
|
|
|
|
fill: var(--white);
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#disableAll:hover,
|
|
|
|
body.disabled #disableAll:checked {
|
|
|
|
border-color: var(--darker-red);
|
|
|
|
background-color: var(--red-alpha-05);
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled #disableAll-label,
|
2017-12-03 23:40:22 +00:00
|
|
|
#disableAll-label:hover {
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--firebrick);
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled #disableAll:checked:hover {
|
|
|
|
border-color: var(--firebrick);
|
|
|
|
background-color: var(--firebrick);
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
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;
|
2017-12-29 17:27:10 +00:00
|
|
|
left: var(--outer-padding);
|
2017-12-02 23:55:23 +00:00
|
|
|
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-29 17:27:10 +00:00
|
|
|
padding: 4px var(--outer-padding) 6px;
|
2017-12-12 02:21:06 +00:00
|
|
|
font-weight: bold;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-12-10 01:03:04 +00:00
|
|
|
#find-styles-link {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
2017-01-11 11:55:38 +00:00
|
|
|
.checker {
|
|
|
|
display: inline;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body > div:last-of-type,
|
|
|
|
body.blocked > div {
|
|
|
|
border-bottom: none;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#search-results {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
flex-basis: 100%;
|
|
|
|
padding-bottom: 12px;
|
2017-04-01 04:37:25 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#installed {
|
|
|
|
border-bottom: 1px solid var(--truegray-alpha-3);
|
|
|
|
max-height: 445px;
|
|
|
|
overflow-y: auto;
|
|
|
|
counter-reset: style-number;
|
|
|
|
position: relative;
|
|
|
|
flex-basis: 100%;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#write-styles-wrapper,
|
|
|
|
.classicUI #disable-all-wrapper {
|
|
|
|
flex-basis: 100%;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled .toggle-all-off,
|
|
|
|
body:not(.disabled) .toggle-all-on {
|
|
|
|
display: none;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#popup-write-style-icon {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#write-styles-wrapper {
|
|
|
|
padding: var(--outer-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-wrapper {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-shrink: 1;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI body > .action-wrapper button,
|
|
|
|
#disable-all-icon,
|
|
|
|
#popup-confirm-icon {
|
|
|
|
display: inline-flex;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disable-all-icon > div {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.disabled) #disable-all-icon > div:nth-child(2),
|
|
|
|
body.disabled #disable-all-icon > div:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > .action-wrapper,
|
|
|
|
#write-style-wrapper,
|
|
|
|
#search-results {
|
|
|
|
background-color: var(--truegray-alpha-1);
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#popup-manage-wrapper {
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disable-all-wrapper {
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles-wrapper.action-wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* accessibility */
|
|
|
|
.main-controls .style-edit-link-accessibility {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
pointer-events: none
|
|
|
|
}
|
|
|
|
|
|
|
|
.style-edit-link-accessibility:not([data-focused-via-click]):focus + .style-name,
|
|
|
|
.entry .actions > a:not([data-focused-via-click]):focus {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
2018-10-13 22:47:27 +00:00
|
|
|
.iconUI button .svg-icon {
|
|
|
|
display: inline-flex;
|
2018-10-13 22:07:52 +00:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2018-10-13 22:47:27 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-10-12 20:31:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#popup-confirm-icon {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: -5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disable-all-icon .svg-icon {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI #popup-options-button .svg-icon,
|
|
|
|
#popup-confirm-icon .svg-icon {
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#write-style-for .svg-icon {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
#find-styles-icon .svg-icon {
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#find-external-icon,
|
|
|
|
#find-external-icon-noclick,
|
|
|
|
#find-inline-icon {
|
|
|
|
height: 20px;
|
|
|
|
padding-top: 3px;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-external-icon .svg-icon,
|
|
|
|
#find-external-icon-noclick .svg-icon,
|
|
|
|
#find-inline-icon .svg-icon,
|
|
|
|
a[target="_blank"] .svg-icon.config {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
#popup-manage-button .svg-icon {
|
2018-10-12 20:31:59 +00:00
|
|
|
stroke: var(--gray-lightness-40);
|
2018-10-18 20:35:48 +00:00
|
|
|
fill: transparent !important;
|
2018-10-12 20:31:59 +00:00
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
#popup-manage-button:hover .svg-icon {
|
2018-10-12 20:31:59 +00:00
|
|
|
stroke: var(--black);
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles-link,
|
|
|
|
#write-style-for {
|
|
|
|
font-size: 0;
|
2018-10-13 22:47:27 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2018-10-12 20:31:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#write-style-wrapper {
|
|
|
|
flex-basis: 100%;
|
|
|
|
padding: var(--outer-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles-inline-group input[type="checkbox"] ~ #find-external-icon,
|
|
|
|
.search-results-shown #find-external-icon-noclick,
|
|
|
|
.error-shown #find-external-icon-noclick,
|
|
|
|
#find-styles-icon {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles-inline-group input[type="checkbox"]:checked ~ #find-external-icon,
|
|
|
|
#find-styles-inline-group input[type="checkbox"]:not(:checked) ~ #find-inline-icon,
|
|
|
|
#find-external-icon-noclick {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results-shown #find-external-icon,
|
|
|
|
.search-results-shown #find-inline-icon,
|
2018-10-18 20:35:48 +00:00
|
|
|
.error-shown #find-styles-wrapper {
|
2018-10-12 20:31:59 +00:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles-inline-group,
|
2018-10-14 14:34:13 +00:00
|
|
|
#find-inline-icon,
|
|
|
|
#find-external-icon {
|
2018-10-12 20:31:59 +00:00
|
|
|
display: inline-flex;
|
|
|
|
height: min-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-styles-inline-group label {
|
|
|
|
display: inline-flex;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#find-inline-icon,
|
|
|
|
#find-external-icon {
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.write-style path:first-child {
|
|
|
|
stroke: var(--gray-lightness-40);
|
|
|
|
stroke-width: 1px;
|
|
|
|
stroke-linejoin: round;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.toggled-on,
|
|
|
|
.svg-icon.toggled-off {
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.toggled-on path,
|
|
|
|
.svg-icon.toggled-off path {
|
|
|
|
transition: fill .5s, stroke .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.toggled-on path:first-child,
|
|
|
|
.svg-icon.toggled-on path:nth-child(2) {
|
|
|
|
fill: var(--gray-lightness-90);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .svg-icon.toggled-on path:first-child,
|
|
|
|
a:hover .svg-icon.toggled-on path:nth-child(2) {
|
|
|
|
fill: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.toggled-off path:first-child,
|
|
|
|
.svg-icon.toggled-off path:nth-child(2) {
|
|
|
|
fill: var(--gray-lightness-80);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .svg-icon.toggled-off path:first-child,
|
|
|
|
a:hover .svg-icon.toggled-off path:nth-child(2) {
|
|
|
|
fill: var(--gray-lightness-90);
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.toggled-on path:nth-child(2),
|
|
|
|
.svg-icon.toggled-off path:nth-child(2) {
|
|
|
|
stroke: var(--truegray);
|
|
|
|
stroke-width: 1px;
|
|
|
|
stroke-linejoin: round;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .svg-icon.toggled-on path:nth-child(2),
|
|
|
|
a:hover .svg-icon.toggled-off path:nth-child(2) {
|
|
|
|
stroke: var(--black);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .svg-icon.toggled-on path:nth-child(3),
|
|
|
|
a:hover .svg-icon.toggled-off path:nth-child(3) {
|
|
|
|
fill: var(--black);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.svg-icon.toggled-on path:nth-child(3),
|
|
|
|
.svg-icon.toggled-off path:nth-child(3) {
|
|
|
|
fill: var(--gray-lightness-30);
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry.disabled .actions > .enable,
|
|
|
|
.entry.enabled .actions > .disable {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry.disabled .actions > .disable,
|
|
|
|
.entry.enabled .actions > .enable,
|
|
|
|
.toggleUI .entry.disabled .actions > .enable,
|
|
|
|
.toggleUI .entry.enabled .actions > .disable,
|
|
|
|
.toggleUI .directLinkUI-el {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #find-styles-inline-group label {
|
2017-12-12 14:04:58 +00:00
|
|
|
position: relative;
|
2018-10-12 20:31:59 +00:00
|
|
|
padding-left: 16px;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggleUI .style-name {
|
|
|
|
padding-left: 26px;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.iconUI .classicUI-el,
|
|
|
|
.classicUI .iconUI-el,
|
|
|
|
.directLinkUI .toggleUI-el,
|
|
|
|
.toggleUI .editUI-el {
|
|
|
|
display: none !important;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
.iconUI #disable-all-wrapper {
|
2018-10-14 14:34:13 +00:00
|
|
|
padding: 0 5px 0 0;
|
2018-10-12 20:31:59 +00:00
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI .action-wrapper button {
|
|
|
|
display: inline-flex;
|
2018-10-13 22:47:27 +00:00
|
|
|
border: 0;
|
|
|
|
background: none;
|
2018-10-18 20:35:48 +00:00
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
2018-10-13 22:47:27 +00:00
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI .action-wrapper button:hover {
|
|
|
|
background: none;
|
2018-10-13 22:47:27 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled .style-name {
|
2017-01-11 11:55:38 +00:00
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled + .actions #disableAll-label {
|
2017-11-13 17:42:35 +00:00
|
|
|
font-weight: bold;
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--firebrick);
|
2017-11-13 17:42:35 +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;
|
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
|
|
|
.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;
|
2018-10-12 20:31:59 +00:00
|
|
|
padding-left: var(--outer-padding);
|
2017-12-02 23:55:23 +00:00
|
|
|
position: relative;
|
2018-10-12 20:31:59 +00:00
|
|
|
transition: color .1s, opacity .1s;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.style-name:hover {
|
|
|
|
color: var(--stylename-popup-hover-text);
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-14 14:36:42 +00:00
|
|
|
.entry .style-name:hover::before {
|
2018-07-16 16:37:01 +00:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2018-10-12 20:31:59 +00:00
|
|
|
background: linear-gradient(to right, var(--stylename-hover-garadient-left), var(--stylename-hover-garadient-middle) 50%, transparent);
|
2018-07-16 16:37:01 +00:00
|
|
|
pointer-events: none;
|
2018-10-12 20:31:59 +00:00
|
|
|
z-index: -1;
|
2018-07-16 16:37:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.entry .style-name:hover::before {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
.entry.disabled .style-name,
|
|
|
|
.entry.disabled .actions > a,
|
|
|
|
.entry.regexp-partial .style-name,
|
|
|
|
.entry.regexp-partial .actions > a,
|
|
|
|
.unreachable .entry .style-name,
|
|
|
|
.unreachable .entry .actions > a {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry.disabled .actions > a,
|
|
|
|
.entry.regexp-partial .actions > a,
|
|
|
|
.unreachable .entry .actions > a {
|
|
|
|
transition: opacity .1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***** adjust disabled opacity on zebra-striping *****/
|
|
|
|
|
|
|
|
#installed:not(.reverse-stripe) .entry.disabled:nth-child(even) .style-name,
|
|
|
|
#installed:not(.reverse-stripe) .entry.disabled:nth-child(even) .actions > a,
|
|
|
|
#installed:not(.reverse-stripe) .entry.regexp-partial:nth-child(even) .style-name,
|
|
|
|
#installed:not(.reverse-stripe) .entry.regexp-partial:nth-child(even) .actions > a,
|
|
|
|
#installed:not(.reverse-stripe) .unreachable .entry:nth-child(even) .style-name,
|
|
|
|
#installed:not(.reverse-stripe) .unreachable .entry:nth-child(even) .actions > a,
|
|
|
|
.reverse-stripe .entry.disabled:nth-child(odd) .style-name,
|
|
|
|
.reverse-stripe .entry.disabled:nth-child(odd) .actions > a,
|
|
|
|
.reverse-stripe .entry.regexp-partial:nth-child(odd) .style-name,
|
|
|
|
.reverse-stripe .entry.regexp-partial:nth-child(odd) .actions > a,
|
|
|
|
.reverse-stripe .unreachable .entry:nth-child(odd) .style-name,
|
|
|
|
.reverse-stripe .unreachable .entry:nth-child(odd) .actions > a {
|
|
|
|
opacity: .35;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry.disabled:before,
|
|
|
|
.entry.regexp-partial:before,
|
|
|
|
.unreachable .entry:before {
|
|
|
|
opacity: .6;
|
|
|
|
transition: opacity .1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry:hover .style-name,
|
|
|
|
.entry:hover .actions > a,
|
|
|
|
.entry:hover:before {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
2017-12-02 23:55:23 +00:00
|
|
|
.entry .main-controls {
|
|
|
|
height: 100%;
|
|
|
|
display: inline-flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
align-items: center;
|
2018-10-12 20:31:59 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .actions {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry:nth-child(odd),
|
|
|
|
.reverse-stripe .entry:nth-child(even) {
|
|
|
|
background-color: transparent;
|
2017-12-02 23:55:23 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
.entry:nth-child(even),
|
|
|
|
.reverse-stripe .entry:nth-child(odd) {
|
|
|
|
background-color: var(--popup-zebra-alpha-bg);
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
2017-12-01 21:49:59 +00:00
|
|
|
.entry:nth-child(-n+10):before,
|
2017-12-14 02:50:58 +00:00
|
|
|
.entry:nth-child(11):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;
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--gray-lightness-66);
|
2017-11-28 22:46:42 +00:00
|
|
|
}
|
|
|
|
|
2017-12-14 02:50:58 +00:00
|
|
|
.entry:nth-child(11):before {
|
2017-12-01 21:49:59 +00:00
|
|
|
content: "0";
|
|
|
|
}
|
|
|
|
|
2017-12-14 02:50:58 +00:00
|
|
|
html[style*="border"] .entry:nth-child(-n+10):before,
|
|
|
|
html[style*="border"] .entry:nth-child(11):before {
|
|
|
|
/* the "show side borders" option adds 2px */
|
|
|
|
right: 7px;
|
|
|
|
}
|
|
|
|
|
2017-12-05 21:14:21 +00:00
|
|
|
.entry .actions {
|
|
|
|
margin-left: -1px;
|
|
|
|
margin-right: -1px;
|
2017-03-11 10:15:03 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-12-05 21:14:21 +00:00
|
|
|
.entry .actions > * {
|
2018-10-12 20:31:59 +00:00
|
|
|
height: 26px;
|
|
|
|
width: 20px;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .actions > .enable,
|
|
|
|
.entry .actions > .disable {
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .actions > .configure {
|
|
|
|
padding-right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry .actions > .configure[target="_blank"] {
|
|
|
|
padding-right: 2px;
|
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 {
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--darkred);
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.regexp-problem-indicator {
|
2018-10-12 20:31:59 +00:00
|
|
|
background-color: var(--darker-red);
|
2017-04-02 06:38:06 +00:00
|
|
|
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;
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--white);
|
2017-03-30 23:18:41 +00:00
|
|
|
font-weight: bold;
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
2017-04-02 06:38:06 +00:00
|
|
|
font-size: 90%;
|
2018-10-12 20:31:59 +00:00
|
|
|
flex-shrink: 0;
|
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%;
|
2018-10-12 20:31:59 +00:00
|
|
|
border-top: 2px solid var(--black);
|
|
|
|
border-bottom: 2px solid var(--black);
|
|
|
|
box-shadow: 0 0 100px var(--black);
|
2017-03-30 23:18:41 +00:00
|
|
|
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;
|
2018-10-18 20:35:48 +00:00
|
|
|
transition: fill .5s, stroke .5s;
|
2018-10-12 20:31:59 +00:00
|
|
|
width: 16px;
|
2017-04-01 04:37:25 +00:00
|
|
|
height: 16px;
|
2018-10-12 20:31:59 +00:00
|
|
|
fill: var(--gray-lightness-40);
|
2017-03-09 12:53:00 +00:00
|
|
|
}
|
2017-04-01 04:37:25 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
a:hover .svg-icon,
|
|
|
|
.actions a:hover .svg-icon,
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI button:hover .svg-icon,
|
|
|
|
.iconUI #popup-options-button:hover .svg-icon,
|
|
|
|
#find-inline-icon:hover .svg-icon,
|
|
|
|
#find-external-icon:hover .svg-icon,
|
|
|
|
#find-styles-icon:hover .svg-icon,
|
|
|
|
#popup-wiki-button:hover .svg-icon {
|
2018-10-12 20:31:59 +00:00
|
|
|
fill: var(--black);
|
2017-03-11 10:15:03 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
.actions .svg-icon,
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI #popup-options-button .svg-icon,
|
|
|
|
#find-inline-icon .svg-icon,
|
|
|
|
#find-external-icon .svg-icon {
|
2018-10-12 20:31:59 +00:00
|
|
|
fill: var(--truegray);
|
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
#find-styles-icon .svg-icon,
|
|
|
|
#popup-wiki-button .svg-icon {
|
2018-10-12 20:31:59 +00:00
|
|
|
fill: var(--gray-lightness-45);
|
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.svg-icon.external.noclick {
|
|
|
|
fill: var(--gray-lightness-65);
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
.svg-icon.remove {
|
|
|
|
height: 16px;
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disable-all-icon {
|
|
|
|
transition: transform .5s;
|
|
|
|
will-change: transform;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disable-all-icon:hover .svg-icon,
|
|
|
|
body.disabled #disable-all-icon .svg-icon {
|
|
|
|
fill: var(--darker-red);
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
body.disabled #disable-all-icon {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
transform-origin: 50% 50%;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
|
|
|
.actions input,
|
|
|
|
.actions label {
|
2017-01-11 11:55:38 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-10-14 14:48:43 +00:00
|
|
|
#find-styles.hidden,
|
2017-04-12 13:56:41 +00:00
|
|
|
body.blocked #installed > *,
|
2018-10-12 20:31:59 +00:00
|
|
|
body.blocked #find-styles-wrapper,
|
|
|
|
body.blocked #write-style-wrapper {
|
2017-03-30 23:18:41 +00:00
|
|
|
display: none;
|
2017-03-21 01:32:38 +00:00
|
|
|
}
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI body.blocked #popup-options-wrapper,
|
|
|
|
.iconUI body.error-shown #popup-options-wrapper {
|
2018-10-12 20:31:59 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.iconUI body.blocked #popup-wiki-wrapper,
|
|
|
|
.iconUI body.error-shown #popup-wiki-wrapper {
|
2018-10-12 20:31:59 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: flex-end;
|
2017-01-11 11:55:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 'New style' links */
|
2017-04-01 04:37:25 +00:00
|
|
|
#write-style {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2018-10-12 20:31:59 +00:00
|
|
|
flex-wrap: nowrap;
|
2017-04-01 04:37:25 +00:00
|
|
|
}
|
|
|
|
|
2017-03-30 23:18:41 +00:00
|
|
|
#write-style-for {
|
2018-10-12 20:31:59 +00:00
|
|
|
margin-right: .2rem;
|
2017-03-30 23:18:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link {
|
|
|
|
margin-left: .6ex
|
|
|
|
}
|
|
|
|
|
|
|
|
.write-style-link::before {
|
|
|
|
content: "\00ad"; /* "soft" hyphen */
|
|
|
|
}
|
|
|
|
|
|
|
|
#match {
|
2018-10-12 20:31:59 +00:00
|
|
|
display: inline-flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#match > .breadcrumbs {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#match > .breadcrumbs > * {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
max-width: calc(100vw - 42px);
|
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 {
|
2018-10-12 20:31:59 +00:00
|
|
|
color: var(--gray-lightness-73);
|
2017-03-30 23:18:41 +00:00
|
|
|
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 */
|
|
|
|
|
2018-10-18 20:35:48 +00:00
|
|
|
.classicUI #popup-manage-wrapper button,
|
|
|
|
.classicUI #popup-options-wrapper button,
|
|
|
|
.classicUI #popup-wiki-wrapper button {
|
2017-03-06 13:54:56 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-12-29 17:27:10 +00:00
|
|
|
padding: 2px 4px;
|
|
|
|
/* several languages have labels of wildly different lengths so we try to maintain the proportion */
|
|
|
|
flex: 1 1 auto;
|
2018-07-02 15:28:38 +00:00
|
|
|
min-width: 2em;
|
2017-03-06 13:54:56 +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;
|
2018-10-12 20:31:59 +00:00
|
|
|
background-color: var(--black-alpha-4);
|
2017-03-25 19:50:37 +00:00
|
|
|
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
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-10-12 20:31:59 +00:00
|
|
|
border: solid 2px var(--black-alpha-5);
|
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 > div > *:not(:last-child) {
|
|
|
|
padding-bottom: .5em;
|
2017-03-25 19:50:37 +00:00
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#confirm > div > div.classicUI-el {
|
2017-03-25 20:39:21 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
#confirm > div > div.iconUI-el {
|
|
|
|
display: flex;
|
|
|
|
flex-basis: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.iconUI #confirm > div {
|
|
|
|
padding-bottom: .25em
|
|
|
|
}
|
|
|
|
|
|
|
|
#popup-delete-icon.action-wrapper,
|
|
|
|
#popup-cancel-icon.action-wrapper {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#popup-delete-icon {
|
|
|
|
margin-right: .75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#popup-cancel-icon {
|
|
|
|
margin-left: .75rem;
|
|
|
|
}
|
|
|
|
|
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-08-27 09:56:09 +00:00
|
|
|
.unreachable .blocked-info {
|
2018-10-12 20:31:59 +00:00
|
|
|
border-bottom: 1px solid var(--truegray-alpha-3);
|
2017-08-27 09:56:09 +00:00
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:54 +00:00
|
|
|
.blocked-info {
|
2018-10-18 20:35:48 +00:00
|
|
|
background-color: var(--truegray-alpha-1);
|
2017-08-27 09:56:54 +00:00
|
|
|
hyphens: auto;
|
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
.blocked-info label {
|
2018-10-12 20:31:59 +00:00
|
|
|
padding: 5px var(--outer-padding);
|
2017-04-12 09:57:40 +00:00
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
.blocked-info p {
|
2018-10-12 20:31:59 +00:00
|
|
|
padding: 1px var(--outer-padding) var(--outer-padding);
|
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] {
|
2017-12-12 14:04:58 +00:00
|
|
|
position: fixed;
|
2017-12-01 21:49:59 +00:00
|
|
|
left: 6ex;
|
2017-12-12 14:04:58 +00:00
|
|
|
bottom: unset;
|
2017-12-01 21:49:59 +00:00
|
|
|
width: auto;
|
|
|
|
cursor: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border-left: 2px solid white;
|
2018-10-12 20:31:59 +00:00
|
|
|
box-shadow: 0 0 90px var(--black-alpha-5);
|
2017-12-01 21:49:59 +00:00
|
|
|
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;
|
2018-10-12 20:31:59 +00:00
|
|
|
border-top: 1px solid var(--gray-lightness-86);
|
|
|
|
background-color: var(--gray-lightness-95);
|
2017-12-01 21:49:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info div:last-child {
|
2018-10-12 20:31:59 +00:00
|
|
|
background-color: var(--gray-lightness-85);
|
|
|
|
box-shadow: 0 0 90px var(--black-alpha-25);
|
2017-12-01 21:49:59 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info p {
|
|
|
|
text-indent: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hotkey-info mark {
|
|
|
|
display: inline-block;
|
2018-10-12 20:31:59 +00:00
|
|
|
background: linear-gradient(var(--gray-lightness-80), var(--white));
|
2017-12-01 21:49:59 +00:00
|
|
|
padding: 1px 6px 0;
|
|
|
|
margin: 2px;
|
2018-10-12 20:31:59 +00:00
|
|
|
border: 1px solid var(--white);
|
2017-12-01 21:49:59 +00:00
|
|
|
border-radius: 4px;
|
2018-10-12 20:31:59 +00:00
|
|
|
box-shadow: 1px 1px 4px var(--black-alpha-3);
|
2017-12-01 21:49:59 +00:00
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2018-10-12 20:31:59 +00:00
|
|
|
/***** icon UI actions on top *****/
|
|
|
|
|
|
|
|
.actions-top #confirm {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #installed {
|
|
|
|
order: 8;
|
|
|
|
border-top: 1px solid var(--truegray-alpha-3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top body:not(.search-results-shown) #installed {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #popup-manage-wrapper {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #popup-options-wrapper {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #find-styles-wrapper {
|
|
|
|
order: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #popup-wiki-wrapper {
|
|
|
|
order: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #disable-all-wrapper {
|
|
|
|
order: 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #write-style-wrapper {
|
|
|
|
order: 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #search-results-error {
|
|
|
|
order: 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-top #search-results {
|
|
|
|
order: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***** classic UI *****/
|
|
|
|
|
|
|
|
.classicUI #confirm {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #installed {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #popup-manage-wrapper {
|
|
|
|
order: 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #popup-options-wrapper {
|
|
|
|
order: 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #find-styles-wrapper {
|
|
|
|
order: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #popup-wiki-wrapper {
|
|
|
|
order: 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #disable-all-wrapper {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #write-style-wrapper {
|
|
|
|
order: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #search-results-error {
|
|
|
|
order: 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #search-results {
|
|
|
|
order: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #write-style {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0 4px 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #find-styles-wrapper {
|
|
|
|
align-items: baseline;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 0 4px 0 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #disable-all-wrapper {
|
|
|
|
padding: .6rem var(--outer-padding) .45rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #find-styles-link {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-right: .55rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #write-style-for {
|
|
|
|
font-size: 12px;
|
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #popup-manage-wrapper,
|
|
|
|
.classicUI #popup-options-wrapper,
|
|
|
|
.classicUI #popup-wiki-wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-bottom: var(--outer-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #popup-manage-wrapper {
|
|
|
|
padding-left: var(--outer-padding);
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI #popup-wiki-wrapper {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: var(--outer-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggleUI .style-name:hover {
|
|
|
|
color: var(--black);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggleUI .entry .style-name::before {
|
|
|
|
background: linear-gradient(to right, var(--black-alpha-15), var(--black-alpha-05) 50%, transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
/***** classic UI actions on top *****/
|
|
|
|
|
|
|
|
.classicUI.actions-top #confirm {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #installed {
|
|
|
|
order: 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #popup-manage-wrapper {
|
|
|
|
order: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #popup-options-wrapper {
|
|
|
|
order: 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #find-styles-wrapper {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #popup-wiki-wrapper {
|
|
|
|
order: 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #disable-all-wrapper {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #write-style-wrapper {
|
|
|
|
order: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #search-results-error {
|
|
|
|
order: 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.classicUI.actions-top #search-results {
|
|
|
|
order: 10;
|
|
|
|
}
|
|
|
|
|
2017-12-01 21:49:59 +00:00
|
|
|
/******************************************/
|
|
|
|
|
2017-03-25 19:50:37 +00:00
|
|
|
@keyframes lights-off {
|
|
|
|
from {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
to {
|
2018-10-12 20:31:59 +00:00
|
|
|
background-color: var(--black-alpha-4);
|
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-on {
|
|
|
|
from {
|
2018-10-12 20:31:59 +00:00
|
|
|
background-color: var(--black-alpha-4);
|
2017-03-25 19:50:37 +00:00
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|