* Przypisy w tekście
*/
-.htmlview .annotation-inline-box {
- &:hover > span[x-annotation-box] {
- display: block;
+.htmlview .annotation-inline-box,
+.htmlview .reference-inline-box {
+ &:hover {
+ > span[x-annotation-box],
+ > span[x-preview]
+ {
+ display: block;
+ }
}
- > span[x-annotation-box] {
+ > span[x-annotation-box],
+ > span[x-preview]
+ {
display: none;
width: 300px;
font-size: 10pt;
&.editing {
display: block;
+ background: #93ff93;
}
}
visibility: hidden;
}
-.edit-button, .delete-button, .accept-button, .tytul-button, .wyroznienie-button, .slowo-button, .znak-button {
- font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
- font-size: 16px;
- line-height: 1.5;
+.html-editarea-toolbar {
+ display: flex;
+ justify-content: space-between;
position: absolute;
top: -28px;
left: -1px;
- width: 72px;
height: 28px;
- display: block;
- /* margin: 4px 0 2px 0;*/
- padding: 5px 5px 2px 5px;
- background-color: #FAFAFA;
- /* z-index: 3000;*/
- /* color: #FFF;
- z-index: 1500;
- */
- border: 1px solid #DDD;
- border-bottom: none;
-}
-
-.delete-button {
- left: 70px;
-}
+ right: -1px;
-.tytul-button {
- left:150px;
- width:100px;
-}
+ .html-editarea-toolbar-left,
+ .html-editarea-toolbar-right {
+ display: flex;
+ }
-.wyroznienie-button {
- left:250px;
- width:100px;
-}
-.slowo-button {
- left:350px;
- width:100px;
-}
-.znak-button {
- left:450px;
- width:100px;
-}
+ button {
+ font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+ font-size: 16px;
+ line-height: 1.5;
-.edit-button:hover, .edit-button:active,
-.delete-button:hover, .delete-button:active,
-.accept-button:hover, .accept-button:active,
-.tytul-button:hover, .tytul-button:active,
-.wyroznienie-button:hover, .wyroznienie-button:active,
-.slowo-button:hover, .slowo-button:active,
-.znak-button:hover, .znak-button:active {
- /* color: #FFF;*/
- background-color: #999;
- color: #FFF;
+ display: block;
+ padding: 5px 5px 2px 5px;
+ background-color: #FAFAFA;
+ border: 1px solid #DDD;
+ border-bottom: none;
+
+ &:hover {
+ background-color: #999;
+ color: #FFF;
+ }
+ }
}
/*
border:0;
color: black;
}
+
+
+#media-chooser {
+ img {
+ border: 3px solid transparent;
+ &.active {
+ border-color: green;
+ }
+ }
+}
+
+
+
+div[x-node="numeracja"] {
+ background: lightblue;
+ margin: 2em;
+ padding: 2em;
+ border-radius: 1em;
+ &::before {
+ content: "Reset numeracji";
+ }
+}
+
+*[x-number]::before {
+ display: block;
+ content: attr(x-number);
+ position: absolute;
+ text-align: right;
+ width: 40px;
+ left: -60px;
+ font-size: .9em;
+ opacity: .8;
+
+}