├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── Dockerfile ├── LICENSE ├── README.md ├── application.conf ├── auditbeat.yml ├── deploy_capes.sh ├── heartbeat.yml ├── metricbeat.yml ├── nginx ├── landing_page │ ├── css │ │ ├── animate.css │ │ ├── bootstrap.css │ │ ├── easy-responsive-tabs.css │ │ ├── magnific-popup.css │ │ ├── owl.carousel.min.css │ │ ├── owl.theme.default.min.css │ │ ├── style.css │ │ ├── superfish.css │ │ └── themify-icons.css │ ├── favicon.ico │ ├── fonts │ │ ├── bootstrap │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ └── glyphicons-halflings-regular.woff │ │ ├── index.html │ │ └── themify │ │ │ ├── themify.eot │ │ │ ├── themify.svg │ │ │ ├── themify.ttf │ │ │ └── themify.woff │ ├── images │ │ ├── capes_logo.png │ │ ├── cortex.png │ │ ├── cyberchef.png │ │ ├── draw.io.png │ │ ├── etherpad.png │ │ ├── gitea.png │ │ ├── hero6.jpg │ │ ├── hippocampe.png │ │ ├── kibana.png │ │ ├── portainer.png │ │ ├── rocketchat.png │ │ ├── thehive.png │ │ └── your-logo.png │ ├── index.html │ ├── js │ │ ├── bootstrap.js │ │ ├── easyResponsiveTabs.js │ │ ├── fastclick.js │ │ ├── hoverIntent.js │ │ ├── jquery-1.10.2.min.js │ │ ├── jquery.easing.1.3.js │ │ ├── jquery.magnific-popup.min.js │ │ ├── jquery.waypoints.min.js │ │ ├── main.js │ │ ├── modernizr-2.6.2.min.js │ │ ├── owl.carousel.min.js │ │ ├── respond.min.js │ │ └── superfish.js │ └── sass │ │ ├── _bootstrap-compass.scss │ │ ├── _bootstrap-mincer.scss │ │ ├── _bootstrap-sprockets.scss │ │ ├── bootstrap.scss │ │ ├── bootstrap │ │ ├── alerts.scss │ │ ├── badges.scss │ │ ├── breadcrumbs.scss │ │ ├── button-groups.scss │ │ ├── buttons.scss │ │ ├── carousel.scss │ │ ├── close.scss │ │ ├── code.scss │ │ ├── component-animations.scss │ │ ├── dropdowns.scss │ │ ├── forms.scss │ │ ├── glyphicons.scss │ │ ├── grid.scss │ │ ├── index.html │ │ ├── input-groups.scss │ │ ├── jumbotron.scss │ │ ├── labels.scss │ │ ├── list-group.scss │ │ ├── media.scss │ │ ├── mixins.scss │ │ ├── mixins │ │ │ ├── alerts.scss │ │ │ ├── background-variant.scss │ │ │ ├── border-radius.scss │ │ │ ├── buttons.scss │ │ │ ├── center-block.scss │ │ │ ├── clearfix.scss │ │ │ ├── forms.scss │ │ │ ├── gradients.scss │ │ │ ├── grid-framework.scss │ │ │ ├── grid.scss │ │ │ ├── hide-text.scss │ │ │ ├── image.scss │ │ │ ├── index.html │ │ │ ├── labels.scss │ │ │ ├── list-group.scss │ │ │ ├── nav-divider.scss │ │ │ ├── nav-vertical-align.scss │ │ │ ├── opacity.scss │ │ │ ├── pagination.scss │ │ │ ├── panels.scss │ │ │ ├── progress-bar.scss │ │ │ ├── reset-filter.scss │ │ │ ├── resize.scss │ │ │ ├── responsive-visibility.scss │ │ │ ├── size.scss │ │ │ ├── tab-focus.scss │ │ │ ├── table-row.scss │ │ │ ├── text-emphasis.scss │ │ │ ├── text-overflow.scss │ │ │ └── vendor-prefixes.scss │ │ ├── modals.scss │ │ ├── navbar.scss │ │ ├── navs.scss │ │ ├── normalize.scss │ │ ├── pager.scss │ │ ├── pagination.scss │ │ ├── panels.scss │ │ ├── popovers.scss │ │ ├── print.scss │ │ ├── progress-bars.scss │ │ ├── responsive-embed.scss │ │ ├── responsive-utilities.scss │ │ ├── scaffolding.scss │ │ ├── tables.scss │ │ ├── theme.scss │ │ ├── thumbnails.scss │ │ ├── tooltip.scss │ │ ├── type.scss │ │ ├── utilities.scss │ │ ├── variables.scss │ │ └── wells.scss │ │ ├── index.html │ │ └── style.scss └── nginx.conf └── packetbeat.yml /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at contact [at] capesstack [dot] io. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3 2 | 3 | WORKDIR /usr/src/app 4 | 5 | RUN pip install --no-cache-dir requests 6 | 7 | COPY . . 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Containerized CAPES 2 | 3 | This is the repo for containerized CAPES. This will replace the non-containerized version. 4 | 5 | ## Requirements 6 | * Clean CentOS system 7 | 8 | To deploy 9 | ``` 10 | sudo yum install -y git 11 | git clone https://github.com/capesstack/capes-docker.git 12 | cd capes-docker 13 | sudo sh deploy_capes.sh 14 | ``` 15 | 16 | After deployment, you can go to https://[CAPES-ip] to view the services. 17 | 18 | Passwords are written to `~/capes_credentials.txt` in the event that they're needed. 19 | 20 | **Note the `capes_credentials.txt` file is written to the home directory of user 1000. If that isn't you, you'll need to adjust the `deploy_capes.sh` script.** 21 | 22 | Please see the documentation, especially the [Post Installation Documentation](https://github.com/capesstack/capes-docs#post-installation). 23 | -------------------------------------------------------------------------------- /application.conf: -------------------------------------------------------------------------------- 1 | ## Enable the Cortex module 2 | play.modules.enabled += connectors.cortex.CortexConnector 3 | cortex { 4 | "CAPES Cortex Server" { 5 | # URL of the Cortex server 6 | url = "http://capes-cortex:9001" 7 | # Key of the Cortex user, mandatory for Cortex 2 8 | # https://github.com/TheHive-Project/CortexDocs/blob/master/admin/quick-start.md#step-7-optional-create-an-account-for-thehive-integration 9 | # https://github.com/TheHive-Project/TheHiveDocs/blob/master/admin/configuration.md#6-cortex 10 | key = "PUT-ORG-THEHIVE-USER-API-KEY-HERE" 11 | } 12 | # HTTP client configuration, more details in section 8 13 | # ws { 14 | # proxy {} 15 | # ssl {} 16 | # } 17 | # Check job update time interval 18 | refreshDelay = 1 minute 19 | # Maximum number of successive errors before give up 20 | maxRetryOnError = 3 21 | # Check remote Cortex status time interval 22 | statusCheckInterval = 1 minute 23 | } 24 | 25 | ## Secure Cookies 26 | play.http.session.secure=true 27 | -------------------------------------------------------------------------------- /auditbeat.yml: -------------------------------------------------------------------------------- 1 | auditbeat.modules: 2 | 3 | - module: auditd 4 | audit_rules: | 5 | -w /etc/passwd -p wa -k identity 6 | -a always,exit -F arch=b32 -S open,creat,truncate,ftruncate,openat,open_by_handle_at -F exit=-EPERM -k access 7 | 8 | - module: file_integrity 9 | paths: 10 | - /bin 11 | - /usr/bin 12 | - /sbin 13 | - /usr/sbin 14 | - /etc 15 | -------------------------------------------------------------------------------- /heartbeat.yml: -------------------------------------------------------------------------------- 1 | heartbeat.monitors: 2 | - type: http 3 | schedule: '@every 5s' 4 | urls: 5 | - http://capes-elasticsearch-1:9200 6 | - http://capes-elasticsearch-2:9200 7 | - http://capes-elasticsearch-3:9200 8 | - http://capes-kibana:5601 9 | - http://capes-thehive-elasticsearch:9200 10 | - http://capes-portainer:9000 11 | - https://capes-landing-page:443 12 | - http://capes-cyberchef:8000 13 | - http://capes-gitea:3000 14 | - http://capes-etherpad:9001 15 | - http://capes-thehive:9000 16 | - http://capes-cortex:9001 17 | - http://capes-rocketchat:3000 18 | ssl.verification_mode: none 19 | 20 | - type: icmp 21 | schedule: '@every 5s' 22 | hosts: 23 | - capes-mumble 24 | - capes-heartbeat 25 | - capes-metricbeat 26 | - capes-etherpad-mysql 27 | - capes-gitea-mysql 28 | - capes-rocketchat-mongo 29 | 30 | output.elasticsearch: 31 | hosts: '${ELASTICSEARCH_HOSTS:capes-elasticsearch-1:9200}' 32 | -------------------------------------------------------------------------------- /metricbeat.yml: -------------------------------------------------------------------------------- 1 | metricbeat.config: 2 | modules: 3 | path: ${path.config}/modules.d/*.yml 4 | # Reload module configs as they change: 5 | reload.enabled: false 6 | 7 | metricbeat.autodiscover: 8 | providers: 9 | - type: docker 10 | hints.enabled: true 11 | 12 | metricbeat.modules: 13 | - module: docker 14 | metricsets: 15 | - "container" 16 | - "cpu" 17 | - "diskio" 18 | - "healthcheck" 19 | - "info" 20 | #- "image" 21 | - "memory" 22 | - "network" 23 | hosts: ["unix:///var/run/docker.sock"] 24 | period: 10s 25 | enabled: true 26 | 27 | output.elasticsearch: 28 | hosts: '${ELASTICSEARCH_HOSTS:capes-elasticsearch-1:9200}' 29 | -------------------------------------------------------------------------------- /nginx/landing_page/css/easy-responsive-tabs.css: -------------------------------------------------------------------------------- 1 | .resp-tabs-list, .resp-tabs-list p { 2 | margin: 0px; 3 | padding: 0px; 4 | } 5 | .resp-tabs-list { 6 | display: inline-block; 7 | } 8 | .resp-tabs-list li { 9 | font-weight: 600; 10 | font-size: 16px; 11 | display: inline-block; 12 | padding: 18px 15px; 13 | margin: 0 4px 0 0; 14 | list-style: none; 15 | cursor: pointer; 16 | } 17 | 18 | .resp-tabs-container { 19 | padding: 0px; 20 | background-color: #fff; 21 | clear: left; 22 | } 23 | 24 | h2.resp-accordion { 25 | cursor: pointer; 26 | padding: 5px; 27 | display: none; 28 | 29 | } 30 | .resp-tab-content { 31 | display: none; 32 | padding: 15px; 33 | padding-top: 30px; 34 | text-align: left; 35 | box-shadow: none; 36 | } 37 | .text-center .resp-tab-content, 38 | .text-center .resp-accordion { 39 | text-align: left; 40 | } 41 | 42 | .resp-tab-active { 43 | border: 1px solid #ebebeb !important; 44 | border-bottom: none; 45 | margin-bottom: -1px !important; 46 | padding: 17px 14px 19px 14px !important; 47 | border-top: 1px solid #ebebeb !important; 48 | border-bottom: 0px #fff solid !important; 49 | border-top-left-radius: 4px; 50 | border-top-right-radius: 4px; 51 | } 52 | 53 | .resp-tab-active { 54 | border-bottom: none; 55 | background-color: #fff; 56 | } 57 | 58 | .resp-content-active, .resp-accordion-active { 59 | display: block; 60 | } 61 | 62 | .resp-tab-content { 63 | border: none; 64 | border-top: 1px solid #ebebeb; 65 | /*border-left-color: transparent; 66 | border-left-color: transparent;*/ 67 | /*border-top-color: #ebebeb;*/ 68 | } 69 | 70 | h2.resp-accordion { 71 | font-size: 13px; 72 | border: 1px solid #ebebeb; 73 | border-top: 0px solid #ebebeb; 74 | margin: 0px; 75 | padding: 10px 15px; 76 | } 77 | 78 | h2.resp-tab-active { 79 | border-bottom: 0px solid #ebebeb !important; 80 | margin-bottom: 0px !important; 81 | padding: 10px 15px !important; 82 | } 83 | 84 | h2.resp-tab-title:last-child { 85 | border-bottom: 12px solid #ebebeb !important; 86 | background: blue; 87 | } 88 | 89 | /*-----------Vertical tabs-----------*/ 90 | .resp-vtabs ul.resp-tabs-list { 91 | float: left; 92 | width: 30%; 93 | } 94 | 95 | .resp-vtabs .resp-tabs-list li { 96 | display: block; 97 | padding: 19px 15px !important; 98 | margin: 0 0 4px; 99 | cursor: pointer; 100 | float: none; 101 | } 102 | 103 | .resp-vtabs .resp-tabs-container { 104 | padding: 0px; 105 | background-color: #fff; 106 | /*border: 1px solid #ebebeb;*/ 107 | border-left: 1px solid #ebebeb; 108 | float: left; 109 | width: 68%; 110 | min-height: 250px; 111 | border-radius: 4px; 112 | clear: none; 113 | } 114 | 115 | .resp-vtabs .resp-tab-content { 116 | border: none; 117 | word-wrap: break-word; 118 | padding-left: 30px; 119 | } 120 | 121 | .resp-vtabs li.resp-tab-active { 122 | position: relative; 123 | z-index: 1; 124 | margin-right: -1px !important; 125 | padding: 18px 15px 19px 14px !important; 126 | /*border-top: 1px solid;*/ 127 | border: 1px solid #ebebeb !important; 128 | border-left: 1px solid #ebebeb !important; 129 | border-left: none !important; 130 | margin-bottom: 4px !important; 131 | border-right: 1px #FFF solid !important; 132 | border-top-left-radius: 0px; 133 | border-top-right-radius: 0px; 134 | } 135 | 136 | .resp-arrow { 137 | float: right; 138 | margin-top: 10px; 139 | -moz-transition: all .2s ease; 140 | -o-transition: all .2s ease; 141 | -webkit-transition: all .2s ease; 142 | transition: all .2s ease; 143 | } 144 | 145 | h2.resp-tab-active span.resp-arrow { 146 | -ms-transform: rotate(180deg); /* IE 9 */ 147 | -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */ 148 | transform: rotate(180deg); 149 | } 150 | 151 | /*-----------Accordion styles-----------*/ 152 | h2.resp-tab-active { 153 | background: #DBDBDB;/* !important;*/ 154 | } 155 | 156 | .resp-easy-accordion h2.resp-accordion { 157 | display: block; 158 | } 159 | 160 | 161 | .resp-easy-accordion .resp-tab-content:last-child { 162 | border-bottom: 1px solid #ebebeb;/* !important;*/ 163 | } 164 | 165 | .resp-jfit { 166 | width: 100%; 167 | margin: 0px; 168 | } 169 | 170 | .resp-tab-content-active { 171 | display: block; 172 | } 173 | 174 | h2.resp-accordion:first-child { 175 | border-top: 1px solid #ebebeb;/* !important;*/ 176 | } 177 | .resp-accordion.resp-tab-active { 178 | border-top: none; 179 | } 180 | 181 | /*Here your can change the breakpoint to set the accordion, when screen resolution changed*/ 182 | @media only screen and (max-width: 768px) { 183 | ul.resp-tabs-list { 184 | display: none; 185 | } 186 | 187 | h2.resp-accordion { 188 | display: block; 189 | } 190 | .resp-tab-content { 191 | border: 1px solid #ebebeb; 192 | } 193 | .resp-vtabs .resp-tab-content { 194 | border: 1px solid #ebebeb; 195 | } 196 | 197 | .resp-tabs-container .resp-accordion.resp-tab-active { 198 | border-top: none!important; 199 | border-bottom: none!important; 200 | border-top-left-radius: 0px; 201 | border-top-right-radius: 0px; 202 | } 203 | .resp-tabs-container .resp-accordion.resp-tab-active:nth-of-type(1) { 204 | border-top-left-radius: 0px; 205 | border-top-right-radius: 0px; 206 | border-top: 1px solid #ebebeb !important; 207 | border-bototm: none!important; 208 | } 209 | 210 | 211 | .resp-tab-content { 212 | -webkit-box-shadow: inset 0px 4px 5px -3px rgba(0,0,0,0.05); 213 | -moz-box-shadow: inset 0px 4px 5px -3px rgba(0,0,0,0.05); 214 | -ms-box-shadow: inset 0px 4px 5px -3px rgba(0,0,0,0.05); 215 | box-shadow: inset 0px 4px 5px -3px rgba(0,0,0,0.05); 216 | } 217 | 218 | 219 | .resp-vtabs .resp-tabs-container { 220 | border: none; 221 | float: none; 222 | width: 100%; 223 | min-height: 100px; 224 | clear: none; 225 | } 226 | 227 | .resp-accordion-closed { 228 | display: none !important; 229 | } 230 | 231 | .resp-vtabs .resp-tab-content:last-child { 232 | border-bottom: 1px solid #ebebeb !important; 233 | } 234 | } -------------------------------------------------------------------------------- /nginx/landing_page/css/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | .owl-carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px,0,0)}.owl-carousel .owl-controls .owl-dot,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel .owl-refresh .owl-item{display:none}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.owl-carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-item img{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-video-frame{position:relative;z-index:1} -------------------------------------------------------------------------------- /nginx/landing_page/css/owl.theme.default.min.css: -------------------------------------------------------------------------------- 1 | .owl-theme .owl-controls{margin-top:10px;text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-controls .owl-nav [class*=owl-]{color:#fff;font-size:14px;margin:5px;padding:4px 7px;background:#d6d6d6;display:inline-block;cursor:pointer;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.owl-theme .owl-controls .owl-nav [class*=owl-]:hover{background:#869791;color:#fff;text-decoration:none}.owl-theme .owl-controls .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#d6d6d6;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-moz-transition:opacity 200ms ease;-ms-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791} 2 | 3 | /*.owl-theme .owl-controls { 4 | margin-top:10px; 5 | text-align:center; 6 | -webkit-tap-highlight-color:transparent 7 | } 8 | .owl-theme .owl-controls .owl-nav[class*=owl-] { 9 | color:#fff; 10 | font-size:14px; 11 | margin:5px; 12 | padding:4px 7px; 13 | background:#d6d6d6; 14 | display:inline-block; 15 | cursor:pointer; 16 | -webkit-border-radius:3px; 17 | -moz-border-radius:3px; 18 | border-radius:3px 19 | } 20 | .owl-theme .owl-controls .owl-nav[class*=owl-]:hover { 21 | background:#869791; 22 | color:#fff; 23 | text-decoration:none 24 | } 25 | .owl-theme .owl-controls .owl-nav .disabled { 26 | opacity:.5; 27 | cursor:default 28 | } 29 | .owl-theme .owl-dots .owl-dot { 30 | display:inline-block; 31 | zoom:1; 32 | *display:inline 33 | } 34 | .owl-theme .owl-dots .owl-dot span { 35 | width:10px; 36 | height:10px; 37 | margin:5px 7px; 38 | background:#d6d6d6; 39 | display:block; 40 | -webkit-backface-visibility:visible; 41 | -webkit-transition:opacity 200ms ease; 42 | -moz-transition:opacity 200ms ease; 43 | -ms-transition:opacity 200ms ease; 44 | -o-transition:opacity 200ms ease; 45 | transition:opacity 200ms ease; 46 | -webkit-border-radius:30px; 47 | -moz-border-radius:30px; 48 | border-radius:30px 49 | } 50 | .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { 51 | background:#869791 52 | }*/ -------------------------------------------------------------------------------- /nginx/landing_page/css/superfish.css: -------------------------------------------------------------------------------- 1 | /*** ESSENTIAL STYLES ***/ 2 | .sf-menu, .sf-menu * { 3 | margin: 0; 4 | padding: 0; 5 | list-style: none; 6 | } 7 | .sf-menu li { 8 | position: relative; 9 | } 10 | .sf-menu ul { 11 | position: absolute; 12 | display: none; 13 | top: 100%; 14 | right: 0; 15 | 16 | z-index: 99; 17 | } 18 | .sf-menu > li { 19 | float: left; 20 | } 21 | .sf-menu li:hover > ul, 22 | .sf-menu li.sfHover > ul { 23 | display: block; 24 | } 25 | 26 | .sf-menu a { 27 | display: block; 28 | position: relative; 29 | } 30 | .sf-menu ul ul { 31 | top: 0; 32 | left: 100%; 33 | } 34 | 35 | 36 | /*** DEMO SKIN ***/ 37 | .sf-menu { 38 | float: left; 39 | margin-bottom: 1em; 40 | } 41 | .sf-menu ul { 42 | box-shadow: 2px 2px 6px rgba(0,0,0,.2); 43 | min-width: 12em; /* allow long menu items to determine submenu width */ 44 | *width: 12em; /* no auto sub width for IE7, see white-space comment below */ 45 | } 46 | .sf-menu a { 47 | border-left: 1px solid #fff; 48 | border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */ 49 | border-top: 1px solid rgba(255,255,255,.5); 50 | padding: .75em 1em; 51 | text-decoration: none; 52 | zoom: 1; /* IE7 */ 53 | } 54 | .sf-menu a { 55 | color: #13a; 56 | } 57 | .sf-menu li { 58 | background: #BDD2FF; 59 | white-space: nowrap; /* no need for Supersubs plugin */ 60 | *white-space: normal; /* ...unless you support IE7 (let it wrap) */ 61 | -webkit-transition: background .2s; 62 | transition: background .2s; 63 | } 64 | .sf-menu ul li { 65 | background: #AABDE6; 66 | } 67 | .sf-menu ul ul li { 68 | background: #9AAEDB; 69 | } 70 | .sf-menu li:hover, 71 | .sf-menu li.sfHover { 72 | background: #CFDEFF; 73 | /* only transition out, not in */ 74 | -webkit-transition: none; 75 | transition: none; 76 | } 77 | 78 | /*** arrows (for all except IE7) **/ 79 | .sf-arrows .sf-with-ul { 80 | padding-right: 2.5em; 81 | *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */ 82 | } 83 | /* styling for both css and generated arrows */ 84 | .sf-arrows .sf-with-ul:after { 85 | content: ''; 86 | position: absolute; 87 | top: 50%; 88 | right: 1em; 89 | margin-top: -3px; 90 | height: 0; 91 | width: 0; 92 | /* order of following 3 rules important for fallbacks to work */ 93 | border: 5px solid transparent; 94 | border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */ 95 | border-top-color: rgba(255,255,255,.5); 96 | } 97 | .sf-arrows > li > .sf-with-ul:focus:after, 98 | .sf-arrows > li:hover > .sf-with-ul:after, 99 | .sf-arrows > .sfHover > .sf-with-ul:after { 100 | border-top-color: white; /* IE8 fallback colour */ 101 | } 102 | /* styling for right-facing arrows */ 103 | .sf-arrows ul .sf-with-ul:after { 104 | margin-top: -5px; 105 | /*margin-right: -3px;*/ 106 | border-color: transparent; 107 | border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */ 108 | border-left-color: rgba(255,255,255,.5); 109 | } 110 | .sf-arrows ul li > .sf-with-ul:focus:after, 111 | .sf-arrows ul li:hover > .sf-with-ul:after, 112 | .sf-arrows ul .sfHover > .sf-with-ul:after { 113 | border-left-color: white; 114 | } 115 | -------------------------------------------------------------------------------- /nginx/landing_page/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/favicon.ico -------------------------------------------------------------------------------- /nginx/landing_page/fonts/bootstrap/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/fonts/bootstrap/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /nginx/landing_page/fonts/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/fonts/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /nginx/landing_page/fonts/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/fonts/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /nginx/landing_page/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Silenced is Golden 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /nginx/landing_page/fonts/themify/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/fonts/themify/themify.eot -------------------------------------------------------------------------------- /nginx/landing_page/fonts/themify/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/fonts/themify/themify.ttf -------------------------------------------------------------------------------- /nginx/landing_page/fonts/themify/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/fonts/themify/themify.woff -------------------------------------------------------------------------------- /nginx/landing_page/images/capes_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/capes_logo.png -------------------------------------------------------------------------------- /nginx/landing_page/images/cortex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/cortex.png -------------------------------------------------------------------------------- /nginx/landing_page/images/cyberchef.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/cyberchef.png -------------------------------------------------------------------------------- /nginx/landing_page/images/draw.io.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/draw.io.png -------------------------------------------------------------------------------- /nginx/landing_page/images/etherpad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/etherpad.png -------------------------------------------------------------------------------- /nginx/landing_page/images/gitea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/gitea.png -------------------------------------------------------------------------------- /nginx/landing_page/images/hero6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/hero6.jpg -------------------------------------------------------------------------------- /nginx/landing_page/images/hippocampe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/hippocampe.png -------------------------------------------------------------------------------- /nginx/landing_page/images/kibana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/kibana.png -------------------------------------------------------------------------------- /nginx/landing_page/images/portainer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/portainer.png -------------------------------------------------------------------------------- /nginx/landing_page/images/rocketchat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/rocketchat.png -------------------------------------------------------------------------------- /nginx/landing_page/images/thehive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/thehive.png -------------------------------------------------------------------------------- /nginx/landing_page/images/your-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/capesstack/capes-docker/e4ad1ae41cef3bd34f9b73cedb43b65c556ebf5e/nginx/landing_page/images/your-logo.png -------------------------------------------------------------------------------- /nginx/landing_page/js/hoverIntent.js: -------------------------------------------------------------------------------- 1 | /** 2 | * hoverIntent is similar to jQuery's built-in "hover" method except that 3 | * instead of firing the handlerIn function immediately, hoverIntent checks 4 | * to see if the user's mouse has slowed down (beneath the sensitivity 5 | * threshold) before firing the event. The handlerOut function is only 6 | * called after a matching handlerIn. 7 | * 8 | * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ 9 | * http://cherne.net/brian/resources/jquery.hoverIntent.html 10 | * 11 | * You may use hoverIntent under the terms of the MIT license. Basically that 12 | * means you are free to use hoverIntent as long as this header is left intact. 13 | * Copyright 2007, 2013 Brian Cherne 14 | * 15 | * // basic usage ... just like .hover() 16 | * .hoverIntent( handlerIn, handlerOut ) 17 | * .hoverIntent( handlerInOut ) 18 | * 19 | * // basic usage ... with event delegation! 20 | * .hoverIntent( handlerIn, handlerOut, selector ) 21 | * .hoverIntent( handlerInOut, selector ) 22 | * 23 | * // using a basic configuration object 24 | * .hoverIntent( config ) 25 | * 26 | * @param handlerIn function OR configuration object 27 | * @param handlerOut function OR selector for delegation OR undefined 28 | * @param selector selector OR undefined 29 | * @author Brian Cherne 30 | **/ 31 | (function($) { 32 | $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { 33 | 34 | // default configuration values 35 | var cfg = { 36 | interval: 100, 37 | sensitivity: 7, 38 | timeout: 0 39 | }; 40 | 41 | if ( typeof handlerIn === "object" ) { 42 | cfg = $.extend(cfg, handlerIn ); 43 | } else if ($.isFunction(handlerOut)) { 44 | cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); 45 | } else { 46 | cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); 47 | } 48 | 49 | // instantiate variables 50 | // cX, cY = current X and Y position of mouse, updated by mousemove event 51 | // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval 52 | var cX, cY, pX, pY; 53 | 54 | // A private function for getting mouse position 55 | var track = function(ev) { 56 | cX = ev.pageX; 57 | cY = ev.pageY; 58 | }; 59 | 60 | // A private function for comparing current and previous mouse position 61 | var compare = function(ev,ob) { 62 | ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); 63 | // compare mouse positions to see if they've crossed the threshold 64 | if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { 65 | $(ob).off("mousemove.hoverIntent",track); 66 | // set hoverIntent state to true (so mouseOut can be called) 67 | ob.hoverIntent_s = 1; 68 | return cfg.over.apply(ob,[ev]); 69 | } else { 70 | // set previous coordinates for next time 71 | pX = cX; pY = cY; 72 | // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) 73 | ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); 74 | } 75 | }; 76 | 77 | // A private function for delaying the mouseOut function 78 | var delay = function(ev,ob) { 79 | ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); 80 | ob.hoverIntent_s = 0; 81 | return cfg.out.apply(ob,[ev]); 82 | }; 83 | 84 | // A private function for handling mouse 'hovering' 85 | var handleHover = function(e) { 86 | // copy objects to be passed into t (required for event object to be passed in IE) 87 | var ev = jQuery.extend({},e); 88 | var ob = this; 89 | 90 | // cancel hoverIntent timer if it exists 91 | if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } 92 | 93 | // if e.type == "mouseenter" 94 | if (e.type == "mouseenter") { 95 | // set "previous" X and Y position based on initial entry point 96 | pX = ev.pageX; pY = ev.pageY; 97 | // update "current" X and Y position based on mousemove 98 | $(ob).on("mousemove.hoverIntent",track); 99 | // start polling interval (self-calling timeout) to compare mouse coordinates over time 100 | if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} 101 | 102 | // else e.type == "mouseleave" 103 | } else { 104 | // unbind expensive mousemove event 105 | $(ob).off("mousemove.hoverIntent",track); 106 | // if hoverIntent state is true, then call the mouseOut function after the specified delay 107 | if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} 108 | } 109 | }; 110 | 111 | // listen for mouseenter and mouseleave 112 | return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); 113 | }; 114 | })(jQuery); -------------------------------------------------------------------------------- /nginx/landing_page/js/jquery.easing.1.3.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ 3 | * 4 | * Uses the built in easing capabilities added In jQuery 1.1 5 | * to offer multiple easing options 6 | * 7 | * TERMS OF USE - jQuery Easing 8 | * 9 | * Open source under the BSD License. 10 | * 11 | * Copyright © 2008 George McGinley Smith 12 | * All rights reserved. 13 | * 14 | * Redistribution and use in source and binary forms, with or without modification, 15 | * are permitted provided that the following conditions are met: 16 | * 17 | * Redistributions of source code must retain the above copyright notice, this list of 18 | * conditions and the following disclaimer. 19 | * Redistributions in binary form must reproduce the above copyright notice, this list 20 | * of conditions and the following disclaimer in the documentation and/or other materials 21 | * provided with the distribution. 22 | * 23 | * Neither the name of the author nor the names of contributors may be used to endorse 24 | * or promote products derived from this software without specific prior written permission. 25 | * 26 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 27 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 28 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 29 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 30 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 31 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 32 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 33 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 34 | * OF THE POSSIBILITY OF SUCH DAMAGE. 35 | * 36 | */ 37 | 38 | // t: current time, b: begInnIng value, c: change In value, d: duration 39 | jQuery.easing['jswing'] = jQuery.easing['swing']; 40 | 41 | jQuery.extend( jQuery.easing, 42 | { 43 | def: 'easeOutQuad', 44 | swing: function (x, t, b, c, d) { 45 | //alert(jQuery.easing.default); 46 | return jQuery.easing[jQuery.easing.def](x, t, b, c, d); 47 | }, 48 | easeInQuad: function (x, t, b, c, d) { 49 | return c*(t/=d)*t + b; 50 | }, 51 | easeOutQuad: function (x, t, b, c, d) { 52 | return -c *(t/=d)*(t-2) + b; 53 | }, 54 | easeInOutQuad: function (x, t, b, c, d) { 55 | if ((t/=d/2) < 1) return c/2*t*t + b; 56 | return -c/2 * ((--t)*(t-2) - 1) + b; 57 | }, 58 | easeInCubic: function (x, t, b, c, d) { 59 | return c*(t/=d)*t*t + b; 60 | }, 61 | easeOutCubic: function (x, t, b, c, d) { 62 | return c*((t=t/d-1)*t*t + 1) + b; 63 | }, 64 | easeInOutCubic: function (x, t, b, c, d) { 65 | if ((t/=d/2) < 1) return c/2*t*t*t + b; 66 | return c/2*((t-=2)*t*t + 2) + b; 67 | }, 68 | easeInQuart: function (x, t, b, c, d) { 69 | return c*(t/=d)*t*t*t + b; 70 | }, 71 | easeOutQuart: function (x, t, b, c, d) { 72 | return -c * ((t=t/d-1)*t*t*t - 1) + b; 73 | }, 74 | easeInOutQuart: function (x, t, b, c, d) { 75 | if ((t/=d/2) < 1) return c/2*t*t*t*t + b; 76 | return -c/2 * ((t-=2)*t*t*t - 2) + b; 77 | }, 78 | easeInQuint: function (x, t, b, c, d) { 79 | return c*(t/=d)*t*t*t*t + b; 80 | }, 81 | easeOutQuint: function (x, t, b, c, d) { 82 | return c*((t=t/d-1)*t*t*t*t + 1) + b; 83 | }, 84 | easeInOutQuint: function (x, t, b, c, d) { 85 | if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; 86 | return c/2*((t-=2)*t*t*t*t + 2) + b; 87 | }, 88 | easeInSine: function (x, t, b, c, d) { 89 | return -c * Math.cos(t/d * (Math.PI/2)) + c + b; 90 | }, 91 | easeOutSine: function (x, t, b, c, d) { 92 | return c * Math.sin(t/d * (Math.PI/2)) + b; 93 | }, 94 | easeInOutSine: function (x, t, b, c, d) { 95 | return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; 96 | }, 97 | easeInExpo: function (x, t, b, c, d) { 98 | return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; 99 | }, 100 | easeOutExpo: function (x, t, b, c, d) { 101 | return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; 102 | }, 103 | easeInOutExpo: function (x, t, b, c, d) { 104 | if (t==0) return b; 105 | if (t==d) return b+c; 106 | if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; 107 | return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; 108 | }, 109 | easeInCirc: function (x, t, b, c, d) { 110 | return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; 111 | }, 112 | easeOutCirc: function (x, t, b, c, d) { 113 | return c * Math.sqrt(1 - (t=t/d-1)*t) + b; 114 | }, 115 | easeInOutCirc: function (x, t, b, c, d) { 116 | if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; 117 | return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; 118 | }, 119 | easeInElastic: function (x, t, b, c, d) { 120 | var s=1.70158;var p=0;var a=c; 121 | if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; 122 | if (a < Math.abs(c)) { a=c; var s=p/4; } 123 | else var s = p/(2*Math.PI) * Math.asin (c/a); 124 | return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; 125 | }, 126 | easeOutElastic: function (x, t, b, c, d) { 127 | var s=1.70158;var p=0;var a=c; 128 | if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; 129 | if (a < Math.abs(c)) { a=c; var s=p/4; } 130 | else var s = p/(2*Math.PI) * Math.asin (c/a); 131 | return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; 132 | }, 133 | easeInOutElastic: function (x, t, b, c, d) { 134 | var s=1.70158;var p=0;var a=c; 135 | if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); 136 | if (a < Math.abs(c)) { a=c; var s=p/4; } 137 | else var s = p/(2*Math.PI) * Math.asin (c/a); 138 | if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; 139 | return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; 140 | }, 141 | easeInBack: function (x, t, b, c, d, s) { 142 | if (s == undefined) s = 1.70158; 143 | return c*(t/=d)*t*((s+1)*t - s) + b; 144 | }, 145 | easeOutBack: function (x, t, b, c, d, s) { 146 | if (s == undefined) s = 1.70158; 147 | return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; 148 | }, 149 | easeInOutBack: function (x, t, b, c, d, s) { 150 | if (s == undefined) s = 1.70158; 151 | if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; 152 | return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 153 | }, 154 | easeInBounce: function (x, t, b, c, d) { 155 | return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; 156 | }, 157 | easeOutBounce: function (x, t, b, c, d) { 158 | if ((t/=d) < (1/2.75)) { 159 | return c*(7.5625*t*t) + b; 160 | } else if (t < (2/2.75)) { 161 | return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; 162 | } else if (t < (2.5/2.75)) { 163 | return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; 164 | } else { 165 | return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; 166 | } 167 | }, 168 | easeInOutBounce: function (x, t, b, c, d) { 169 | if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; 170 | return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; 171 | } 172 | }); 173 | 174 | /* 175 | * 176 | * TERMS OF USE - EASING EQUATIONS 177 | * 178 | * Open source under the BSD License. 179 | * 180 | * Copyright © 2001 Robert Penner 181 | * All rights reserved. 182 | * 183 | * Redistribution and use in source and binary forms, with or without modification, 184 | * are permitted provided that the following conditions are met: 185 | * 186 | * Redistributions of source code must retain the above copyright notice, this list of 187 | * conditions and the following disclaimer. 188 | * Redistributions in binary form must reproduce the above copyright notice, this list 189 | * of conditions and the following disclaimer in the documentation and/or other materials 190 | * provided with the distribution. 191 | * 192 | * Neither the name of the author nor the names of contributors may be used to endorse 193 | * or promote products derived from this software without specific prior written permission. 194 | * 195 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 196 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 197 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 198 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 199 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 200 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 201 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 202 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 203 | * OF THE POSSIBILITY OF SUCH DAMAGE. 204 | * 205 | */ -------------------------------------------------------------------------------- /nginx/landing_page/js/jquery.waypoints.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints - 4.0.0 3 | Copyright © 2011-2015 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blog/master/licenses.txt 6 | */ 7 | !function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s],l=o.oldScroll=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=y+l-f,h=w=s.oldScroll,u=h&&p,c=!h&&!p,!g&&u?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(); -------------------------------------------------------------------------------- /nginx/landing_page/js/respond.min.js: -------------------------------------------------------------------------------- 1 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl 2 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT 3 | * */ 4 | 5 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b 0 && $ul.is(':hidden')) { 95 | $this.one('click.superfish', false); 96 | if (e.type === 'MSPointerDown' || e.type === 'pointerdown') { 97 | $this.trigger('focus'); 98 | } else { 99 | $.proxy(over, $this.parent('li'))(); 100 | } 101 | } 102 | }, 103 | over = function () { 104 | var $this = $(this), 105 | o = getOptions($this); 106 | clearTimeout(o.sfTimer); 107 | $this.siblings().superfish('hide').end().superfish('show'); 108 | }, 109 | out = function () { 110 | var $this = $(this), 111 | o = getOptions($this); 112 | if (ios) { 113 | $.proxy(close, $this, o)(); 114 | } 115 | else { 116 | clearTimeout(o.sfTimer); 117 | o.sfTimer = setTimeout($.proxy(close, $this, o), o.delay); 118 | } 119 | }, 120 | close = function (o) { 121 | o.retainPath = ($.inArray(this[0], o.$path) > -1); 122 | this.superfish('hide'); 123 | 124 | if (!this.parents('.' + o.hoverClass).length) { 125 | o.onIdle.call(getMenu(this)); 126 | if (o.$path.length) { 127 | $.proxy(over, o.$path)(); 128 | } 129 | } 130 | }, 131 | getMenu = function ($el) { 132 | return $el.closest('.' + c.menuClass); 133 | }, 134 | getOptions = function ($el) { 135 | return getMenu($el).data('sf-options'); 136 | }; 137 | 138 | return { 139 | // public methods 140 | hide: function (instant) { 141 | if (this.length) { 142 | var $this = this, 143 | o = getOptions($this); 144 | if (!o) { 145 | return this; 146 | } 147 | var not = (o.retainPath === true) ? o.$path : '', 148 | $ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector), 149 | speed = o.speedOut; 150 | 151 | if (instant) { 152 | $ul.show(); 153 | speed = 0; 154 | } 155 | o.retainPath = false; 156 | o.onBeforeHide.call($ul); 157 | $ul.stop(true, true).animate(o.animationOut, speed, function () { 158 | var $this = $(this); 159 | o.onHide.call($this); 160 | }); 161 | } 162 | return this; 163 | }, 164 | show: function () { 165 | var o = getOptions(this); 166 | if (!o) { 167 | return this; 168 | } 169 | var $this = this.addClass(o.hoverClass), 170 | $ul = $this.children(o.popUpSelector); 171 | 172 | o.onBeforeShow.call($ul); 173 | $ul.stop(true, true).animate(o.animation, o.speed, function () { 174 | o.onShow.call($ul); 175 | }); 176 | return this; 177 | }, 178 | destroy: function () { 179 | return this.each(function () { 180 | var $this = $(this), 181 | o = $this.data('sf-options'), 182 | $hasPopUp; 183 | if (!o) { 184 | return false; 185 | } 186 | $hasPopUp = $this.find(o.popUpSelector).parent('li'); 187 | clearTimeout(o.sfTimer); 188 | toggleMenuClasses($this, o); 189 | toggleAnchorClass($hasPopUp); 190 | toggleTouchAction($this); 191 | // remove event handlers 192 | $this.off('.superfish').off('.hoverIntent'); 193 | // clear animation's inline display style 194 | $hasPopUp.children(o.popUpSelector).attr('style', function (i, style) { 195 | return style.replace(/display[^;]+;?/g, ''); 196 | }); 197 | // reset 'current' path classes 198 | o.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass); 199 | $this.find('.' + o.hoverClass).removeClass(o.hoverClass); 200 | o.onDestroy.call($this); 201 | $this.removeData('sf-options'); 202 | }); 203 | }, 204 | init: function (op) { 205 | return this.each(function () { 206 | var $this = $(this); 207 | if ($this.data('sf-options')) { 208 | return false; 209 | } 210 | var o = $.extend({}, $.fn.superfish.defaults, op), 211 | $hasPopUp = $this.find(o.popUpSelector).parent('li'); 212 | o.$path = setPathToCurrent($this, o); 213 | 214 | $this.data('sf-options', o); 215 | 216 | toggleMenuClasses($this, o); 217 | toggleAnchorClass($hasPopUp); 218 | toggleTouchAction($this); 219 | applyHandlers($this, o); 220 | 221 | $hasPopUp.not('.' + c.bcClass).superfish('hide', true); 222 | 223 | o.onInit.call(this); 224 | }); 225 | } 226 | }; 227 | })(); 228 | 229 | $.fn.superfish = function (method, args) { 230 | if (methods[method]) { 231 | return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); 232 | } 233 | else if (typeof method === 'object' || ! method) { 234 | return methods.init.apply(this, arguments); 235 | } 236 | else { 237 | return $.error('Method ' + method + ' does not exist on jQuery.fn.superfish'); 238 | } 239 | }; 240 | 241 | $.fn.superfish.defaults = { 242 | popUpSelector: 'ul,.sf-mega', // within menu context 243 | hoverClass: 'sfHover', 244 | pathClass: 'overrideThisToUse', 245 | pathLevels: 1, 246 | delay: 800, 247 | animation: {opacity: 'show'}, 248 | animationOut: {opacity: 'hide'}, 249 | speed: 'normal', 250 | speedOut: 'fast', 251 | cssArrows: true, 252 | disableHI: false, 253 | onInit: $.noop, 254 | onBeforeShow: $.noop, 255 | onShow: $.noop, 256 | onBeforeHide: $.noop, 257 | onHide: $.noop, 258 | onIdle: $.noop, 259 | onDestroy: $.noop 260 | }; 261 | 262 | })(jQuery, window); 263 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/_bootstrap-compass.scss: -------------------------------------------------------------------------------- 1 | @function twbs-font-path($path) { 2 | @return font-url($path, true); 3 | } 4 | 5 | @function twbs-image-path($path) { 6 | @return image-url($path, true); 7 | } 8 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/_bootstrap-mincer.scss: -------------------------------------------------------------------------------- 1 | // Mincer asset helper functions 2 | // 3 | // This must be imported into a .css.ejs.scss file. 4 | // Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation. 5 | 6 | 7 | @function twbs-font-path($path) { 8 | // do something like following 9 | // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>" 10 | // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>" 11 | // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>" 12 | @return "<%- asset_path('#{$path}'.replace(/[#?].*$/, '')) + '#{$path}'.replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>"; 13 | } 14 | 15 | @function twbs-image-path($file) { 16 | @return "<%- asset_path('#{$file}') %>"; 17 | } 18 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/_bootstrap-sprockets.scss: -------------------------------------------------------------------------------- 1 | @function twbs-font-path($path) { 2 | @return font-path($path); 3 | } 4 | 5 | @function twbs-image-path($path) { 6 | @return image-path($path); 7 | } 8 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap.scss: -------------------------------------------------------------------------------- 1 | // Core variables and mixins 2 | // this is my comment 3 | @import "bootstrap/variables"; 4 | @import "bootstrap/mixins"; 5 | 6 | // Reset and dependencies 7 | @import "bootstrap/normalize"; 8 | @import "bootstrap/print"; 9 | @import "bootstrap/glyphicons"; 10 | 11 | // Core CSS 12 | @import "bootstrap/scaffolding"; 13 | @import "bootstrap/type"; 14 | @import "bootstrap/code"; 15 | @import "bootstrap/grid"; 16 | @import "bootstrap/tables"; 17 | @import "bootstrap/forms"; 18 | @import "bootstrap/buttons"; 19 | 20 | // Components 21 | @import "bootstrap/component-animations"; 22 | @import "bootstrap/dropdowns"; 23 | @import "bootstrap/button-groups"; 24 | @import "bootstrap/input-groups"; 25 | @import "bootstrap/navs"; 26 | @import "bootstrap/navbar"; 27 | @import "bootstrap/breadcrumbs"; 28 | @import "bootstrap/pagination"; 29 | @import "bootstrap/pager"; 30 | @import "bootstrap/labels"; 31 | @import "bootstrap/badges"; 32 | @import "bootstrap/jumbotron"; 33 | @import "bootstrap/thumbnails"; 34 | @import "bootstrap/alerts"; 35 | @import "bootstrap/progress-bars"; 36 | @import "bootstrap/media"; 37 | @import "bootstrap/list-group"; 38 | @import "bootstrap/panels"; 39 | @import "bootstrap/responsive-embed"; 40 | @import "bootstrap/wells"; 41 | @import "bootstrap/close"; 42 | 43 | // Components w/ JavaScript 44 | @import "bootstrap/modals"; 45 | @import "bootstrap/tooltip"; 46 | @import "bootstrap/popovers"; 47 | @import "bootstrap/carousel"; 48 | 49 | // Utility classes 50 | @import "bootstrap/utilities"; 51 | @import "bootstrap/responsive-utilities"; 52 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/alerts.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: $alert-padding; 11 | margin-bottom: $line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: $alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing $headings-color 19 | color: inherit; 20 | } 21 | // Provide class for links that match alerts 22 | .alert-link { 23 | font-weight: $alert-link-font-weight; 24 | } 25 | 26 | // Improve alignment and spacing of inner content 27 | > p, 28 | > ul { 29 | margin-bottom: 0; 30 | } 31 | > p + p { 32 | margin-top: 5px; 33 | } 34 | } 35 | 36 | // Dismissible alerts 37 | // 38 | // Expand the right padding and account for the close button's positioning. 39 | 40 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. 41 | .alert-dismissible { 42 | padding-right: ($alert-padding + 20); 43 | 44 | // Adjust close link position 45 | .close { 46 | position: relative; 47 | top: -2px; 48 | right: -21px; 49 | color: inherit; 50 | } 51 | } 52 | 53 | // Alternate styles 54 | // 55 | // Generate contextual modifier classes for colorizing the alert. 56 | 57 | .alert-success { 58 | @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); 59 | } 60 | .alert-info { 61 | @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); 62 | } 63 | .alert-warning { 64 | @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); 65 | } 66 | .alert-danger { 67 | @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); 68 | } 69 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/badges.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: $font-size-small; 12 | font-weight: $badge-font-weight; 13 | color: $badge-color; 14 | line-height: $badge-line-height; 15 | vertical-align: baseline; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: $badge-bg; 19 | border-radius: $badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | .btn-xs & { 32 | top: 0; 33 | padding: 1px 5px; 34 | } 35 | 36 | // [converter] extracted a& to a.badge 37 | 38 | // Account for badges in navs 39 | .list-group-item.active > &, 40 | .nav-pills > .active > a > & { 41 | color: $badge-active-color; 42 | background-color: $badge-active-bg; 43 | } 44 | .list-group-item > & { 45 | float: right; 46 | } 47 | .list-group-item > & + & { 48 | margin-right: 5px; 49 | } 50 | .nav-pills > li > a > & { 51 | margin-left: 3px; 52 | } 53 | } 54 | 55 | // Hover state, but only for links 56 | a.badge { 57 | &:hover, 58 | &:focus { 59 | color: $badge-link-hover-color; 60 | text-decoration: none; 61 | cursor: pointer; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/breadcrumbs.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal; 8 | margin-bottom: $line-height-computed; 9 | list-style: none; 10 | background-color: $breadcrumb-bg; 11 | border-radius: $border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: $breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: $breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/button-groups.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Button groups 3 | // -------------------------------------------------- 4 | 5 | // Make the div behave like a button 6 | .btn-group, 7 | .btn-group-vertical { 8 | position: relative; 9 | display: inline-block; 10 | vertical-align: middle; // match .btn alignment given font-size hack above 11 | > .btn { 12 | position: relative; 13 | float: left; 14 | // Bring the "active" button to the front 15 | &:hover, 16 | &:focus, 17 | &:active, 18 | &.active { 19 | z-index: 2; 20 | } 21 | } 22 | } 23 | 24 | // Prevent double borders when buttons are next to each other 25 | .btn-group { 26 | .btn + .btn, 27 | .btn + .btn-group, 28 | .btn-group + .btn, 29 | .btn-group + .btn-group { 30 | margin-left: -1px; 31 | } 32 | } 33 | 34 | // Optional: Group multiple button groups together for a toolbar 35 | .btn-toolbar { 36 | margin-left: -5px; // Offset the first child's margin 37 | @include clearfix; 38 | 39 | .btn-group, 40 | .input-group { 41 | float: left; 42 | } 43 | > .btn, 44 | > .btn-group, 45 | > .input-group { 46 | margin-left: 5px; 47 | } 48 | } 49 | 50 | .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { 51 | border-radius: 0; 52 | } 53 | 54 | // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match 55 | .btn-group > .btn:first-child { 56 | margin-left: 0; 57 | &:not(:last-child):not(.dropdown-toggle) { 58 | @include border-right-radius(0); 59 | } 60 | } 61 | // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it 62 | .btn-group > .btn:last-child:not(:first-child), 63 | .btn-group > .dropdown-toggle:not(:first-child) { 64 | @include border-left-radius(0); 65 | } 66 | 67 | // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group) 68 | .btn-group > .btn-group { 69 | float: left; 70 | } 71 | .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { 72 | border-radius: 0; 73 | } 74 | .btn-group > .btn-group:first-child { 75 | > .btn:last-child, 76 | > .dropdown-toggle { 77 | @include border-right-radius(0); 78 | } 79 | } 80 | .btn-group > .btn-group:last-child > .btn:first-child { 81 | @include border-left-radius(0); 82 | } 83 | 84 | // On active and open, don't show outline 85 | .btn-group .dropdown-toggle:active, 86 | .btn-group.open .dropdown-toggle { 87 | outline: 0; 88 | } 89 | 90 | 91 | // Sizing 92 | // 93 | // Remix the default button sizing classes into new ones for easier manipulation. 94 | 95 | .btn-group-xs > .btn { @extend .btn-xs; } 96 | .btn-group-sm > .btn { @extend .btn-sm; } 97 | .btn-group-lg > .btn { @extend .btn-lg; } 98 | 99 | 100 | // Split button dropdowns 101 | // ---------------------- 102 | 103 | // Give the line between buttons some depth 104 | .btn-group > .btn + .dropdown-toggle { 105 | padding-left: 8px; 106 | padding-right: 8px; 107 | } 108 | .btn-group > .btn-lg + .dropdown-toggle { 109 | padding-left: 12px; 110 | padding-right: 12px; 111 | } 112 | 113 | // The clickable button for toggling the menu 114 | // Remove the gradient and set the same inset shadow as the :active state 115 | .btn-group.open .dropdown-toggle { 116 | @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); 117 | 118 | // Show no shadow for `.btn-link` since it has no other button styles. 119 | &.btn-link { 120 | @include box-shadow(none); 121 | } 122 | } 123 | 124 | 125 | // Reposition the caret 126 | .btn .caret { 127 | margin-left: 0; 128 | } 129 | // Carets in other button sizes 130 | .btn-lg .caret { 131 | border-width: $caret-width-large $caret-width-large 0; 132 | border-bottom-width: 0; 133 | } 134 | // Upside down carets for .dropup 135 | .dropup .btn-lg .caret { 136 | border-width: 0 $caret-width-large $caret-width-large; 137 | } 138 | 139 | 140 | // Vertical button groups 141 | // ---------------------- 142 | 143 | .btn-group-vertical { 144 | > .btn, 145 | > .btn-group, 146 | > .btn-group > .btn { 147 | display: block; 148 | float: none; 149 | width: 100%; 150 | max-width: 100%; 151 | } 152 | 153 | // Clear floats so dropdown menus can be properly placed 154 | > .btn-group { 155 | @include clearfix; 156 | > .btn { 157 | float: none; 158 | } 159 | } 160 | 161 | > .btn + .btn, 162 | > .btn + .btn-group, 163 | > .btn-group + .btn, 164 | > .btn-group + .btn-group { 165 | margin-top: -1px; 166 | margin-left: 0; 167 | } 168 | } 169 | 170 | .btn-group-vertical > .btn { 171 | &:not(:first-child):not(:last-child) { 172 | border-radius: 0; 173 | } 174 | &:first-child:not(:last-child) { 175 | border-top-right-radius: $border-radius-base; 176 | @include border-bottom-radius(0); 177 | } 178 | &:last-child:not(:first-child) { 179 | border-bottom-left-radius: $border-radius-base; 180 | @include border-top-radius(0); 181 | } 182 | } 183 | .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { 184 | border-radius: 0; 185 | } 186 | .btn-group-vertical > .btn-group:first-child:not(:last-child) { 187 | > .btn:last-child, 188 | > .dropdown-toggle { 189 | @include border-bottom-radius(0); 190 | } 191 | } 192 | .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { 193 | @include border-top-radius(0); 194 | } 195 | 196 | 197 | // Justified button groups 198 | // ---------------------- 199 | 200 | .btn-group-justified { 201 | display: table; 202 | width: 100%; 203 | table-layout: fixed; 204 | border-collapse: separate; 205 | > .btn, 206 | > .btn-group { 207 | float: none; 208 | display: table-cell; 209 | width: 1%; 210 | } 211 | > .btn-group .btn { 212 | width: 100%; 213 | } 214 | 215 | > .btn-group .dropdown-menu { 216 | left: auto; 217 | } 218 | } 219 | 220 | 221 | // Checkbox and radio options 222 | // 223 | // In order to support the browser's form validation feedback, powered by the 224 | // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use 225 | // `display: none;` or `visibility: hidden;` as that also hides the popover. 226 | // Simply visually hiding the inputs via `opacity` would leave them clickable in 227 | // certain cases which is prevented by using `clip` and `pointer-events`. 228 | // This way, we ensure a DOM element is visible to position the popover from. 229 | // 230 | // See https://github.com/twbs/bootstrap/pull/12794 and 231 | // https://github.com/twbs/bootstrap/pull/14559 for more information. 232 | 233 | [data-toggle="buttons"] { 234 | > .btn, 235 | > .btn-group > .btn { 236 | input[type="radio"], 237 | input[type="checkbox"] { 238 | position: absolute; 239 | clip: rect(0,0,0,0); 240 | pointer-events: none; 241 | } 242 | } 243 | } 244 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/buttons.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Buttons 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // -------------------------------------------------- 8 | 9 | .btn { 10 | display: inline-block; 11 | margin-bottom: 0; // For input.btn 12 | font-weight: $btn-font-weight; 13 | text-align: center; 14 | vertical-align: middle; 15 | touch-action: manipulation; 16 | cursor: pointer; 17 | background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 18 | border: 1px solid transparent; 19 | white-space: nowrap; 20 | @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $border-radius-base); 21 | @include user-select(none); 22 | 23 | &, 24 | &:active, 25 | &.active { 26 | &:focus, 27 | &.focus { 28 | @include tab-focus; 29 | } 30 | } 31 | 32 | &:hover, 33 | &:focus, 34 | &.focus { 35 | color: $btn-default-color; 36 | text-decoration: none; 37 | } 38 | 39 | &:active, 40 | &.active { 41 | outline: 0; 42 | background-image: none; 43 | @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); 44 | } 45 | 46 | &.disabled, 47 | &[disabled], 48 | fieldset[disabled] & { 49 | cursor: $cursor-disabled; 50 | pointer-events: none; // Future-proof disabling of clicks 51 | @include opacity(.65); 52 | @include box-shadow(none); 53 | } 54 | } 55 | 56 | 57 | // Alternate buttons 58 | // -------------------------------------------------- 59 | 60 | .btn-default { 61 | @include button-variant($btn-default-color, $btn-default-bg, $btn-default-border); 62 | } 63 | .btn-primary { 64 | @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); 65 | } 66 | // Success appears as green 67 | .btn-success { 68 | @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border); 69 | } 70 | // Info appears as blue-green 71 | .btn-info { 72 | @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border); 73 | } 74 | // Warning appears as orange 75 | .btn-warning { 76 | @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border); 77 | } 78 | // Danger and error appear as red 79 | .btn-danger { 80 | @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); 81 | } 82 | 83 | 84 | // Link buttons 85 | // ------------------------- 86 | 87 | // Make a button look and behave like a link 88 | .btn-link { 89 | color: $link-color; 90 | font-weight: normal; 91 | border-radius: 0; 92 | 93 | &, 94 | &:active, 95 | &.active, 96 | &[disabled], 97 | fieldset[disabled] & { 98 | background-color: transparent; 99 | @include box-shadow(none); 100 | } 101 | &, 102 | &:hover, 103 | &:focus, 104 | &:active { 105 | border-color: transparent; 106 | } 107 | &:hover, 108 | &:focus { 109 | color: $link-hover-color; 110 | text-decoration: underline; 111 | background-color: transparent; 112 | } 113 | &[disabled], 114 | fieldset[disabled] & { 115 | &:hover, 116 | &:focus { 117 | color: $btn-link-disabled-color; 118 | text-decoration: none; 119 | } 120 | } 121 | } 122 | 123 | 124 | // Button Sizes 125 | // -------------------------------------------------- 126 | 127 | .btn-lg { 128 | // line-height: ensure even-numbered height of button next to large input 129 | @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large); 130 | } 131 | .btn-sm { 132 | // line-height: ensure proper height of button next to small input 133 | @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small); 134 | } 135 | .btn-xs { 136 | @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small); 137 | } 138 | 139 | 140 | // Block button 141 | // -------------------------------------------------- 142 | 143 | .btn-block { 144 | display: block; 145 | width: 100%; 146 | } 147 | 148 | // Vertically space out multiple block buttons 149 | .btn-block + .btn-block { 150 | margin-top: 5px; 151 | } 152 | 153 | // Specificity overrides 154 | input[type="submit"], 155 | input[type="reset"], 156 | input[type="button"] { 157 | &.btn-block { 158 | width: 100%; 159 | } 160 | } 161 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/carousel.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Carousel 3 | // -------------------------------------------------- 4 | 5 | 6 | // Wrapper for the slide container and indicators 7 | .carousel { 8 | position: relative; 9 | } 10 | 11 | .carousel-inner { 12 | position: relative; 13 | overflow: hidden; 14 | width: 100%; 15 | 16 | > .item { 17 | display: none; 18 | position: relative; 19 | @include transition(.6s ease-in-out left); 20 | 21 | // Account for jankitude on images 22 | > img, 23 | > a > img { 24 | @include img-responsive; 25 | line-height: 1; 26 | } 27 | 28 | // WebKit CSS3 transforms for supported devices 29 | @media all and (transform-3d), (-webkit-transform-3d) { 30 | transition: transform .6s ease-in-out; 31 | backface-visibility: hidden; 32 | perspective: 1000; 33 | 34 | &.next, 35 | &.active.right { 36 | transform: translate3d(100%, 0, 0); 37 | left: 0; 38 | } 39 | &.prev, 40 | &.active.left { 41 | transform: translate3d(-100%, 0, 0); 42 | left: 0; 43 | } 44 | &.next.left, 45 | &.prev.right, 46 | &.active { 47 | transform: translate3d(0, 0, 0); 48 | left: 0; 49 | } 50 | } 51 | } 52 | 53 | > .active, 54 | > .next, 55 | > .prev { 56 | display: block; 57 | } 58 | 59 | > .active { 60 | left: 0; 61 | } 62 | 63 | > .next, 64 | > .prev { 65 | position: absolute; 66 | top: 0; 67 | width: 100%; 68 | } 69 | 70 | > .next { 71 | left: 100%; 72 | } 73 | > .prev { 74 | left: -100%; 75 | } 76 | > .next.left, 77 | > .prev.right { 78 | left: 0; 79 | } 80 | 81 | > .active.left { 82 | left: -100%; 83 | } 84 | > .active.right { 85 | left: 100%; 86 | } 87 | 88 | } 89 | 90 | // Left/right controls for nav 91 | // --------------------------- 92 | 93 | .carousel-control { 94 | position: absolute; 95 | top: 0; 96 | left: 0; 97 | bottom: 0; 98 | width: $carousel-control-width; 99 | @include opacity($carousel-control-opacity); 100 | font-size: $carousel-control-font-size; 101 | color: $carousel-control-color; 102 | text-align: center; 103 | text-shadow: $carousel-text-shadow; 104 | // We can't have this transition here because WebKit cancels the carousel 105 | // animation if you trip this while in the middle of another animation. 106 | 107 | // Set gradients for backgrounds 108 | &.left { 109 | @include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001)); 110 | } 111 | &.right { 112 | left: auto; 113 | right: 0; 114 | @include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5)); 115 | } 116 | 117 | // Hover/focus state 118 | &:hover, 119 | &:focus { 120 | outline: 0; 121 | color: $carousel-control-color; 122 | text-decoration: none; 123 | @include opacity(.9); 124 | } 125 | 126 | // Toggles 127 | .icon-prev, 128 | .icon-next, 129 | .glyphicon-chevron-left, 130 | .glyphicon-chevron-right { 131 | position: absolute; 132 | top: 50%; 133 | z-index: 5; 134 | display: inline-block; 135 | } 136 | .icon-prev, 137 | .glyphicon-chevron-left { 138 | left: 50%; 139 | margin-left: -10px; 140 | } 141 | .icon-next, 142 | .glyphicon-chevron-right { 143 | right: 50%; 144 | margin-right: -10px; 145 | } 146 | .icon-prev, 147 | .icon-next { 148 | width: 20px; 149 | height: 20px; 150 | margin-top: -10px; 151 | font-family: serif; 152 | } 153 | 154 | 155 | .icon-prev { 156 | &:before { 157 | content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039) 158 | } 159 | } 160 | .icon-next { 161 | &:before { 162 | content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A) 163 | } 164 | } 165 | } 166 | 167 | // Optional indicator pips 168 | // 169 | // Add an unordered list with the following class and add a list item for each 170 | // slide your carousel holds. 171 | 172 | .carousel-indicators { 173 | position: absolute; 174 | bottom: 10px; 175 | left: 50%; 176 | z-index: 15; 177 | width: 60%; 178 | margin-left: -30%; 179 | padding-left: 0; 180 | list-style: none; 181 | text-align: center; 182 | 183 | li { 184 | display: inline-block; 185 | width: 10px; 186 | height: 10px; 187 | margin: 1px; 188 | text-indent: -999px; 189 | border: 1px solid $carousel-indicator-border-color; 190 | border-radius: 10px; 191 | cursor: pointer; 192 | 193 | // IE8-9 hack for event handling 194 | // 195 | // Internet Explorer 8-9 does not support clicks on elements without a set 196 | // `background-color`. We cannot use `filter` since that's not viewed as a 197 | // background color by the browser. Thus, a hack is needed. 198 | // 199 | // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we 200 | // set alpha transparency for the best results possible. 201 | background-color: #000 \9; // IE8 202 | background-color: rgba(0,0,0,0); // IE9 203 | } 204 | .active { 205 | margin: 0; 206 | width: 12px; 207 | height: 12px; 208 | background-color: $carousel-indicator-active-bg; 209 | } 210 | } 211 | 212 | // Optional captions 213 | // ----------------------------- 214 | // Hidden by default for smaller viewports 215 | .carousel-caption { 216 | position: absolute; 217 | left: 15%; 218 | right: 15%; 219 | bottom: 20px; 220 | z-index: 10; 221 | padding-top: 20px; 222 | padding-bottom: 20px; 223 | color: $carousel-caption-color; 224 | text-align: center; 225 | text-shadow: $carousel-text-shadow; 226 | & .btn { 227 | text-shadow: none; // No shadow for button elements in carousel-caption 228 | } 229 | } 230 | 231 | 232 | // Scale up controls for tablets and up 233 | @media screen and (min-width: $screen-sm-min) { 234 | 235 | // Scale up the controls a smidge 236 | .carousel-control { 237 | .glyphicon-chevron-left, 238 | .glyphicon-chevron-right, 239 | .icon-prev, 240 | .icon-next { 241 | width: 30px; 242 | height: 30px; 243 | margin-top: -15px; 244 | font-size: 30px; 245 | } 246 | .glyphicon-chevron-left, 247 | .icon-prev { 248 | margin-left: -15px; 249 | } 250 | .glyphicon-chevron-right, 251 | .icon-next { 252 | margin-right: -15px; 253 | } 254 | } 255 | 256 | // Show and left align the captions 257 | .carousel-caption { 258 | left: 20%; 259 | right: 20%; 260 | padding-bottom: 30px; 261 | } 262 | 263 | // Move up the indicators 264 | .carousel-indicators { 265 | bottom: 20px; 266 | } 267 | } 268 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/close.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: ($font-size-base * 1.5); 9 | font-weight: $close-font-weight; 10 | line-height: 1; 11 | color: $close-color; 12 | text-shadow: $close-text-shadow; 13 | @include opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: $close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | @include opacity(.5); 21 | } 22 | 23 | // [converter] extracted button& to button.close 24 | } 25 | 26 | // Additional properties for button version 27 | // iOS requires the button element instead of an anchor tag. 28 | // If you want the anchor version, it requires `href="#"`. 29 | button.close { 30 | padding: 0; 31 | cursor: pointer; 32 | background: transparent; 33 | border: 0; 34 | -webkit-appearance: none; 35 | } 36 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/code.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: $font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: $code-color; 19 | background-color: $code-bg; 20 | border-radius: $border-radius-base; 21 | } 22 | 23 | // User input typically entered via keyboard 24 | kbd { 25 | padding: 2px 4px; 26 | font-size: 90%; 27 | color: $kbd-color; 28 | background-color: $kbd-bg; 29 | border-radius: $border-radius-small; 30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 31 | 32 | kbd { 33 | padding: 0; 34 | font-size: 100%; 35 | font-weight: bold; 36 | box-shadow: none; 37 | } 38 | } 39 | 40 | // Blocks of code 41 | pre { 42 | display: block; 43 | padding: (($line-height-computed - 1) / 2); 44 | margin: 0 0 ($line-height-computed / 2); 45 | font-size: ($font-size-base - 1); // 14px to 13px 46 | line-height: $line-height-base; 47 | word-break: break-all; 48 | word-wrap: break-word; 49 | color: $pre-color; 50 | background-color: $pre-bg; 51 | border: 1px solid $pre-border-color; 52 | border-radius: $border-radius-base; 53 | 54 | // Account for some code outputs that place code tags in pre tags 55 | code { 56 | padding: 0; 57 | font-size: inherit; 58 | color: inherit; 59 | white-space: pre-wrap; 60 | background-color: transparent; 61 | border-radius: 0; 62 | } 63 | } 64 | 65 | // Enable scrollable blocks of code 66 | .pre-scrollable { 67 | max-height: $pre-scrollable-max-height; 68 | overflow-y: scroll; 69 | } 70 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/component-animations.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | @include transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | visibility: hidden; 21 | 22 | &.in { display: block; visibility: visible; } 23 | // [converter] extracted tr&.in to tr.collapse.in 24 | // [converter] extracted tbody&.in to tbody.collapse.in 25 | } 26 | 27 | tr.collapse.in { display: table-row; } 28 | 29 | tbody.collapse.in { display: table-row-group; } 30 | 31 | .collapsing { 32 | position: relative; 33 | height: 0; 34 | overflow: hidden; 35 | @include transition-property(height, visibility); 36 | @include transition-duration(.35s); 37 | @include transition-timing-function(ease); 38 | } 39 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/dropdowns.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Dropdown menus 3 | // -------------------------------------------------- 4 | 5 | 6 | // Dropdown arrow/caret 7 | .caret { 8 | display: inline-block; 9 | width: 0; 10 | height: 0; 11 | margin-left: 2px; 12 | vertical-align: middle; 13 | border-top: $caret-width-base solid; 14 | border-right: $caret-width-base solid transparent; 15 | border-left: $caret-width-base solid transparent; 16 | } 17 | 18 | // The dropdown wrapper (div) 19 | .dropdown { 20 | position: relative; 21 | } 22 | 23 | // Prevent the focus on the dropdown toggle when closing dropdowns 24 | .dropdown-toggle:focus { 25 | outline: 0; 26 | } 27 | 28 | // The dropdown menu (ul) 29 | .dropdown-menu { 30 | position: absolute; 31 | top: 100%; 32 | left: 0; 33 | z-index: $zindex-dropdown; 34 | display: none; // none by default, but block on "open" of the menu 35 | float: left; 36 | min-width: 160px; 37 | padding: 5px 0; 38 | margin: 2px 0 0; // override default ul 39 | list-style: none; 40 | font-size: $font-size-base; 41 | text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer) 42 | background-color: $dropdown-bg; 43 | border: 1px solid $dropdown-fallback-border; // IE8 fallback 44 | border: 1px solid $dropdown-border; 45 | border-radius: $border-radius-base; 46 | @include box-shadow(0 6px 12px rgba(0,0,0,.175)); 47 | background-clip: padding-box; 48 | 49 | // Aligns the dropdown menu to right 50 | // 51 | // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]` 52 | &.pull-right { 53 | right: 0; 54 | left: auto; 55 | } 56 | 57 | // Dividers (basically an hr) within the dropdown 58 | .divider { 59 | @include nav-divider($dropdown-divider-bg); 60 | } 61 | 62 | // Links within the dropdown menu 63 | > li > a { 64 | display: block; 65 | padding: 3px 20px; 66 | clear: both; 67 | font-weight: normal; 68 | line-height: $line-height-base; 69 | color: $dropdown-link-color; 70 | white-space: nowrap; // prevent links from randomly breaking onto new lines 71 | } 72 | } 73 | 74 | // Hover/Focus state 75 | .dropdown-menu > li > a { 76 | &:hover, 77 | &:focus { 78 | text-decoration: none; 79 | color: $dropdown-link-hover-color; 80 | background-color: $dropdown-link-hover-bg; 81 | } 82 | } 83 | 84 | // Active state 85 | .dropdown-menu > .active > a { 86 | &, 87 | &:hover, 88 | &:focus { 89 | color: $dropdown-link-active-color; 90 | text-decoration: none; 91 | outline: 0; 92 | background-color: $dropdown-link-active-bg; 93 | } 94 | } 95 | 96 | // Disabled state 97 | // 98 | // Gray out text and ensure the hover/focus state remains gray 99 | 100 | .dropdown-menu > .disabled > a { 101 | &, 102 | &:hover, 103 | &:focus { 104 | color: $dropdown-link-disabled-color; 105 | } 106 | 107 | // Nuke hover/focus effects 108 | &:hover, 109 | &:focus { 110 | text-decoration: none; 111 | background-color: transparent; 112 | background-image: none; // Remove CSS gradient 113 | @include reset-filter; 114 | cursor: $cursor-disabled; 115 | } 116 | } 117 | 118 | // Open state for the dropdown 119 | .open { 120 | // Show the menu 121 | > .dropdown-menu { 122 | display: block; 123 | } 124 | 125 | // Remove the outline when :focus is triggered 126 | > a { 127 | outline: 0; 128 | } 129 | } 130 | 131 | // Menu positioning 132 | // 133 | // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown 134 | // menu with the parent. 135 | .dropdown-menu-right { 136 | left: auto; // Reset the default from `.dropdown-menu` 137 | right: 0; 138 | } 139 | // With v3, we enabled auto-flipping if you have a dropdown within a right 140 | // aligned nav component. To enable the undoing of that, we provide an override 141 | // to restore the default dropdown menu alignment. 142 | // 143 | // This is only for left-aligning a dropdown menu within a `.navbar-right` or 144 | // `.pull-right` nav component. 145 | .dropdown-menu-left { 146 | left: 0; 147 | right: auto; 148 | } 149 | 150 | // Dropdown section headers 151 | .dropdown-header { 152 | display: block; 153 | padding: 3px 20px; 154 | font-size: $font-size-small; 155 | line-height: $line-height-base; 156 | color: $dropdown-header-color; 157 | white-space: nowrap; // as with > li > a 158 | } 159 | 160 | // Backdrop to catch body clicks on mobile, etc. 161 | .dropdown-backdrop { 162 | position: fixed; 163 | left: 0; 164 | right: 0; 165 | bottom: 0; 166 | top: 0; 167 | z-index: ($zindex-dropdown - 10); 168 | } 169 | 170 | // Right aligned dropdowns 171 | .pull-right > .dropdown-menu { 172 | right: 0; 173 | left: auto; 174 | } 175 | 176 | // Allow for dropdowns to go bottom up (aka, dropup-menu) 177 | // 178 | // Just add .dropup after the standard .dropdown class and you're set, bro. 179 | // TODO: abstract this so that the navbar fixed styles are not placed here? 180 | 181 | .dropup, 182 | .navbar-fixed-bottom .dropdown { 183 | // Reverse the caret 184 | .caret { 185 | border-top: 0; 186 | border-bottom: $caret-width-base solid; 187 | content: ""; 188 | } 189 | // Different positioning for bottom up menu 190 | .dropdown-menu { 191 | top: auto; 192 | bottom: 100%; 193 | margin-bottom: 1px; 194 | } 195 | } 196 | 197 | 198 | // Component alignment 199 | // 200 | // Reiterate per navbar.less and the modified component alignment there. 201 | 202 | @media (min-width: $grid-float-breakpoint) { 203 | .navbar-right { 204 | .dropdown-menu { 205 | right: 0; left: auto; 206 | } 207 | // Necessary for overrides of the default right aligned menu. 208 | // Will remove come v4 in all likelihood. 209 | .dropdown-menu-left { 210 | left: 0; right: auto; 211 | } 212 | } 213 | } 214 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/grid.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | @include container-fixed; 12 | 13 | @media (min-width: $screen-sm-min) { 14 | width: $container-sm; 15 | } 16 | @media (min-width: $screen-md-min) { 17 | width: $container-md; 18 | } 19 | @media (min-width: $screen-lg-min) { 20 | width: $container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | @include container-fixed; 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | @include make-row; 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | @include make-grid-columns; 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | @include make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: $screen-sm-min) { 65 | @include make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: $screen-md-min) { 74 | @include make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: $screen-lg-min) { 83 | @include make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Silenced is Golden 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/input-groups.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Input groups 3 | // -------------------------------------------------- 4 | 5 | // Base styles 6 | // ------------------------- 7 | .input-group { 8 | position: relative; // For dropdowns 9 | display: table; 10 | border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table 11 | 12 | // Undo padding and float of grid classes 13 | &[class*="col-"] { 14 | float: none; 15 | padding-left: 0; 16 | padding-right: 0; 17 | } 18 | 19 | .form-control { 20 | // Ensure that the input is always above the *appended* addon button for 21 | // proper border colors. 22 | position: relative; 23 | z-index: 2; 24 | 25 | // IE9 fubars the placeholder attribute in text inputs and the arrows on 26 | // select elements in input groups. To fix it, we float the input. Details: 27 | // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855 28 | float: left; 29 | 30 | width: 100%; 31 | margin-bottom: 0; 32 | } 33 | } 34 | 35 | // Sizing options 36 | // 37 | // Remix the default form control sizing classes into new ones for easier 38 | // manipulation. 39 | 40 | .input-group-lg > .form-control, 41 | .input-group-lg > .input-group-addon, 42 | .input-group-lg > .input-group-btn > .btn { 43 | @extend .input-lg; 44 | } 45 | .input-group-sm > .form-control, 46 | .input-group-sm > .input-group-addon, 47 | .input-group-sm > .input-group-btn > .btn { 48 | @extend .input-sm; 49 | } 50 | 51 | 52 | // Display as table-cell 53 | // ------------------------- 54 | .input-group-addon, 55 | .input-group-btn, 56 | .input-group .form-control { 57 | display: table-cell; 58 | 59 | &:not(:first-child):not(:last-child) { 60 | border-radius: 0; 61 | } 62 | } 63 | // Addon and addon wrapper for buttons 64 | .input-group-addon, 65 | .input-group-btn { 66 | width: 1%; 67 | white-space: nowrap; 68 | vertical-align: middle; // Match the inputs 69 | } 70 | 71 | // Text input groups 72 | // ------------------------- 73 | .input-group-addon { 74 | padding: $padding-base-vertical $padding-base-horizontal; 75 | font-size: $font-size-base; 76 | font-weight: normal; 77 | line-height: 1; 78 | color: $input-color; 79 | text-align: center; 80 | background-color: $input-group-addon-bg; 81 | border: 1px solid $input-group-addon-border-color; 82 | border-radius: $border-radius-base; 83 | 84 | // Sizing 85 | &.input-sm { 86 | padding: $padding-small-vertical $padding-small-horizontal; 87 | font-size: $font-size-small; 88 | border-radius: $border-radius-small; 89 | } 90 | &.input-lg { 91 | padding: $padding-large-vertical $padding-large-horizontal; 92 | font-size: $font-size-large; 93 | border-radius: $border-radius-large; 94 | } 95 | 96 | // Nuke default margins from checkboxes and radios to vertically center within. 97 | input[type="radio"], 98 | input[type="checkbox"] { 99 | margin-top: 0; 100 | } 101 | } 102 | 103 | // Reset rounded corners 104 | .input-group .form-control:first-child, 105 | .input-group-addon:first-child, 106 | .input-group-btn:first-child > .btn, 107 | .input-group-btn:first-child > .btn-group > .btn, 108 | .input-group-btn:first-child > .dropdown-toggle, 109 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 110 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { 111 | @include border-right-radius(0); 112 | } 113 | .input-group-addon:first-child { 114 | border-right: 0; 115 | } 116 | .input-group .form-control:last-child, 117 | .input-group-addon:last-child, 118 | .input-group-btn:last-child > .btn, 119 | .input-group-btn:last-child > .btn-group > .btn, 120 | .input-group-btn:last-child > .dropdown-toggle, 121 | .input-group-btn:first-child > .btn:not(:first-child), 122 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { 123 | @include border-left-radius(0); 124 | } 125 | .input-group-addon:last-child { 126 | border-left: 0; 127 | } 128 | 129 | // Button input groups 130 | // ------------------------- 131 | .input-group-btn { 132 | position: relative; 133 | // Jankily prevent input button groups from wrapping with `white-space` and 134 | // `font-size` in combination with `inline-block` on buttons. 135 | font-size: 0; 136 | white-space: nowrap; 137 | 138 | // Negative margin for spacing, position for bringing hovered/focused/actived 139 | // element above the siblings. 140 | > .btn { 141 | position: relative; 142 | + .btn { 143 | margin-left: -1px; 144 | } 145 | // Bring the "active" button to the front 146 | &:hover, 147 | &:focus, 148 | &:active { 149 | z-index: 2; 150 | } 151 | } 152 | 153 | // Negative margin to only have a 1px border between the two 154 | &:first-child { 155 | > .btn, 156 | > .btn-group { 157 | margin-right: -1px; 158 | } 159 | } 160 | &:last-child { 161 | > .btn, 162 | > .btn-group { 163 | margin-left: -1px; 164 | } 165 | } 166 | } 167 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/jumbotron.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding: $jumbotron-padding ($jumbotron-padding / 2); 8 | margin-bottom: $jumbotron-padding; 9 | color: $jumbotron-color; 10 | background-color: $jumbotron-bg; 11 | 12 | h1, 13 | .h1 { 14 | color: $jumbotron-heading-color; 15 | } 16 | p { 17 | margin-bottom: ($jumbotron-padding / 2); 18 | font-size: $jumbotron-font-size; 19 | font-weight: 200; 20 | } 21 | 22 | > hr { 23 | border-top-color: darken($jumbotron-bg, 10%); 24 | } 25 | 26 | .container &, 27 | .container-fluid & { 28 | border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container 29 | } 30 | 31 | .container { 32 | max-width: 100%; 33 | } 34 | 35 | @media screen and (min-width: $screen-sm-min) { 36 | padding: ($jumbotron-padding * 1.6) 0; 37 | 38 | .container &, 39 | .container-fluid & { 40 | padding-left: ($jumbotron-padding * 2); 41 | padding-right: ($jumbotron-padding * 2); 42 | } 43 | 44 | h1, 45 | .h1 { 46 | font-size: ($font-size-base * 4.5); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: $label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // [converter] extracted a& to a.label 18 | 19 | // Empty labels collapse automatically (not available in IE8) 20 | &:empty { 21 | display: none; 22 | } 23 | 24 | // Quick fix for labels in buttons 25 | .btn & { 26 | position: relative; 27 | top: -1px; 28 | } 29 | } 30 | 31 | // Add hover effects, but only for links 32 | a.label { 33 | &:hover, 34 | &:focus { 35 | color: $label-link-hover-color; 36 | text-decoration: none; 37 | cursor: pointer; 38 | } 39 | } 40 | 41 | // Colors 42 | // Contextual variations (linked labels get darker on :hover) 43 | 44 | .label-default { 45 | @include label-variant($label-default-bg); 46 | } 47 | 48 | .label-primary { 49 | @include label-variant($label-primary-bg); 50 | } 51 | 52 | .label-success { 53 | @include label-variant($label-success-bg); 54 | } 55 | 56 | .label-info { 57 | @include label-variant($label-info-bg); 58 | } 59 | 60 | .label-warning { 61 | @include label-variant($label-warning-bg); 62 | } 63 | 64 | .label-danger { 65 | @include label-variant($label-danger-bg); 66 | } 67 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/list-group.scss: -------------------------------------------------------------------------------- 1 | // 2 | // List groups 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | // 8 | // Easily usable on
    ,
      , or
      . 9 | 10 | .list-group { 11 | // No need to set list-style: none; since .list-group-item is block level 12 | margin-bottom: 20px; 13 | padding-left: 0; // reset padding because ul and ol 14 | } 15 | 16 | 17 | // Individual list items 18 | // 19 | // Use on `li`s or `div`s within the `.list-group` parent. 20 | 21 | .list-group-item { 22 | position: relative; 23 | display: block; 24 | padding: 10px 15px; 25 | // Place the border on the list items and negative margin up for better styling 26 | margin-bottom: -1px; 27 | background-color: $list-group-bg; 28 | border: 1px solid $list-group-border; 29 | 30 | // Round the first and last items 31 | &:first-child { 32 | @include border-top-radius($list-group-border-radius); 33 | } 34 | &:last-child { 35 | margin-bottom: 0; 36 | @include border-bottom-radius($list-group-border-radius); 37 | } 38 | } 39 | 40 | 41 | // Linked list items 42 | // 43 | // Use anchor elements instead of `li`s or `div`s to create linked list items. 44 | // Includes an extra `.active` modifier class for showing selected items. 45 | 46 | a.list-group-item { 47 | color: $list-group-link-color; 48 | 49 | .list-group-item-heading { 50 | color: $list-group-link-heading-color; 51 | } 52 | 53 | // Hover state 54 | &:hover, 55 | &:focus { 56 | text-decoration: none; 57 | color: $list-group-link-hover-color; 58 | background-color: $list-group-hover-bg; 59 | } 60 | } 61 | 62 | .list-group-item { 63 | // Disabled state 64 | &.disabled, 65 | &.disabled:hover, 66 | &.disabled:focus { 67 | background-color: $list-group-disabled-bg; 68 | color: $list-group-disabled-color; 69 | cursor: $cursor-disabled; 70 | 71 | // Force color to inherit for custom content 72 | .list-group-item-heading { 73 | color: inherit; 74 | } 75 | .list-group-item-text { 76 | color: $list-group-disabled-text-color; 77 | } 78 | } 79 | 80 | // Active class on item itself, not parent 81 | &.active, 82 | &.active:hover, 83 | &.active:focus { 84 | z-index: 2; // Place active items above their siblings for proper border styling 85 | color: $list-group-active-color; 86 | background-color: $list-group-active-bg; 87 | border-color: $list-group-active-border; 88 | 89 | // Force color to inherit for custom content 90 | .list-group-item-heading, 91 | .list-group-item-heading > small, 92 | .list-group-item-heading > .small { 93 | color: inherit; 94 | } 95 | .list-group-item-text { 96 | color: $list-group-active-text-color; 97 | } 98 | } 99 | } 100 | 101 | 102 | // Contextual variants 103 | // 104 | // Add modifier classes to change text and background color on individual items. 105 | // Organizationally, this must come after the `:hover` states. 106 | 107 | @include list-group-item-variant(success, $state-success-bg, $state-success-text); 108 | @include list-group-item-variant(info, $state-info-bg, $state-info-text); 109 | @include list-group-item-variant(warning, $state-warning-bg, $state-warning-text); 110 | @include list-group-item-variant(danger, $state-danger-bg, $state-danger-text); 111 | 112 | 113 | // Custom content options 114 | // 115 | // Extra classes for creating well-formatted content within `.list-group-item`s. 116 | 117 | .list-group-item-heading { 118 | margin-top: 0; 119 | margin-bottom: 5px; 120 | } 121 | .list-group-item-text { 122 | margin-bottom: 0; 123 | line-height: 1.3; 124 | } 125 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/media.scss: -------------------------------------------------------------------------------- 1 | .media { 2 | // Proper spacing between instances of .media 3 | margin-top: 15px; 4 | 5 | &:first-child { 6 | margin-top: 0; 7 | } 8 | } 9 | 10 | .media-right, 11 | .media > .pull-right { 12 | padding-left: 10px; 13 | } 14 | 15 | .media-left, 16 | .media > .pull-left { 17 | padding-right: 10px; 18 | } 19 | 20 | .media-left, 21 | .media-right, 22 | .media-body { 23 | display: table-cell; 24 | vertical-align: top; 25 | } 26 | 27 | .media-middle { 28 | vertical-align: middle; 29 | } 30 | 31 | .media-bottom { 32 | vertical-align: bottom; 33 | } 34 | 35 | // Reset margins on headings for tighter default spacing 36 | .media-heading { 37 | margin-top: 0; 38 | margin-bottom: 5px; 39 | } 40 | 41 | // Media list variation 42 | // 43 | // Undo default ul/ol styles 44 | .media-list { 45 | padding-left: 0; 46 | list-style: none; 47 | } 48 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------------------------------- 3 | 4 | // Utilities 5 | @import "mixins/hide-text"; 6 | @import "mixins/opacity"; 7 | @import "mixins/image"; 8 | @import "mixins/labels"; 9 | @import "mixins/reset-filter"; 10 | @import "mixins/resize"; 11 | @import "mixins/responsive-visibility"; 12 | @import "mixins/size"; 13 | @import "mixins/tab-focus"; 14 | @import "mixins/text-emphasis"; 15 | @import "mixins/text-overflow"; 16 | @import "mixins/vendor-prefixes"; 17 | 18 | // Components 19 | @import "mixins/alerts"; 20 | @import "mixins/buttons"; 21 | @import "mixins/panels"; 22 | @import "mixins/pagination"; 23 | @import "mixins/list-group"; 24 | @import "mixins/nav-divider"; 25 | @import "mixins/forms"; 26 | @import "mixins/progress-bar"; 27 | @import "mixins/table-row"; 28 | 29 | // Skins 30 | @import "mixins/background-variant"; 31 | @import "mixins/border-radius"; 32 | @import "mixins/gradients"; 33 | 34 | // Layout 35 | @import "mixins/clearfix"; 36 | @import "mixins/center-block"; 37 | @import "mixins/nav-vertical-align"; 38 | @import "mixins/grid-framework"; 39 | @import "mixins/grid"; 40 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/alerts.scss: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | @mixin alert-variant($background, $border, $text-color) { 4 | background-color: $background; 5 | border-color: $border; 6 | color: $text-color; 7 | 8 | hr { 9 | border-top-color: darken($border, 5%); 10 | } 11 | .alert-link { 12 | color: darken($text-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/background-variant.scss: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | // [converter] $parent hack 4 | @mixin bg-variant($parent, $color) { 5 | #{$parent} { 6 | background-color: $color; 7 | } 8 | a#{$parent}:hover { 9 | background-color: darken($color, 10%); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/border-radius.scss: -------------------------------------------------------------------------------- 1 | // Single side border-radius 2 | 3 | @mixin border-top-radius($radius) { 4 | border-top-right-radius: $radius; 5 | border-top-left-radius: $radius; 6 | } 7 | @mixin border-right-radius($radius) { 8 | border-bottom-right-radius: $radius; 9 | border-top-right-radius: $radius; 10 | } 11 | @mixin border-bottom-radius($radius) { 12 | border-bottom-right-radius: $radius; 13 | border-bottom-left-radius: $radius; 14 | } 15 | @mixin border-left-radius($radius) { 16 | border-bottom-left-radius: $radius; 17 | border-top-left-radius: $radius; 18 | } 19 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/buttons.scss: -------------------------------------------------------------------------------- 1 | // Button variants 2 | // 3 | // Easily pump out default styles, as well as :hover, :focus, :active, 4 | // and disabled options for all buttons 5 | 6 | @mixin button-variant($color, $background, $border) { 7 | color: $color; 8 | background-color: $background; 9 | border-color: $border; 10 | 11 | &:hover, 12 | &:focus, 13 | &.focus, 14 | &:active, 15 | &.active, 16 | .open > &.dropdown-toggle { 17 | color: $color; 18 | background-color: darken($background, 10%); 19 | border-color: darken($border, 12%); 20 | } 21 | &:active, 22 | &.active, 23 | .open > &.dropdown-toggle { 24 | background-image: none; 25 | } 26 | &.disabled, 27 | &[disabled], 28 | fieldset[disabled] & { 29 | &, 30 | &:hover, 31 | &:focus, 32 | &.focus, 33 | &:active, 34 | &.active { 35 | background-color: $background; 36 | border-color: $border; 37 | } 38 | } 39 | 40 | .badge { 41 | color: $background; 42 | background-color: $color; 43 | } 44 | } 45 | 46 | // Button sizes 47 | @mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) { 48 | padding: $padding-vertical $padding-horizontal; 49 | font-size: $font-size; 50 | line-height: $line-height; 51 | border-radius: $border-radius; 52 | } 53 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/center-block.scss: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | @mixin center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/clearfix.scss: -------------------------------------------------------------------------------- 1 | // Clearfix 2 | // 3 | // For modern browsers 4 | // 1. The space content is one way to avoid an Opera bug when the 5 | // contenteditable attribute is included anywhere else in the document. 6 | // Otherwise it causes space to appear at the top and bottom of elements 7 | // that are clearfixed. 8 | // 2. The use of `table` rather than `block` is only necessary if using 9 | // `:before` to contain the top-margins of child elements. 10 | // 11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/ 12 | 13 | @mixin clearfix() { 14 | &:before, 15 | &:after { 16 | content: " "; // 1 17 | display: table; // 2 18 | } 19 | &:after { 20 | clear: both; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /nginx/landing_page/sass/bootstrap/mixins/forms.scss: -------------------------------------------------------------------------------- 1 | // Form validation states 2 | // 3 | // Used in forms.less to generate the form validation CSS for warnings, errors, 4 | // and successes. 5 | 6 | @mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) { 7 | // Color the label and help text 8 | .help-block, 9 | .control-label, 10 | .radio, 11 | .checkbox, 12 | .radio-inline, 13 | .checkbox-inline, 14 | &.radio label, 15 | &.checkbox label, 16 | &.radio-inline label, 17 | &.checkbox-inline label { 18 | color: $text-color; 19 | } 20 | // Set the border and box shadow on specific inputs to match 21 | .form-control { 22 | border-color: $border-color; 23 | @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work 24 | &:focus { 25 | border-color: darken($border-color, 10%); 26 | $shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%); 27 | @include box-shadow($shadow); 28 | } 29 | } 30 | // Set validation states also for addons 31 | .input-group-addon { 32 | color: $text-color; 33 | border-color: $border-color; 34 | background-color: $background-color; 35 | } 36 | // Optional feedback icon 37 | .form-control-feedback { 38 | color: $text-color; 39 | } 40 | } 41 | 42 | 43 | // Form control focus state 44 | // 45 | // Generate a customized focus state and for any input with the specified color, 46 | // which defaults to the `$input-border-focus` variable. 47 | // 48 | // We highly encourage you to not customize the default value, but instead use 49 | // this to tweak colors on an as-needed basis. This aesthetic change is based on 50 | // WebKit's default styles, but applicable to a wider range of browsers. Its 51 | // usability and accessibility should be taken into account with any change. 52 | // 53 | // Example usage: change the default blue border and shadow to white for better 54 | // contrast against a dark gray background. 55 | @mixin form-control-focus($color: $input-border-focus) { 56 | $color-rgba: rgba(red($color), green($color), blue($color), .6); 57 | &:focus { 58 | border-color: $color; 59 | outline: 0; 60 | @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px $color-rgba); 61 | } 62 | } 63 | 64 | // Form control sizing 65 | // 66 | // Relative text size, padding, and border-radii changes for form controls. For 67 | // horizontal sizing, wrap controls in the predefined grid classes. `