mirror of
https://github.com/mayurankv/Obsidian-Code-Styler.git
synced 2026-07-22 08:10:29 +00:00
52 lines
1.7 KiB
SCSS
52 lines
1.7 KiB
SCSS
.setting-item.code-styler-spaced .checkbox-container + .pickr {
|
|
padding-left: 10px;
|
|
}
|
|
.cs-donation {
|
|
width: 70%;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
.code-styler-setting-text-area textarea {
|
|
width: 400px;
|
|
height: 220px;
|
|
}
|
|
.code-styler-setting-text-wide {
|
|
width: 100%;
|
|
}
|
|
button.code-styler-settings-button.copy-code-button {
|
|
position: absolute;
|
|
right: 0;
|
|
height: auto;
|
|
}
|
|
code.code-styler-settings-inline-code {
|
|
padding: 0.1em 0.25em;
|
|
border-radius: var(--code-radius);
|
|
background-color: var(--code-background);
|
|
color: var(--code-normal);
|
|
font-family: var(--font-monospace);
|
|
font-size: var(--code-size);
|
|
}
|
|
p:has(> code.code-styler-settings-inline-code) {
|
|
text-align: center;
|
|
}
|
|
.advanced-settings-header::after {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: auto;
|
|
margin-left: 4px;
|
|
background-color: var(--code-styler-button-colour);
|
|
content: "\200b";
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' xml:space='preserve'%3E%3Cpath d='M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z'/%3E%3C/svg%3E");
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
opacity: 1;
|
|
scale: 0.9;
|
|
transition: transform var(--duration-button) ease-out, visibility var(--duration-button), opacity var(--duration-button), scale var(--duration-button) cubic-bezier(0.4, 0.14, 0.3, 1);
|
|
visibility: visible;
|
|
}
|
|
.advanced-settings-header.header-folded::after {
|
|
transform: rotate(-90deg);
|
|
}
|