NDOJ/resources/pagedown/demo/browser/demo.css

175 lines
3.3 KiB
CSS
Raw Permalink Normal View History

2022-12-18 09:31:31 +00:00
.wmd-panel {
margin: 0;
width: 100%;
min-width: 0;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-button-bar {
2022-12-18 09:31:31 +00:00
width: 100%;
background-color: white;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-input {
2022-12-18 09:31:31 +00:00
height: 300px;
width: 100%;
background: #fff;
border: 1px solid DarkGray;
font-family: Consolas, "Liberation Mono", Monaco, "Courier New", monospace !important;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-preview {
2022-12-18 09:31:31 +00:00
background: none;
word-wrap: break-word;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-button-row {
2022-12-18 09:31:31 +00:00
margin: 10px 5px 5px;
padding: 0;
2022-07-29 08:00:44 +00:00
}
.wmd-button {
2022-12-18 09:31:31 +00:00
display: inline-flex;
list-style: none;
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-size: 14px 14px;
background-position: center;
border-radius: 3px;
cursor: pointer;
padding-left: 2px;
padding-right: 3px;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-bold-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/bold.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-italic-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/italic.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-latex-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/latex.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-latex-button-display {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/latex-display.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-link-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/link.svg");
2022-10-28 04:56:13 +00:00
}
2022-07-29 08:00:44 +00:00
2022-10-28 04:56:13 +00:00
.wmd-user-reference-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/user.svg");
2022-10-28 04:56:13 +00:00
}
2022-07-29 08:00:44 +00:00
2022-10-28 04:56:13 +00:00
.wmd-quote-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/blockquote.svg");
2022-10-28 04:56:13 +00:00
}
2022-07-29 08:00:44 +00:00
2022-10-28 04:56:13 +00:00
.wmd-code-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/code.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-image-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/image.svg");
2022-10-28 04:56:13 +00:00
}
.wmd-olist-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/olist.svg");
background-size: 18px;
2022-10-28 04:56:13 +00:00
}
.wmd-ulist-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/ulist.svg");
background-size: 18px;
2022-10-28 04:56:13 +00:00
}
.wmd-heading-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/heading.svg");
2022-10-28 04:56:13 +00:00
}
.wmd-hr-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/hr.svg");
2022-10-28 04:56:13 +00:00
}
.wmd-undo-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/undo.svg");
background-size: 18px;
2022-10-28 04:56:13 +00:00
}
.wmd-redo-button {
2022-12-18 09:31:31 +00:00
background-image: url("/static/pagedown/resources/redo.svg");
background-size: 18px;
}
.wmd-admonition-button {
background-image: url("/static/pagedown/resources/admonition.svg");
}
.wmd-spoiler-button {
background-image: url("/static/pagedown/resources/spoiler.svg");
2022-10-28 04:56:13 +00:00
}
.wmd-button-active:hover {
2022-12-18 09:31:31 +00:00
background-color: lightgray;
2022-10-28 04:56:13 +00:00
}
.wmd-button-inactive {
2022-12-18 09:31:31 +00:00
filter: invert(88%) sepia(1%) saturate(0%) hue-rotate(278deg) brightness(98%) contrast(91%);
2022-10-28 04:56:13 +00:00
}
2022-12-18 09:31:31 +00:00
.wmd-spacer {
display: inline-flex;
width: 20px;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-prompt-background {
2022-12-18 09:31:31 +00:00
background-color: Black;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-prompt-dialog {
2022-12-18 09:31:31 +00:00
border: 1px solid #999999;
background-color: #F5F5F5;
2022-10-28 04:56:13 +00:00
}
.wmd-prompt-dialog > div {
2022-12-18 09:31:31 +00:00
font-size: 0.8em;
font-family: arial, helvetica, sans-serif;
2022-10-28 04:56:13 +00:00
}
2022-07-29 08:00:44 +00:00
2022-12-18 09:31:31 +00:00
.wmd-prompt-dialog > form > input[type=text] {
border: 1px solid #999999;
color: black;
2022-10-28 04:56:13 +00:00
}
2022-12-18 09:31:31 +00:00
.wmd-prompt-dialog > form > input[type=button] {
border: 1px solid #888888;
font-family: trebuchet MS, helvetica, sans-serif;
font-size: 0.8em;
font-weight: bold;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-wrapper {
2022-12-18 09:31:31 +00:00
padding-right: 0 !important;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-preview {
2022-12-18 09:31:31 +00:00
margin-top: 15px;
padding: 7px;
background: white;
line-height: 1.5em;
font-size: 1em;
border: 1px solid #a9a9a9;
border-radius: 5px;
box-sizing: border-box;
2022-10-28 04:56:13 +00:00
}
.wmd-preview:empty {
2022-12-18 09:31:31 +00:00
display: none;
}
/*# sourceMappingURL=pagedown_widget.css.map */