jglev_obsidian-apply-patter.../styles.css
Jacob Levernier 175fedfbf1
1.2.0 dev (#11)
* Added 'Apply Pattern to whole Document' command.

* Added Commands functionality.

* Split out default settings, and added clear all settings button.

* Started adding typeguard checks.

* Implemented JSON checking when importing settings.

* Made reset settings button red on click.

* Updated Readme.

* Fixed bug whereby newline characters \n were being escaped in the settings JSON and then not unescaped, resulting in \n working in From lines but not To lines.

* Documented regex flavor used by the plugin.
2021-08-12 09:18:34 -04:00

89 lines
2 KiB
CSS

.import-export-div .setting-item {
border-top: none;
}
.patterns .pattern,
.patterns .add-pattern-button-el,
.commands .command,
.commands .add-command-button-el {
border-top: 1px dotted var(--background-modifier-border);
padding: 18px 0 0 0;
}
.patterns .pattern .pattern-name .setting-item-info {
display: none;
}
.patterns .pattern .pattern-name input {
width: 100%;
}
.commands .command input:first-of-type {
margin-right: 18px;
}
.patterns .rule.disabled,
.patterns .pattern .is-disabled,
.patterns .rule .is-disabled,
.commands .command .is-disabled {
opacity: 50%;
}
.patterns .rule .setting-item-info .setting-item-description {
text-align: center;
}
.patterns .rule .checkbox-container::after,
.commands .command .checkbox-container::after {
/* Get content aligned vertically and horizontally: */
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 600;
}
.commands .command .checkbox-container:nth-of-type(1)::after {
content: "S";
}
.commands .command .checkbox-container:nth-of-type(2)::after {
content: "L";
}
.commands .command .checkbox-container:nth-of-type(3)::after {
content: "D";
}
.patterns .rule .checkbox-container:nth-of-type(1)::after {
content: "i";
}
.patterns .rule .checkbox-container:nth-of-type(2)::after {
content: "g";
}
.patterns .rule .checkbox-container:nth-of-type(3)::after {
content: "m";
}
.patterns .rule .checkbox-container:nth-of-type(4)::after {
content: "s";
}
.patterns .rule .setting-item-control input[type="text"]:first-of-type {
margin-right: 15px;
}
.patterns .rule .setting-item-control input[type="text"]:last-of-type {
margin-left: 15px;
}
.bold {
font-weight: bold;
}
.clear-settings-button.primed button {
background-color: var(--background-modifier-error) !important;
color: var(--text-on-accent) !important;
}
.commands .bold {
color: var(--text-error);
font-size: 1.15em;
}