Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
CSSCombo is your friend
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 8, 2015
1 parent 52a1011 commit 85c014a
Show file tree
Hide file tree
Showing 17 changed files with 475 additions and 523 deletions.
36 changes: 17 additions & 19 deletions assets/scss/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,65 +3,63 @@
// ------------------------------

.btn {
padding: 10px 20px;
border: 1px solid $primary-color;
border-radius: 20px;
paddinqg: 10px 20px;
font-size: .9em;
font-weight: bold;
letter-spacing: 1px;
text-shadow: none;
color: $primary-color;
-webkit-font-smoothing: antialiased;
text-shadow: none;
letter-spacing: 1px;
border: 1px solid $primary-color;
border-radius: 20px;

-webkit-font-smoothing: antialiased;
&:hover {
color: darken($primary-color, 15%);
border-color: darken($primary-color, 15%);
}
}
}

.btn-secondary {
border-color: $secondary-color;
color: $secondary-color;

border-color: $secondary-color;
&:hover {
color: darken($secondary-color, 15%);
border-color: darken($secondary-color, 15%);
}
}

}

.btn-large {
padding: 10px 24px;
font-size: 1.1em;
}
}

.btn-small {
padding: 8px 12px;
font-size: .7em;
}
}

// ------------------------------
// MOBILE MENU BUTTON
// ------------------------------

.btn-mobile-menu {
display: none;
position: fixed;
z-index: 9999;
top: 0;
right: 0;
left: 0;
z-index: 9999;
display: none;
width: 100%;
height: 42px;
text-align: center;
background: $gray-darkest;
border-bottom: 1px solid rgba(255,255,255,.1);
text-align: center;
}
}

.btn-mobile-menu__icon,
.btn-mobile-close__icon {
position: relative;
top: 3px;
font-size: 36px;
color: #FFF;
}
color: #fff;
}
122 changes: 62 additions & 60 deletions assets/scss/components/_effects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,144 +2,146 @@
.hvr-grow-rotate {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-transition-duration: .3s;
transition-duration: .3s;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transform: translateZ(0);
transform: translateZ(0);

-webkit-backface-visibility: hidden;
backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform;
transition-property: transform;
}
}
.hvr-grow-rotate:hover, .hvr-grow-rotate:focus, .hvr-grow-rotate:active {
-webkit-transform: scale(1.1) rotate(4deg);
transform: scale(1.1) rotate(4deg);
}
transform: scale(1.1) rotate(4deg);
}

/* Buzz Out */
@-webkit-keyframes hvr-buzz-out {
10% {
-webkit-transform: translateX(3px) rotate(2deg);
transform: translateX(3px) rotate(2deg);
}
transform: translateX(3px) rotate(2deg);
}

20% {
-webkit-transform: translateX(-3px) rotate(-2deg);
transform: translateX(-3px) rotate(-2deg);
}
transform: translateX(-3px) rotate(-2deg);
}

30% {
-webkit-transform: translateX(3px) rotate(2deg);
transform: translateX(3px) rotate(2deg);
}
transform: translateX(3px) rotate(2deg);
}

40% {
-webkit-transform: translateX(-3px) rotate(-2deg);
transform: translateX(-3px) rotate(-2deg);
}
transform: translateX(-3px) rotate(-2deg);
}

50% {
-webkit-transform: translateX(2px) rotate(1deg);
transform: translateX(2px) rotate(1deg);
}
transform: translateX(2px) rotate(1deg);
}

60% {
-webkit-transform: translateX(-2px) rotate(-1deg);
transform: translateX(-2px) rotate(-1deg);
}
transform: translateX(-2px) rotate(-1deg);
}

70% {
-webkit-transform: translateX(2px) rotate(1deg);
transform: translateX(2px) rotate(1deg);
}
transform: translateX(2px) rotate(1deg);
}

80% {
-webkit-transform: translateX(-2px) rotate(-1deg);
transform: translateX(-2px) rotate(-1deg);
}
transform: translateX(-2px) rotate(-1deg);
}

