add nav chevrons. try new btn color/opacity

This commit is contained in:
JT 2014-07-23 15:36:51 -07:00
parent 91db64582b
commit daaf5e68af
7 changed files with 64 additions and 65 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -27,7 +27,7 @@
} }
.terra-btn{ .terra-btn{
background-color: white; background-color: rgba(130, 47, 247, 0.36);
} }
//dot animation on header main nav link hover //dot animation on header main nav link hover
@ -53,7 +53,7 @@
.li-under a:hover::after, .li-under a:hover::after,
.li-under a:focus::after { .li-under a:focus::after {
opacity: 1; opacity: 1;
-webkit-transform: skewY(15deg) translateY(18px); -webkit-transform: skewY(15deg) translateY(10px);
-moz-transform: skewY(15deg) translateY(18px); -moz-transform: skewY(15deg) translateY(10px);
transform: skewY(15deg) translateY(18px); transform: skewY(15deg) translateY(10px);
} }

View File

@ -3,6 +3,11 @@
// -------------------------------------------------- // --------------------------------------------------
body.page-sub{ body.page-sub{
.terra-btn{
background-color: rgba(130, 47, 247, 1);
}
#header{ #header{
height: 90px; height: 90px;
background-color: @purple; background-color: @purple;
@ -20,23 +25,6 @@ body.page-sub{
li > a { li > a {
color: black; color: black;
} }
li + li{
padding-left: 6px;
}
li + li::before {
content: "";
position: absolute;
left: 0;
top: 9px;
width: 6px;
height: 8px;
background-color: @purple;
.skewY(24deg);
padding-right: 8px;
}
} }
} }
} }
@ -111,14 +99,26 @@ body.page-sub{
} }
.main-links.navbar-nav{ .main-links.navbar-nav{
margin-top: 26px; margin-top: 28px;
/*li + li.li-under a::after{ li + li{
left: 15px; padding-left: 6px;
}*/ }
li + li::before {
content: "";
position: absolute;
left: 0;
top: 9px;
width: 6px;
height: 8px;
background-color: @purple;
.skewY(24deg);
padding-right: 8px;
}
li > a { li > a {
border-bottom: 2px solid rgba(255, 255, 255, .2); //border-bottom: 2px solid rgba(255, 255, 255, .2);
line-height: 26px; line-height: 26px;
margin: 0 12px; margin: 0 12px;
padding: 0 0 0 4px; padding: 0 0 0 4px;
@ -137,26 +137,26 @@ body.page-sub{
&.download{ &.download{
a{ a{
padding-left: 28px; padding-left: 30px;
background: url(../images/header-download-icon.png) 10px 7px no-repeat; background: url(../images/header-download-icon.png) 12px 7px no-repeat;
.img-retina("../images/header-download-icon.png", "../images/header-download-icon@2x.png", 12px, 13px); .img-retina("../images/header-download-icon.png", "../images/header-download-icon@2x.png", 12px, 13px);
} }
} }
&.github{ &.github{
a{ a{
background: url(../images/header-github-icon.png) 10px 6px no-repeat; background: url(../images/header-github-icon.png) 12px 6px no-repeat;
.img-retina("../images/header-github-icon.png", "../images/header-github-icon@2x.png", 12px, 13px); .img-retina("../images/header-github-icon.png", "../images/header-github-icon@2x.png", 12px, 13px);
} }
} }
} }
li > a { li > a {
color: black; color: white;
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
padding-left: 30px; padding-left: 32px;
padding-right: 10px; padding-right: 12px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
} }
} }

View File

