mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-06-28 14:01:57 +02:00
202 lines
3.6 KiB
CSS
202 lines
3.6 KiB
CSS
/* Styling: https://code.visualstudio.com/api/references/theme-color */
|
|
|
|
@-webkit-keyframes load7 {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
box-shadow: 0 2.5em 0 -1.3em;
|
|
}
|
|
40% {
|
|
box-shadow: 0 2.5em 0 0;
|
|
}
|
|
}
|
|
@keyframes load7 {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
box-shadow: 0 2.5em 0 -1.3em;
|
|
}
|
|
40% {
|
|
box-shadow: 0 2.5em 0 0;
|
|
}
|
|
}
|
|
|
|
.spinner,
|
|
.spinner:before,
|
|
.spinner:after {
|
|
border-radius: 50%;
|
|
width: 2em;
|
|
height: 2em;
|
|
animation-fill-mode: both;
|
|
animation: load7 1.8s infinite ease-in-out;
|
|
}
|
|
|
|
.spinner {
|
|
color: var(--vscode-panelSectionHeader-foreground);
|
|
font-size: 10px;
|
|
margin: 80px auto;
|
|
position: relative;
|
|
text-indent: -9999em;
|
|
transform: translateZ(0);
|
|
animation-delay: -0.16s;
|
|
}
|
|
|
|
.spinner:before,
|
|
.spinner:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.spinner:before {
|
|
left: -3.5em;
|
|
-webkit-animation-delay: -0.32s;
|
|
animation-delay: -0.32s;
|
|
}
|
|
|
|
.spinner:after {
|
|
left: 3.5em;
|
|
}
|
|
|
|
|
|
.frontmatter h3 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.frontmatter p,
|
|
.frontmatter h4,
|
|
.frontmatter ul {
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.seo__status__details {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.not-valid {
|
|
color: var(--vscode-errorForeground);
|
|
}
|
|
|
|
.article__actions {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.article__action {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.article__tags {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.article__tags__dropbox {
|
|
width: 90%;
|
|
margin: 0;
|
|
padding: 0;
|
|
z-index: 1;
|
|
position: absolute;
|
|
list-style: none;
|
|
overflow: auto;
|
|
max-height: 200px;
|
|
}
|
|
|
|
.article__tags__dropbox.open {
|
|
border: 1px solid rgba(0, 0, 0, .9);
|
|
}
|
|
|
|
.article__tags__input input {
|
|
border: 1px solid var(--vscode-inputValidation-infoBorder);
|
|
}
|
|
|
|
.article__tags__input.freeform {
|
|
position: relative;
|
|
}
|
|
|
|
.article__tags__input.freeform input {
|
|
padding-right: 35px;
|
|
}
|
|
|
|
.article__tags__input button {
|
|
position: absolute;
|
|
top: 1px;
|
|
right: 1px;
|
|
width: 30px;
|
|
padding-bottom: 2px;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.article__tags ul {
|
|
color: var(--vscode-dropdown-foreground);
|
|
background-color: var(--vscode-dropdown-background);
|
|
}
|
|
|
|
.article__tags li {
|
|
padding: var(--input-padding-vertical) var(--input-padding-horizontal);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.article__tags li:active {
|
|
color: var(--vscode-button-foreground);
|
|
background-color: var(--vscode-button-background);
|
|
}
|
|
|
|
.article__tags li[aria-selected="true"] {
|
|
color: var(--vscode-button-foreground);
|
|
background-color: var(--vscode-button-hoverBackground);
|
|
}
|
|
|
|
.article__tags li[aria-disabled="true"] {
|
|
display: none;
|
|
}
|
|
|
|
.article__tags__items {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.article__tags__items__item {
|
|
display: inline-block;
|
|
margin-bottom: .5rem;
|
|
margin-right: .5rem;
|
|
}
|
|
|
|
.article__tags__items__item_add,
|
|
.article__tags__items__item_delete {
|
|
display: inline-block;
|
|
width: auto;
|
|
}
|
|
|
|
.article__tags__items__item svg {
|
|
display: inline;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.article__tags__items__item_delete span {
|
|
margin-left: .5rem;
|
|
}
|
|
|
|
.article__tags__items__pill_notexists {
|
|
color: var(--vscode-inputValidation-errorForeground);
|
|
background-color: var(--vscode-inputValidation-errorBackground);
|
|
padding-left: .5rem;
|
|
}
|
|
|
|
.article__tags__items__pill_notexists:hover {
|
|
color: var(--vscode-inputValidation-errorForeground);
|
|
background-color: var(--vscode-inputValidation-errorBackground);
|
|
|
|
filter: contrast(60%);
|
|
}
|
|
|
|
.article__tags__items__item_add {
|
|
color: var(--vscode-inputValidation-infoForeground);
|
|
background-color: var(--vscode-inputValidation-infoBackground);
|
|
border-right: 1px solid var(--vscode-inputValidation-infoBorder);
|
|
}
|
|
|
|
.article__tags__items__item_add:hover {
|
|
color: var(--vscode-inputValidation-infoForeground);
|
|
background-color: var(--vscode-inputValidation-infoBackground);
|
|
border-right: 1px solid var(--vscode-inputValidation-infoBorder);
|
|
|
|
filter: contrast(60%);
|
|
} |