Clean up scss

This commit is contained in:
Seth Vargo 2017-03-06 14:53:00 -05:00
parent 8bcf3b1741
commit a49714546f
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF
15 changed files with 672 additions and 1302 deletions

View File

@ -36,6 +36,10 @@
font-size: 15px;
font-family: $font-family-open-sans;
&:last-child {
padding-bottom: 0;
}
span.param {
font-weight: bold;
}

View File

@ -2,36 +2,37 @@
// Button Styles
// --------------------------------------------------
.v-btn{
.v-btn {
display: inline-block;
background-color: $white;
color: $black;
border: 1px solid $black;
text-decoration: none;
@include transition(color .3s ease-in-out);
@include btn-shadow();
&.lrg{
&.lrg {
font-size: 18px;
padding: 10px 50px;
}
&.sml{
&.sml {
font-size: 15px;
padding: 8px 40px;
}
&.blue{
&.blue {
color: $blue;
border: 1px solid $blue;
}
&.gray{
&.gray {
font-weight: 300;
color: $gray;
border: 1px solid $light-gray;
}
&.terminal{
&.terminal {
padding-left: 52px;
padding-right: 30px;
margin-left: 12px;
@ -39,23 +40,23 @@
@include img-retina("icon-terminal.png", "icon-terminal@2x.png", 26px, 25px);
}
&.started{
&.started {
margin-bottom: 12px;
}
&:hover{
&:hover, &:active, &:focus {
text-decoration: none;
@include transition(color .3s ease-in-out);
&.blue{
&.blue {
color: darken($blue, 8%);
}
&.black{
&.black {
color: lighten($black, 50%);
}
&.gray{
&.gray {
color: $black;
}
}

View File

@ -4,10 +4,6 @@
.person {
margin-bottom: 40px;
h3 {
text-transform: none;
}
img {
width: 125px;
margin: auto auto;

View File

@ -1,9 +1,3 @@
html,
body {
height: 100%;
min-height: 100%;
}
.demo-active {
background: #000;
@ -14,7 +8,7 @@ body {
#header,
#sidebar,
#hero,
#content,
#container,
#footer,
.sidebar-overlay {
display: none;
@ -31,9 +25,9 @@ body {
color: #DDDDDD;
display: block;
font-size: 15px;
font-family: 'Ubuntu Mono', 'Monaco', monospace;
font-family: $font-family-monospace;
@include box-shadow(0px -2px 30px 0px rgba(0, 0, 0, 0.40));
z-index: 1000;
z-index: 50;
}
.instruction-wrapper {
@ -42,7 +36,7 @@ body {
padding: 20px;
position: fixed;
top: 0;
z-index: 5;
z-index: 100;
}
.instruction {
@ -76,7 +70,6 @@ body {
li {
list-style-type: none;
}
}
.close-terminal{
@ -89,10 +82,10 @@ body {
color: #8B8A8F;
text-align: center;
line-height: 60px;
font-size: 30px;
font-size: 40px;
transition: all 250ms ease-in;
cursor: pointer;
z-index: 10;
z-index: 100;
&:hover{
text-decoration: none;
@ -112,7 +105,7 @@ body {
display: block;
overflow: auto;
position: relative;
z-index: 1;
z-index: 90;
&.fullscreen {
min-height: 300px;

View File

@ -2,28 +2,15 @@
// Docs
// --------------------------------------------------
body.layout-atlas,
body.layout-consul,
body.layout-dnsimple,
body.layout-dme,
body.layout-cloudflare,
body.layout-cloudstack,
body.layout-google,
body.layout-heroku,
body.layout-mailgun,
body.layout-digitalocean,
body.layout-aws,
$docs-font-size: 15px;
body.layout-docs,
body.layout-inner,
body.layout-downloads,
body.layout-intro{
display: flex;
flex-direction: column;
body.layout-intro {
>.container{
flex: 1 0 auto;
.col-md-8[role=main]{
min-height: 800px;
background-color: white;
>div{
@ -32,247 +19,173 @@ body.layout-intro{
}
}
}
*:focus {
outline: none;
}
h1 > code,
h2 > code,
h3 > code,
h4 > code,
h5 > code
h6 > code,
li > code,
table code,
p code,
tt,
.alert code {
font-family: $font-family-monospace;
font-size: 90%;
background-color: transparent;
color: inherit;
padding: 0;
}
}
.docs-sidebar{
position: relative;
z-index: 20;
.docs-sidebar {
margin-bottom: 30px;
margin-top: 50px;
margin-right: 4%;
@include open();
a{
color: $dark-blue;
}
.nav.docs-sidenav{
ul.nav.docs-sidenav {
display: block;
padding-bottom: 15px;
:last-child{
border-bottom: none;
}
//all li
li{
position: relative;
> a{
padding: 10px 0 10px 8px;
li {
a {
color: $sidebar-link-color;
font-size: 13px;
padding: 10px 0 10px 15px;
&:before {
color: $dark-blue;
content: '\203A';
font-size: $docs-font-size;
left: 0;
line-height: 100%;
opacity: 0.4;
position: absolute;
&:before{
@include bez-1-transition();
height: 100%;
width: 8px
}
&:hover{
background-color: transparent !important;
&:focus,
&:hover {
background-color: transparent;
color: $sidebar-link-color-hover;
&:before{
@include bez-1-transition();
&:before {
opacity: 1;
}
}
}
}
$parent-active-state: -14px;
$parent-default-state: -10px;
$child-active-state: -4px;
$child-default-state: 0px;
li.active {
> a {
color: $sidebar-link-color-active;
//first teir li
> li {
margin: 0 0 0 10px;
&.active {
>a{
color: lighten($black, 4%);
&:hover{
&:before{
left: $parent-default-state;
&:before {
opacity: 1;
}
}
&:before{
background: image-url("triangle-sprite.png") 0 0 no-repeat;
@include img-retina("triangle-sprite.png", "triangle-sprite@2x.png", 7px, 25px);
}
}
.nav {
// Open nested navigations
ul.nav {
display: block;
}
}
> a {
-webkit-font-smoothing: antialiased;
&:hover{
&:before{
left: $parent-active-state;
}
}
&:before{
content: '';
position: absolute;
width: 7px;
height: 8px;
top: 15px;
left: $parent-default-state;
overflow: hidden;
background: image-url("triangle-sprite.png") 0 -9px no-repeat;
@include img-retina("triangle-sprite.png", "triangle-sprite@2x.png", 7px, 25px);
}
}
}
//nested ul.nav
.nav {
// subnav
ul.nav {
display: none;
margin-bottom: 15px;
margin: 10px;
> li{
li {
margin-left: 10px;
&.active{
> a{
color: $black;
&:hover{
&:before{
left: $child-default-state;
}
}
&:before{
background: image-url("triangle-sprite.png") 0 0 no-repeat;
@include img-retina("triangle-sprite.png", "triangle-sprite@2x.png", 5px, 19px);
}
}
}
> a{
-webkit-font-smoothing: antialiased;
a {
padding: 6px 15px;
&:hover{
&:before{
left: $child-active-state;
}
}
&:before{
opacity: .75;
content: '';
position: absolute;
width: 5px;
height: 7px;
top: 12px;
left: $child-default-state;
overflow: hidden;
background: image-url("triangle-sprite.png") 0 -13px no-repeat;
@include img-retina("triangle-sprite.png", "triangle-sprite@2x.png", 5px, 19px);
}
}
}
}
.nav-visible {
display: block;
}
}
}
.bs-docs-section{
.bs-docs-section {
padding-top: 10px;
padding-left: 3%;
padding-bottom: 80px;
.lead{
margin-bottom: 48px
}
.doc-sectional{
margin-bottom: 48px;
}
p, li, .alert {
font-size: 18px;
font-size: $docs-font-size;
font-family: $font-family-open-sans;
font-weight: $font-weight-reg;
line-height: 1.5em;
margin: 0 0 18px;
line-height: 1.84em;
margin: 0 0 $docs-font-size;
-webkit-font-smoothing: antialiased;
}
pre{
margin: 0 0 18px;
pre {
font-size: ($docs-font-size - 3);
margin: 0 0 $docs-font-size;
// This will force the code to scroll horizontally on small screens
// instead of wrapping.
code {
overflow-wrap: normal;
white-space: pre;
}
}
a{
a {
color: $dark-blue;
&:hover{
text-decoration: none;
&:hover {
text-decoration: underline;
}
code {
background: inherit;
color: $dark-blue;
}
}
img{
img {
max-width: 650px;
margin-top: 25px;
margin-bottom: 25px;
}
h1{
color: $black;
font-weight: $font-weight-b;
font-size: 36px;
margin-top: 50px;
margin-bottom: 24px;
}
h2, h3, h4{
margin-bottom: 16px;
font-weight: $font-weight-b;
}
#graph {
margin-top: 30px;
h1,
h2,
h3,
h4 {
color: $body-font-color;
margin-top: 54px;
margin-bottom: $docs-font-size;
line-height: 1.3;
}
}
@media (max-width: 992px) {
.bs-docs-section{
.bs-docs-section {
padding-left: 0;
}
}
@media (max-width: 768px) {
.bs-docs-section{
.bs-docs-section {
padding-top: 0;
h1{
margin-top: 0;
}
}
}
@media (max-width: 480px) {
.bs-docs-section{
img{
.bs-docs-section {
img {
max-width: 450px;
}
h1{
font-size: 32px;
}
}
}

View File

@ -1,38 +1,38 @@
body.page-sub{
#footer{
body.page-sub {
#footer {
padding: 0 0 40px 0;
.col-md-10{
.col-md-10 {
padding-top: 40px;
border-top: 1px solid $faint-gray;
}
}
}
#footer{
#footer {
flex-shrink:0;
padding: 64px 0;
.hashicorp-project{
.hashicorp-project {
margin-top: 24px;
@include project-by-hashicorp-style();
&:hover{
&:hover {
color: $black;
}
}
.pull-right{
.pull-right {
padding-right: 15px;
}
}
.edit-page-link{
.edit-page-link {
position: absolute;
top: -50px;
right: 15px;
z-index: 10;
a{
a {
text-transform: uppercase;
color: $black;
font-size: 13px;
@ -44,12 +44,12 @@ body.page-sub{
display: block;
text-align: center;
ul{
ul {
display: inline-block;;
float: none !important;
}
.footer-hashi{
.footer-hashi {
display: block;
float: none !important;
}
@ -57,17 +57,17 @@ body.page-sub{
}
@media (max-width: 414px) {
#footer{
ul{
#footer {
ul {
display: block;
li{
li {
display: block;
float: none;
}
&.external-links{
li{
svg{
&.external-links {
li {
svg {
position: relative;
left: 0;
top: 2px;

View File

@ -2,47 +2,33 @@
// Global Site
// --------------------------------------------------
/*html{
html {
height: 100%;
min-height: 100%;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}*/
html{
min-height: 100%;
}
body {
min-height: 100%;
-webkit-font-smoothing: antialiased;
color: $black;
color: $body-font-color;
background-color: $white;
font-size: 16px;
font-size: $font-size;
font-family: $font-family-open-sans;
font-weight: 400;
font-weight: $font-weight-reg;
height: 100%;
min-height: 100%;
}
h1, h2, h3, h4, h5 {
font-family: $font-family-klavika;
-webkit-font-smoothing: antialiased;
}
h1{
font-size: 42px;
line-height: 42px;
h1 {
margin-bottom: 24px;
}
h3{
font-size: 28px;
line-height: 28px;
}
//an alternative color for buttons in the doc body
.btn-serf{
color: $white !important;
background-color: $btn-color;
border-radius: $btn-border-radius;
//@include box-shadow( $shadow );
}
.highlight{
margin-bottom: 18px;
}
@ -52,20 +38,12 @@ pre {
color: $white;
font-size: 14px;
font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
font-family: $font-family-monospace;
border: none;
padding: 20px;
margin-bottom: 0;
}
//fixed grid below 992 to prevent smaller responsive sizes
@media (max-width: 992px) {
.container{
max-width: 970px;
}
}
//all below styles are overriding corrections for below (min-width: 992px)
//below (min-width: 992px) these styles change
.navbar-nav {
@ -89,14 +67,29 @@ pre {
text-align: center;
}
.hcaret{
display: inline-block;
-moz-transform: translate(0, -1px) rotate(135deg);
-webkit-transform: translate(0, -1px) rotate(135deg);
transform: translate(0, -1px) rotate(135deg);
width: 7px;
height: 7px;
border-top: 1px solid $blue;
border-left: 1px solid $blue;
@include transition(all .1s ease-in);
.alert p:last-child {
margin-bottom: 0;
}
//Typekit utilites for hiding FOUC
.wf-loading {
visibility: hidden;
}
.wf-active, .wf-inactive {
visibility: visible;
}
//fixed grid below 992 to prevent smaller responsive sizes
@media (min-width: 768px) and (max-width: 992px) {
.container{
width: 100%;
}
}
//guarantees nav list fits at tablet viewport size
@media (min-width: 768px) and (max-width: 800px) {
#header .navbar-nav a {
font-size: 12px !important;
}
}

View File

@ -8,7 +8,7 @@
flex-shrink:0;
.navbar-brand {
.logo{
.logo {
width: $project-logo-width;
padding-left: 50px;
font-size: 0;
@ -19,11 +19,11 @@
}
}
.by-hashicorp{
.by-hashicorp {
@include project-by-hashicorp-style();
}
.buttons{
.buttons {
margin-top: 2px; //baseline everything
}
}
@ -31,13 +31,8 @@
@media (max-width: 414px) {
#header {
.navbar-brand {
.logo{
.logo {
width: $project-logo-width * .8;
img{
//width: 72px;
//height: 14px;
}
}
}
}

View File

@ -1,578 +1,109 @@
//
// Home
// --------------------------------------------------
#hero{
/* opacity: 0;
@include translate3d(0, -10px, 0); */
text-align: center;
/* &.showit{
opacity: 1;
@include translate3d(0, 0px, 0);
transition: all 1s ease;
} */
#logo-lockup{
#page-home {
#container {
margin-top: 140px;
position: relative;
display: inline-block;
width: 228px;
height: 43px;
margin-top: 120px;
background: image-url('logo-lockup.png') 0 0 no-repeat;
@include img-retina("logo-lockup.png", "logo-lockup@2x.png", 228px, 43px);
text-align: center;
z-index: 1;
.keys{
position: absolute;
left: 15px;
top: 8px;
width: 12px;
span{
width: 3px;
height: 3px;
border-radius: 2px;
float: left;
margin-left: 1px;
margin-bottom: 1px;
background-color: $blue;
transition: all 250ms ease-in;
&:nth-child(1){
opacity: .85;
}
&:nth-child(2){
opacity: .4;
}
&:nth-child(3){
opacity: .8;
}
&:nth-child(4){
opacity: .9;
}
&:nth-child(5){
opacity: .8;
}
&:nth-child(6){
opacity: .5;
}
&:nth-child(7){
opacity: .65;
}
&:nth-child(8){
opacity: .7;
}
&:nth-child(9){
opacity: 1;
}
&:nth-child(10){
opacity: 1;
margin-left: 5px;
}
&.full{
opacity: 1;
transition: all 250ms ease-in;
}
&.full.off{
opacity: .55;
transition: all 250ms ease-in;
}
&.full.press{
animation-name: press;
-webkit-animation-name: press;
animation-duration: 600ms;
-webkit-animation-duration: 600ms;
animation-timing-function: ease;
-webkit-animation-timing-function: ease;
}
}
}
}
#tag-line{
margin: 15px 0 20px 0;
#tag-line {
display: block;
font-size: 24px;
font-weight: 300;
margin: 15px 0 40px 0;
}
#diagram{
display: inline-block;
width: 490px;
#diagram {
background-image: image-url("hero@2x.png");
background-origin: content-box;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
display: block;
margin: 60px 0;
padding: 15px;
height: 193px;
margin-top: 120px;
background: image-url('hero.png') 0 0 no-repeat;
@include img-retina("hero.png", "hero@2x.png", 490px, 193px);
width: 100%;
}
p{
margin-top: 60px;
text-align: left;
line-height: 2em;
.strong{
font-size: 20px;
font-weight: 600;
}
}
}
#content{
margin-top: 180px;
text-align: center;
h2{
margin-bottom: 120px;
h2.features-header {
color: $blue;
font-family: $font-family-klavika;
display: inline-block;
font-size: 44px;
text-transform: uppercase;
font-weight: 600;
letter-spacing: 2px;
margin: 120px auto 40px auto;
text-transform: uppercase;
}
.feature{
h3.feature-header {
color: $black;
font-size: 36px;
font-weight: 300;
margin: 30px 0;
text-transform: none;
}
p {
font-size: 18px;
font-weight: 300;
line-height: 36px;
margin: 25px 0;
padding: 15px;
text-align: left;
}
.feature {
margin-bottom: 150px;
&#crud{
.graphic{
width: 335px;
height: 128px;
background: image-url('graphic-crud.png') 0 0 no-repeat;
@include img-retina("graphic-crud.png", "graphic-crud@2x.png", 335px, 128px);
.graphic {
background-origin: content-box;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
display: block;
margin: 60px 0;
padding: 15px;
height: 160px;
width: 100%;
}
&#crud {
.graphic {
background-image: image-url("graphic-crud@2x.png");
}
}
&#key{
.graphic{
width: 243px;
height: 140px;
background: image-url('graphic-key.png') 0 0 no-repeat;
@include img-retina("graphic-key.png", "graphic-key@2x.png", 243px, 140px);
&#key {
.graphic {
background-image: image-url("graphic-key@2x.png");
}
}
&#audit{
.graphic{
width: 491px;
height: 129px;
background: image-url('graphic-audit.png') 0 0 no-repeat;
@include img-retina("graphic-audit.png", "graphic-audit@2x.png", 491px, 129px);
}
}
.graphic{
display: inline-block;
}
h3{
font-family: $font-family-klavika;
margin: 30px 0;
color: $black;
font-size: 34px;
font-weight: 600;
line-height: 34px;
text-transform: uppercase;
}
p{
margin-bottom: 30px;
text-align: left;
font-size: 16px;
line-height: 1.75em;
}
.feature-footer{
a{
margin-bottom: 15px;
margin-left: 15px;
&:first-child{
margin-left: 0;
}
&#audit {
.graphic {
background-image: image-url("graphic-audit@2x.png");
}
}
}
#cta {
position: relative;
padding: 160px 0;
background: image-url('bg-icons.png') center center no-repeat;
@include img-retina("bg-icons.png", "bg-icons@2x.png", 669px, 260px);
background: image-url("bg-icons.png") center center no-repeat;
background-position: center center;
border-top: 1px solid $faint-gray;
border-bottom: 1px solid $faint-gray;
padding: 140px 0;
a{
margin-bottom: 5px;
}
p{
p {
margin-top: 10px;
color: $black;
font-size: 14px;
font-weight: 600;
line-height: 1.5esm;
&.cta-gray{
color: $gray;
}
}
.outline-btn {
padding: 16px 40px;
display: inline-block;
&:focus {
outline: 0;
}
}
}
}
#demos{
position: relative;
padding: 180px 0 60px;
margin-top: -80px;
>.container{
z-index: 31;
}
#demo-bg{
background-color: #000;
@include skewY(-3deg);
z-index: 30;
}
.explantion {
margin: 40px 0 60px 15px;
border-left: 8px solid #1e1e1e;
h2 {
margin-top: 0;
font-size: 28px;
color: lighten($purple, 8%);
}
p{
margin-bottom: 0;
font-size: 16px;
letter-spacing: 1px;
line-height: 1.5em;
color: $gray-light;
font-weight: 400;
}
}
.terminals{
margin-bottom: 80px;
.terminal-item{
margin-bottom: 120px;
&.last{
border-bottom: none;
}
>header{
.left{
span.icn{
display: inline-block;
width: 83px;
height: 74px;
}
}
.right{
padding-left: 25px;
h2{
margin-top: 0;
font-size: 28px;
text-transform: uppercase;
}
p{
font-size: 16px;
}
}
}
.terminal{
border: 2px solid #1e1e1e;
//border-radius: 4px;
header{
position: relative;
text-align: center;
padding: 3px;
//background-color: #1e1e1e;
border-bottom: 2px solid #1e1e1e;
h4{
font-size: 14px;
letter-spacing: 1px;
color: white;
}
ul.shell-dots{
position: absolute;
top: 10px;
left: 8px;
padding-left: 0;
li{
&.d1{
background-color: #4a08a7;
}
&.d2{
background-color: #6517cf;
}
&.d3{
background-color: #7b29ee;
}
display: inline-block;
width: 12px;
height: 12px;
border-radius: 6px;
margin-left: 6px;
}
}
}
.terminal-window{
min-height: 140px;
padding: 20px;
font-size: 15px;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
color: $white;
background-color: transparent;
overflow:auto;
font-weight: 500;
-webkit-font-smoothing: antialiased;
.txt-spe {
color: lighten($blue, 5%);
font-weight: 600;
}
.txt-var {
color: lighten($purple, 8%);
font-weight: 600;
}
.txt-str {
color: lighten($green, 2%);
}
.txt-int {
color: lighten($orange, 2%);
font-weight: 600;
}
p{
margin-bottom: 2px;
white-space: pre-wrap;
}
.cursor {
background-color: lighten($purple, 5%);
}
}
}
.feature-bullets{
list-style-type: none;
padding-left: 35px;
li{
padding: 5px 0 5px 45px;
}
}
}
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
#demos{
.terminals{
.terminal-item{
.feature-bullets{
li{
background-size: 12px 12px;
}
}
}
}
}
}
@media (min-width: 1200px) {
}
@media (max-width: 1200px) {
}
@media (min-width: 992px) and (max-width:1200px) {
#cta a {
margin-top: 15px;
font-size: 18px;
}
}
@media (min-width: 768px) and (max-width:992px) {
#cta a {
margin-top: 10px;
}
}
@media (max-width: 992px) {
#demos{
.terminals{
.terminal-item{
>header{
.left{
span.icn{
}
}
.right{
padding-left: 54px;
}
}
}
}
}
}
@media (max-width: 768px) {
#demos{
.explantion {
margin: 40px 0 60px 0;
}
.terminals{
.terminal-item{
>header{
.left{
span.icn{
padding-bottom: 15px;
}
}
.right{
padding-left: 15px;
}
}
}
}
}
#cta{
.intro{
text-align: center;
p{
text-align: center;
margin-bottom: 15px;
}
}
}
}
@media (max-width: 480px) {
#hero{
#diagram{
width: 100%;
height: 132px;
background: image-url('hero.png') center 0 no-repeat;
@include img-retina("hero.png", "hero@2x.png", 320px, 132px);
}
}
#content{
.feature{
&#audit{
.graphic{
width: 100%;
height: 84px;
background: image-url('graphic-audit.png') center 0 no-repeat;
@include img-retina("graphic-audit.png", "graphic-audit@2x.png", 320px, 84px);
}
}
}
}
.feature-footer{
text-align: center;
a{
margin-bottom: 15px;
margin-left: 0 !important;
}
}
}
@media (max-width: 320px) {
#hero{
#diagram{
width: 100%;
height: 132px;
background: image-url('hero.png') center 0 no-repeat;
@include img-retina("hero.png", "hero@2x.png", 320px, 132px);
}
}
#content{
.feature{
&#crud{
.graphic{
width: 100%;
height: 111px;
background: image-url('graphic-crud.png') center 0 no-repeat;
@include img-retina("graphic-crud.png", "graphic-crud@2x.png", 290px, 111px);
}
}
&#audit{
.graphic{
width: 100%;
height: 76px;
background: image-url('graphic-audit.png') center 0 no-repeat;
@include img-retina("graphic-audit.png", "graphic-audit@2x.png", 290px, 76px);
}
}
}
}
#demos .explantion{
border-left: 8px solid transparent;
}
#cta a {
font-size: 14px;
font-weight: 400;
}
}

View File

@ -1,17 +1,7 @@
//
// Sidebar
// - Project Specific
// - Make sidebar edits here
// --------------------------------------------------
.sidebar {
.sidebar-nav {
// Links
//----------------
li {
a {
font-family: $header-font-family;
font-weight: 400;
color: $black;
svg{

View File

@ -1,69 +1,39 @@
//
// Variables
// --------------------------------------------------
// Global values
// --------------------------------------------------
$header-height: 90px;
$btn-border-radius: 4px;
$el-border-radius: 6px;
// colors
// -------------------------
$white: #fff;
$black: #000;
// Colors
$white: #FFFFFF;
$black: #000000;
$gray: #929199;
$light-gray: #C2C1C7;
$faint-gray: #E3E3EA;
$dark-blue: #00ABE0;
$blue: #00BFE0;
$light-black: #242424;
$orange: #e78c5b;
$green: #5be764;
$gray-darker: #555;
$gray: #777;
$orange: #E78C5B;
$green: #5BE764;
$gray-darker: #555555;
$gray: #777777;
$gray-light: #939393;
$gray-lighter: #979797;
$red: #dd4e58;
$red-dark: #c5454e;
$purple: #822ff7;
$light-purple: #f7f3f9;
$btn-color: #4592C5;
// Scaffolding
// -------------------------
$body-bg: #fff;
$text-color: $gray;
// Links
// -------------------------
$link-color: $red-dark;
$link-hover-color: darken($link-color, 15%);
$red: #DD4E58;
$red-dark: #C5454E;
$purple: #822FF7;
// Typography
// -------------------------
$font-family-klavika: 'klavika-web', 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-family-open-sans: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-weight-xl: 300;
$font-family-monospace: 'Fira Mono', monospace;
$font-size: 15px;
$font-weight-reg: 400;
$font-weight-b: 600;
$font-weight-bold: 600;
$text-shadow: 1px 1px 1px #000;
$shadow: $text-shadow;
// Body
$body-font-color: $gray-darker;
//
// ----
$imagePath: "atlas/";
//margin + padding
$xsmall-pad: 20px;
$small-pad: 30px;
$med-pad: 70px;
$large-pad: 120px;
$xl-pad: 150px;
$light-outline: #f7f7f7;
// Sidebar
$sidebar-link-color: $body-font-color;
$sidebar-link-color-hover: $black;
$sidebar-link-color-active: $dark-blue;

View File

@ -1,7 +1,9 @@
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import url("//fonts.googleapis.com/css?family=Open+Sans:300,400,700|Open+Sans:300,600,400|Ubuntu+Mono");
// Remote fonts
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600');
@import url('https://fonts.googleapis.com/css?family=Fira+Mono');
// Core variables and mixins
@import '_variables';
@ -19,7 +21,6 @@
@import '_announcement-bnr';
@import '_header';
@import '_footer';
@import '_jumbotron';
@import '_buttons';
@import '_sidebar';

View File

@ -47,9 +47,11 @@ $sidebar-icon-height: 20px;
li > a {
background-color: $link-bg;
}
li:hover > a {
background-color: $link-hover-bg;
}
li:focus > a, li > a:focus {
background-color: $link-bg;
}

View File

@ -1,31 +1,21 @@
<%= partial "layouts/sidebar" %>
<div id="hero">
<div class="container">
<div id="demo-app"></div>
<div id="container" class="col-md-offset-3 col-md-6 col-sm-offset-2 col-sm-8">
<div class="row">
<div class="col-md-offset-3 col-md-6">
<div id="logo-lockup">
<div class="keys">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<h2 id="tag-line">A tool for managing secrets.</h2>
<img src="<%= image_path("logo-header.svg") %>" alt="Vault" height="80">
<span id="tag-line">A tool for managing secrets</span>
<div>
<a class="v-btn blue lrg started" href="/intro">Get Started</a>
<a class="v-btn black lrg terminal" href="/#/demo/0">Launch Interactive Tutorial</a>
</div>
<div id="diagram"></div>
<p>
<span class="strong">Vault</span> secures, stores, and tightly
<strong>Vault</strong> secures, stores, and tightly
controls access to tokens, passwords, certificates, API keys,
and other secrets in modern computing. Vault handles leasing,
key revocation, key rolling, and auditing. Through a unified
@ -35,21 +25,13 @@
more.
</p>
</div>
</div>
</div>
</div>
<div id="demo-app"></div>
<div id="content">
<div class="container">
<div class="row">
<div class="col-md-offset-3 col-md-6">
<h2 class="featuer-header">Features</h2>
<h2 class="features-header">Features</h2>
<div id="crud" class="feature">
<div class="graphic"></div>
<h3 class="">Secret Storage</h3>
<h3 class="feature-header">Secret Storage</h3>
<p>
Vault can store your existing secrets, or it can
dynamically generate new secrets to control access to
@ -64,11 +46,13 @@
<div class="feature-footer">
<a class="v-btn black sml" href="/intro/use-cases.html">Learn more</a>
</div>
</div> <!-- .feature -->
</div>
</div>
<div class="row">
<div id="key" class="feature">
<div class="graphic"></div>
<h3 class="">Key Rolling</h3>
<h3 class="feature-header">Key Rolling</h3>
<p>
Secrets you store within Vault can be updated at any time.
If using Vault's encryption-as-a-service functionality, the
@ -81,11 +65,13 @@
<div class="feature-footer">
<a class="v-btn black sml" href="/docs/concepts/lease.html">Learn more</a>
</div>
</div> <!-- .feature -->
</div>
</div>
<div class="row">
<div id="audit" class="feature">
<div class="graphic"></div>
<h3 class="">Audit Logs</h3>
<h3 class="feature-header">Audit Logs</h3>
<p>
Vault stores a detailed audit log of all authenticated
client interaction: authentication, token creation, secret
@ -97,18 +83,13 @@
<div class="feature-footer">
<a class="v-btn black sml" href="/docs/audit/index.html">Learn more</a>
</div>
</div> <!-- .feature -->
</div> <!-- .col -->
</div> <!-- .row -->
</div>
</div>
<div class="row">
<div class="col-sm-offset-1 col-sm-10 col-xs-12">
<div id="cta">
<a class="v-btn black sml" href="/intro/index.html">Get Started with Vault</a>
<p class="cta-black">Completely free and open source.</p>
</div><!-- #cta -->
</div> <!-- .col -->
</div> <!-- .row -->
</div> <!-- /container -->
</div> <!-- #features -->
</div>
</div>
</div>