mirror of
https://github.com/msakowski/obsidian-library-linker.git
synced 2026-07-22 12:30:30 +00:00
Moves JWLibraryLinkerSettings.ts into src/settings/ and extracts each settings section (general, linkStyling, bibleQuote, offlineBible) into its own module. No behavior change.
69 lines
1.5 KiB
CSS
69 lines
1.5 KiB
CSS
.jw-library-linker {
|
|
/* Input and preview styles */
|
|
.setting-item--input input {
|
|
width: 8ch;
|
|
}
|
|
|
|
/* Presets section styles */
|
|
.preset-buttons-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Preset button styles */
|
|
.preset-button {
|
|
--text-color: var(--text-normal);
|
|
-webkit-app-region: no-drag;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: var(--font-ui-small);
|
|
border-radius: var(--button-radius);
|
|
border: 0;
|
|
padding: var(--size-4-1) var(--size-4-3);
|
|
height: var(--input-height);
|
|
font-family: var(--font-interface);
|
|
font-weight: var(--input-font-weight);
|
|
cursor: var(--cursor);
|
|
outline: none;
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
color: var(--text-color);
|
|
background-color: var(--interactive-normal);
|
|
box-shadow: var(--input-shadow);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.preset-button:hover {
|
|
color: inherit;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.preset-button p {
|
|
margin: 0;
|
|
}
|
|
|
|
/* Text formatting */
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
.preview-container {
|
|
margin-top: 1em;
|
|
padding: 1em;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
background-color: var(--background-primary);
|
|
}
|
|
|
|
blockquote {
|
|
margin-left: 0;
|
|
padding-left: 2em;
|
|
border-left: 2px solid var(--background-modifier-border);
|
|
}
|
|
}
|