@ -77,6 +77,9 @@ pre {
.center { .center {
text-align: center; text-align: center;
} }
body.page-sub .terra-btn {
background-color: #822ff7;
}
body.page-sub #header { body.page-sub #header {
height: 90px; height: 90px;
background-color: #822ff7; background-color: #822ff7;
@ -91,24 +94,6 @@ body.page-sub #header .main-links.navbar-nav {
body.page-sub #header .main-links.navbar-nav li > a { body.page-sub #header .main-links.navbar-nav li > a {
color: black; color: black;
} }
body.page-sub #header .main-links.navbar-nav li + li {
padding-left: 6px;
}
body.page-sub #header .main-links.navbar-nav li + li::before {
content: "";
position: absolute;
left: 0;
top: 9px;
width: 6px;
height: 8px;
background-color: #822ff7;
-webkit-transform: skewY(24deg);
-moz-transform: skewY(24deg);
-ms-transform: skewY(24deg);
-o-transform: skewY(24deg);
transform: skewY(24deg);
padding-right: 8px;
}
#header { #header {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
position: relative; position: relative;
@ -175,13 +160,27 @@ body.page-sub #header .main-links.navbar-nav li + li::before {
.transition( color 0.3s ease );*/ .transition( color 0.3s ease );*/
} }
#header .main-links.navbar-nav { #header .main-links.navbar-nav {
margin-top: 26px; margin-top: 28px;
/*li + li.li-under a::after{ }
left: 15px; #header .main-links.navbar-nav li + li {
}*/ padding-left: 6px;
}
#header .main-links.navbar-nav li + li::before {
content: "";
position: absolute;
left: 0;
top: 9px;
width: 6px;
height: 8px;
background-color: #822ff7;
-webkit-transform: skewY(24deg);
-moz-transform: skewY(24deg);
-ms-transform: skewY(24deg);
-o-transform: skewY(24deg);
transform: skewY(24deg);
padding-right: 8px;
} }
#header .main-links.navbar-nav li > a { #header .main-links.navbar-nav li > a {
border-bottom: 2px solid rgba(255, 255, 255, 0.2);
line-height: 26px; line-height: 26px;
margin: 0 12px; margin: 0 12px;
padding: 0 0 0 4px; padding: 0 0 0 4px;
@ -194,8 +193,8 @@ body.page-sub #header .main-links.navbar-nav li + li::before {
margin-right: 16px; margin-right: 16px;
} }
#header .buttons.navbar-nav li.download a { #header .buttons.navbar-nav li.download a {
padding-left: 28px; padding-left: 30px;
background: url(../images/header-download-icon.png) 10px 7px no-repeat; background: url(../images/header-download-icon.png) 12px 7px no-repeat;
background-image: url("../images/header-download-icon.png"); background-image: url("../images/header-download-icon.png");
background-size: 12px 13px; background-size: 12px 13px;
} }
@ -206,7 +205,7 @@ body.page-sub #header .main-links.navbar-nav li + li::before {
} }
} }
#header .buttons.navbar-nav li.github a { #header .buttons.navbar-nav li.github a {
background: url(../images/header-github-icon.png) 10px 6px no-repeat; background: url(../images/header-github-icon.png) 12px 6px no-repeat;
background-image: url("../images/header-github-icon.png"); background-image: url("../images/header-github-icon.png");
background-size: 12px 13px; background-size: 12px 13px;
} }
@ -217,11 +216,11 @@ body.page-sub #header .main-links.navbar-nav li + li::before {
} }
} }
#header .buttons.navbar-nav li > a { #header .buttons.navbar-nav li > a {
color: black; color: white;
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
padding-left: 30px; padding-left: 32px;
padding-right: 10px; padding-right: 12px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
} }
@media (max-width: 992px) { @media (max-width: 992px) {
@ -562,7 +561,7 @@ body.page-home #footer {
background-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.5);
} }
.terra-btn { .terra-btn {
background-color: white; background-color: rgba(130, 47, 247, 0.36);
} }
.li-under a::after { .li-under a::after {
position: absolute; position: absolute;
@ -585,9 +584,9 @@ body.page-home #footer {
.li-under a:hover::after, .li-under a:hover::after,
.li-under a:focus::after { .li-under a:focus::after {
opacity: 1; opacity: 1;
-webkit-transform: skewY(15deg) translateY(18px); -webkit-transform: skewY(15deg) translateY(10px);
-moz-transform: skewY(15deg) translateY(18px); -moz-transform: skewY(15deg) translateY(10px);
transform: skewY(15deg) translateY(18px); transform: skewY(15deg) translateY(10px);
} }
/*body.page-home{ /*body.page-home{
background-color: #f8f8f8; background-color: #f8f8f8;