Show title on hover of header

This commit is contained in:
Samy Pessé
2014-08-09 23:45:55 -07:00
parent 76ebca8c55
commit a54959ee4f
3 changed files with 12 additions and 4 deletions
File diff suppressed because one or more lines are too long
+10 -2
View File
@@ -33,13 +33,15 @@
h1 {
margin: 0px;
font-size: 20px;
font-weight: 200;
text-align: center;
line-height: @header-height;
display: none;
opacity: 0;
.transition(opacity ease 0.4s);
padding-left: 200px;
padding-right: 200px;
.transition(margin-left 0.5s ease);
.transition(opacity 0.2s ease);
overflow: hidden;
text-overflow: ellipsis;
@@ -58,6 +60,12 @@
display: none;
}
}
&:hover {
h1 {
opacity: 1;
}
}
}
&.is-loading {
+1 -1
View File
@@ -24,7 +24,7 @@
<!-- Title -->
<h1>
<i class="fa fa-spinner fa-spin"></i>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="{{ basePath }}/" >{{ title }}</a>
</h1>
</div>