stylus/manage/manage.css

954 lines
19 KiB
CSS
Raw Normal View History

:root {
2019-01-03 04:17:25 +00:00
--header-icon-size: 20px;
--entry-icon-size: 20px;
2019-01-19 03:45:43 +00:00
--favicon-size: 16px;
2019-01-28 01:25:17 +00:00
--narrow-column: 60px;
2018-11-25 23:35:54 +00:00
--header-height: 40px;
2018-12-17 04:48:20 +00:00
--toolbar-height: 60px;
2019-01-13 21:39:50 +00:00
--entry-height: 30px;
--onoffswitch-width: 60px;
2019-01-03 04:17:25 +00:00
--header-bg-color: #333;
--header-text-color: #ddd;
--header-text-hover-color: hsla(180, 100%, 20%, 1);
2019-01-03 04:17:25 +00:00
--header-icon-color: #888;
--header-icon-hover-color: hsla(180, 99%, 58%, 1);
2019-01-03 05:24:10 +00:00
--tools-bg-color: #ccc;
2019-01-03 04:17:25 +00:00
--entry-header-bg-color: #ddd;
--entry-header-text-color: #111;
2019-01-03 05:24:10 +00:00
--checked-count-bg-color: hsla(180, 100%, 20%, 1);
2019-01-13 21:40:05 +00:00
--checked-bg-color: hsla(180, 100%, 24%, 1);
2019-01-03 04:17:25 +00:00
--checked-mark-color: #fff;
--entry-icon-color: #666;
2019-01-13 21:40:05 +00:00
--entry-icon-hover-color: hsla(180, 100%, 24%, 1);
2019-01-03 04:17:25 +00:00
--delete-icon-hover-color: #d40000;
}
2018-11-25 23:35:54 +00:00
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
margin: 0;
/* Firefox: fill the entire page for drag'n'drop to work */
display: flex;
height: 100%;
}
2018-11-25 23:35:54 +00:00
body.dark {
background: #181818;
color: #ddd;
}
2018-11-25 23:35:54 +00:00
a,
.disabled a:hover {
color: #000;
transition: color .5s;
}
2018-11-25 23:35:54 +00:00
a {
cursor: pointer;
}
2018-11-25 23:35:54 +00:00
a:hover {
color: #666;
}
2018-11-25 23:35:54 +00:00
.invisible {
visibility: hidden;
pointer-events: none;
}
.svg-icon {
cursor: pointer;
2019-01-03 04:17:25 +00:00
width: var(--entry-icon-size);
height: var(--entry-icon-size);
vertical-align: middle;
transition: fill .5s;
2019-01-03 04:17:25 +00:00
fill: var(--entry-icon-color);
}
#main-header .svg-icon {
width: var(--header-icon-size);
height: var(--header-icon-size);
fill: var(--header-icon-color);
2017-04-13 07:54:56 +00:00
}
2018-12-14 13:03:49 +00:00
#main-actions {
display: flex;
2019-01-21 01:35:28 +00:00
width: 320px;
2018-12-14 13:03:49 +00:00
height: 40px;
justify-content: space-between;
align-items: center;
2019-01-21 01:35:28 +00:00
margin-right: 10px;
}
#main-actions a,
#main-actions div {
margin-right: 4px;
2018-12-14 13:03:49 +00:00
}
2019-01-03 04:17:25 +00:00
/* header vertical separator between icon groups */
2018-12-14 13:03:49 +00:00
.spacer {
width: 10px;
height: 1em;
2018-12-19 01:14:52 +00:00
border-right: 1px solid rgba(119, 119, 119, .5);
2018-12-14 13:03:49 +00:00
margin-right: 10px;
}
2018-11-27 23:50:11 +00:00
.entry-actions > a,
2018-11-29 11:11:28 +00:00
.bulk-actions-select-wrapper,
2018-11-27 23:50:11 +00:00
#bulk-actions-apply {
2018-12-31 05:45:14 +00:00
position: relative;
2018-11-25 23:35:54 +00:00
margin-left: 2px;
2017-04-13 07:54:56 +00:00
}
2018-11-29 11:11:28 +00:00
#bulk-actions .svg-icon.busy:not(.hidden) {
-webkit-animation:spin 1s linear infinite;
-moz-animation:spin 1s linear infinite;
animation:spin 1s linear infinite;
}
@-moz-keyframes spin {
100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); }
}
2019-01-17 12:40:52 +00:00
.entry-header a:hover .svg-icon,
2019-01-03 04:17:25 +00:00
.entry a:hover .svg-icon,
2018-11-25 23:35:54 +00:00
.svg-icon:hover {
2019-01-03 04:17:25 +00:00
fill: var(--entry-icon-hover-color);
}
.entry .entry-delete:hover .svg-icon {
fill: var(--delete-icon-hover-color);
}
#main-header {
2019-01-03 04:17:25 +00:00
background: var(--header-bg-color);
color: var(--header-text-color);
2018-11-25 23:35:54 +00:00
position: fixed;
top: 0;
2018-12-14 13:03:49 +00:00
width: 100%;
2018-11-25 23:35:54 +00:00
height: var(--header-height);
2019-01-01 14:04:12 +00:00
z-index: 101;
2019-01-21 01:35:28 +00:00
padding: 0 4px;
2018-11-25 23:35:54 +00:00
margin: 0;
2018-12-14 13:03:49 +00:00
display: flex;
2019-01-21 01:35:28 +00:00
align-items: center;
2018-12-14 13:03:49 +00:00
justify-content: space-between;
}
#main-header .ext-version {
2018-11-25 23:35:54 +00:00
font-size: .5em;
}
#main-header svg {
2018-11-25 23:35:54 +00:00
vertical-align: bottom;
}
2018-12-17 04:48:20 +00:00
#main-header a:hover,
2019-01-01 14:04:12 +00:00
#main-actions a:hover svg,
.manage-backups:hover svg {
2019-01-03 04:17:25 +00:00
color: var(--header-icon-hover-color);
fill: var(--header-icon-hover-color);
}
#main-header:lang(ja) {
font-weight: normal;
}
2019-01-21 01:35:28 +00:00
#installed, #options, #backup {
width: 100%;
margin-top: calc(var(--header-height) + var(--entry-height));
}
2018-12-17 04:48:20 +00:00
2018-11-25 23:35:54 +00:00
#installed .entry-header {
2019-01-03 04:17:25 +00:00
background: var(--entry-header-bg-color);
color: var(--entry-header-text-color);
2018-11-25 23:35:54 +00:00
position: fixed;
top: var(--header-height);
z-index: 100;
}
2017-11-29 16:05:47 +00:00
2018-11-25 23:35:54 +00:00
#installed .entry,
#installed .entry-header {
2019-01-21 01:35:28 +00:00
width: 100%;
2019-01-28 01:25:17 +00:00
line-height: var(--entry-height);
2018-07-16 16:37:01 +00:00
display: flex;
2018-11-25 23:35:54 +00:00
flex: 0 0 var(--narrow-column);
flex-flow: row nowrap;
align-content: stretch;
2017-11-29 16:05:47 +00:00
align-items: center;
2018-11-25 23:35:54 +00:00
justify-content: center;
2019-01-13 21:06:49 +00:00
padding: 0;
2017-11-29 16:05:47 +00:00
}
2018-11-25 23:35:54 +00:00
#installed .entry:last-child {
margin-bottom: 10px;
}
2018-12-31 05:45:14 +00:00
body.all-styles-hidden-by-filters #installed:after {
font-size: 20px;
position: relative;
top: 20px;
left: 30px;
}
2018-11-27 03:28:11 +00:00
.entry-header {
margin: 0;
padding: 0 4px;
}
2018-11-25 23:35:54 +00:00
.entry {
margin: 0;
2018-11-25 23:35:54 +00:00
padding: 4px 8px;
border-top: 1px solid #ddd;
2017-12-23 00:11:46 +00:00
}
2018-11-25 23:35:54 +00:00
.entry-col {
padding-left: 4px;
flex: 1;
justify-content: space-evenly;
}
2017-12-23 00:11:46 +00:00
2018-11-25 23:35:54 +00:00
.center-text,
.entry-filter,
.entry-state,
.entry-last-update {
text-align: center;
justify-content: center;
max-width: var(--narrow-column);
padding: 0;
2017-12-03 23:40:22 +00:00
}
2018-12-08 14:46:23 +00:00
.header-last-update,
.entry-last-update {
/* inlcude update history link */
max-width: calc(var(--narrow-column) + 20px);
}
2018-12-01 03:48:55 +00:00
/* keep all icons on the same row */
.entry-actions {
white-space: pre;
}
2018-11-25 23:35:54 +00:00
.header-version,
.entry-version {
max-width: var(--narrow-column);
2017-12-03 23:40:22 +00:00
}
2018-11-25 23:35:54 +00:00
.header-name,
.entry-name {
flex: 3;
2017-12-03 23:40:22 +00:00
}
2018-11-25 23:35:54 +00:00
.header-id,
.entry-id {
text-align: right;
padding-right: 8px;
max-width: 50px;
2017-12-03 23:40:22 +00:00
}
2018-11-25 23:35:54 +00:00
.entry, .targets {
position: relative;
2017-12-03 23:40:22 +00:00
display: flex;
2018-11-25 23:35:54 +00:00
justify-content: start;
2017-12-03 23:40:22 +00:00
}
2018-11-25 23:35:54 +00:00
.entry-name {
overflow-wrap: break-word;
font-weight: 600;
text-decoration: none;
margin-right: 8px;
2019-01-13 21:06:49 +00:00
padding: 8px 0;
2017-12-03 23:40:22 +00:00
}
2019-01-13 21:39:50 +00:00
.entry-name-text {
display: inline-block;
max-width: 30vw;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
}
2018-12-02 06:14:59 +00:00
.entry-header:not(.sortable) {
cursor: default;
}
.sortable {
align-self: center;
cursor: pointer;
text-decoration: none;
}
2018-12-08 14:42:29 +00:00
.sortable[data-sort-dir="asc"] span:after,
.sortable[data-sort-dir="desc"] span:after {
2018-12-02 06:14:59 +00:00
font-size: 16px;
position: relative;
top: 2px;
}
2018-12-08 14:42:29 +00:00
.sortable[data-sort-dir="asc"] span:after {
2018-12-02 06:14:59 +00:00
content: '▴';
}
2018-12-08 14:42:29 +00:00
.sortable[data-sort-dir="desc"] span:after {
2018-12-02 06:14:59 +00:00
content: '▾';
}
2018-12-08 18:39:35 +00:00
.header-filter span:before {
content: '►';
color: #666;
position: relative;
left: 7px;
}
.header-filter:hover span:before,
.header-filter:hover .svg-icon,
.header-filter.active svg {
transition: all .5s;
color: #000;
fill: #000;
}
.header-filter.active span:before {
content: '▲';
color: #000;
}
2018-11-25 23:35:54 +00:00
.targets {
flex-wrap: wrap;
}
2018-11-25 23:35:54 +00:00
.targets .target {
2018-12-14 13:03:49 +00:00
display: inline-block;
padding: 2px;
line-height: var(--favicon-size);
2018-12-14 13:03:49 +00:00
}
.targets .applies-to-extra .target {
padding: 2px;
}
.applies-to-extra-expander {
text-decoration: none;
font-size: 1.5em;
}
2018-12-17 04:48:20 +00:00
.targets .target img,
.targets .target svg {
2019-01-13 18:22:16 +00:00
max-width: var(--favicon-size);
max-height: var(--favicon-size);
width: var(--favicon-size);
2017-12-03 23:40:22 +00:00
}
2018-12-17 04:48:20 +00:00
#installed:not(.has-favicons) .targets img,
2018-12-19 01:14:52 +00:00
#installed.has-favicons .targets img:not([src]),
2018-12-17 04:48:20 +00:00
#installed.has-favicons .targets img[src] + svg {
display: none;
}
2018-12-14 13:03:49 +00:00
#installed.faviconsGray .target img {
2018-11-25 23:35:54 +00:00
-webkit-filter: grayscale(1);
filter: grayscale(1);
2017-12-03 23:40:22 +00:00
}
2018-11-25 23:35:54 +00:00
.entry.odd {
background-color: rgba(128, 128, 128, 0.05);
}
2019-01-13 21:10:04 +00:00
.entry:hover:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to right, hsla(180, 50%, 30%, 0.2), hsla(180, 20%, 10%, 0.05) 50%, transparent);
pointer-events: none;
}
2018-11-25 23:35:54 +00:00
.entry.enabled .entry-name:hover .style-name {
color: hsla(180, 100%, 15%, 1);
}
2018-11-25 23:35:54 +00:00
.entry:hover .svg-icon:hover {
fill: #000;
2017-12-23 00:11:46 +00:00
}
2018-12-02 06:14:59 +00:00
.header-labels {
margin-left: 16px;
justify-content: center
}
.header-label,
2018-11-25 23:35:54 +00:00
.entry-label {
padding: 2px 4px;
margin-left: 2px;
border-radius: 4px;
font-size: .8em;
2018-11-29 04:21:13 +00:00
text-transform: lowercase;
2017-12-23 00:11:46 +00:00
}
2018-12-02 06:14:59 +00:00
.header-label[data-type="usercss"],
.entry-label[data-type="usercss"] {
2018-11-25 23:35:54 +00:00
background-color: hsla(180, 100%, 20%, 1);
color: white;
text-transform: lowercase;
}
2018-12-02 06:14:59 +00:00
.header-label[data-type="disabled"],
.entry-label[data-type="disabled"] {
2018-11-25 23:35:54 +00:00
background: rgba(128, 128, 128, .2);
color: #222;
}
2018-11-25 23:35:54 +00:00
.disabled .entry-name,
.disabled .entry-actions,
.disabled .entry-version,
.disabled .entry-last-update {
opacity: 0.6;
font-weight: normal;
transition: opacity .5s .1s;
}
2018-11-25 23:35:54 +00:00
.disabled:hover .entry-actions {
opacity: 1;
}
2018-11-25 23:35:54 +00:00
.disabled .entry-applies-to .svg-icon {
fill: rgba(92, 92, 92, 0.6);
2017-04-18 13:18:12 +00:00
}
2018-11-25 23:35:54 +00:00
a svg, .svg-icon.sort {
pointer-events: none;
2017-04-18 13:18:12 +00:00
}
2018-11-25 23:35:54 +00:00
/* Checkbox */
2019-01-03 05:24:10 +00:00
.checkmate input:checked + svg.checkbox .filled-circle {
fill: var(--checked-bg-color);
display: block;
2017-04-18 13:18:12 +00:00
}
2018-11-27 03:28:11 +00:00
.checkmate input[type="checkbox"],
.checkmate input:checked + svg.checkbox .circle,
2018-11-27 23:50:11 +00:00
.checkmate input:not(:checked) + svg .checkmark,
2019-01-03 05:24:10 +00:00
.checkmate input:not(:checked) + svg.checkbox .filled-circle,
2018-11-27 23:50:11 +00:00
.checkmate input:not(:indeterminate) + svg .indeterminate {
2018-11-25 23:35:54 +00:00
display: none;
}
2018-11-27 03:28:11 +00:00
.checkmate input:checked + svg.checkbox .checkmark {
2019-01-03 04:17:25 +00:00
fill: var(--checked-mark-color);
2018-11-25 23:35:54 +00:00
}
.checking-update .check-update {
opacity: 0;
display: inline-block;
pointer-events: none;
}
#installed[data-sort="order"] .header-sort,
2018-11-27 03:28:11 +00:00
/* Update icons */
2018-11-25 23:35:54 +00:00
.can-update .update,
.no-update:not(.update-problem):not(.update-done) .up-to-date,
.no-update.update-problem .check-update,
.update-done .updated {
display: inline-block;
}
2018-11-25 23:35:54 +00:00
.up-to-date svg,
.updated svg {
cursor: auto;
}
2018-11-25 23:35:54 +00:00
.update-done .updated svg {
2017-04-18 13:11:57 +00:00
top: -4px;
position: relative;
/* unprefixed since Chrome 53 */
-webkit-filter: drop-shadow(0 4px 0 currentColor);
2017-04-18 13:11:57 +00:00
filter: drop-shadow(0 5px 0 currentColor);
}
2018-11-25 23:35:54 +00:00
.can-update .update,
.no-update.update-problem .check-update {
cursor: pointer;
}
2018-11-25 23:35:54 +00:00
.can-update[data-details$="locally edited"] .update svg,
.update-problem .check-update svg {
2017-04-21 12:34:58 +00:00
fill: #ef6969;
}
2018-11-25 23:35:54 +00:00
.can-update[data-details$="locally edited"]:hover .update svg,
.entry.update-problem:hover .check-update svg {
2017-04-21 12:34:58 +00:00
fill: #fd4040;
}
2018-11-25 23:35:54 +00:00
.can-update[data-details$="locally edited"]:hover .update svg:hover,
.entry.update-problem:hover .check-update svg:hover {
2017-04-21 12:34:58 +00:00
fill: red;
}
2018-12-31 05:45:14 +00:00
.updater-icons > .update:after {
2018-12-08 14:42:29 +00:00
content: attr(data-title);
border: 1px solid gold;
background-color: goldenrod;
}
2018-12-31 05:45:14 +00:00
.entry-actions .entry-delete:after,
2018-11-25 23:35:54 +00:00
.update-problem .check-update:after {
2018-12-31 05:45:14 +00:00
background-color: #d40000;
border: 1px solid red;
color: white;
}
2018-12-31 05:45:14 +00:00
2018-12-08 14:42:29 +00:00
.update-problem.showTip {
animation: fadeout 10s;
animation-fill-mode: both;
display: inline;
}
2018-12-08 14:42:29 +00:00
.can-update .update:after {
animation: none;
}
2018-11-25 23:35:54 +00:00
.entry .svg-icon.world {
fill: #ef6969;
}
2018-12-14 13:03:49 +00:00
.target:hover img {
background-color: inherit;
}
2018-12-14 13:03:49 +00:00
.target img{
2019-01-03 04:17:25 +00:00
width: var(--entry-icon-size);
height: var(--entry-icon-size);
vertical-align: sub;
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;
2018-11-25 23:35:54 +00:00
opacity: .5;
}
2018-12-14 13:03:49 +00:00
.entry:hover .target img {
opacity: 1;
/* unprefixed since Chrome 53 */
-webkit-filter: grayscale(0);
filter: grayscale(0);
}
.targets .applies-to-extra {
2018-11-25 23:35:54 +00:00
margin-left: 4px;
margin-top: 5px;
2018-12-08 18:39:35 +00:00
cursor: pointer;
}
.entry.hide-extra .target.extra {
display: none;
}
2017-04-13 07:54:56 +00:00
#faviconsHelp {
overflow-y: auto;
font-size: 90%;
padding: 1ex 0 2ex 16px;
}
#faviconsHelp div {
2018-07-16 16:37:01 +00:00
display: flex;
align-items: center;
margin-top: 1ex;
}
2017-04-13 07:54:56 +00:00
/* Default, no update buttons */
.updater-icons .update,
.updater-icons .check-update {
display: none;
}
2018-11-25 23:35:54 +00:00
.updater-icons > * {
transition: opacity 1s;
display: none;
}
/* Check update button for things that can */
.updatable .check-update {
display: inline-block;
}
/* Update check in progress */
.checking-update .check-update {
display: none;
}
/* Updates available */
.can-update .update {
display: inline-block;
}
.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;
}
#update-all-no-updates[data-skipped-edited="true"] {
font-weight: bold;
}
#update-all-no-updates[data-skipped-edited="true"]::after {
font-weight: normal;
display: block;
}
2018-11-27 03:28:11 +00:00
/* bulk actions */
2018-11-29 04:21:13 +00:00
#tools-wrapper {
2019-01-03 05:24:10 +00:00
background: var(--tools-bg-color);
2018-11-27 03:28:11 +00:00
width: 100vw;
position: fixed;
top: var(--header-height);
left: 0;
2018-11-29 04:21:13 +00:00
height: var(--toolbar-height);
2018-11-27 03:28:11 +00:00
padding: 4px 16px;
z-index: 100;
}
2018-11-29 04:21:13 +00:00
#tools-wrapper:not(.hidden) + #installed {
2019-01-13 21:39:50 +00:00
margin-top: calc(var(--header-height) + var(--toolbar-height) + var(--entry-height));
2018-11-27 03:28:11 +00:00
}
2018-11-29 04:21:13 +00:00
#tools-wrapper:not(.hidden) + #installed .entry-header {
top: calc(var(--header-height) + var(--toolbar-height));
2018-11-27 03:28:11 +00:00
}
2018-11-29 04:21:13 +00:00
#tools-wrapper .select-resizer {
2018-11-27 23:50:11 +00:00
background: #fff;
}
2018-11-27 03:28:11 +00:00
.manage-row {
2018-12-19 01:14:52 +00:00
padding: 2px 18px;
2018-11-27 23:50:11 +00:00
display: flex;
align-items: center;
2018-11-29 04:21:13 +00:00
justify-content: space-between;
2018-11-27 23:50:11 +00:00
}
2018-11-29 04:21:13 +00:00
#filters-wrapper,
2018-11-28 13:50:54 +00:00
#bulk-filter-count {
2018-11-27 23:50:11 +00:00
margin-right: 20px;
}
2018-12-17 04:48:20 +00:00
#search-wrapper {
width: 30%;
}
2018-11-27 23:50:11 +00:00
#search {
2019-01-03 04:17:25 +00:00
width: calc(100% - var(--entry-icon-size) * 1.4);
2018-11-27 23:50:11 +00:00
}
#search-help {
text-decoration: none;
2018-11-27 03:28:11 +00:00
}
/* highlight updated/added styles */
.highlight {
animation: highlight 10s cubic-bezier(0,.82,.47,.98);
}
.highlight-quick {
animation: highlight .5s;
}
@keyframes highlight {
from {
background-color: rgba(128, 128, 128, .5);
}
to {
background-color: none;
}
}
.hidden {
display: none !important;
}
2018-11-28 13:50:54 +00:00
.active #filters-stats,
#bulk-filter-count:not(:empty) {
2019-01-03 05:24:10 +00:00
background-color: var(--checked-count-bg-color);
border-color: var(--checked-count-bg-color);
2018-11-28 13:50:54 +00:00
border-radius: 2px;
2018-11-27 03:28:11 +00:00
color: white;
font-size: 0.7rem;
font-weight: normal;
padding: 2px 5px;
position: relative;
white-space: nowrap;
}
.filter-stats-wrapper {
margin-left: .2rem;
}
#reset-filters svg {
2018-12-14 13:03:49 +00:00
fill: hsla(180, 50%, 50%, .7);
2018-11-27 03:28:11 +00:00
width: 24px; /* widen the click area a bit */
height: 20px;
padding: 2px;
box-sizing: border-box;
}
#reset-filters:hover svg {
2019-01-03 04:17:25 +00:00
fill: var(--header-icon-hover-color);
2018-11-27 03:28:11 +00:00
}
.filter-stats-wrapper:not(.active) #reset-filters,
.filter-stats-wrapper:not(.active) #filters-stats {
display: none;
}
/* 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) {
2018-07-16 16:37:01 +00:00
margin-bottom: 1em;
}
#message-box details small div {
2018-07-16 16:37:01 +00:00
margin-left: 1.5em;
}
2017-04-26 20:55:54 +00:00
.update-history-log {
font-size: 11px;
white-space: pre;
overflow-x: hidden;
text-overflow: ellipsis;
}
/* export/import buttons */
.manage-backups {
position: relative;
}
.manage-backups .dropdown {
display: none;
2019-01-13 23:27:33 +00:00
background: transparent;
padding-top: 10px;
position: absolute;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
2019-01-01 14:04:12 +00:00
z-index: 101;
}
.manage-backups .dropdown a {
2019-01-13 23:27:33 +00:00
background-color: #f9f9f9;
color: black;
padding: 8px;
2019-01-01 14:04:12 +00:00
font-size: 12px;
text-decoration: none;
display: block;
}
#main-header .manage-backups .dropdown a:hover {
/* background-color: #f2f2f2 */
background-color: #e9e9e9;
color: var(--header-text-hover-color);
}
.manage-backups:hover .dropdown {
display: block;
2019-01-01 14:04:12 +00:00
right: -20px;
2019-01-13 23:27:33 +00:00
top: 100%;
}
2017-12-23 00:11:46 +00:00
/* sort font */
@font-face {
font-family: 'sorticon';
src: url('data:application/x-font-ttf;base64,AAEAAAAQAQAABAAARkZUTYJtzGIAAAdIAAAAHEdERUYAJwAKAAAHKAAAAB5PUy8yURpfNAAAAYgAAABgY21hcEPk4dUAAAH4AAABSmN2dCAAFQAAAAAEvAAAAAJmcGdtBlicNgAAA0QAAAFzZ2FzcP//ABAAAAcgAAAACGdseWaLrdd8AAAEzAAAAHxoZWFkD8F3ewAAAQwAAAA2aGhlYQeIA8UAAAFEAAAAJGhtdHgMAP/YAAAB6AAAABBsb2NhAD4AAAAABMAAAAAKbWF4cAIUADsAAAFoAAAAIG5hbWX6WE3YAAAF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AAQAAAACAAAAAAAAAAEAAAAA1aSY2wAAAADWZKYGAAAAANZkjYA=') format('truetype');
font-weight: normal;
font-style: normal;
unicode-range: U+21E9;
}
2018-11-25 23:35:54 +00:00
#manage.sort {
2017-12-23 00:11:46 +00:00
font-family: 'sorticon', Arial;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#stylus-embedded-options {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
border: 0;
z-index: 2147483647;
background-color: hsla(0, 0%, 0%, .45);
animation: fadein .25s ease-in-out;
}
#stylus-embedded-options.fadeout {
animation: fadeout .25s ease-in-out;
}
@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;
}
}
2019-01-02 03:37:50 +00:00
@media (max-width: 1100px) {
body,
#main-header,
#tools-wrapper,
.manage-row {
position: static;
display: block;
height: auto;
}
#installed .entry-header {
position: static;
width: 100%;
height: auto;
}
.manage-backups {
2019-01-02 03:37:50 +00:00
display: inline-block;
vertical-align: center;
}
.manage-backups:hover .dropdown {
2019-01-02 03:37:50 +00:00
display: block;
left: -20px;
right: auto;
top: 99%;
}
#installed,
#tools-wrapper:not(.hidden) + #installed {
margin-top: 0;
}
2018-12-17 04:48:20 +00:00
#installed .entry,
#installed .entry-col,
#installed .entry-header {
2019-01-02 03:37:50 +00:00
flex-wrap: wrap;
}
.header-name,
.entry-name {
flex: 1;
2018-12-17 04:48:20 +00:00
}
2019-01-13 21:39:50 +00:00
.entry-name-text {
max-width: 10vw;
}
2018-12-01 03:48:55 +00:00
.entry-actions {
white-space: normal;
}
.invisible {
display: none;
}
}
/* Deprecated dropbox backup (dropbox-sync) */
#sync-dropbox-export,
#sync-dropbox-import {
opacity: 0.5;
cursor: not-allowed;
}
#backup-buttons .dropdown-content #sync-dropbox-export:hover,
#backup-buttons .dropdown-content #sync-dropbox-import:hover {
background: transparent;
}