Skip to content

Instantly share code, notes, and snippets.

@teomaragakis
Created November 4, 2014 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teomaragakis/68c03f8bdf54a3d6ef81 to your computer and use it in GitHub Desktop.
Save teomaragakis/68c03f8bdf54a3d6ef81 to your computer and use it in GitHub Desktop.
Bootstrap Extensions
// Variables
@widget-padding: 10px;
@widget-background-color @whiter;
@widget-text-color: @brand-secondary;
@widget-inverted-background-color: @brand-primary;
@widget-inverted-text-color: @white;
@widget-border-radius: 5px;
// Implementation
.widget {
border-radius: @widget-border-radius;
padding: @widget-padding;
background-color: @widget-background-color;
color: @widget-text-color;
}
.widget-inverted {
background-color: @widget-inverted-background-color;
color: @widget-inverted-text-color;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment