github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/website/source/assets/stylesheets/_docs.scss (about)

     1  //
     2  // Docs
     3  // --------------------------------------------------
     4  
     5  body.page-sub{
     6  	background-color: $light-black;
     7  }
     8  
     9  body.layout-commands-state,
    10  body.layout-archive,
    11  body.layout-atlas,
    12  body.layout-aws,
    13  body.layout-azure,
    14  body.layout-bitbucket,
    15  body.layout-chef,
    16  body.layout-azurerm,
    17  body.layout-clc,
    18  body.layout-cloudflare,
    19  body.layout-cloudstack,
    20  body.layout-cobbler,
    21  body.layout-consul,
    22  body.layout-datadog,
    23  body.layout-digitalocean,
    24  body.layout-dme,
    25  body.layout-dnsimple,
    26  body.layout-docker,
    27  body.layout-dyn,
    28  body.layout-external,
    29  body.layout-github,
    30  body.layout-grafana,
    31  body.layout-fastly,
    32  body.layout-google,
    33  body.layout-heroku,
    34  body.layout-ignition,
    35  body.layout-icinga2,
    36  body.layout-influxdb,
    37  body.layout-librato,
    38  body.layout-logentries,
    39  body.layout-mailgun,
    40  body.layout-mysql,
    41  body.layout-newrelic,
    42  body.layout-nomad,
    43  body.layout-openstack,
    44  body.layout-opsgenie,
    45  body.layout-packet,
    46  body.layout-pagerduty,
    47  body.layout-postgresql,
    48  body.layout-powerdns,
    49  body.layout-rabbitmq,
    50  body.layout-rancher,
    51  body.layout-random,
    52  body.layout-rundeck,
    53  body.layout-scaleway,
    54  body.layout-statuscake,
    55  body.layout-softlayer,
    56  body.layout-template,
    57  body.layout-tls,
    58  body.layout-ultradns,
    59  body.layout-triton,
    60  body.layout-vault,
    61  body.layout-vcd,
    62  body.layout-vsphere,
    63  body.layout-docs,
    64  body.layout-downloads,
    65  body.layout-inner,
    66  body.layout-remotestate,
    67  body.layout-terraform,
    68  body.layout-intro{
    69  	background: $light-black image-url('sidebar-wire.png') left 62px no-repeat;
    70  
    71  	>.container{
    72  		.col-md-8[role=main]{
    73  			min-height: 800px;
    74  			background-color: white;
    75  
    76  			>div{
    77  				position: relative;
    78  				z-index: 10;
    79  			}
    80  		}
    81  	}
    82  }
    83  
    84  .docs-sidebar{
    85    position: relative;
    86    z-index: 20;
    87    margin-bottom: 30px;
    88  	margin-top: 50px;
    89  	margin-right: 4%;
    90  
    91  	a{
    92  			color: $purple;
    93  	}
    94  
    95  	.docs-sidenav{
    96  		padding-top: 15px;
    97  		padding-bottom: 15px;
    98  
    99  		:last-child{
   100  			border-bottom: none;
   101  		}
   102  
   103  		//all li > a
   104  		li{
   105  			position: relative;
   106  
   107  			> a{
   108  				color: white;
   109  				@include transition( color 0.5s ease );
   110  			}
   111  
   112  			> a:hover,
   113  			> a:focus {
   114  				background-color: transparent !important;
   115  				color: white;
   116  				@include transition( color 0.5s ease );
   117  			}
   118  		}
   119  
   120  
   121  		> li {
   122  			padding: 10px 0;
   123  			margin: 0 30px;
   124  
   125  			>.nav{
   126  				li{
   127  					a{
   128  						color: white;
   129  					}
   130  				}
   131  			}
   132  
   133  			&.active {
   134  				>a{
   135            color: lighten($purple, 4%);
   136  					font-weight: 500;
   137  				}
   138  
   139  				&:before{
   140  					content: '';
   141  					position: absolute;
   142            width: 6px;
   143            height: 8px;
   144            background-color: $purple;
   145            font-weight: 500;
   146            @include skewY(24deg);
   147  					top: 26px;
   148  					left: -10px;
   149  				}
   150  				> a{
   151            -webkit-font-smoothing: antialiased;
   152  				}
   153  
   154  				/*> a:hover,
   155  				> a:focus {
   156  					font-weight: $font-weight-lato-xb;
   157  				}*/
   158  
   159  				.nav {
   160  					display: block;
   161  
   162            li.active a {
   163              color: lighten($purple, 4%);
   164  						font-weight: 500;
   165            }
   166  				}
   167  			}
   168  
   169  			> a {
   170  				text-transform: uppercase;
   171          -webkit-font-smoothing: antialiased;
   172  			}
   173  		}
   174  
   175  		.nav {
   176  			display: none;
   177  			margin-bottom: 15px;
   178  
   179  			> li{
   180  				margin-left: 20px;
   181  
   182  				> a{
   183            -webkit-font-smoothing: antialiased;
   184  					padding: 6px 15px;
   185  				}
   186  			}
   187  		}
   188  
   189          .nav-visible {
   190              display: block;
   191          }
   192  	}
   193  }
   194  
   195  
   196  .bs-docs-section{
   197  	padding-top: 10px;
   198  	padding-left: 3%;
   199  	padding-bottom: 80px;
   200  
   201  	.lead{
   202  		margin-bottom: 48px
   203  	}
   204  
   205  	.doc-sectional{
   206  		margin-bottom: 48px;
   207  	}
   208  
   209  	p, li, .alert {
   210  		font-size: 20px;
   211  		font-family: $font-family-open-sans;
   212  		font-weight: $font-weight-open;
   213      line-height: 1.5em;
   214  		margin: 0 0 18px;
   215      -webkit-font-smoothing: antialiased;
   216  	}
   217  
   218      pre{
   219          margin: 0 0 18px;
   220      }
   221  
   222  	a{
   223  		color: $purple;
   224  		&:hover{
   225  			text-decoration: underline;
   226  		}
   227  	}
   228  
   229      img{
   230          max-width: 650px;
   231          margin-top: 25px;
   232          margin-bottom: 25px;
   233      }
   234  
   235  	h1{
   236  		color: $purple;
   237      font-size: 36px;
   238  		text-transform: uppercase;
   239      word-wrap: break-word;
   240  		padding-bottom: 24px;
   241      margin-top: 40px;
   242  		margin-bottom: 24px;
   243      border-bottom: 1px solid #eeeeee;
   244      @include lato-light();
   245  	}
   246  
   247  	h2, h3, h4{
   248  		margin-bottom: 16px;
   249  	}
   250  
   251      #graph {
   252          margin-top: 30px;
   253      }
   254  }
   255  
   256  @media (max-width: 992px) {
   257  	body.layout-docs,
   258  	body.layout-inner,
   259  	body.layout-intro{
   260  		>.container{
   261  			.col-md-8[role=main]{
   262  				min-height: 0;
   263  				&::before {
   264  					border-left: 9999px solid white;
   265  				}
   266  			}
   267  		}
   268  	}
   269  
   270    body.page-sub{
   271      >.container{
   272        background-color: white;
   273      }
   274    }
   275  
   276    .docs-sidebar{
   277      margin-top: 0px;
   278      margin-bottom: 0px;
   279  
   280      .docs-sidenav{
   281        padding-bottom: 0;
   282  
   283        //all li > a
   284        li{
   285          > a{
   286            color: black;
   287            @include transition( color 0.5s ease );
   288          }
   289  
   290          > a:hover,
   291          > a:focus {
   292            color: $purple;
   293            @include transition( color 0.5s ease );
   294          }
   295        }
   296  
   297  
   298        > li {
   299          >.nav{
   300            li{
   301              a{
   302                color: black;
   303  
   304                &:hover{
   305                  color: $purple;
   306                }
   307              }
   308            }
   309          }
   310        }
   311      }
   312    }
   313  
   314    .bs-docs-section{
   315      h1{
   316        font-size: 32px;
   317        padding-top: 24px;
   318        border-top: 1px solid #eeeeee;
   319      }
   320    }
   321  }
   322  
   323  @media (max-width: 480px) {
   324  	.bs-docs-section{
   325          img{
   326              max-width: 450px;
   327          }
   328  
   329  		h1{
   330  			font-size: 28px;
   331  		}
   332  	}
   333  }