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