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

172 lines
3.2 KiB
CSS
Raw Normal View History

2022-07-29 08:00:44 +00:00
body
{
background-color: White;
}
.wmd-panel
{
margin-left: 25%;
margin-right: 25%;
width: 50%;
min-width: 500px;
}
2022-10-28 04:56:13 +00:00
.wmd-button-bar {
width: 100%;
background-color: white;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-input {
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 {
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 {
margin: 10px 5px 5px;
padding: 0;
2022-07-29 08:00:44 +00:00
}
.wmd-button {
2022-10-28 04:56:13 +00:00
display: inline-flex;
list-style: none;
2022-07-29 08:00:44 +00:00
width: 20px;
height: 20px;
2022-10-28 04:56:13 +00:00
background-repeat: no-repeat;
background-size: 14px 14px;
background-position: center;
border-radius: 3px;
cursor: pointer;
2022-07-29 08:00:44 +00:00
padding-left: 2px;
padding-right: 3px;
}
2022-10-28 04:56:13 +00:00
.wmd-bold-button {
background-image: url("pagedown/resources/bold.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-italic-button {
background-image: url("pagedown/resources/italic.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-latex-button {
background-image: url("pagedown/resources/latex.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-latex-button-display {
background-image: url("pagedown/resources/latex-display.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-link-button {
background-image: url("pagedown/resources/link.svg");
}
2022-07-29 08:00:44 +00:00
2022-10-28 04:56:13 +00:00
.wmd-user-reference-button {
background-image: url("pagedown/resources/user.svg");
}
2022-07-29 08:00:44 +00:00
2022-10-28 04:56:13 +00:00
.wmd-quote-button {
background-image: url("pagedown/resources/blockquote.svg");
}
2022-07-29 08:00:44 +00:00
2022-10-28 04:56:13 +00:00
.wmd-code-button {
background-image: url("pagedown/resources/code.svg");
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-image-button {
background-image: url("pagedown/resources/image.svg");
}
.wmd-olist-button {
background-image: url("pagedown/resources/olist.svg");
background-size: 18px;
}
.wmd-ulist-button {
background-image: url("pagedown/resources/ulist.svg");
background-size: 18px;
}
.wmd-heading-button {
background-image: url("pagedown/resources/heading.svg");
}
.wmd-hr-button {
background-image: url("pagedown/resources/hr.svg");
}
.wmd-undo-button {
background-image: url("pagedown/resources/undo.svg");
background-size: 18px;
}
.wmd-redo-button {
background-image: url("pagedown/resources/redo.svg");
background-size: 18px;
}
.wmd-button-active:hover {
background-color: lightgray;
}
.wmd-button-inactive {
filter: invert(88%) sepia(1%) saturate(0%) hue-rotate(278deg) brightness(98%) contrast(91%);
}
.wmd-spacer
2022-07-29 08:00:44 +00:00
{
2022-10-28 04:56:13 +00:00
display: inline-flex;
width: 20px;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-prompt-background {
background-color: Black;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-prompt-dialog {
border: 1px solid #999999;
background-color: #F5F5F5;
}
.wmd-prompt-dialog > div {
font-size: 0.8em;
font-family: arial, helvetica, sans-serif;
}
2022-07-29 08:00:44 +00:00
.wmd-prompt-dialog > form > input[type="text"] {
2022-10-28 04:56:13 +00:00
border: 1px solid #999999;
color: black;
}
.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 {
padding-right: 0 !important;
2022-07-29 08:00:44 +00:00
}
2022-10-28 04:56:13 +00:00
.wmd-preview {
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;
}
.wmd-preview:empty {
display: none;
}