mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:23:59 +00:00
Add more feedback on :hover.
This commit is contained in:
parent
6e59a10fb3
commit
dfc375adf8
2 changed files with 25 additions and 0 deletions
|
@ -103,6 +103,7 @@ div.full-size.pdf(ng-controller="PdfController")
|
|||
ng-init="feedbackSent = false;"
|
||||
)
|
||||
span.line-no
|
||||
i.fa.fa-link(aria-hidden="true")
|
||||
span(ng-show="entry.file") {{ entry.file }}
|
||||
span(ng-show="entry.line") , line {{ entry.line }}
|
||||
p.entry-message(ng-show="entry.message") {{ entry.message }}
|
||||
|
|
|
@ -120,6 +120,10 @@
|
|||
float: right;
|
||||
color: @gray;
|
||||
font-weight: 700;
|
||||
|
||||
.fa {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.entry-message {
|
||||
font-weight: 700;
|
||||
|
@ -130,6 +134,26 @@
|
|||
font-size: 0.8rem;
|
||||
//font-family: @font-family-monospace;
|
||||
}
|
||||
|
||||
&:hover .line-no {
|
||||
color: inherit;
|
||||
.fa {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
&.alert-danger:hover {
|
||||
background-color: darken(@alert-danger-bg, 5%);
|
||||
}
|
||||
|
||||
&.alert-warning:hover {
|
||||
background-color: darken(@alert-warning-bg, 5%);
|
||||
}
|
||||
|
||||
&.alert-info:hover {
|
||||
background-color: darken(@alert-info-bg, 5%);
|
||||
}
|
||||
|
||||
}
|
||||
pre {
|
||||
font-size: 12px;
|
||||
|
|
Loading…
Reference in a new issue