Skip to content

Commit

Permalink
CSS update: score, svg hover and drag styling for gridstack item
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed Jul 14, 2023
1 parent 4c933e5 commit 6e28f2d
Show file tree
Hide file tree
Showing 4 changed files with 3,220 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Resources/Private/Less/modules/score.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
height: 120px;
.vertgrad(rgba(255,255,255,0), rgba(255,255,255,1),0,40%);
}
#tx-dlf-score {

*[id^="tx-dlf-score"] {
position: relative;
top: 0;
right: 0;
Expand Down
3 changes: 3 additions & 0 deletions Resources/Private/Partials/PageView.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ <h2><f:translate key='browser-hint.outdated_browser' extensionName='dfgviewer' /
<div class="fulltext-container">
<div id="tx-dlf-fulltextselection"></div>
</div>
<f:comment>
<div class="score-container">
<div id="tx-dlf-score"></div>
</div>
<div id="player"></div>
</f:comment>
</f:else>
</f:if>
</f:else>
Expand Down
3,191 changes: 3,190 additions & 1 deletion Resources/Public/Css/allStyles.css

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions Resources/Public/Css/annotationStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,28 @@
.document-view {
right: 25%;
}

.annotation-list-item details.hover {
background-color: #aaa9a9;
}

.annotation-list-item details.active {
background-color: #8ebfff;
}

rect.hover {
stroke: black;
}

rect.active {
stroke: red;
}

.drag {
cursor: move;
min-height: 25px;
position: absolute;
top: 0;
left: 0;
z-index: 9;
}

0 comments on commit 6e28f2d

Please sign in to comment.