terraform/website/source/assets/stylesheets/_docs.scss

359 lines
5.4 KiB
SCSS
Raw Normal View History

2014-07-16 23:51:48 +02:00
//
// Docs
// --------------------------------------------------
2014-07-23 10:12:09 +02:00
body.page-sub{
2014-10-13 18:44:38 +02:00
background-color: $light-black;
2014-07-23 10:12:09 +02:00
}
2017-02-15 19:47:30 +01:00
body.layout-backend-types,
body.layout-commands-state,
body.layout-alicloud,
body.layout-archive,
body.layout-arukas,
2014-12-08 03:42:27 +01:00
body.layout-atlas,
2015-05-18 15:40:45 +02:00
body.layout-aws,
body.layout-azure,
body.layout-bitbucket,
2015-08-29 18:16:50 +02:00
body.layout-chef,
body.layout-azurerm,
body.layout-clc,
2015-05-18 15:40:45 +02:00
body.layout-cloudflare,
body.layout-cloudstack,
body.layout-cobbler,
2014-07-27 02:42:25 +02:00
body.layout-consul,
2016-02-08 10:00:00 +01:00
body.layout-datadog,
2015-05-18 15:40:45 +02:00
body.layout-digitalocean,
body.layout-dme,
2017-02-17 23:57:51 +01:00
body.layout-dns,
2015-05-18 15:40:45 +02:00
body.layout-dnsimple,
2015-03-29 04:05:17 +02:00
body.layout-docker,
body.layout-dyn,
body.layout-external,
body.layout-github,
body.layout-grafana,
body.layout-fastly,
2014-08-26 23:50:29 +02:00
body.layout-google,
2014-07-24 17:05:33 +02:00
body.layout-heroku,
body.layout-ignition,
body.layout-icinga2,
body.layout-influxdb,
2015-10-01 00:08:51 +02:00
body.layout-librato,
body.layout-logentries,
2014-08-25 00:51:39 +02:00
body.layout-mailgun,
body.layout-mysql,
body.layout-newrelic,
2016-10-24 08:18:04 +02:00
body.layout-nomad,
Ns1 provider (#10782) * vendor: update gopkg.in/ns1/ns1-go.v2 * provider/ns1: Port the ns1 provider to Terraform core * docs/ns1: Document the ns1 provider * ns1: rename remaining nsone -> ns1 (#10805) * Ns1 provider (#11300) * provider/ns1: Flesh out support for meta structs. Following the structure outlined by @pashap. Using reflection to reduce copy/paste. Putting metas inside single-item lists. This is clunky, but I couldn't figure out how else to have a nested struct. Maybe the Terraform people know a better way? Inside the meta struct, all fields are always written to the state; I can't figure out how to omit fields that aren't used. This is not just verbose, it actually causes issues because you can't have both "up" and "up_feed" set). Also some minor other changes: - Add "terraform" import support to records and zones. - Create helper class StringEnum. * provider/ns1: Make fmt * provider/ns1: Remove stubbed out RecordRead (used for testing metadata change). * provider/ns1: Need to get interface that m contains from Ptr Value with Elem() * provider/ns1: Use empty string to indicate no feed given. * provider/ns1: Remove old record.regions fields. * provider/ns1: Removes redundant testAccCheckRecordState * provider/ns1: Moves account permissions logic to permissions.go * provider/ns1: Adds tests for team resource. * provider/ns1: Move remaining permissions logic to permissions.go * ns1/provider: Adds datasource.config * provider/ns1: Small clean up of datafeed resource tests * provider/ns1: removes testAccCheckZoneState in favor of explicit name check * provider/ns1: More renaming of nsone -> ns1 * provider/ns1: Comment out metadata for the moment. * Ns1 provider (#11347) * Fix the removal of empty containers from a flatmap Removal of empty nested containers from a flatmap would sometimes fail a sanity check when removed in the wrong order. This would only fail sometimes due to map iteration. There was also an off-by-one error in the prefix check which could match the incorrect keys. * provider/ns1: Adds ns1 go client through govendor. * provider/ns1: Removes unused debug line * docs/ns1: Adds docs around apikey/datasource/datafeed/team/user/record. * provider/ns1: Gets go vet green
2017-01-23 22:41:07 +01:00
body.layout-ns1,
body.layout-openstack,
body.layout-opsgenie,
2015-10-09 23:41:55 +02:00
body.layout-packet,
2016-09-26 22:14:08 +02:00
body.layout-pagerduty,
body.layout-postgresql,
body.layout-powerdns,
body.layout-profitbricks,
body.layout-rabbitmq,
body.layout-rancher,
body.layout-random,
body.layout-rundeck,
body.layout-scaleway,
body.layout-statuscake,
body.layout-softlayer,
body.layout-template,
body.layout-tls,
2015-07-04 10:26:13 +02:00
body.layout-ultradns,
body.layout-triton,
body.layout-vault,
body.layout-vcd,
body.layout-vsphere,
2014-07-16 23:51:48 +02:00
body.layout-docs,
2014-07-27 22:11:21 +02:00
body.layout-downloads,
2015-05-18 15:40:45 +02:00
body.layout-inner,
body.layout-remotestate,
body.layout-terraform,
2014-07-16 23:51:48 +02:00
body.layout-intro{
2014-10-13 18:44:38 +02:00
background: $light-black image-url('sidebar-wire.png') left 62px no-repeat;
2014-08-25 00:51:39 +02:00
2014-07-16 23:51:48 +02:00
>.container{
.col-md-8[role=main]{
min-height: 800px;
background-color: white;
>div{
position: relative;
z-index: 10;
}
}
}
}
.docs-sidebar{
2014-07-23 09:55:41 +02:00
position: relative;
z-index: 20;
margin-bottom: 30px;
2014-07-16 23:51:48 +02:00
margin-top: 50px;
margin-right: 4%;
a{
2014-10-13 18:44:38 +02:00
color: $purple;
2014-07-16 23:51:48 +02:00
}
.docs-sidenav{
padding-top: 15px;
padding-bottom: 15px;
2017-02-14 20:37:11 +01:00
font-family: $font-family-klavika;
2017-02-14 01:15:55 +01:00
font-size: 16px;
2014-07-16 23:51:48 +02:00
:last-child{
border-bottom: none;
}
//all li > a
li{
position: relative;
> a{
2014-07-23 11:03:33 +02:00
color: white;
2014-10-13 18:44:38 +02:00
@include transition( color 0.5s ease );
2014-07-16 23:51:48 +02:00
}
> a:hover,
> a:focus {
background-color: transparent !important;
2014-07-23 11:03:33 +02:00
color: white;
2014-10-13 18:44:38 +02:00
@include transition( color 0.5s ease );
2014-07-16 23:51:48 +02:00
}
}
> li {
padding: 10px 0;
>.nav{
li{
a{
2017-02-14 01:15:55 +01:00
font-family: $font-family-open-sans;
2014-07-23 11:03:33 +02:00
color: white;
2014-07-16 23:51:48 +02:00
}
}
}
&.active {
2014-07-23 11:03:33 +02:00
>a{
2014-10-13 18:44:38 +02:00
color: lighten($purple, 4%);
2017-02-14 01:28:37 +01:00
font-weight: 600;
2014-07-23 11:03:33 +02:00
}
2014-07-16 23:51:48 +02:00
&:before{
content: '';
position: absolute;
2014-07-23 11:03:33 +02:00
width: 6px;
height: 8px;
2014-10-13 18:44:38 +02:00
background-color: $purple;
2014-07-23 11:03:33 +02:00
font-weight: 500;
2014-10-13 18:44:38 +02:00
@include skewY(24deg);
2014-07-16 23:51:48 +02:00
top: 26px;
left: -10px;
}
> a{
2014-07-23 11:03:33 +02:00
-webkit-font-smoothing: antialiased;
2014-07-16 23:51:48 +02:00
}
.nav {
display: block;
2014-07-23 11:03:33 +02:00
li.active a {
2014-10-13 18:44:38 +02:00
color: lighten($purple, 4%);
2014-07-23 11:03:33 +02:00
font-weight: 500;
}
2014-07-16 23:51:48 +02:00
}
}
> a {
text-transform: uppercase;
2017-02-16 06:25:25 +01:00
letter-spacing: 1px;
2014-07-23 11:03:33 +02:00
-webkit-font-smoothing: antialiased;
2014-07-16 23:51:48 +02:00
}
}
.nav {
display: none;
margin-bottom: 15px;
> li{
margin-left: 20px;
> a{
2014-07-23 11:03:33 +02:00
-webkit-font-smoothing: antialiased;
2014-07-16 23:51:48 +02:00
padding: 6px 15px;
}
}
}
2014-07-23 21:47:21 +02:00
.nav-visible {
display: block;
}
2014-07-16 23:51:48 +02:00
}
}
.bs-docs-section{
2017-02-16 06:25:25 +01:00
@media(max-width: 767px){
padding: 10px 5px 80px 5px;
}
@media(min-width: 768px){
padding: 10px 20px 80px 20px;
}
2017-02-14 01:15:55 +01:00
2014-07-16 23:51:48 +02:00
.lead{
margin-bottom: 48px
}
.doc-sectional{
margin-bottom: 48px;
}
p, li, .alert {
2017-02-13 23:41:09 +01:00
font-size: 18px;
2017-02-16 06:25:25 +01:00
line-height: 1.5;
2014-07-16 23:51:48 +02:00
margin: 0 0 18px;
2014-07-23 09:55:41 +02:00
-webkit-font-smoothing: antialiased;
2014-07-16 23:51:48 +02:00
}
2017-02-16 06:25:25 +01:00
pre{
margin: 0 0 18px;
}
2014-07-16 23:51:48 +02:00
a{
2014-10-13 18:44:38 +02:00
color: $purple;
2014-07-16 23:51:48 +02:00
&:hover{
text-decoration: underline;
}
}
2017-02-16 06:25:25 +01:00
img{
max-width: 650px;
margin-top: 25px;
margin-bottom: 25px;
}
2014-07-16 23:51:48 +02:00
h1{
2017-02-16 06:25:25 +01:00
margin-top: 72px;
2014-10-13 18:44:38 +02:00
color: $purple;
2017-02-16 06:25:25 +01:00
font-weight: 400;
2014-07-16 23:51:48 +02:00
text-transform: uppercase;
2017-02-16 06:25:25 +01:00
letter-spacing: -1px;
word-wrap: break-word;
2014-07-16 23:51:48 +02:00
}
h2, h3, h4{
2017-02-16 06:25:25 +01:00
margin-top: 48px;
font-family: $font-family-open-sans;
text-transform: none;
}
h2 {
2014-07-16 23:51:48 +02:00
margin-bottom: 16px;
2017-02-16 06:25:25 +01:00
padding-bottom: 10px;
border-bottom: 1px solid #eeeeee;
2014-07-16 23:51:48 +02:00
}
2017-02-16 06:25:25 +01:00
p {
color: $light-black;
}
#graph {
margin-top: 30px;
}
2014-07-16 23:51:48 +02:00
}
@media (max-width: 992px) {
body.layout-docs,
2014-07-23 18:41:18 +02:00
body.layout-inner,
2014-07-16 23:51:48 +02:00
body.layout-intro{
>.container{
.col-md-8[role=main]{
min-height: 0;
&::before {
border-left: 9999px solid white;
}
}
}
}
2014-07-24 01:48:44 +02:00
body.page-sub{
>.container{
background-color: white;
}
}
.docs-sidebar{
margin-top: 0px;
margin-bottom: 0px;
.docs-sidenav{
padding-bottom: 0;
//all li > a
li{
> a{
color: black;
2014-10-13 18:44:38 +02:00
@include transition( color 0.5s ease );
2014-07-24 01:48:44 +02:00
}
> a:hover,
> a:focus {
2014-10-13 18:44:38 +02:00
color: $purple;
@include transition( color 0.5s ease );
2014-07-24 01:48:44 +02:00
}
}
> li {
>.nav{
li{
a{
color: black;
&:hover{
2014-10-13 18:44:38 +02:00
color: $purple;
2014-07-24 01:48:44 +02:00
}
}
}
}
}
}
2014-07-24 16:29:42 +02:00
}
2014-07-24 01:48:44 +02:00
.bs-docs-section{
h1{
font-size: 32px;
2014-07-24 01:48:44 +02:00
padding-top: 24px;
border-top: 1px solid #eeeeee;
}
2017-02-16 06:25:25 +01:00
h2 {
font-size: 24px;
}
h2, h3, h4{
margin-top: 32px;
}
p, li, .alert {
font-size: 16px;
}
2014-07-24 01:48:44 +02:00
}
2014-07-16 23:51:48 +02:00
}
@media (max-width: 480px) {
.bs-docs-section{
img{
max-width: 450px;
}
h1{
font-size: 28px;
2014-07-16 23:51:48 +02:00
}
}
}