You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
CSS
58 lines
1.4 KiB
CSS
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.tabs {
|
|
prototype: CustomTabs;
|
|
style-set: custom-tabs;
|
|
}
|
|
.tabs > .panels > * {
|
|
padding: 10dip;
|
|
}
|
|
.tabs > .panels > div > img {
|
|
context-menu: selector(menu#saveimage);
|
|
}
|
|
|
|
.tabs > .panels > plaintext[panel="bodytab"] {
|
|
behavior: plaintext;
|
|
flow: vertical;
|
|
font-rendering-mode: snap-pixel;
|
|
size: *;
|
|
tab-size: 4;
|
|
padding: 0;
|
|
overflow: scroll-indicator;
|
|
vertical-scrollbar: "v-scroll-indicator-textarea";
|
|
horizontal-scrollbar: "h-scroll-indicator-textarea";
|
|
border: none;
|
|
}
|
|
.tabs > .panels > plaintext[panel="bodytab"]:focus {
|
|
text-selection: #fff @activeColor;
|
|
}
|
|
.tabs > .panels > plaintext[panel="bodytab"] > text {
|
|
font-family: "Consolas", "Inconsolata", "Lucida Console", "Segoe UI Emoji";
|
|
white-space: pre;
|
|
margin-left: 3em;
|
|
padding-left: 10dip;
|
|
padding-right: 3em;
|
|
cursor: text;
|
|
display: list-item;
|
|
list-style-type: index;
|
|
list-marker-color: #bbb;
|
|
}
|
|
.tabs > .panels > plaintext[panel="bodytab"].wrappable > text {
|
|
white-space: pre-wrap !important;
|
|
}
|
|
.tabs > .panels > plaintext[panel="bodytab"] > text:first-child {
|
|
padding-top: 7dip;
|
|
}
|
|
.tabs > .panels > plaintext[panel="bodytab"] > text:last-child {
|
|
padding-bottom: 7dip;
|
|
}
|
|
.tabs > .panels > plaintext[panel="bodytab"] > text:nth-child(10n) {
|
|
list-marker-color: #999;
|
|
}
|
|
menu.context li[name="edit:undo"],
|
|
menu.context li[name="edit:redo"],
|
|
menu.context li[name="edit:undo"] + hr,
|
|
menu.context li[name="edit:redo"] + hr { display: none; } |