Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
feat: add class primary-grey for button
Browse files Browse the repository at this point in the history
  • Loading branch information
GusBaamonde committed Mar 18, 2019
1 parent b27a16f commit f3c857e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions assets/scss/modules/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@
border: 1px solid $dp-color-darkgreen;
}
}

&grey {
background-color: $dp-color-grey;
border: 1px solid $dp-color-grey;
color: $dp-color-white;

&:hover {
background-color: $dp-color-darkgrey;
border: 1px solid $dp-color-darkgrey;
}
}
}
}

Expand Down
11 changes: 11 additions & 0 deletions assets/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@ <h2>Botones</h2>
</ul>
</div>
</div><!-- button-card -->
<div class="buttons-card">
<button type="button" class="dp-button button-medium primary-grey">Iniciar campaña</button>
<div class="button-description">
<p><strong>Complementarios</strong></p>
<ul class="button-list">
<li>Botones de acción primaria que necesitan despegarse del verde de uso común</li>
<li><strong>background-color:</strong> #666666;</li>
<li><strong>border:</strong> 1px solid #333333;</li>
</ul>
</div>
</div><!-- button-card -->
</main><!-- main-buttons -->
</section><!-- section-module -->
</main>
Expand Down

0 comments on commit f3c857e

Please sign in to comment.