Browse Source

Correct for our cursors' extra width

Unfortunately not as easy for the borders of the fragment selection; for
now just making those stay 'inside' the selection (through box-sizing).
tags/v0.1.0
Gerben 5 years ago
parent
commit
1ed5b06b6e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/assets/main.css

+ 3
- 0
app/assets/main.css View File

@@ -118,6 +118,7 @@ input#volume:focus {


.playlist .selection.point { .playlist .selection.point {
width: 2px !important; width: 2px !important;
transform: translateX(-0.5px); /* Correct for the extra 1px of width we add. */
} }


.playlist .selection.point::after { .playlist .selection.point::after {
@@ -137,6 +138,7 @@ input#volume:focus {
background: #f006; background: #f006;
border-left: 2px solid red; border-left: 2px solid red;
border-right: 2px solid red; border-right: 2px solid red;
box-sizing: border-box;
} }


.playlist .selection.segment:before { .playlist .selection.segment:before {
@@ -173,6 +175,7 @@ input#volume:focus {


.playlist .cursor { .playlist .cursor {
width: 2px !important; width: 2px !important;
transform: translateX(-0.5px); /* Correct for the extra 1px of width we add. */
background: #666; background: #666;
} }




Loading…
Cancel
Save