90% {
-webkit-transform: translateX(1px) rotate(0);
transform: translateX(1px) rotate(0);
}
transform: translateX(1px) rotate(0);
}

100% {
-webkit-transform: translateX(-1px) rotate(0);
transform: translateX(-1px) rotate(0);
transform: translateX(-1px) rotate(0);
}
}
}

@keyframes hvr-buzz-out {
10% {
-webkit-transform: translateX(3px) rotate(2deg);
transform: translateX(3px) rotate(2deg);
}
transform: translateX(3px) rotate(2deg);
}

20% {
-webkit-transform: translateX(-3px) rotate(-2deg);
transform: translateX(-3px) rotate(-2deg);
}
transform: translateX(-3px) rotate(-2deg);
}

30% {
-webkit-transform: translateX(3px) rotate(2deg);
transform: translateX(3px) rotate(2deg);
}
transform: translateX(3px) rotate(2deg);
}

40% {
-webkit-transform: translateX(-3px) rotate(-2deg);
transform: translateX(-3px) rotate(-2deg);
}
transform: translateX(-3px) rotate(-2deg);
}

50% {
-webkit-transform: translateX(2px) rotate(1deg);
transform: translateX(2px) rotate(1deg);
}
transform: translateX(2px) rotate(1deg);
}

60% {
-webkit-transform: translateX(-2px) rotate(-1deg);
transform: translateX(-2px) rotate(-1deg);
}
transform: translateX(-2px) rotate(-1deg);
}

70% {
-webkit-transform: translateX(2px) rotate(1deg);
transform: translateX(2px) rotate(1deg);
}
transform: translateX(2px) rotate(1deg);
}

80% {
-webkit-transform: translateX(-2px) rotate(-1deg);
transform: translateX(-2px) rotate(-1deg);
}
transform: translateX(-2px) rotate(-1deg);
}

90% {
-webkit-transform: translateX(1px) rotate(0);
transform: translateX(1px) rotate(0);
}
transform: translateX(1px) rotate(0);
}

100% {
-webkit-transform: translateX(-1px) rotate(0);
transform: translateX(-1px) rotate(0);
transform: translateX(-1px) rotate(0);
}
}
}

.hvr-buzz-out {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-transform: translateZ(0);
transform: translateZ(0);

-webkit-backface-visibility: hidden;
backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
}
}
.hvr-buzz-out:hover, .hvr-buzz-out:focus, .hvr-buzz-out:active {
-webkit-animation-name: hvr-buzz-out;
animation-name: hvr-buzz-out;
-webkit-animation-duration: 0.75s;
animation-duration: 0.75s;
animation-name: hvr-buzz-out;
-webkit-animation-duration: .75s;
animation-duration: .75s;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
}
animation-iteration-count: 1;
}
18 changes: 8 additions & 10 deletions assets/scss/components/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*:focus {
outline: none;
}
}

input[type="text"],
input[type="password"],
Expand All @@ -17,18 +17,16 @@ input[type="search"],
input[type="tel"] {
width: 240px;
padding: 1em 1em;
background: #FFF;
border: 1px solid $gray-light;
border-radius: $border-radius;
font-size: .9em;
color: $gray-darker;

&:focus {
border-color: $secondary-color;
}
background: #fff;
border: 1px solid $gray-light;
border-radius: $border-radius;

@include placeholder {
color: $gray;
}
&:focus {
border-color: $secondary-color;
}
}

}
12 changes: 6 additions & 6 deletions assets/scss/components/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
i {
font-family: 'entypo';
font-weight: normal;
font-style: normal;
font-size: 18px;
}
font-style: normal;
font-weight: normal;
}

.icon-social {
position: relative;
display: block;
font-family: 'entypo-social';
font-size: 22px;
display: block;
position: relative;
}
}
4 changes: 2 additions & 2 deletions assets/scss/components/_images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
max-width: 100%;
margin-top: 1rem;
margin-bottom: 6%;
}
}

#feature-title {
// margin-top:1rem;
margin-bottom: 4rem;
text-align: center;
}
}
Loading

0 comments on commit 85c014a

Please sign in to comment.