Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2045 from luixxiul/loadTime
Browse files Browse the repository at this point in the history
cosmetic change for .loadtime
  • Loading branch information
diracdeltas committed Jun 3, 2016
2 parents ca7f5c4 + 6963569 commit 465e76d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion js/components/urlBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,10 @@ class UrlBar extends ImmutableComponent {
{
this.props.titleMode || this.aboutPage
? null
: <span className='loadTime'>{this.loadTime}</span>
: <span className={cx({
'loadTime': true,
'onFocus': this.props.urlbar.get('active')
})}>{this.loadTime}</span>
}

{
Expand Down
9 changes: 8 additions & 1 deletion less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,18 @@

.loadTime {
color: @loadTimeColor;
background: @navigationBarBackground;
font-size: 12px;
right: 10px;
text-align: right;
margin: 4px 0 0 0;
top: 9px;
cursor: default;
padding-top: 1px;

&.onFocus {
display: none;
}
}

.noScript {
Expand Down Expand Up @@ -313,7 +320,7 @@
cursor: text;
font-size: @defaultFontSize;
font-weight: normal;
margin: 3px 10px 0 3px;
margin: 3px 0 0 3px;
outline: none;
text-overflow: ellipsis;
flex-grow: 1;
Expand Down

0 comments on commit 465e76d

Please sign in to comment.