Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Commit

Permalink
[#00] fix (styles) -> fix a:focus colors and format date strings as d…
Browse files Browse the repository at this point in the history
…d.MM.yyyy
  • Loading branch information
greengiraffe committed Feb 6, 2017
1 parent 37bd48d commit 85895d6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h4 class="client">{{ project?.client }}</h4>
<h1 class="project-title">{{project?.title}}</h1>
<div class="g-tag type">{{ project?.type }}</div>
<ul class="meta-list">
<li><b>Period:</b> {{ project?.start | date:"dd/MM/yyyy" }} - {{ project?.end | date:"dd/MM/yyyy"}}</li>
<li><b>Period:</b> {{ project?.start | date:"dd.MM.yyyy" }} {{ project?.end | date:"dd.MM.yyyy"}}</li>
<li><b>Created by:</b> {{ project?.creator.firstName }} {{ project?.creator.lastName }}</li>
<li><b>Budget:</b> {{ project?.budget }} €</li>
<li><b>Expense Budget:</b> {{ project?.expBudget }} €</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h5 class="g-card-title project-title">
</h5>
<div class="g-card-content project-content">
<p>{{ project?.client }}</p>
<p>{{ project?.start | date:"dd/MM/yy" }} - {{ project?.end | date:"dd/MM/yy"}}</p>
<p>{{ project?.start | date:"dd.MM.yyyy" }} {{ project?.end | date:"dd.MM.yyyy"}}</p>
</div>
</div>
</div>
Expand Down
10 changes: 9 additions & 1 deletion assets/app/nav/nav.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
width: 120px;
text-align: right;
margin-left: auto;

a:hover,
a:focus,
a:active {
color: $danger-light;
}
}


Expand All @@ -59,7 +65,9 @@
color: $grey-extralight;
padding: 0;

&:hover {
&:hover,
&:focus,
&:active {
border-bottom: 0;
color: $primary-lighter;
}
Expand Down
10 changes: 9 additions & 1 deletion assets/styles/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,18 @@ body ::selection {
a {
color: $primary-darker;
text-decoration: none;
transition: all 0.1s ease-in-out;
transition-property: color, border; // override

&:hover {
&:hover,
&:focus {
color: $primary-darker;
border-bottom: 1px solid $primary-darker;
text-decoration: none;
}

&:active {
color: $primary;
border-color: $primary;
}
}

0 comments on commit 85895d6

Please sign in to comment.