X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/008b2c8d44987a6ef6b405ffc2124f28d3c6220d..refs/heads/master:/src/redakcja/static/css/html.scss diff --git a/src/redakcja/static/css/html.scss b/src/redakcja/static/css/html.scss index 6d3d3c54..3819c821 100644 --- a/src/redakcja/static/css/html.scss +++ b/src/redakcja/static/css/html.scss @@ -300,12 +300,19 @@ div[x-node] > .uwaga { * 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; @@ -327,6 +334,7 @@ div[x-node] > .uwaga { &.editing { display: block; + background: #93ff93; } } @@ -351,7 +359,7 @@ div[x-node] > .uwaga { visibility: hidden; } -.edit-button, .delete-button, .accept-button, .tytul-button, .wyroznienie-button, .slowo-button, .znak-button { +.active-block-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; @@ -393,8 +401,12 @@ div[x-node] > .uwaga { left:450px; width:100px; } +.uwaga-button { + right: 0; + left: auto; +} -.edit-button:hover, .edit-button:active, +.active-block-button:hover, .active-block-button:active, .delete-button:hover, .delete-button:active, .accept-button:hover, .accept-button:active, .tytul-button:hover, .tytul-button:active, @@ -534,3 +546,37 @@ div[x-node] > .uwaga { 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; + +}