Skip to content

Instantly share code, notes, and snippets.

@laras126
Created August 15, 2014 15:18
Show Gist options
  • Save laras126/a6a0c7730ff28b1012a5 to your computer and use it in GitHub Desktop.
Save laras126/a6a0c7730ff28b1012a5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
@import "compass";
$primary-color: #4a8bbd;
$secondary-color: #61ce3c;
@mixin button($color) {
background: $color;
@extend %btn;
&:hover {
background: darken($color, 20%);
}
}
%btn {
padding: 1em 2em;
@include single-box-shadow();
border-radius: 10px;
border: 0;
}
.nav ul {
@include horizontal-list();
}
input {
&[type="submit"] {
@include button($secondary-color);
}
}
.btn-main {
@include button($primary-color);
}
input[type="submit"], .btn-main {
padding: 1em 2em;
-moz-box-shadow: 0px 5px #333333;
-webkit-box-shadow: 0px 5px #333333;
box-shadow: 0px 5px #333333;
border-radius: 10px;
border: 0;
}
.nav ul {
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
*zoom: 1;
}
.nav ul li {
list-style-image: none;
list-style-type: none;
margin-left: 0;
white-space: nowrap;
float: left;
padding-left: 4px;
padding-right: 4px;
}
.nav ul li:first-child {
padding-left: 0;
}
.nav ul li:last-child {
padding-right: 0;
}
.nav ul li.last {
padding-right: 0;
}
input[type="submit"] {
background: #61ce3c;
}
input[type="submit"]:hover {
background: #3a8321;
}
.btn-main {
background: #4a8bbd;
}
.btn-main:hover {
background: #2b5576;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment