Skip to content

Instantly share code, notes, and snippets.

@jcoryalvernaz
Created December 23, 2018 19:31
Show Gist options
  • Save jcoryalvernaz/8f0dbbfcae64e590a9e74826588216ea to your computer and use it in GitHub Desktop.
Save jcoryalvernaz/8f0dbbfcae64e590a9e74826588216ea to your computer and use it in GitHub Desktop.
/*mixin declaration example*/
@mixin padding($values...) {
@each $var in $values {
padding: #{$var};
}
}
/*stylize typeahead.js http://twitter.github.io/typeahead.js/css/examples.css */
.tt-menu {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
margin-top: 1px;
max-height: 150px;
overflow-y: auto;
width: 300px;
}
.tt-suggestion.tt-cursor {
background-color: #0097cf;
color: #fff;
cursor: pointer;
}
.tt-suggestion {
margin: 0;
/*mixin usage example*/
@include padding(6px 12px);
}
.form-control {
text-transform: uppercase;
}
th {
text-transform: uppercase;
font-size: 20px;
@include padding(6px 6px 6px 6px);
}
td {
text-transform: uppercase;
font-size: 16px;
@include padding(6px 6px 6px 6px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment