mixin button(label, icon)
    a.button
        if icon
            span(class="button-icon #{icon}")
        = label

h1 Ghost Buttons

.actions
    +button('Like', 'ion-ios-heart-outline')
    +button('Comment', 'ion-ios-chatbubble-outline')
    +button('Reload', 'ion-ios-refresh-empty')

.actions
    +button('Remind Me', 'ion-ios-timer-outline')
    +button('Save Date', 'ion-ios-calendar-outline')
    +button('Set Alarm', 'ion-ios-alarm-outline')

.actions
    +button('Map', 'ion-map')
    +button('My Location', 'ion-ios-location-outline')
    +button('Save Location', 'ion-pin')
  
.actions
    +button('Analytics', 'ion-ios-analytics-outline')
    +button('Settings', 'ion-ios-settings')
    +button('Monitor', 'ion-ios-pulse')
  
.actions
    +button('Fork me', 'ion-fork-repo')
View Compiled
@import "bourbon";

@mixin ghost-button($button-color: #08c) {
  @include transition(.3s background, .3s color);

  display: inline-block;
  border: 1px solid $button-color;
  color: #fff;
  padding: .5rem 3rem;
  border-radius: 3px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 200;
  vertical-align: middle;
  
  .button-icon {
    margin-right: .55rem;
    font-size: 16px;
    color: $button-color;
  }
  
  &:hover {
    background: fade-out($button-color, .75);
  }
}

$yellow: #F0C333;
$red: #E13036;
$green: #0c8;
$blue: #08c;
$orange: #EE502E;
$grey: #3C3B3D;

html {
  background: $grey;
  font: 14px Lato, sans-serif;
  height: 100%;
}

body {
  margin-top: 2rem;
  min-height: 100%;
}

h1 {
  color: #fff;
  font-weight: 200;
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px dotted lighten($grey, 10%);
  width: 500px;
  margin: 0 auto 3rem;
  padding: 0 0 2rem;
}

.actions {
  text-align: center;
  margin-bottom: 3rem;
  
  a {
    @include ghost-button($blue);    
   
    margin-left: .5rem;
        
    &:first-child {
      margin-left: 0;
    }
  }
  
  &:nth-of-type(1) a {
    @include ghost-button($yellow);
  }

  &:nth-of-type(2) a {
    @include ghost-button($green);
  }

  &:nth-of-type(3) a {
    @include ghost-button($red);
  }

  &:nth-of-type(5) a {
    @include ghost-button($orange);
    
    padding: .5rem 5rem;
  }
}

External CSS

  1. https://fonts.googleapis.com/css?family=Lato:100,300,400,700
  2. https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.