updated homepage to incorporate design feedback
parent
92778dca19
commit
57aa043f91
|
@ -34,7 +34,7 @@
|
|||
// overflow: hidden;
|
||||
|
||||
h2 {
|
||||
margin: 1.5rem 0 .5rem;
|
||||
margin: 1.25rem 0 .5rem;
|
||||
font-weight: 300;
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
@ -54,15 +54,16 @@
|
|||
a.btn {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin: .5rem .25rem .5rem 0;
|
||||
padding: 1rem 2rem;
|
||||
margin: .5rem .25rem .75rem 0;
|
||||
padding: 1.25rem 2.25rem;
|
||||
color: $article-btn-text !important;
|
||||
border-radius: $radius;
|
||||
font-weight: $medium;
|
||||
font-size: 1.1rem;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
@include gradient($article-btn-gradient);
|
||||
@include gradient($home-btn-gradient);
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
|
@ -73,7 +74,7 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: $radius;
|
||||
@include gradient($article-btn-gradient-hover);
|
||||
@include gradient($home-btn-gradient-hover, 270deg);
|
||||
opacity: 0;
|
||||
transition: opacity .2s;
|
||||
z-index: -1;
|
||||
|
@ -175,10 +176,13 @@
|
|||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
color: $g20-white;
|
||||
@include gradient($home-tick-bg-gradient, 45deg)
|
||||
|
||||
h2 { color: $article-heading-alt; }
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
color: $g20-white;
|
||||
&:after{
|
||||
content: "";
|
||||
margin-top: .15rem;
|
||||
|
@ -192,12 +196,40 @@
|
|||
&:after { width: 100%; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.telegraf {@include gradient($telegraf-dropdown-gradient);}
|
||||
.influxdb {@include gradient($default-dropdown-gradient);}
|
||||
.chronograf {@include gradient($chronograf-dropdown-gradient);}
|
||||
.kapacitor {@include gradient($kapacitor-dropdown-gradient);}
|
||||
.card {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
color: $article-text;
|
||||
transition: color .2s;
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: block;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
z-index: -1;
|
||||
transition: opacity .4s;
|
||||
}
|
||||
|
||||
&.telegraf:after {@include gradient($telegraf-home-card-gradient);}
|
||||
&.influxdb:after {@include gradient($default-home-card-gradient);}
|
||||
&.chronograf:after {@include gradient($chronograf-home-card-gradient);}
|
||||
&.kapacitor:after {@include gradient($kapacitor-home-card-gradient);}
|
||||
|
||||
&:hover {
|
||||
color: $g20-white;
|
||||
h2, a {color: $g20-white;}
|
||||
&:after { opacity: 1; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#enterprise {
|
||||
padding-top: 2.5rem;
|
||||
|
@ -294,7 +326,12 @@
|
|||
padding-right: 0;
|
||||
#tick-cards {
|
||||
flex-direction: column;
|
||||
.card { width: 100%; }
|
||||
.card {
|
||||
width: 100%;
|
||||
color: $g20-white;
|
||||
a {color: $g20-white;}
|
||||
&:after { opacity: 1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
&#enterprise { order: 4; padding-left: 0; padding-right: 0; }
|
||||
|
|
|
@ -176,6 +176,12 @@ $landing-btn-text: $g20-white;
|
|||
$landing-btn-grad: $grad-blue;
|
||||
$landing-btn-grad-hover: $grad-blue-light;
|
||||
|
||||
// Home page colors
|
||||
$home-btn-gradient: $grad-NineteenEightyFour;
|
||||
$home-btn-gradient-hover: $grad-PastelGothic;
|
||||
$home-tick-bg-gradient: $grad-grey-abyss;
|
||||
$default-home-card-gradient: $grad-Miyazakisky;
|
||||
|
||||
// Tooltip colors
|
||||
$tooltip-color: $br-chartreuse;
|
||||
$tooltip-color-alt: $br-chartreuse;
|
||||
|
|
|
@ -176,6 +176,12 @@ $landing-btn-text: $g20-white !default;
|
|||
$landing-btn-grad: $grad-blue !default;
|
||||
$landing-btn-grad-hover: $grad-blue-light !default;
|
||||
|
||||
// Home page colors
|
||||
$home-btn-gradient: $grad-NineteenEightyFour !default;
|
||||
$home-btn-gradient-hover: $grad-PastelGothic !default;
|
||||
$home-tick-bg-gradient: $grad-grey-mist !default;
|
||||
$default-home-card-gradient: $grad-PastelGothic !default;
|
||||
|
||||
// Tooltip colors
|
||||
$tooltip-color: $p-amethyst !default;
|
||||
$tooltip-color-alt: $p-twilight !default;
|
||||
|
|
|
@ -29,3 +29,6 @@ $chronograf-btn-gradient-hover: $grad-OminousFog;
|
|||
|
||||
// Article Tabs for tabbed content
|
||||
$chronograf-article-tab-active-text: $g20-white;
|
||||
|
||||
// Homepage cards
|
||||
$chronograf-home-card-gradient: $grad-PurpleRain;
|
||||
|
|
|
@ -29,3 +29,6 @@ $kapacitor-btn-gradient-hover: $grad-green-shade;
|
|||
|
||||
// Article Tabs for tabbed content
|
||||
$kapacitor-article-tab-active-text: $g20-white;
|
||||
|
||||
// Homepage cards
|
||||
$kapacitor-home-card-gradient: $grad-GarageBand;
|
||||
|
|
|
@ -29,3 +29,7 @@ $telegraf-btn-gradient-hover: $grad-yellow-dark;
|
|||
|
||||
// Article Tabs for tabbed content
|
||||
$telegraf-article-tab-active-text: $g20-white;
|
||||
|
||||
// Homepage cards
|
||||
$telegraf-home-card-gradient: $grad-ScotchBonnet;
|
||||
|
||||
|
|
|
@ -29,3 +29,6 @@ $chronograf-btn-gradient-hover: $grad-PurpleFog !default;
|
|||
|
||||
// Article Tabs for tabbed content
|
||||
$chronograf-article-tab-active-text: $g20-white !default;
|
||||
|
||||
// Homepage cards
|
||||
$chronograf-home-card-gradient: $grad-OminousFog !default;
|
||||
|
|
|
@ -29,3 +29,6 @@ $kapacitor-btn-gradient-hover: $grad-green !default;
|
|||
|
||||
// Article Tabs for tabbed content
|
||||
$kapacitor-article-tab-active-text: $g20-white !default;
|
||||
|
||||
// Homepage cards
|
||||
$kapacitor-home-card-gradient: $grad-GarageBand !default;
|
||||
|
|
|
@ -29,3 +29,6 @@ $telegraf-btn-gradient-hover: $grad-yellow-dark !default;
|
|||
|
||||
// Article Tabs for tabbed content
|
||||
$telegraf-article-tab-active-text: $g20-white !default;
|
||||
|
||||
// Homepage cards
|
||||
$telegraf-home-card-gradient: $grad-ScotchBonnet !default;
|
||||
|
|
|
@ -104,9 +104,11 @@ $grad-LavenderLatte: $br-deeppurple, $p-star;
|
|||
$grad-OminousFog: $br-pulsar, $br-galaxy;
|
||||
|
||||
// Single Hue Gradient
|
||||
$grad-grey-mist: $g18-cloud, $g19-ghost;
|
||||
$grad-grey-light: $g13-mist, $g18-cloud;
|
||||
$grad-grey: $g10-wolf, $g13-mist;
|
||||
$grad-grey-dark: $g3-castle, $g6-smoke;
|
||||
$grad-grey-abyss: $g1-raven, $g2-kevlar;
|
||||
|
||||
$grad-blue-light: $b-pool, $b-hydrogen;
|
||||
$grad-blue: $b-ocean, $b-pool;
|
||||
|
@ -144,4 +146,4 @@ $grad-PurpleFog: $p-potassium, $cp-munchkin;
|
|||
$grad-PurpleRain: $p-void, $cp-marguerite;
|
||||
|
||||
// Transparent gradients
|
||||
$grad-whiteFade: rgba($g20-white, .75), rgba($g20-white, 0);
|
||||
$grad-whiteFade: rgba($g20-white, .75), rgba($g20-white, 0);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<div class="dropdown">
|
||||
{{ if or (eq $product nil) (eq $product "platform") }}
|
||||
<p class="selected">Select component</p>
|
||||
<p class="selected">Select product</p>
|
||||
{{ else if and (eq $product "influxdb") (in $currentVersion "v2")}}
|
||||
<p class="selected">{{ (index .Site.Data.products $product).altname }}</p>
|
||||
{{ else }}
|
||||
|
|
Loading…
Reference in New Issue