hol/.obsidian/plugins/obsidian-image-toolkit/styles.css

342 lines
22 KiB
CSS
Raw Permalink Normal View History

body {
--layer-image-toolkit-popup: 1024;
--layer-image-toolkit-player: 1025;
--layer-image-toolkit-notice: 1026;
--layer-menu: 1027;
}
.menu {
z-index: var(--layer-menu);
}
.notice-container {
z-index: var(--layer-image-toolkit-notice);
}
.oit-main-container-view li::before {
margin-left: 0;
}
.image-toolkit-img-invert {
filter: invert(1) hue-rotate(180deg);
mix-blend-mode: screen;
}
.oit-main-container-view {
position: fixed;
font-size: 0;
line-height: 0;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: var(--layer-image-toolkit-popup);
display: none;
}
.oit-pin-container-view {
position: fixed;
font-size: 0;
line-height: 0;
z-index: var(--layer-image-toolkit-popup);
display: none;
}
.oit-main-container-view .img-container,
.oit-pin-container-view .img-container {
position: absolute;
top: 0;
pointer-events: none;
}
.oit-main-container-view .img-container .img-view {
max-height: none;
pointer-events: auto;
}
.oit-pin-container-view .img-container .img-view {
position: absolute;
max-height: none;
pointer-events: auto;
box-shadow: 0 0 5px;
}
.oit-pin-container-view .img-container .img-view:hover {
box-shadow: 0 0 6px #55acc6;
}
.oit-main-container-view .img-default-background,
.oit-pin-container-view .img-default-background {
background-position: 0 0, 5px 5px !important;
background-size: 10px 10px !important;
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, #fff 25%, #fff 75%, #eee 75%, #eee 100%) !important;
}
.oit-main-container-view .img-container .img-view:hover,
.oit-pin-container-view .img-container .img-view:hover {
cursor: pointer;
}
.oit-main-container-view .img-close {
position: absolute;
width: 32px;
height: 32px;
top: 0;
right: 0;
cursor: pointer;
}
.oit-main-container-view .img-tip,
.oit-pin-container-view .img-tip {
position: absolute;
top: 50%;
left: 50%;
font-size: 12px;
line-height: 20px;
height: 20px;
width: 50px;
text-align: center;
color: #fff;
border-radius: 10px;
background-color: rgba(0, 0, 0, .4);
pointer-events: none;
z-index: 1;
}
.oit-main-container-view .img-player,
.oit-pin-container-view .img-player {
display: none;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
cursor: none;
background-color: #000;
text-align: center;
cursor: pointer;
}
.oit-main-container-view .img-player > img,
.oit-pin-container-view .img-player > img {
display: inline;
float: none;
padding: 0;
max-height: none;
transform: none;
cursor: pointer;
}
.oit-main-container-view .img-footer {
position: absolute;
text-align: center;
bottom: 5px;
left: 0;
right: 0;
}
.oit-main-container-view .img-footer .img-title {
font-size: 12px;
line-height: 1;
display: inline-block;
max-width: 90%;
white-space: nowrap;
text-overflow: ellipsis;
margin: 5px;
opacity: .8;
color: #fff;
/* filter: alpha(opacity=80) */
}
.oit-main-container-view .img-footer .img-title:hover {
/* opacity: 1; */
color: #fff;
font-size: 15px;
background-color: rgba(0, 0, 0, .3);
border-radius: 8px;
line-height: 1.5;
/* filter: alpha(opacity=100) */
}
.oit-main-container-view .img-footer .img-toolbar {
width: 385px;
height: 30px;
margin: 0 auto 5px;
padding: 3px 0;
}
.oit-main-container-view .img-footer .img-toolbar:hover {
background-color: rgba(0, 0, 0, .3);
border-radius: 12px;
}
.oit-main-container-view .img-footer .img-toolbar > li {
float: left;
width: 25px;
height: 25px;
margin: 0 5px;
padding: 0;
line-height: 0;
border: none;
cursor: pointer;
overflow: hidden;
}
.oit-main-container-view .img-footer .img-toolbar > li:hover {
animation: bounce .5s cubic-bezier(0.51, 0.23, 0.02, 0.96)
}
@keyframes bounce {
0% {
transform: scale(1, 1);
}
50% {
transform: scale(0.85, 1.1) translateY(-5px);
}
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_to_100::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_in::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_out::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_full_screen::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_refresh::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_rotate_left::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_rotate_right::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_scale_x::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_scale_y::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_invert_color::before,
.oit-main-container-view .img-footer .img-toolbar .toolbar_copy::before {
font-size: 0;
line-height: 0;
display: block;
width: 25px;
height: 25px;
color: transparent;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARMAAAAZCAYAAAASRcpqAAAAAXNSR0IArs4c6QAADgJJREFUeF7tXHnQftUc/3z+YJC9KVuWsZOlIiopTYakZZpIJSUiS6JkLKGFYkJJRJsKpUVEhYpItiZFUtknJGQXmRHzMZ/H97xz3vuce++5z3ufX696z8wz77zPc+75nnPu93zO57ucQ6yUlRlYmYGVGRhhBjhCG7e7JiQd2Bw0yanv2iZmqc/f7iZ8ZcBznwFJDwPwopKgWt3uBBNJ6wJYH8DjADwFwFMBfAPAtwB8H8B5JP+01JFKenkM5EEA/HH73wXwVZJnLrV9Pz+WjACCAwp9WpvkNX19lfR8AGcU6h1U89IkPQHAzgAeCuCxANYGcHl8rgZwLckL+/rR97uk7QA8EYDl+bO63weAryd5JG/qa6f0u6S7A9gwPhvE399Gu1cBuIbkZ2dp+9Z8RtKTALwXwNFj6W3L/J1BcoexxirpwwBe0dHegSQP6pPXCiaS3gng9QDuFI3cEkDyNAB3iO9+AsCL4JQ+QS2T4oX1RgB+CW3FC+RTNQttVchogImB7mjLJemFVlUkPSMqvgqA58ClE0wkPQDA3gBeA+DOPYLeRtLvb6EEmB4DYE+Sx0o6DID7sQvJH6eKku4N4H0AXtwj45cA3k3SilhdJG0D4HAA3gm7yknWv3yzkvQQAF+JTWb3aqGroGK8048BeGCI22EegCLJG5F15swxACVrz93erKnHkhTzvVnfNBbBRJJ32MckJQfwNQCXkLxFkoHk6fFJ1P4Ukrv0CWso90cBJIXwznqld6T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+Go+jXfZo1towcTOZxari5u8V
background-repeat: no-repeat
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_to_100::before {
content: 'Zoom to Actual Size';
background-position: 0 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_in::before {
content: 'Zoom In';
background-position: -25px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_zoom_out::before {
content: 'Zoom Out';
background-position: -50px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_full_screen::before {
content: 'Full Screen';
background-position: -75px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_refresh::before {
content: 'Refresh';
background-position: -100px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_rotate_left::before {
content: 'Rotate Left';
background-position: -125px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_rotate_right::before {
content: 'Rotate Right';
background-position: -150px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_scale_x::before {
content: 'Scale x';
background-position: -175px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_scale_y::before {
content: 'Scale y';
background-position: -200px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_invert_color::before {
content: 'Invert color';
background-position: -225px 0
}
.oit-main-container-view .img-footer .img-toolbar .toolbar_copy::before {
content: 'Copy';
background-position: -250px 0
}
/*====== gallery-navbar start ======*/
.oit-main-container-view .img-footer .gallery-navbar {
position: relative;
flex: 0 0 auto;
overflow: hidden;
max-width: 100%;
max-height: 100%;
width: 100%;
height: 60px;
margin-top: 20px;
background-color: rgba(0, 0, 0, .1);
}
.oit-main-container-view .img-footer .gallery-navbar:hover {
background-color: rgba(0, 0, 0, .8);
}
.oit-main-container-view .img-footer .gallery-navbar .gallery-list {
display: flex;
transform: translateX(0px);
cursor: pointer;
}
.oit-main-container-view .img-footer .gallery-navbar .gallery-list .gallery-active {
opacity: 1;
}
.oit-main-container-view .img-footer .gallery-navbar .gallery-list .img-border-active {
margin-top: 1px;
border-width: 1px;
border-style: solid;
border-color: red;
}
.oit-main-container-view .img-footer .gallery-navbar .gallery-list > li {
width: 48px;
height: 58px;
opacity: .3;
color: transparent;
margin: 2px 1px;
padding: 0;
border-radius: 0;
/* transition: all 100ms linear; */
}
.oit-main-container-view .img-footer .gallery-navbar .gallery-list img {
width: 46px;
height: 56px;
}
/*====== gallery-navbar end ======*/
/*====== pickr start ======*/
.pcr-app .pcr-swatches > button {
padding: 0;
}
/*! Pickr 1.8.2 MIT | https://github.com/Simonwep/pickr */
.pickr {position: relative;overflow: visible;transform: translateY(0)} .pickr * {box-sizing: border-box;outline: none;border: none;-webkit-appearance: none} .pickr .pcr-button {position: relative;height: 2em;width: 2em;padding: 0.5em;cursor: pointer;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;border-radius: .15em;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>') no-repeat center;background-size: 0;transition: all 0.3s} .pickr .pcr-button::before {position: absolute;content: '';top: 0;left: 0;width: 100%;height: 100%;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: .5em;border-radius: .15em;z-index: -1} .pickr .pcr-button::before {z-index: initial} .pickr .pcr-button::after {position: absolute;content: '';top: 0;left: 0;height: 100%;width: 100%;transition: background 0.3s;background: var(--pcr-color);border-radius: .15em} .pickr .pcr-button.clear {background-size: 70%} .pickr .pcr-button.clear::before {opacity: 0} .pickr .pcr-button.clear:focus {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color)} .pickr .pcr-button.disabled {cursor: not-allowed} .pickr *, .pcr-app * {box-sizing: border-box;outline: none;border: none;-webkit-appearance: none} .pickr input:focus, .pickr input.pcr-active, .pickr button:focus, .pickr button.pcr-active, .pcr-app input:focus, .pcr-app input.pcr-active, .pcr-app button:focus, .pcr-app button.pcr-active {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color)} .pickr .pcr-palette, .pickr .pcr-slider, .pcr-app .pcr-palette, .pcr-app .pcr-slider {transition: box-shadow 0.3s} .pickr .pcr-palette:focus, .pickr .pcr-slider:focus, .pcr-app .pcr-palette:focus, .pcr-app .pcr-slider:focus {box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25)} .pcr-app {position: fixed;display: flex;flex-direction: column;z-index: 10000;border-radius: 0.1em;background: #fff;opacity: 0;visibility: hidden;transition: opacity 0.3s, visibility 0s 0.3s;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);left: 0;top: 0} .pcr-app.visible {transition: opacity 0.3s;visibility: visible;opacity: 1} .pcr-app .pcr-swatches {display: flex;flex-wrap: wrap;margin-top: 0.75em} .pcr-app .pcr-swatches.pcr-last {margin: 0} @supports (display: grid) { .pcr-app .pcr-swatches {display: grid;align-items: center;grid-template-columns: repeat(auto-fit, 1.75em)} } .pcr-app .pcr-swatches > button {font-size: 1em;position: relative;width: calc(1.75em - 10px);height: calc(1.75em - 10px);border-radius: 0.15em;cursor: pointer;margin: 2.5px;flex-shrink: 0;justify-self: center;transition: all 0.15s;overflow: hidden;background: transparent;z-index: 1} .pcr-app .pcr-swatches > button::before {position: absolute;content: '';top: 0;left: 0;width: 100%;height: 100%;background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');background-size: 6px;border-radius: .15em;z-index: -1} .pcr-app .pcr-swatches > button::after {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: var(--pcr-color);border: 1px solid rgba(0, 0, 0, 0.05);border-radius: 0.15em;box-sizing: border-box} .pcr-app .pcr-swatches > button:hover {filter: brightness(1.05)} .pcr-app .pcr-swatches > button:not(.pcr-active) {box-shadow: none} .pcr-app .pcr-interaction {display: flex;flex-wrap: wrap;align-items: center;margin: 0 -0.2em 0 -0.2em} .pcr-app .pcr-interaction > * {margin: 0 0.2em}
/*====== pickr end ======*/
.hotkeys-settings-plus {
margin: 0 10px;
font-size: x-large;
}